Base URL
All Workspace endpoints live under:Organization header (x-org)
Workspace endpoints under /api/v1/app/* require the x-org header so Zylon knows which workspace organization to target.
You can set x-org to either:
- the organization slug (recommended), for example
default - the organization ID (UUID)
Core concepts
| Concept | Meaning |
|---|---|
| Account | The identity record that authenticates into Zylon. One account can belong to multiple organizations. |
| User | The org-specific representation of an account. An account can have multiple users, one per organization. |
| Artifact | A persisted piece of knowledge that can be retrieved in chats and tools. |
Pagination
Pagination is a shared model across the Workspace API. List endpoints return a page envelope with cursors:Pagination envelope example
Pagination envelope example
page, page_size, after, before, first, last, and total_count when they’re available on the endpoint.
Workspace API sections
General
Analytics, issues, audits, search, and system status endpoints.
Authentication
SSO login flows, account auth, and API tokens.
Users
Create, update, and manage user access and org membership.
Projects
Provision projects, manage membership, and control visibility.
Chats
Create threads, run interactions, and stream responses.
Content
Manage artifacts and integrations like Confluence, SharePoint, Filesystem, and Claromentis.
Errors and edge cases
- 401/403: token missing or insufficient permissions.
- 404: resource IDs are invalid or deleted.
- Redirect endpoints: login/callback routes return
302responses intended for browsers.