JWT for the Management API
When you’re signed in to Traseq and managing workspace resources (such as creating API keys or managing members), requests are authenticated with a JWT token.POST /workspaces/:workspaceId/api-keysGET /workspaces/:workspaceId/api-keysDELETE /workspaces/:workspaceId/api-keys/:apiKeyId
API keys for the Public Agent API
For external integrations and AI agents, use a workspace API key. You can create one from Settings > API Keys in the Traseq app. Preferred header:First request after authentication
After authenticating, callGET /public/v1/workspace as your first request.
This confirms:
- which workspace the key belongs to
- your available scopes and effective role
- your plan’s limits and constraints
Best practices
- Use JWT authentication for workspace administration in the browser.
- Use API keys for server-to-server integrations and AI agents.
- Store API keys securely — the plaintext key is shown only once at creation time and cannot be retrieved later.