Levain LabsLevain Labs
API ReferenceAgents

List Agent Issues

List the open issues identified for an agent.

Each issue is a recurring problem observed across the agent's runs, ordered most-important first. Use this to decide what a new version should fix: bundle the issues you want to address into a build prompt, then launch a build with POST /api/v1/agents/{agent_id}/versions/{version}/build.

GET
/api/v1/agents/{agent_id}/issues

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

agent_id*Agent Id

Header Parameters

X-API-Key?string|null

Response Body

application/json

application/json

curl -X GET "https://api.levainlabs.com/api/v1/agents/string/issues"
[
  {
    "id": "string",
    "title": "string",
    "body": "string",
    "priority": 0,
    "axes": [
      "string"
    ],
    "occurrence_count": 0,
    "last_seen_at": "string"
  }
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}