Store a typed record
Validated against the schema latest version (unknown fields rejected, enum/type/required enforced). The record row is the source of truth; a derived embedding is written to the memory store so records surface in semantic search (filter with filters.schema). Meters as memory.add.
Validated against the schema latest version (unknown fields rejected, enum/type/required enforced). The record row is the source of truth; a derived embedding is written to the memory store so records surface in semantic search (filter with filters.schema). Meters as memory.add.
Authorization
TokenAuth Project API key as Token lb-sk_...
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/records/string" \ -H "Content-Type: application/json" \ -d '{ "record": {} }'{ "id": "string", "schema": "string", "schema_version": 0, "user_id": "string", "agent_id": "string", "run_id": "string", "app_id": "string", "record": {}, "created_at": "2019-08-24T14:15:22Z"}Register a record schema (version 1) POST POST
The definition uses a restricted JSON-Schema subset: object root, one level of properties, types string / number / integer / boolean / string-enum / string-array, at most 32 properties. Up to 32 schemas per project.
Update a record (merge patch) PATCH PATCH
Provided fields replace, explicit null removes. The merged object re-validates against the record's pinned schema version; the derived embedding is rewritten.