Skip to main content
GET
/
executions
/
{executionId}
Get execution status
curl --request GET \
  --url https://script.so/api/v1/executions/{executionId} \
  --header 'Authorization: Bearer <token>'
{
  "execution_id": "exec_abc123",
  "workflow_id": "wf_xyz789",
  "status": "pending",
  "current_step": "step_2",
  "steps": [
    {
      "id": "<string>",
      "status": "pending",
      "duration_ms": 123
    }
  ],
  "started_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z",
  "duration_ms": 123
}

Authorizations

Authorization
string
header
required

API key authentication. Get your key from Settings → API Keys.

Use sk_live_ prefix for production, sk_test_ for development.

Path Parameters

executionId
string
required

Execution ID

Example:

"exec_abc123"

Response

Execution status

execution_id
string
Example:

"exec_abc123"

workflow_id
string
Example:

"wf_xyz789"

status
enum<string>
  • pending: Queued, not yet started
  • running: Currently executing
  • completed: Finished successfully
  • failed: Execution failed
  • cancelled: Manually cancelled
Available options:
pending,
running,
completed,
failed,
cancelled
current_step
string

Currently executing step (only when running)

Example:

"step_2"

steps
object[]
started_at
string<date-time>
completed_at
string<date-time>
duration_ms
integer