Introduction
The Appstrate REST API gives you 191 endpoints to embed multi-tenant AI agents in your product.
Quickstart
Make your first API call in under 5 minutes.
Authentication
API keys, session cookies, OAuth tokens, and the required headers.
Webhooks
Subscribe to run events. Standard Webhooks spec, HMAC-signed.
Errors
RFC 9457 problem details, stable error codes, request ids.
Endpoint catalog
All 191 endpoints grouped by resource.
What is the Appstrate API?
A REST API described by OpenAPI 3.1. Everything the dashboard does is available over HTTP: agents, runs, schedules, webhooks, providers, end-users, organizations, applications, API keys, models, packages, and realtime streams.
Base URL
A local Appstrate instance serves the API at:
http://localhost:3000All endpoints live under /api/.... In production, swap the base for your deployed APP_URL. There is no URL version prefix: every route is versioned through the Appstrate-Version header (see Authentication).
OpenAPI spec
The full OpenAPI 3.1 document is served at:
GET /api/openapi.jsonSwagger UI is available at /api/docs.
Next
- Quickstart — your first API call in curl.
- Authentication — keys, sessions, OAuth, headers, scopes.
- Multi-Tenancy — organizations, applications, end-users, impersonation.