---
title: "Get agent details"
method: GET
path: "/api/agents/{agentId}"
tags: ["agents"]
---

# Get agent details

`GET /api/agents/{agentId}`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/agents/{agentId}`
- Auth: none declared

Returns detailed information about a specific agent

## Path parameters

- `agentId` string, uuid, required

## Response `200`

Agent details

- object
  - `success` boolean
  - `data` AgentInfo
    - `id` string, uuid: Unique identifier for the agent
    - `name` string: Name of the agent
    - `status` 'active' | 'inactive': Current status of the agent

## Other responses

- `400`: Invalid agent ID
- `404`: Agent not found
- `500`: Server error

---

[API](https://skmtc.dev/elizaos/apis/eliza-os-api.md) - [All operations](https://skmtc.dev/elizaos/apis/eliza-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/elizaos/apis/eliza-os-api/revisions/d606a12682bb?raw)
