Skip to main content
GET
/
v1
/
labels
List labels
curl --request GET \
  --url https://{instance}.omniapp.co/api/v1/labels \
  --header 'Authorization: Bearer <token>'
{
  "labels": [
    {
      "name": "Production",
      "verified": true,
      "homepage": true,
      "usage_count": 12,
      "color": "#000000",
      "description": "Documents verified and in prod"
    },
    {
      "name": "In Review",
      "verified": true,
      "homepage": false,
      "usage_count": 5,
      "color": "#CCCCCC",
      "description": "Documents in review"
    },
    {
      "name": "Draft",
      "verified": false,
      "homepage": false,
      "usage_count": 3,
      "color": "#EEEEEE",
      "description": "Drafts that need review"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.omni.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Response

List of all labels in the organization

labels
object[]