Skip to main content
    Ivy Biosciences Docs/Call the platform/API/Reference/Reference/Interrupts/GET /harness/sessions/{sessionId}/interrupts

    GET /harness/sessions/{sessionId}/interrupts

    List pending interrupts

    Auth: required. Send an ivy_ API key (Authorization: Bearer ivy_… or X-Ivy-Api-Key), a Clerk session JWT (Authorization: Bearer …) or the Clerk __session cookie (browser sessions). See Authentication.

    Returns tool calls awaiting human approval. Resolves by comparing interrupt.requested events against interrupt.approved/rejected/edited/timeout events in the event log.

    Request

    Path parameters

    sessionIdstring (uuid)

    Session UUID (UUIDv7 — time-ordered)

    Responses

    200 OK

    Pending interrupts

    Response shape:

    sessionIdstring (uuid)
    pendingobject[]
    totalinteger

    401 Unauthorized

    Authentication required

    Response shape: object

    404 Not Found

    Resource not found

    Response shape: object

    curl -X GET 'https://ivybiosciences.com/api/harness/sessions/{sessionId}/interrupts' \
      -H "Authorization: Bearer $IVY_API_KEY"

    Was this page helpful?

    Loading...