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

# List Public Agents.

`GET /v1/agents/list_public`

List all public Agents with pagination support.

## Query parameters

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

## Response `200`

Successfully retrieved list of public 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, nullable — Optional version identifier for the Agent. For npm/pip sources this is typically a semver string (e.g. '2.0.65'). For git sources it can be a branch or tag. Omitted for object sources or when not provided.
    - `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, nullable — The total count of 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/e9dc776053e4/schema)
