POST
/v1/workspacesCreate a workspace⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
Creates a new free-plan workspace owned by the authenticated user. For agent tokens the workspace is created for the agent's sponsor, and the agent's permission policy treats this as an admin action — under the default policy the sponsor approves it first.
Request body
application/json
object
displayNamestring{
"displayName": "string"
}Responses
object
dataobjectrequiredShow child attributes
createdAtstring · date-timerequiredidstringrequirednamestringrequiredtypestringrequiredurlstring · urirequired{
"data": {
"createdAt": "2026-06-09T00:00:00Z",
"id": "string",
"name": "string",
"type": "workspace",
"url": "https://example.com"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}