Queues a new run for the given workspace. Provide either spec_id (reference an existing spec) or spec_markdown (inline spec content), but not both. The idempotency_key ensures at-most-once execution.
Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth
Target workspace
Run mode — currently only pull_request is supported
pull_request Identity of the user or system that requested the run
Client-generated key for at-most-once execution
Reference to an existing spec. Mutually exclusive with spec_markdown.
Inline spec content in Markdown. Mutually exclusive with spec_id.
Pin the run to a specific base commit. Uses HEAD of default branch if null.