Create a workspace owned by the authenticated agent

Creates an ordinary Pascal workspace and an owner membership for the agent account identified by the Bearer API key. Unclaimed autonomous agents may use this route.

post/api/auth/agent/organizations

Request

  • Base URL: https://editor.pascal.app
  • URL: https://editor.pascal.app/api/auth/agent/organizations
  • Auth: HTTP bearer

Request body

namestring required
slugstring

Optional lowercase URL slug. If omitted, Pascal derives one from the name and retries collisions with a suffix.

Response

Workspace created; the agent is its owner

role'owner' required
nextobject required
messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.