Skip to content

Search docs

Find pages, headings, and concepts. Press ⌘K or Ctrl+K to toggle.

Search, labels, and models

Global search, org labels, and the model catalog API.

Utility routes that power dashboard search, labeling, and the shared model picker.

Endpoints

MethodPathDescription
GET/api/v1/searchGlobal search across projects, files, and agents (q, filters).
GET/api/v1/modelsList available models and pricing metadata (models:read scope when using API keys).
GET/api/v1/labelsList org labels.
POST/api/v1/labelsCreate a label.
PATCH/api/v1/labels/:idUpdate a label.
DELETE/api/v1/labels/:idDelete a label.
POST/api/v1/labels/:id/assignAssign a label to a resource.
GET/api/v1/labels/assignmentsList label assignments.
GET/api/v1/healthHealth check (no auth).

GET /api/v1/search returns mixed results for the authenticated org. Use it to build cross-resource lookup in custom dashboards or internal tools.

Models

GET /api/v1/models mirrors the app model catalog documented in Models. API keys with only models:read may call this route even when other prefixes are scope-gated.

Labels

Labels tag projects, tasks, and other org resources for filtering. Assignments are org-scoped; nested writes validate target ownership before linking a label.

Health

GET /api/v1/health is unauthenticated and used by load balancers and deploy smoke tests.