Skip to main content
POST
/
agent
/
v5
/
chat
/
{id}
/
respond
"<string>"

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Chat session ID

Body

application/json
message
string
model
string | null
messages
object[]
parts
object[]

Response

Normalized chat SSE stream backed by Pi RPC

The response is of type string.