Deprecated — use POST /sessions/{id}/events [write]

Changed on

The legacy input shape ({parts}); accepted for one release and translated to a single user.message, then 410. Optional Idempotency-Key header dedupes retries.

post/sessions/{id}/messages

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/sessions/{id}/messages
  • Auth
    HTTP bearer

Path parameters

idstring required

The session id

Request body

Response

Accepted — body is {}; output arrives on the stream

object required

Changes

    • info

      added the optional property / to the response with the status

    • info

      the response property became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status