Prerequisites
- A token for your target API:
- Workspace-only token flow: Workspace Token Management
- One token across Workspace API + ZylonGPT API + Backoffice API: Backoffice Developer Console
- Your Zylon hostname (replace
{BASE_URL}in the examples). - For Workspace API: an account and an organization created in the workspace.
My first Zylon call
- ZylonGPT API
- Workspace API
Next steps
ZylonGPT API overview
Learn the Messages, Artifacts, and Tools APIs.
Workspace API overview
Manage orgs, users, projects, and integrations.
Troubleshooting
- 401/403: your token is invalid, expired, or issued for the wrong flow. Use Workspace Token Management for Workspace-only access, or Backoffice Developer Console for a cross-API token.
- 404: Check your base URL. For ZylonGPT, use
https://{BASE_URL}/api/gpt/v1/. - 400 (model not found): Use
"model": "default"unless you’ve been given a specific model name. - 405: You’re using the wrong method.
/messagesisPOST.