Ontology API

Reference for the 13 Ontology operations in the Intuidy API.

Updated in Intuidy 2026.11.1818 min read

Responses are JSON. A successful response is { "success": true, "data": …, "meta": … }, and each operation below documents its data. Errors use the error envelope described in Errors, pagination and limits.

OperationMethod and pathAuthorization
List ontology objectsGET /ontology/objectsontology:read
Describe one objectGET /ontology/objects/{key}ontology:read
Describe an object and/or set its curation flagsPATCH /ontology/objects/{key}ontology:write
Remove an object's curated entryDELETE /ontology/objects/{key}ontology:write
Search the business glossaryGET /ontology/glossaryontology:read
Define or update a business termPUT /ontology/glossaryontology:write
Remove a business termDELETE /ontology/glossaryontology:write
Batch ontology operationsPOST /ontology/opsontology:write
Read the discovered-objects catalogGET /ontology/discoveryontology:read
Re-introspect the organization's live data sourcesPOST /ontology/discovery/refreshontology:write
Draft object descriptions and glossary terms with AIPOST /ontology/inferontology:write
Read the business profileGET /ontology/business-profileontology:read
Update business profile fieldsPUT /ontology/business-profileontology:write

List ontology objects

GET /ontology/objects

The organization's semantic layer: apps, managed-database tables, workflow tables, integration entities and workflow output datasets, with whatever business meaning has been curated for them.

Authorization: scope ontology:read.

Query parameters

NameTypeRequiredDescription
qstringNoFree-text filter over keys, labels, descriptions and field names
status"all" or "needs" or "review" or "verified"No—
source"all" or "inferred" or "integration" or "chat" or "user"NoFilter by description provenance
kind"all" or "app" or "managed-db" or "integration" or "workflow-output" or "tenant-db"NoRejected with 400 if not one of these — an unrecognised kind would otherwise return an empty page that reads as "you have none".
include_hiddenbooleanNoInclude entries a curator has hidden
pageintegerNo—
page_sizeinteger (≤ 100)No—

Response 200 OK

data fields:

FieldTypeDescription
objectsarray of OntologyObjectRow—
pagePage—

Errors 400, 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/ontology/objects" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Describe one object

GET /ontology/objects/{key}

Curated meaning merged over the live schema, with joins and per-field detail.

Authorization: scope ontology:read.

Path parameters

NameTypeRequiredDescription
keystringYesRegistry key, e.g. app::deals or managed-db:3:orders. Keys contain no slashes or reserved characters, and : is legal in a path segment, so it may be sent raw or percent-encoded.

Response 200 OK

data is OntologyObject:

FieldTypeDescription
foundboolean—
keystring—
labelstring—
descriptionstring or null—
grainstring—
primaryKeyarray of string—
alsoCalledarray of string—
sensitivity"public" or "internal" or "financial" or "pii"—
classificationsarray of string—
approxRowsinteger—
joinsarray of objectRelationships to other objects
joins[].fromstring—
joins[].tostring—
joins[].cardinalitystring—
joins[].confirmedbooleanTrue for foreign keys and human-drawn joins
possibleJoinsarray of objectGuessed from column naming — verify before relying on them
schemaFieldsobjectPer-column type, meaning, sensitivity and value dictionary
glossaryTermsarray of string—

Errors 400 (INVALID_OBJECT_KEY), 404 (OBJECT_NOT_FOUND). See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/ontology/objects/<key>" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Describe an object and/or set its curation flags

PATCH /ontology/objects/{key}

Descriptive fields and flags are applied as ONE atomic batch: an unrecognised classification tag or sensitivity level rejects the whole request rather than half-applying it. PROVENANCE: an API key writes at user rank, the highest, so its text outranks inference and chat capture. Requests arriving from an in-product agent write at chat rank instead, and cannot overwrite what a person typed. GOVERNANCE MARKINGS ARE RANK-GUARDED SEPARATELY. flags.sensitivity and flags.classifications (and their per-field twins) may be changed or cleared only by a writer at or above the rank that last set them. A lower-ranked writer may ADD a classification tag but never remove one, and may fill an empty sensitivity slot but never downgrade a marking — a tag that silently disappears leaves every rule gating on it looking armed while matching nothing.

Authorization: scope ontology:write.

Path parameters

NameTypeRequiredDescription
keystringYesRegistry key, e.g. app::deals or managed-db:3:orders. Keys contain no slashes or reserved characters, and : is legal in a path segment, so it may be sent raw or percent-encoded.

Request body (application/json, optional)

FieldTypeRequiredDescription
labelstringNo—
descriptionstringNoEmpty string clears it (only user rank may clear)
grainstringNo—
refreshCadencestringNo—
primaryKeyarray of stringNo—
aliasesarray of stringNo—
linksarray of objectNo—
fieldDescriptionsobjectNo—
fieldValuesobjectNoREPLACES a field's whole value list — resend siblings or they are dropped
fieldSensitivityobjectNo—
fieldClassificationsobjectNo—
flagsobjectNo—
flags.hiddenbooleanNo—
flags.includeInPromptbooleanNo—
flags.sensitivity"public" or "internal" or "financial" or "pii"No—
flags.classificationsarray of stringNo—
flags.noSamplebooleanNoExclude this object from deep-scan row profiling
flags.verifiedbooleanNo—
flags.ownerUserIdintegerNo—

Response 200 OK

data is RegistryOpResult:

FieldTypeDescription
appliedarray of string—
skippedarray of object—
skipped[].opstring—
skipped[].targetstring—
skipped[].reasonstring—
skipped[].detailstring—

Errors 400, 403 (INSUFFICIENT_SCOPE), 409, 422. See Errors, pagination and limits.

Example request

bash
curl -X PATCH "https://vantage.intuidy.com/api/v1/ontology/objects/<key>" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"label":"<label>"}'

Remove an object's curated entry

DELETE /ontology/objects/{key}

Removes CURATION only. A still-connected source surfaces the object again on the next discovery scan, undescribed.

Authorization: scope ontology:write.

Path parameters

NameTypeRequiredDescription
keystringYesRegistry key, e.g. app::deals or managed-db:3:orders. Keys contain no slashes or reserved characters, and : is legal in a path segment, so it may be sent raw or percent-encoded.

Response 200 OK

Errors 403. See Errors, pagination and limits.

Example request

bash
curl -X DELETE "https://vantage.intuidy.com/api/v1/ontology/objects/<key>" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Search the business glossary

GET /ontology/glossary

Terms are addressed by the term query parameter rather than a path segment: they are user-authored free text and routinely contain / and %.

Authorization: scope ontology:read.

Query parameters

NameTypeRequiredDescription
qstringNoFree-text search across terms, aliases, definitions and calculations
termstringNoExact term (case-insensitive) — for looking up a single item
category"metric" or "entity" or "process" or "acronym"No—
status"draft" or "approved" or "deprecated"No—
include_hiddenbooleanNo—
pageintegerNo—
page_sizeinteger (≤ 100)No—

Response 200 OK

data fields:

FieldTypeDescription
termsarray of GlossaryTerm—
pagePage—

Errors 400. See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/ontology/glossary" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Define or update a business term

PUT /ontology/glossary

Authorization: scope ontology:write.

Request body (application/json)

FieldTypeRequiredDescription
termstringYes—
definitionstringNoEmpty string clears it (only user rank may clear)
calculationstringNo—
category"metric" or "entity" or "process" or "acronym"No—
aliasesarray of stringNo—
relatedObjectsarray of stringNo—
examplesarray of stringNo—
notToBeConfusedWitharray of stringNo—
flagsobjectNo—
flags.hiddenbooleanNo—
flags.status"draft" or "approved" or "deprecated"No—
flags.supersededBystringNo—

Response 200 OK

Errors 400, 403, 422. See Errors, pagination and limits.

Example request

bash
curl -X PUT "https://vantage.intuidy.com/api/v1/ontology/glossary" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"term":"<term>"}'

Remove a business term

DELETE /ontology/glossary

Authorization: scope ontology:write.

Query parameters

NameTypeRequiredDescription
termstringYes—

Response 200 OK

Errors 400, 403. See Errors, pagination and limits.

Example request

bash
curl -X DELETE "https://vantage.intuidy.com/api/v1/ontology/glossary" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Batch ontology operations

POST /ontology/ops

The bulk operation, for loading or migrating a semantic layer. Accepts either an op list or any single-action shape. ATOMIC: an unrecognised gating value rejects the whole batch. Maximum 200 operations per request.

Authorization: scope ontology:write.

Request body (application/json)

object or object

Response 200 OK

data is RegistryOpResult:

FieldTypeDescription
appliedarray of string—
skippedarray of object—
skipped[].opstring—
skipped[].targetstring—
skipped[].reasonstring—
skipped[].detailstring—

Errors 400, 403, 409, 422. See Errors, pagination and limits.

Example request

bash
curl -X POST "https://vantage.intuidy.com/api/v1/ontology/ops" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Read the discovered-objects catalog

GET /ontology/discovery

Serves the CACHED catalog (6h TTL) and never forces a rebuild — a scan opens live connections to the organization's databases, so it lives behind POST /ontology/discovery/refresh.

Authorization: scope ontology:read.

Response 200 OK

data fields:

FieldTypeDescription
objectsobject—
errorsarray of object—
generated_atstring (date-time)—

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/ontology/discovery" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Re-introspect the organization's live data sources

POST /ontology/discovery/refresh

Side-effecting and billed. deep: true additionally profiles column VALUES, reading real rows — it is throttled harder, counts against both windows, and honours the noSample / pii exclusions the registry flags declare. Throttle buckets are shared with the Ontology UI, so an organization gets the advertised ceiling once, not once per access method.

Authorization: scope ontology:write.

Request body (application/json, optional)

FieldTypeRequiredDescription
deepbooleanNoDefault false
include_catalogbooleanNoReturn the full catalog as well as the counts

Response 200 OK

data fields:

FieldTypeDescription
deepboolean—
objectsinteger—
errorsarray of object—
generated_atstring—

Errors 403, 429 (RATE_LIMITED). See Errors, pagination and limits.

Example request

bash
curl -X POST "https://vantage.intuidy.com/api/v1/ontology/discovery/refresh" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"deep":"<deep>"}'

Draft object descriptions and glossary terms with AI

POST /ontology/infer

COSTS TOKENS. Two-phase: send dryRun: true to get proposed operations without persisting, then POST the approved subset back as ops to apply them. Everything lands at inferred rank with no user attribution, so a draft can never outrank text a person wrote. Only the DRAFTING phase counts against the enrichment throttle — an accept round-trip must not burn budget the caller already spent producing the drafts.

Authorization: scope ontology:write.

Request body (application/json, optional)

FieldTypeRequiredDescription
scope"objects" or "glossary" or "all"NoDefault "all"
keysarray of stringNoLimit enrichment to these objects
includeSamplesbooleanNoOpt-in. Reads a few real rows to feed the model, honouring the registry's noSample/pii exclusions.
dryRunbooleanNoDefault false
opsarray of objectNoApproved drafts from a previous dry run. Only updateObject and defineTerm are accepted here.

Response 200 OK

data fields:

FieldTypeDescription
dryRunboolean—
opsarray of object—
appliedarray of string—
skippedarray of object—
draftedObjectsinteger—
draftedTermsinteger—

Errors 403, 422, 429 (RATE_LIMITED). See Errors, pagination and limits.

Example request

bash
curl -X POST "https://vantage.intuidy.com/api/v1/ontology/infer" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"scope":"<scope>"}'

Read the business profile

GET /ontology/business-profile

The third half of the organization's semantic layer alongside objects and the glossary: who the company is, what it sells, its customers, KPIs and terminology. Returns the profile document with per-field provenance, the field registry (render or validate field keys without hardcoding them), and the fields still unknown.

Authorization: scope ontology:read.

Response 200 OK

data is BusinessProfile:

FieldTypeDescription
profileBusinessProfileDoc—
fieldRegistryarray of objectEvery field the profile can hold, with labels and hints
fieldRegistry[].keystring—
fieldRegistry[].labelstring—
fieldRegistry[].hintstring—
fieldRegistry[].multilineboolean—
missingFieldsarray of objectFields with no value yet
missingFields[].keystring—
missingFields[].labelstring—
missingFields[].hintstring—

Errors 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/ontology/business-profile" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Update business profile fields

PUT /ontology/business-profile

Merges fields into the stored profile under source-rank rules. PROVENANCE: an API key writes at user rank, like an edit in the profile UI; requests arriving from an in-product agent write at chat rank and can never overwrite what a person typed. An empty-string value clears a field (user-rank writers only); unknown field keys are reported in skipped, never guessed at. The onboarding confirm stamp is deliberately not settable here — it is a human consent bit.

Authorization: scope ontology:write.

Request body (application/json)

FieldTypeRequiredDescription
fieldsobjectYesfieldKey → value, e.g. {"industry": "Commercial HVAC"}. Valid keys come from the GET response's fieldRegistry.

Response 200 OK

data fields:

FieldTypeDescription
profileBusinessProfileDoc—
appliedarray of string—
skippedarray of object—
skipped[].fieldstring—
skipped[].reasonstring—

Errors 400, 403. See Errors, pagination and limits.

Example request

bash
curl -X PUT "https://vantage.intuidy.com/api/v1/ontology/business-profile" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fields":"<fields>"}'

Objects

BusinessProfile

The GET payload — the profile document plus the field registry and the fields still unknown.

FieldTypeDescription
profileBusinessProfileDoc—
fieldRegistryarray of objectEvery field the profile can hold, with labels and hints
fieldRegistry[].keystring—
fieldRegistry[].labelstring—
fieldRegistry[].hintstring—
fieldRegistry[].multilineboolean—
missingFieldsarray of objectFields with no value yet
missingFields[].keystring—
missingFields[].labelstring—
missingFields[].hintstring—

BusinessProfileDoc

The stored profile document, with per-field provenance.

FieldTypeDescription
versioninteger—
confirmedAtstring (date-time) or nullWhen a person marked the profile reviewed, in the UI
confirmedByinteger or null—
fieldsobjectfieldKey → stored entry with provenance

GlossaryTerm

FieldTypeDescription
termstring—
definitionstring or null—
definitionSource"inferred" or "integration" or "chat" or "user"—
category"metric" or "entity" or "process" or "acronym"—
status"draft" or "approved" or "deprecated"—
aliasesarray of string—
calculationstring—
relatedObjectsarray of string—
supersededBystring—
hiddenboolean—

OntologyObject

Full detail for one object — curated meaning merged over the live schema.

FieldTypeDescription
foundboolean—
keystring—
labelstring—
descriptionstring or null—
grainstring—
primaryKeyarray of string—
alsoCalledarray of string—
sensitivity"public" or "internal" or "financial" or "pii"—
classificationsarray of string—
approxRowsinteger—
joinsarray of objectRelationships to other objects
joins[].fromstring—
joins[].tostring—
joins[].cardinalitystring—
joins[].confirmedbooleanTrue for foreign keys and human-drawn joins
possibleJoinsarray of objectGuessed from column naming — verify before relying on them
schemaFieldsobjectPer-column type, meaning, sensitivity and value dictionary
glossaryTermsarray of string—

OntologyObjectRow

Summary row for one object in the semantic layer.

FieldTypeDescription
keystring<sourceType>:<sourceId>:<entity>, e.g. app::deals, managed-db:3:orders
kindstring—
labelstring—
describedbooleanWhether a business description has been written for it
descriptionstring—
descriptionSource"inferred" or "integration" or "chat" or "user"Provenance rank. Higher ranks are never overwritten by lower ones.
grainstringWhat ONE ROW represents
sensitivity"public" or "internal" or "financial" or "pii"—
classificationsarray of stringGovernance tags; data rules match on these
hiddenboolean—
verifiedboolean—
verificationStaleboolean—
orphanedbooleanCurated but its underlying source no longer exists
sourcestring—
linkCountinteger—

Page

FieldTypeDescription
pageinteger1-based page number, clamped into range
page_sizeinteger—
totalinteger—
page_countinteger—

RegistryOpResult

FieldTypeDescription
appliedarray of string—
skippedarray of object—
skipped[].opstring—
skipped[].targetstring—
skipped[].reasonstring—
skipped[].detailstring—