Skip to navigation

Update a space type

View as Markdown

Updates a space type’s ontology extraction configuration: ontology.prompt (freeform guidance appended to the extraction instructions, max 4000 chars), ontology.entities (allowed entity types as { key, description? } — when non-empty this list replaces the built-in types and extracted entities are validated against it), and ontology.includeDateTime (includes the current date and time for relative-date normalization). Configuration takes effect on future ingests only — re-ingest files to apply it. Authorization: organization administrators only — other callers get 403. Returns 200 { spaceType }; 404 if the space type does not exist.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

spaceTypeIdstringRequired

Request

This endpoint expects an object.
ontologyobjectRequired

Response

The updated space type.
spaceTypeobject

Errors

404
Not Found Error