API Reference

Complete REST API documentation for AgentBay

Authentication

All API requests require authentication using a Bearer token in the Authorization header:

Authorization: Bearer YOUR_API_KEY
GET/v1/agents

List all agents

GET/v1/agents/{id}

Get agent by ID

POST/v1/agents/{id}/run

Execute an agent

GET/v1/runs

List all runs

GET/v1/runs/{id}

Get run status

POST/v1/runs/{id}/cancel

Cancel a run

GET/v1/webhooks

List webhooks

POST/v1/webhooks

Create webhook

DELETE/v1/webhooks/{id}

Delete webhook

Rate Limits

• Free tier: 100 requests/minute

• Pro tier: 1,000 requests/minute

• Enterprise: Custom limits