Skip to main content
GET
/
api
/
agents
/
{agent_id}
Get an agent
curl --request GET \
  --url https://litellm-rust.onrender.com/api/agents/{agent_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "my-agent",
  "model": "claude-opus-4-5",
  "system": "<string>",
  "tools": {},
  "config": {},
  "owner_id": "<string>",
  "status": "paused",
  "description": "<string>",
  "harness": "claude-code",
  "created_at": 123
}

Authorizations

Authorization
string
header
required

Your LITELLM_MASTER_KEY. Default for local Docker Compose: sk-local

Path Parameters

agent_id
string
required

Response

Agent details

id
string
name
string
Example:

"my-agent"

model
string
Example:

"claude-opus-4-5"

system
string
tools
object
config
object

Runtime-specific config. For runtime-backed agents this usually includes runtime.

owner_id
string | null
status
string
Example:

"paused"

description
string | null
harness
string
Example:

"claude-code"

created_at
integer<int64>