Skip to main content
WEBHOOK
run_complete
{
  "run": {
    "workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "machine_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "scheduling",
    "created_at": "2023-11-07T05:31:56Z",
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "organization_id": "<string>",
    "error": [
      "<string>"
    ],
    "output_data": {},
    "input_attachment_ids": [
      "<string>"
    ],
    "output_attachment_ids": [
      "<string>"
    ],
    "run_message_history": [
      {}
    ],
    "input_values": {},
    "pool_ids": [
      "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    ],
    "sensitive_input_aliases": {},
    "usage_metadata": {},
    "post_run_checks": [
      {
        "status": "pending",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "post_run_check_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "snapshot_version": 123,
        "name": "<string>",
        "description": "<string>",
        "type": "run_attachment_exists",
        "order": 123,
        "file_target_mode": "exact",
        "file_names": [
          "<string>"
        ],
        "file_name_regex": "<string>",
        "expected_match_count": 123,
        "expected_match_count_ref": "<string>",
        "loop_input": "<string>",
        "loop_item_filename_template": "<string>",
        "check_prompt": "<string>",
        "model": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "started_at": "2023-11-07T05:31:56Z",
        "ended_at": "2023-11-07T05:31:56Z",
        "error_message": "<string>",
        "messages": [
          "<string>"
        ],
        "matched_filenames": [
          "<string>"
        ]
      }
    ],
    "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "session_alias": "<string>",
    "release_session_after": true,
    "started_at": "2023-11-07T05:31:56Z",
    "ended_at": "2023-11-07T05:31:56Z"
  },
  "event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "event_type": "run_complete",
  "occurred_at": "2023-11-07T05:31:56Z"
}
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Body

application/json

Payload sent for the run_complete webhook event.

run
RunCompletedWebhookRunPayload · object
required

The completed run data

event_id
string<uuid>

Unique event identifier for idempotency

event_type
string
default:run_complete

Event type key

occurred_at
string<date-time>

Time the event occurred (UTC)

Response

Successful Response