Skip to main content
POST
/
agent
/
v1
/
chat
/
{id}
/
message
Send chat message
curl --request POST \
  --url https://api.case.dev/agent/v1/chat/{id}/message \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Chat session ID

Body

application/json

OpenCode message payload. Passed through 1:1.

Response

Upstream OpenCode response