Prerequisites
- An API token. See Token Management.
- 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 or expired. See Token Management.
- 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.