---
title: "Get Script Agent Run"
method: GET
path: "/api/v1/scripts/{script}/agent/runs/{run}"
tags: ["scripts"]
---

# Get Script Agent Run

`GET /api/v1/scripts/{script}/agent/runs/{run}`

## Request

- Base URL: `https://subscribr.ai`
- URL: `https://subscribr.ai/api/v1/scripts/{script}/agent/runs/{run}`
- Auth: HTTP bearer

## Response `200`

Successful response.

- GetScriptAgentRunResponse
  - `data` object, required
    - `auth_path` string, required
    - `current_step` string, nullable, required
    - `current_step_label` string, nullable, required
    - `elapsed_seconds` integer, required
    - `executor` string, required
    - `run_id` integer, required
    - `script_url` string: Populated when status is completed.
    - `status` string, required
    - `usage` object: Provider-reported token metrics, present on completed runs when data is available.
      - `completion_tokens` integer, nullable
      - `prompt_tokens` integer, nullable
      - `reasoning_tokens` integer, nullable
      - `total_tokens` integer
  - `success` boolean, required

## Other responses

- `400`: The request could not be processed.
- `401`: Authentication is required.
- `403`: The token, role, entitlement, or object policy denies this action.
- `404`: The resource was not found or is not visible.
- `422`: One or more request fields are invalid.
- `429`: The request exceeded a rate limit.
- `500`: The service is temporarily unavailable.

---

[API](https://skmtc.dev/subscribr/apis/subscribr-customer-api.md) · [All operations](https://skmtc.dev/subscribr/apis/subscribr-customer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/subscribr/apis/subscribr-customer-api/revisions/d1f105b58bbd?raw)
