Sessions

Interrupt a session turn

Changed on
post/api/v1/sessions/{id}/turns/{turnId}/interrupt

Request

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

Response

Interrupt requested

seqinteger required
session_idstring required

Durable session identifier.

run_idstring required
tsstring date-time required
event'run.session.created' | 'run.session.turn.started' | 'run.session.user_message' | 'run.session.assistant_delta' | 'run.session.assistant_message' | 'run.session.tool_call.started' | 'run.session.tool_call.completed' | 'run.session.turn.succeeded' | 'run.session.turn.failed' | 'run.session.turn.interrupted' required

What a session event records.

propertiesobject required

Example response

{
  "session_id": "01HZX6M0P7SE4VJ9Y3X2B8E9QF"
}

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      removed from the response body allOf list for the response status

    • 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 required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      added subschema #2 to the //// response property oneOf list for the response status

    • breaking

      the //// response's property type changed from string null to no type for status