---
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

## 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.
    - `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
        - `npm_version` string, nullable — NPM version constraint
        - `registry_url` string, nullable — NPM registry URL
      - `pip` PipSource — Pip-based agent source configuration.
        - `package_name` string, required — Pip package name
        - `pip_version` string, nullable — Pip version constraint
        - `registry_url` string, nullable — Pip registry URL
      - `object` ObjectSource — Object store agent source configuration.
        - `object_id` string, required — Object ID
        - `unpack_target` string, required — Where to unpack the object contents
      - `git` GitSource — Git-based agent source configuration.
        - `repository` string, required — Git repository URL
        - `ref` string, nullable — Git ref (branch/tag/commit)
        - `subpath` string, nullable — Path within repository
        - `auth_token` string, nullable — Authentication token
  - `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.

---

[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/436b4f5c7426/schema)
