Skip to Content
Levain LabsLevain Labs
API ReferenceAgents

List Agents

List the workspace's agents, newest first.

List the workspace's agents, newest first.

With no parameters, every agent is listed. slug and id can each be repeated and match any of the values given; kind keeps only agents of that kind. An agent must satisfy every parameter passed. An empty list means no agent matched.

GET
/api/v1/agents/

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Query Parameters

slug?array<string>|null
id?array<>|null
kind?|null

Header Parameters

X-API-Key?string|null

Response Body

application/json

application/json

curl -X GET "https://api.levainlabs.com/api/v1/agents/"
[
  {
    "id": "string",
    "name": "string",
    "slug": "string",
    "description": "string",
    "status": "string",
    "icon": "string",
    "color": "string",
    "kind": "customer",
    "engine": "string",
    "repo": "string",
    "personal": false,
    "config": {
      "max_budget": 1,
      "timeout_minutes": 1,
      "notify_on_run": true,
      "notify_on_message": true,
      "workspace_scope": "session",
      "interactive": true,
      "keep_warm_minutes": 1,
      "concurrent": true,
      "max_concurrent_runs": 1,
      "auto_improve": true,
      "github_issues_repo": "string",
      "runtime_id": "string",
      "memory_extraction": true
    },
    "workspace_integration_access": false,
    "created_at": "string",
    "updated_at": "string",
    "draft_version": 0,
    "latest_version": 0,
    "open_issue_count": 0
  }
]