---
title: "List automations"
method: GET
path: "/v1/automations"
tags: ["Automations"]
---

# List automations

`GET /v1/automations`

## Request

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

List the Cloud project's automations, newest first.

## Query parameters

- `limit` integer
- `after` string
- `agent_id` string

## Response `200`

Successful response.

- object
  - `data` object[], required
    - `cloud_project` object, required
      - `id` string, uuid, required
      - `name` string, required
    - `created_at` string, date-time, required
    - `created_by` union, required: The API key while it exists, the person otherwise (who may have used an OAuth token), or the agent's automations tool, that created it.
      - object
        - `api_key_id` string, uuid, nullable, required: Null once the key is deleted.
        - `type` 'api_key', required
      - object
        - `agent_id` string, uuid, required
        - `type` 'agent', required
      - object
        - `type` 'user', required
        - `user_id` string, required: The person who created it through an OAuth token, or whose key was since deleted.
    - `id` string, uuid, required
    - `last_fired_at` string, date-time, nullable, required
    - `name` string, required
    - `object` 'automation', required
    - `paused_reason` 'requested' | 'repeated_failures' | 'target_unavailable', nullable, required: Why a paused automation is paused: requested, repeated_failures (five failed or refused firings in a row) or target_unavailable (its agent, project or session is gone).
    - `status` 'active' | 'paused' | 'completed', required: active, paused, or completed for a one-time schedule that fired.
    - `target` object, required
      - `agent_id` string, uuid, required
      - `message` string, required
      - `session` union, required
        - object
          - `metadata` object, required
          - `mode` 'new', required
          - `user` string, required
        - object
          - `mode` 'fixed', required
          - `session_id` string, uuid, required
      - `type` 'agent', required
    - `trigger` union, required
      - object
        - `next_run_at` string, date-time, nullable, required: When it fires next; null while paused or once completed.
        - `schedule` union, required
          - object
            - `run_at` string, date-time, required
            - `type` 'once', required
          - object
            - `cron` string, required
            - `timezone` string, required
            - `type` 'recurring', required
        - `type` 'schedule', required
      - object
        - `type` 'webhook', required
        - `url` string, uri, required: POST signed JSON here. Sign with Dexto-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of '<t>.<raw body>'>.
    - `updated_at` string, date-time, required
  - `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)
