Sessions

Interrupt a session

Interrupts a running agent loop. Idempotent if already idle. This feature is enabled for selected organizations only.

post/api/v0/sessions/{sessionId}/interrupt

Request

  • Base URL: https://api.factory.ai
  • URL: https://api.factory.ai/api/v0/sessions/{sessionId}/interrupt
  • Auth: HTTP bearer

Path parameters

sessionIdstring required

Response

Response for status 200

status'idle' | 'pending' | 'running' required

Current session execution status

Changes

No recorded changes to this operation across all 44 revisions of this API.