Inspect

Get agent

Retrieve a single agent by ID, including system `prompt`, `skills`, capabilities, and repository configuration. The list endpoint (`GET /api/v2/agents`) returns summary metadata only; use this route for full configuration. Same API key authentication as other public v1 endpoints.

Base URL
GET
/api/v2/agents/{agent_id}

Retrieve a single agent by ID, including system prompt, skills, capabilities, and repository configuration. The list endpoint (GET /api/v2/agents) returns summary metadata only; use this route for full configuration. Same API key authentication as other public v1 endpoints.

Authorization

bearerAuth agents:read
headerAuthorizationBearer <token>

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

Scope: agents:read

Path Parameters

agent_id*string

Agent ID (from the list agents response)

Response Body

Agent details

application/json
  1. response
data*

Full agent configuration for a single ID. Includes fields not present on the list-agents response.

Example Request
curl -X GET 'https://app.inspect.com/api/v2/agents/r4t8w2n6b9qe'
Example Response
{  "data": {    "prompt": "You are the release captain for acme/web. Summarize merged pull requests since the last tag, flag risky migrations, and draft release notes.",    "created_by": "Xk3pQ9mZr7Lw2NbT5vYc8HdJ4sFa6GeR",    "skills": [      "deslop",      "release-notes"    ],    "capabilities": {      "edit": true,      "git_write": false,      "browser": true,      "user_skills": null,      "repository_skills": null,      "datadog": null,      "customer_data_access": null,      "notion": null,      "inspect_sessions": null,      "web_search": true,      "artifacts": null,      "tools": {        "web_fetch": false      }    },    "prompt_context_mode": "append",    "repositories": [      "web"    ],    "repository_hint": "acme/web",    "id": "r4t8w2n6b9qe",    "name": "Release Captain",    "description": "Drafts release notes and checks deploy readiness for acme/web.",    "model": "claude-opus-5-5",    "builtin": false,    "created_at": "2026-10-28T15:42:11.204Z"  }}