---
title: "GET /v1/agents"
method: GET
path: "/v1/agents"
tags: ["agents"]
---

# GET /v1/agents

`GET /v1/agents`

## Query parameters

- `workspace_id` string, nullable
- `cursor` string, nullable
- `limit` integer, nullable
- `policy_type` string, nullable

## Response `200`

- ListAgentsResponse
  - `agents` Agent[], required
    - `active_build_run_id` string, nullable
    - `agent_id` string, required
    - `agent_name` AgentName
      - `explanation` string, nullable
      - `name` string, required
    - `has_instruction_build` boolean, nullable
    - `has_runs` boolean, nullable
    - `icon_config` string, nullable
    - `last_activity_at` string, nullable
    - `last_chat_message` string, nullable
    - `latest_build_run_id` string, nullable
    - `latest_instruction_build_run_id` string, nullable
    - `latest_run_has_pending_input` boolean, nullable
    - `latest_run_id` string, nullable
    - `latest_run_is_finished` boolean, nullable
    - `latest_run_status` string, nullable
    - `unread` boolean, required
    - `workspace_id` string, nullable
  - `next_cursor` string, nullable

## Other responses

- `401`

---

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