Agent workspace
Create a scratch workspace folder
Create one empty directory, and any missing parent directories, in a scratch workspace on the owning daemon. Requires edit access. A path that already exists, as a file or a folder, returns 409. GitHub workspaces remain read-only, and a daemon too old to create folders returns 409.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
orgId*string
id*string
Query Parameters
path*string
Length
1 <= length <= 4096Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/orgs/string/agents/string/workspace/dir?path=string"{ "path": "string"}