---
title: "List firings"
method: GET
path: "/v1/automations/{automation_id}/firings"
tags: ["Automations"]
---

# List firings

`GET /v1/automations/{automation_id}/firings`

## Request

- Base URL: `https://api.dexto.ai`
- URL: `https://api.dexto.ai/v1/automations/{automation_id}/firings`
- Auth: HTTP bearer

List an automation's firings, newest first, with their status, run and session.

## Path parameters

- `automation_id` string, required

## Query parameters

- `limit` integer
- `after` string

## Response `200`

Successful response.

- object
  - `data` object[], required
    - `agent_id` string, uuid, required
    - `automation_id` string, uuid, required
    - `error` object, nullable, required: Why the firing failed, was refused or skipped: the run's stop_reason, insufficient_credits, spend_limit_reached, session_busy, automation_paused, target_unavailable or dispatch_failed.
      - `code` string, required
      - `message` string, required
    - `fired_at` string, date-time, required
    - `id` string, uuid, required
    - `object` 'automation_firing', required
    - `run_id` string, uuid, nullable, required
    - `scheduled_for` string, date-time, nullable, required: The schedule occurrence it fires; null unless the schedule fired it.
    - `session_id` string, uuid, nullable, required
    - `source` 'schedule' | 'webhook' | 'manual', required
    - `status` 'queued' | 'running' | 'completed' | 'failed' | 'cancelled' | 'refused' | 'skipped', required: queued until its run starts; then the run's running, completed, failed or cancelled; refused for credits or a spend limit; skipped when its fixed session was busy.
  - `has_more` boolean, required
  - `next_after` string, nullable, required: An opaque cursor: pass it as `after` to read the next page. Null when there are no more.
  - `object` 'list', required

## Other responses

- `400`: Invalid JSON or request fields.
- `401`: Missing or invalid API key.
- `402`: The account has insufficient credits.
- `403`: The account cannot perform this operation.
- `404`: The requested resource was not found.
- `409`: The request conflicts with existing resource state.
- `429`: The account exceeded this operation's request rate.
- `500`: Unexpected Dexto failure.
- `502`: The upstream model provider failed.
- `503`: A required Dexto service is temporarily unavailable.

---

[API](https://skmtc.dev/dexto/apis/dexto-api.md) - [All operations](https://skmtc.dev/dexto/apis/dexto-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dexto/apis/dexto-api/revisions/47eb880cffa5?raw)
