---
title: "Get Agent by ID"
method: GET
path: "/agents/{agent_id}"
tags: ["Agents"]
---

# Get Agent by ID

`GET /agents/{agent_id}`

Get an agent by its unique ID.

## Path parameters

- `agent_id` string, required

## Response `200`

Successful Response

- Agent
  - `id` string, required — The unique identifier of the agent.
  - `name` string, required — The unique name of the agent.
  - `description` string, required — The description of the action.
  - `status` 'Ready' | 'Failed' | 'Unknown' | 'Deleted' | 'Unhealthy' | 'BuildOnly'
  - `acp_type` 'sync' | 'async' | 'agentic', required
  - `status_reason` string, nullable — The reason for the status of the action.
  - `created_at` string, date-time, required — The timestamp when the agent was created
  - `updated_at` string, date-time, required — The timestamp when the agent was last updated
  - `registration_metadata` object, nullable — The metadata for the agent's registration.
  - `registered_at` string, date-time, nullable — The timestamp when the agent was last registered
  - `agent_input_type` 'text' | 'json'
  - `production_deployment_id` string, nullable — ID of the current production deployment.

## Other responses

- `422` — Validation Error

## Changes

> 55 revisions in range; 4 could not be searched.

- **2026-06-02** `6ddcd81c830b` — 1 warning
  - added the new `BuildOnly` enum value to the `status` response property for the response status `200`

[Change history](https://skmtc.dev/scaleapi/apis/agentex-api/changes/agents/:agent_id/get.md)

---

[API](https://skmtc.dev/scaleapi/apis/agentex-api.md) · [All operations](https://skmtc.dev/scaleapi/apis/agentex-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scaleapi/agentex-api/revisions/1e0aaafd5780/schema)
