Aex Brain
ReferenceAPI

Send Message

POST
/v1/sessions/{session_id}/messages

Path Parameters

session_id*string
Match^ses_[A-Za-z0-9]{20,32}$

Header Parameters

Idempotency-Key*string
Length1 <= length <= 128

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/sessions/string/messages" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{    "content": null  }'
{  "session_id": "string",  "journal_id": "string",  "status": "creating",  "last_sequence": 0,  "config_hash": "string"}