Inspect

List automations

List automations owned by or shared with the authenticated user. Pass `scope=all` to also include published automations and their soft forks. Supports cursor pagination.

Base URL
GET
/api/v2/automations

List automations owned by or shared with the authenticated user. Pass scope=all to also include published automations and their soft forks. Supports cursor pagination.

Authorization

bearerAuth automations:read
headerAuthorizationBearer <token>

API key authentication. Use your API key as the bearer token.

Scope: automations:read

Query Parameters

first?integer

Number of results to return (max 100).

Formatint32
Range1 <= value <= 100
Default50
after?string

Cursor for pagination. Use meta.next_cursor from a previous response.

include_archived?boolean

If true, include archived automations. Defaults to false.

Defaultfalse
scope?string

mine returns automations the authenticated user owns or collaborates on. all also returns every automation the user can view, including published automations and their soft forks. Defaults to mine.

Default"mine"
Value in"mine""all"

Response Body

List of automations

application/json
  1. response
data*array<>
meta*
Example Request
curl -X GET 'https://app.inspect.com/api/v2/automations'
Example Response
{  "data": [    {      "id": "k3v8n2w6q9ts",      "name": "Triage failing CI on main",      "description": "Investigates failing checks on main and opens a pull request with a fix.",      "prompt": "Investigate the failing {{check_name}} check on main for the {{service}} service and open a pull request with a fix.",      "repositories": [        "web"      ],      "triggers": [        {          "id": "m4p7x2c9d5hf",          "type": "cron",          "schedule_expression": "Every weekday at 9am",          "cron_expression": "0 9 * * 1-5",          "timezone": "America/New_York",          "enabled": true        }      ],      "slack_channel_id": "C03KH3AGN2G",      "post_to_slack_on_start": true,      "slack_mention_users": [        {          "type": "user",          "id": "U04QZ8K2M7N",          "name": "Jane Doe",          "avatar_url": "https://avatars.slack-edge.com/2024-03-12/6801234567890_3f9a1b2c4d5e6f708192_192.jpg"        }      ],      "notify_collaborators_on_merge": false,      "run_as": "owner",      "owner": {        "id": "Vq3kZ8xN2pLm7RtY4wHc9JbF6sDg1aEu",        "name": "Jane Doe",        "email": "jane@acme.com",        "avatar_url": "https://avatars.githubusercontent.com/u/5831047?v=4"      },      "collaborators": [        {          "id": "Vq3kZ8xN2pLm7RtY4wHc9JbF6sDg1aEu",          "name": "Jane Doe",          "email": "jane@acme.com",          "avatar_url": "https://avatars.githubusercontent.com/u/5831047?v=4"        }      ],      "model_id": "claude-opus-5-5",      "agent_id": "h2w9c4m7k1xz",      "autofix_ci_failures": true,      "auto_address_pull_request_reviews_policy": {        "enabled": true,        "reviewer_categories": {          "human": true,          "bot": false        },        "identity_rules": [          {            "selector": "bot:49699333",            "rule_type": "block"          }        ],        "review_buddy": {          "enabled": true,          "enabled_finding_types": [            "critical",            "warning"          ]        }      },      "template_variables": {        "service": {          "label": "Service",          "value_type": "text",          "default_value": "web",          "options": [            "web",            "api",            "worker"          ]        }      },      "enabled": true,      "last_run_at": "2026-10-29T13:00:04.512Z",      "next_run_at": "2026-10-30T13:00:00.000Z",      "archived_at": null,      "created_at": "2026-10-28T15:42:11.204Z",      "updated_at": "2026-10-28T16:05:37.918Z",      "viewer_can_edit": true    }  ],  "meta": {    "next_cursor": "eyJ2IjoxLCJzIjoicHVibGlzaGVkX2F0X2Rlc2MiLCJrIjpbZmFsc2UsMTc5MzAyNDQ2NzMzMCwicjVqMWI4dDN5NnFlIl19",    "previous_cursor": "eyJ2IjoxLCJzIjoicHVibGlzaGVkX2F0X2Rlc2MiLCJrIjpbZmFsc2UsMTc5MzIwMjEzMTIwNCwieDdrMm05cTRwMXphIl19",    "has_next_page": true,    "has_previous_page": false  }}