Skip to main content
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, 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. /messages is POST.