Skip to content

The zone's dictionary

GET/api/public/v1/zones/{zone_id}/dictionary beta

Every table of the zone's chain, root first, each with its origin zone, case_sensitive, in_use and its values with their origin zone. Inherited tables and values cannot be changed from here.

Terminal window
curl --fail-with-body -X GET 'https://app.openlatch.ai/api/public/v1/zones/<zone_id>/dictionary' \
-H "Authorization: Bearer $OPENLATCH_API_KEY"
Role in the organizationThis endpoint
ownerAllowed
adminAllowed
editorAllowed
viewerAllowed

A key carries the role its owner holds in the organization. See Authentication.

API key scope: zones:read

ParameterTypeDescription
zone_idstring (uuid)Required.
FieldTypeDescription
dataobjectRequired.
data.tablesarray of objectRequired.
data.tables[].case_sensitivebooleanRequired.
data.tables[].in_usebooleanRequired. True when deleting the table would answer DICTIONARY_TABLE_IN_USE.
data.tables[].kindsarray of objectRequired.
data.tables[].namestringRequired.
data.tables[].observationstringRequired.
data.tables[].origin_zone_idstringRequired.
data.tables[].questionobject or null
data.tables[].valuesarray of objectRequired.
{
"data": {
"tables": [
{
"case_sensitive": false,
"in_use": false,
"kinds": [
"string"
],
"name": "release-bot",
"observation": "string",
"origin_zone_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"question": "string",
"values": [
{
"origin_zone_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"value": "string"
}
]
}
]
}
}