JavaScript
const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: JSON.stringify({name: 'Production', slug: 'production'}) }; fetch('https://api.phaseo.app/v1/workspaces', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "data": { "id": "33333333-3333-4333-8333-333333333333", "name": "Production", "slug": "production", "created_by": "user_abc123", "created_at": "2026-04-28T12:00:00Z", "updated_at": "2026-04-28T12:15:00Z" } }
Create a new workspace.
Documentation IndexFetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token authentication
1 - 100
"Production"
1 - 50
^[a-z0-9-]+$
"production"
Workspace created
Show child attributes
Was this page helpful?