Sessions

Submit a session turn

Changed on

Starts a streamed turn immediately. The stream carries the turn's SessionEvent frames, from run.session.turn.started to the event that ends the turn. Background turns are not supported in this API version.

post/api/v1/sessions/{id}/turns

Request

  • The document declares no server URL.
  • Auth
    • HTTP bearer
    • or API key in cookie __fabro_session

Request body

inputstring required
turn_idstring

Durable session turn identifier.

Example request

{
  "turn_id": "01HZX6M29F1CD5YYMHT1F5D7WQ"
}

Response

Streamed session events

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status