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

MethodEndpointCredentialPurpose
POST/v1/tracesWrite keyStore a finalized trace
GET/v1/tracesRead keyFilter and paginate trace summaries
GET/v1/traces/{id}Read keyRetrieve an original trace envelope
POST/v1/evaluationsWrite keyStore a native evaluation report
GET/v1/datasets/{datasetId}Read keyDownload 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.