List object types
const url = 'https://api.aerandil.com/v1/object-types';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.aerandil.com/v1/object-types \ --header 'Authorization: Bearer <token>'Schema-discovery surface — return every registered [ObjectTypeDef] in compact summary form. Companion to the OpenAPI document at /v1/openapi.json: both expose the registry, but this endpoint is friendlier to runtime introspection (no schema-walk needed) and ships the display_name/description/markings operator fields that the per-type JSON Schemas don’t surface. Sorted by api_name ascending. Returns next_page_token: null in v1 — ontology size stays under the pagination threshold.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Sorted summary list of every registered object type.
object
object
Row-level markings applied to every instance (e.g. pii, payment_data).
API name of the property that serves as the type’s primary key.
Levels of the tenancy hierarchy at which instances of this type are allowed to live.
Lifecycle state of the type definition.
API name of the property used for human-readable titles (e.g. an SDK’s .toString() equivalent).
Opaque cursor for the next page (AIP-158). Reserved for future growth; v1 returns null because the registry size is bounded.
Example
{ "data": [ { "scope_levels": [ "tenant" ], "status": "active" } ]}