List the archive’s labels
The tenant’s whole label tree («Etichette») — id, name, colour and parent — in tree order (a parent always precedes its children). Labels are metadata beside a document, not folders: a document may carry any number. Call this before documents_create_label (to nest under an existing one), documents_update_label, documents_delete_label or documents_set_labels — each needs an id or an exact name, and a name is unique only among its siblings, so two labels called «2026» under different parents are told apart by their id.
Examples
- What labels does the archive have? GET /api/v1/rest/documents/labels
Request
- Base URL: https://api.custodo.ai
- URL: https://api.custodo.ai/api/v1/rest/documents/labels
- Auth: HTTP bearer
Headers
The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.
Response
Done. data is the tool’s own answer.
Changes
No recorded changes to this operation across all 1 revision of this API.