Technical Reference / API reference
API reference
The complete platform API, rendered from the live OpenAPI document: every service from projects and MCP servers to telemetry and usage.
The complete platform API — every service, from projects, deployments, and MCP servers to telemetry, risk, and usage — rendered from the live OpenAPI document at ai.speakeasy.com/openapi.yaml. The reference below always reflects what production serves.
Authentication
Section titled “Authentication”Most requests require authentication headers:
| Header | Description |
|---|---|
Speakeasy-AI-Key | API key with the appropriate scope (see API Keys) |
Speakeasy-AI-Project | Project identifier (slug) |
curl -X POST "https://ai.speakeasy.com/rpc/telemetry.searchLogs" \ -H "Content-Type: application/json" \ -H "Speakeasy-AI-Key: <your-api-key>" \ -H "Speakeasy-AI-Project: <your-project-slug>" \ -d '{"limit": 50}'These headers were previously named Gram-Key and Gram-Project. The old names still work, and the generated reference below still lists them.
Browse the API
Section titled “Browse the API”Use the reference’s built-in sidebar and search to explore services and operations, inspect request and response schemas, and copy ready-made snippets per language.