API referenceHTTP API
Developer documentation
HTTP API reference
Send traces and evaluation reports, read traces, and download datasets.
The API base URL is https://api.ledgekit.com. Use the Swift SDK for iOS integrations; call HTTP directly from your own tools or provider integration.
| Method | Endpoint | Credential | Purpose |
|---|---|---|---|
| POST | /v1/traces | Write key | Store a finalized trace |
| GET | /v1/traces | Read key | Filter and paginate trace summaries |
| GET | /v1/traces/{id} | Read key | Retrieve an original trace envelope |
| POST | /v1/evaluations | Write key | Store a native evaluation report |
| GET | /v1/datasets/{datasetId} | Read key | Download saved inputs |
Endpoint schemas are generated from the project's API contract. Download the public OpenAPI document to inspect these operations or generate a client.
Create applications and keys, manage dataset membership, and inspect evaluation results in the console. Those workflows use console sessions.
Examples use shell environment variables for credentials. Execute them in your terminal; these documentation pages do not send authenticated API requests. See authentication and errors.