Skip to main content
The data API lets applications store, version, and retrieve AI knowledge and memory through LambdaDB collections. It uses the region-specific base URL and project name shown in LambdaDB Cloud and authenticates requests with the x-api-key header. Create and manage projects and their API keys in LambdaDB Cloud. Project creation does not automatically issue an API key: create one in the project’s API Keys tab and securely save the full value shown once at key creation. See API key management for permissions and key replacement. The public REST API documented here starts with an existing project and key, and covers collections, data versioning, and documents, not key administration. Every collection has a default branch named main. Read requests can select a branch, tag, or alias, while mutation requests can select a branch. See Branches, tags, and aliases for the ref contract and consistency rules. Collection and ref timestamps, including source.asOf, use numeric Unix epoch milliseconds. Pagination tokens are opaque strings: return them unchanged to the same endpoint. The Gateway returns 404 for unknown routes, 405 for unsupported methods, and 415 when a JSON-consuming route receives an unsupported media type. Mapped errors and accepted mutations use a JSON { "message": "..." } body. Do not send request bodies on management GET or DELETE routes.

Errors and retries

Mapped errors return a JSON message; internal catalog error names are not a public structured code field. An unsuccessful or timed-out write response does not always mean that no mutation occurred. Check the resulting state before repeating a mutation whose outcome is uncertain. JSON requests accept application/json; charset=UTF-8. A missing or unsupported media type may return 415 before authentication. Strict request parsing rejects unknown fields. Management GET and DELETE routes reject even an unnecessary {} body. Object-storage errors during a presigned upload have their own response format. See Bulk upload retries for the create-only PUT and 412 behavior.