v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01206322659.2 KB
projects

Create a workforce component on a branch revision.

post/orgs/{org_id}/projects/{project_id}/workforce

Path parameters

org_idstring required
project_idstring required

Query parameters

revstring required

Git branch name (for example main).

Request body

namestring nullable

Optional display name for the new component. If omitted, a unique name is generated.

typestring

Either agent or workflow. Defaults to agent.

Response

Workforce component created

idstring required
namestring required
pathstring required

Path to the new component inside the repository worktree (for example workforce/my-agent).

typestring required
uidstring required

Identifier assigned in the project manifest for this component.