---
title: "Get agent info"
method: GET
path: "/workspaces/{id}/agent"
tags: ["agent"]
---

# Get agent info

`GET /workspaces/{id}/agent`

## Path parameters

- `id` string, required

## Response `200`

OK

- ProtoAgentInfo
  - `is_busy` boolean
  - `is_ready` boolean
  - `model` CatwalkModel
    - `can_reason` boolean
    - `context_window` integer
    - `cost_per_1m_in` number
    - `cost_per_1m_in_cached` number
    - `cost_per_1m_out` number
    - `cost_per_1m_out_cached` number
    - `default_max_tokens` integer
    - `default_reasoning_effort` string
    - `id` string
    - `name` string
    - `options` CatwalkModelOptions
      - `frequency_penalty` number
      - `presence_penalty` number
      - `provider_options` object
      - `temperature` number
      - `top_k` integer
      - `top_p` number
    - `reasoning_levels` string[]
    - `supports_attachments` boolean
  - `model_cfg` ConfigSelectedModel
    - `frequency_penalty` number
    - `max_tokens` integer — Overrides the default model configuration.
    - `model` string — The model id as used by the provider API. Required.
    - `presence_penalty` number
    - `provider` string — The model provider, same as the key/id used in the providers config. Required.
    - `provider_options` object — Override provider specific options.
    - `reasoning_effort` string — Only used by models that use the openai provider and need this set.
    - `temperature` number
    - `think` boolean — Used by anthropic models that can reason to indicate if the model should think.
    - `top_k` integer
    - `top_p` number

## Other responses

- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/charmbracelet/apis/crush-api.md) · [All operations](https://skmtc.dev/charmbracelet/apis/crush-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/charmbracelet/crush-api/revisions/81bee9ef86c6/schema)
