Skip to main content
POST
/
v1
/
recap
/
calls
/
{call_id}
Manually trigger recap for a call
curl --request POST \
  --url https://api.pyai.com/v1/recap/calls/{call_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "utterances": [
    {}
  ],
  "pack_id": "<string>",
  "call_duration_s": 123
}
'
{
  "object": "recap.call",
  "call_id": "<string>",
  "pack_id": "<string>",
  "call_duration_s": 123,
  "created_at": 123,
  "completed_at": 123
}

Authorizations

Authorization
string
header
required

Use Authorization: Bearer pyai_live_... (or pyai_test_...).

Path Parameters

call_id
string
required

Body

application/json
utterances
object[]
required
pack_id
string
call_duration_s
number

Response

Recap job accepted

object
string
Example:

"recap.call"

call_id
string
pack_id
string
status
enum<string>
Available options:
pending,
processing,
complete,
failed
call_duration_s
number | null
created_at
integer
completed_at
integer | null