Create a new ontology registry.
Requires authentication and operates on user-scoped data.
Send Authorization: Bearer <token>. The token is either a Clerk session JWT or a SmartMemory API key (prefix sm_live_, sm_test_, or legacy sk_).
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/memory/ontology/registries" \ -H "Content-Type: application/json" \ -d '{}'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Create Profile
Create a custom pipeline profile, private to the request workspace. A name taken anywhere in the tenant (or by a built-in) returns 409 ``profile_name_unavailable`` with no detail about the holder: the unique index decides, there is no tenant-wide pre-read.
Create Team
Create a new team within the user's tenant. Authorized for tenant admins (JWT) or a service API key carrying `write:teams` (which is itself mintable only by a tenant admin, see api_keys.py). Always creates the team in the caller's own tenant (`get_tenant_context`).