Search documentation
karat

+

K

User Documentation ↗
Version 2.0

Get Ontology Full Metadata

GET/api/v2/ontologies/{ontology}/fullMetadata
Warning

This endpoint is in preview and may be modified or removed at any time. To use this endpoint, add preview=true to the request query parameters.

Get the full Ontology metadata. This includes the objects, links, actions, queries, and interfaces.

Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:ontologies-read.

Path parameters

ontology
string

The API name of the ontology. To find the API name, use the List ontologies endpoint or check the Ontology Manager.

Response body

OntologyFullMetadata
object

Success response.

Hide child attributes

Hide child attributes

ontology
object

Metadata about an Ontology.

Show child attributes

Show child attributes

objectTypes
map<ObjectTypeApiName, ObjectTypeFullMetadata>
optional
Show child attributes

Show child attributes

actionTypes
map<ActionTypeApiName, ActionTypeV2>
optional
Show child attributes

Show child attributes

queryTypes
map<QueryApiName, QueryTypeV2>
optional
Show child attributes

Show child attributes

interfaceTypes
map<InterfaceTypeApiName, InterfaceType>
optional
Show child attributes

Show child attributes

sharedPropertyTypes
map<SharedPropertyTypeApiName, SharedPropertyType>
optional
Show child attributes

Show child attributes

Examples

Request

Copied!
1 2 3 curl \ -H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/v2/ontologies/palantir/fullMetadata"