How to authenticate requests to the Agent Readiness Platform API.
All API requests should be made to the following base URL:
https://agentreadiness.net/api/v1
The API accepts and returns JSON. Include the following headers on all requests that include a request body:
| Header | Value | Required |
|---|---|---|
Content-Type |
application/json |
Yes (for POST/PUT/PATCH) |
Accept |
application/json |
Optional (default) |
A complete example request showing all recommended headers:
curl -X POST https://agentreadiness.net/api/v1/quick-eval \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"company_name": "YourProduct",
"website_url": "https://yourproduct.com",
"competitors": ["https://competitor1.com"],
"task": "Set up email sending via API",
"category": "email_api"
}'
GET requests do not require a Content-Type header:
curl https://agentreadiness.net/api/v1/evaluations/{evaluation_id}/status
All API responses return JSON with appropriate HTTP status codes:
| Status Code | Meaning |
|---|---|
200 |
Success |
201 |
Created (resource was created successfully) |
202 |
Accepted (async operation started) |
400 |
Bad Request (invalid input) |
404 |
Not Found (resource does not exist) |
422 |
Validation Error (check request body) |
500 |
Internal Server Error |
Error responses include a structured JSON body:
{
"detail": "Evaluation not found",
"status_code": 404
}
The current MVP does not enforce rate limits. In future versions, rate limits will be applied per API key:
Authorization header with a Bearer token on all requests.
The planned authentication flow:
/api/v1/auth/register with your emailAuthorization: Bearer your-api-keyUntil auth is implemented, all endpoints are freely accessible. We recommend testing with the Quickstart guide.
The API allows cross-origin requests from all origins (*). This means you can call the API from any frontend application, browser extension, or AI agent without CORS issues.