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

# List Agents.

`GET /v1/agents`

List all Agents for the authenticated account with pagination support.

## Query parameters

- `limit` integer
- `starting_after` string
- `name` string
- `is_public` boolean
- `search` string
- `version` string

## Response `200`

Successfully retrieved list of Agents.

- AgentListView — A paginated list of Agents.
  - `agents` AgentView[], required — The list of Agents.
    - `id` string, required — The unique identifier of the Agent.
    - `name` string, required — The name of the Agent.
    - `version` string, required — The version of the Agent. A semver string (e.g., '2.0.65') or a SHA.
    - `create_time_ms` integer, required — The creation time of the Agent (Unix timestamp milliseconds).
    - `is_public` boolean, required — Whether the Agent is publicly accessible.
    - `source` AgentSource — Agent source configuration.
      - `type` string, required — Source type: npm, pip, object, or git
      - `npm` NpmSource — NPM-based agent source configuration.
        - `package_name` string, required — NPM package name
        - `registry_url` string, nullable — NPM registry URL
        - `agent_setup` string[], nullable — Setup commands to run after installation
      - `pip` PipSource — Pip-based agent source configuration.
        - `package_name` string, required — Pip package name
        - `registry_url` string, nullable — Pip registry URL
        - `agent_setup` string[], nullable — Setup commands to run after installation
      - `object` ObjectSource — Object store agent source configuration.
        - `object_id` string, required — Object ID
        - `agent_setup` string[], nullable — Setup commands to run after unpacking
      - `git` GitSource — Git-based agent source configuration.
        - `repository` string, required — Git repository URL
        - `ref` string, nullable — Optional Git ref (branch/tag/commit), defaults to main/HEAD
        - `agent_setup` string[], nullable — Setup commands to run after cloning
  - `has_more` boolean, required — Whether there are more Agents to fetch.
  - `total_count` integer, required — The total count of Agents.
  - `remaining_count` integer, required — The count of remaining Agents.

## Other responses

- `401` — Unauthorized. Invalid or missing authentication.
- `403` — Forbidden. Account does not have devbox capability.
- `500` — Internal server error.

## Changes

- **2025-12-13** `370a5d676ff0` — 2 warning, 2 info
  - removed the optional property `agents/items/source/npm/npm_version` from the response with the `200` status
  - removed the optional property `agents/items/source/pip/pip_version` from the response with the `200` status
  - added the new optional `query` request parameter `version`
  - added the required property `agents/items/version` to the response with the `200` status
- **2025-11-19** `5f33221208c1` — 1 breaking, 2 warning, 5 info
  - removed the required property `agents/items/source/object/unpack_target` from the response with the `200` status
  - removed the optional property `agents/items/source/git/auth_token` from the response with the `200` status
  - removed the optional property `agents/items/source/git/subpath` from the response with the `200` status
  - added the optional property `agents/items/source/git/agent_setup` to the response with the `200` status
  - …4 more

[Change history](https://skmtc.dev/runloopai/apis/runloop-api/changes/v1/agents/get.md)

---

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