Skip to main content
GET
/
interrupts
/
{interruptId}
Get interrupt details
curl --request GET \
  --url http://localhost:5173/api/flowdrop/interrupts/{interruptId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "nodeId": "<string>",
    "executionId": "<string>",
    "config": {
      "message": "Do you approve this action?",
      "confirm_label": "Approve",
      "cancel_label": "Reject"
    },
    "allowCancel": true,
    "messageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "response": "<unknown>",
    "response_time": "2023-11-07T05:31:56Z",
    "user_id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  },
  "message": "<string>",
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

JWT token for authentication

Path Parameters

interruptId
string<uuid>
required

Interrupt UUID

Response

Interrupt details retrieved successfully

success
boolean

Whether the request was successful

data
object

Represents a Human-in-the-Loop interrupt request. Interrupts are created when workflow execution requires user input.

message
string

Response message

error
string

Error message (if any)