---
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
  - `agent_input_type` 'text' | 'json'
  - `created_at` string, date-time, required — The timestamp when the agent was created
  - `description` string, required — The description of the action.
  - `id` string, required — The unique identifier of the agent.
  - `name` string, required — The agent name (unique within namespace).
  - `namespace_id` string, required — The namespace ID this agent belongs to.
  - `registered_at` string, date-time, nullable — The timestamp when the agent was last registered
  - `registration_metadata` object, nullable — The metadata for the agent's registration.
  - `status` 'ACTIVE' | 'DELETED' — Agent status - runtime statuses (Ready/Failed/Unhealthy) now live on Deployment.
  - `status_reason` string, nullable — The reason for the status of the action.
  - `updated_at` string, date-time, required — The timestamp when the agent was last updated

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/terminaluse/apis/sb0-api.md) · [All operations](https://skmtc.net/terminaluse/apis/sb0-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/terminaluse/sb0-api/revisions/f24a474dc415/schema)
