Skip to main content
POST
/
agent
/
v1
/
chat
/
{id}
/
respond
curl -X POST "https://api.case.dev/agent/v1/chat/%3Cstring%3E/respond" \ -H "Authorization: Bearer $CASEDEV_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "parts": [ { "type": "text", "text": "<string>" } ] }'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.case.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Chat session ID

Body

application/json

Message payload following the AI SDK UIMessage format. The body is passed through 1:1 to the underlying chat runtime session. Currently only text parts are supported.

parts
object[]

Message content parts. Currently only "text" type is supported. Additional types (e.g. file, image) may be added in future versions.

Response

Turn-scoped normalized SSE stream

The response is of type string.