Skip to main content
GET
/
api
/
agents
List agents
curl --request GET \
  --url https://litellm-rust.onrender.com/api/agents \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://litellm-rust.onrender.com/api/agents"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://litellm-rust.onrender.com/api/agents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "agents": [
    {
      "id": "<string>",
      "name": "my-agent",
      "model": "claude-opus-4-5",
      "system": "<string>",
      "tools": {},
      "config": {},
      "owner_id": "<string>",
      "status": "paused",
      "description": "<string>",
      "harness": "claude-code",
      "created_at": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Your LITELLM_MASTER_KEY. Default for local Docker Compose: sk-local

Response

List of agents

agents
object[]