Publish a new schema version
Existing records stay pinned to the version they were written with.
Existing records stay pinned to the version they were written with.
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/schemas/string" \ -H "Content-Type: application/json" \ -d '{ "json_schema": { "type": "object", "properties": { "property1": {}, "property2": {} } } }'{ "name": "string", "version": 0, "json_schema": { "type": "object", "properties": { "property1": { "type": "string", "enum": [ "string" ], "items": { "type": "string" }, "description": "string" }, "property2": { "type": "string", "enum": [ "string" ], "items": { "type": "string" }, "description": "string" } }, "required": [ "string" ] }, "embed_template": "string", "retention": { "max_age_days": 1, "max_count": 1 }, "created_at": "2019-08-24T14:15:22Z"}Merged (newest-wins) view of a user records GET GET
Per-field merge across the user records, newest value winning — e.g. "the current lead profile" without client-side merge logic.
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.