# API reference

The complete platform API — every service, from projects, deployments, and MCP servers to telemetry, risk, and usage — rendered from the live OpenAPI document at [app.getgram.ai/openapi.yaml](https://app.getgram.ai/openapi.yaml). The reference below always reflects what production serves.

## Authentication

Most requests require authentication headers:

| Header | Description |
| ------ | ----------- |
| `Gram-Key` | API key with the appropriate scope (see [API Keys](/docs/ai-control-plane/org-admin/api-keys)) |
| `Gram-Project` | Project identifier (slug) |

```bash
curl -X POST "https://app.getgram.ai/rpc/telemetry.searchLogs" \
  -H "Content-Type: application/json" \
  -H "Gram-Key: <your-api-key>" \
  -H "Gram-Project: <your-project-slug>" \
  -d '{"limit": 50}'
```

## 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.
