Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/everruns/everruns/llms.txt

Use this file to discover all available pages before exploring further.

The Everruns API is a RESTful HTTP API that provides programmatic access to all platform functionality including agents, sessions, messages, and more.

Base URL

All API endpoints are prefixed with /v1/:
https://your-domain.com/v1/
For example, to list agents:
GET https://your-domain.com/v1/agents
The /health endpoint is an exception and does not include the /v1/ prefix.

Versioning

The API uses URL-based versioning with the /v1/ prefix. This ensures backward compatibility as the API evolves.

RESTful Conventions

The API follows standard REST conventions:
  • GET - Retrieve resources
  • POST - Create new resources
  • PUT - Replace or upsert resources
  • PATCH - Partially update resources
  • DELETE - Delete or archive resources

Response Format

All endpoints return JSON responses. Server-Sent Events (SSE) are used for real-time event streaming with text/event-stream content type.

Success Responses

Single resource:
{
  "id": "agent_01234567-...",
  "name": "Research Assistant",
  "status": "active"
}
List of resources (non-paginated):
{
  "data": [...],
  "total": 42
}
Paginated lists:
{
  "data": [...],
  "total": 150,
  "offset": 0,
  "limit": 20
}

Pagination

Endpoints that return lists support pagination via query parameters:
ParameterTypeDefaultMaxDescription
offsetinteger0-Number of items to skip
limitinteger20100Maximum items to return

Example

# First page (default)
GET /v1/sessions

# Second page
GET /v1/sessions?offset=20&limit=20

# Custom page size
GET /v1/sessions?limit=10

Paginated Response Format

{
  "data": [...],
  "total": 150,
  "offset": 0,
  "limit": 20
}
FieldTypeDescription
dataarrayItems for the current page
totalintegerTotal count across all pages
offsetintegerCurrent offset (echoed from request)
limitintegerCurrent limit (echoed from request)
Currently, only the GET /v1/sessions endpoint supports pagination. Other list endpoints return all items.

OpenAPI Specification

The complete API specification is available in OpenAPI format:
GET /api-doc/openapi.json
The OpenAPI spec is generated from Rust code using utoipa derive macros, ensuring it stays in sync with the implementation.

Generating the Spec

You can generate the spec without running the full server:
# Generate spec to stdout
cargo run --bin export-openapi

# Or use the convenience script
./scripts/export-openapi.sh
This is useful for:
  • CI/CD pipelines
  • Documentation builds
  • Static spec export for external tools

Rate Limiting

API rate limits depend on your deployment configuration. Check with your administrator for specific limits.

Next Steps