---
title: "Get Agent Run"
method: GET
path: "/api/sparky/{team_key}/agent-runs/{run_key}"
tags: ["sparky"]
---

# Get Agent Run

`GET /api/sparky/{team_key}/agent-runs/{run_key}`

## Request

- Base URL: `https://api.superit.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.superit.ai/api/sparky/{team_key}/agent-runs/{run_key}`
- Auth: HTTP bearer

Get a single agent-run with its transcript turns.

## Path parameters

- `run_key` string, required
- `team_key` string, required

## Response `200`

Successful Response

- AgentRunDetail: A single agent-run with its transcript.
  - `id` integer, required
  - `key` string, required
  - `teamKey` string, required
  - `workflowId` string, required
  - `flow` string, required
  - `parentRunId` integer, nullable
  - `status` 'running' | 'paused' | 'completed' | 'error' | 'cancelled' | 'historical' | 'superseded', required
  - `outcome` string, nullable
  - `error` string, nullable
  - `ticketKey` string, nullable
  - `ticketNumber` string, nullable
  - `chatKey` string, nullable
  - `startedAt` string, date-time, nullable
  - `completedAt` string, date-time, nullable
  - `turns` AgentTurnDetail[], required
    - `seq` integer, required
    - `role` string, required
    - `messages` object[], required
    - `createdAt` string, date-time, nullable
  - `metadata` object

## Other responses

- `400`: Invalid input
- `401`: Not authenticated
- `403`: Forbidden
- `404`: Not found
- `405`: Method not allowed
- `409`: Conflict
- `422`: Validation Error

---

[API](https://skmtc.dev/superit/apis/super-it-api.md) - [All operations](https://skmtc.dev/superit/apis/super-it-api/llms.txt) - [OpenAPI document](https://skmtc.dev/superit/apis/super-it-api/revisions/4944d556c2bb?raw)
