Skip to main content
Upcoming release — Zylon 1.58These docs are published ahead of release so you can prepare your API integrations. The release image is not yet available. For installations running 1.57, use the 1.57 documentation.
Start with ZylonGPT to send messages, or use the Workspace API to automate org and project setup.

Prerequisites

  • A token for your target API:
  • 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

1

Send your first message

Example response (your id and timestamps will differ):
2

Stream responses (optional)

Set stream: true to receive Server-Sent Events (SSE).
Example streamed events (truncated):

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, lacks the required scope, or was issued for the wrong flow. Use Workspace Token Management for Workspace access, or Backoffice Developer Console for a token that works across Workspace, ZylonGPT, and Backoffice APIs.
  • 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. /messages is POST.