Instructions
Create Workspace
Create an instruction workspace — the permission, asset, and changeset boundary.
POST
Creates a workspace: the permission boundary that owns manuals, assets, changesets, and per-user roles. OpenTrain persists an
OWNER permission record for the creator.
Requirements: instructions:write + a verified (claimed) account whose user belongs to an employer organization. A verified user without employer membership receives 403.
Request
Send an optionalIdempotency-Key header — replaying the same key returns the original workspace with idempotentReplay: true; replaying the key with a different body is a 409.
string
required
Workspace display name.
Response
Returns201 with the created workspace.
object
{id, name, manualCount, archivedAt, createdAt, updatedAt}.boolean
Present and
true when the Idempotency-Key matched a prior create.