Resolve workflow-admitted revision-pinned headless launch selections.
Read-only project/workflow preflight for non-browser dispatch clients. Returns exact harness and Agent Card refs emitted by the canonical launch-options producer; callers submit one launchSelection verbatim and never author revisions. Exactly one candidate carries isResolvedDefault when the assignment cascade (workflow node -> project workType -> project default -> org workType -> org default -> system), walked at the same site the runtime uses including the authorizing agent.invoke node of this admitted workflow, names a viable winner among the listed harness candidates; resolvedDefault repeats it with the tier that chose it. A client given no explicit model profile submits that candidate. Candidate order is NOT authority: when resolvedDefault is null, resolvedDefaultReason says why and the client must refuse rather than pick.
AuthorizationBearer <rsk_live_*>Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.
project*string1 <= lengthcard?string1 <= lengthworkType?stringharness?stringExact workflow admission and canonical launchSelection candidates.
application/json- response
requestedProject*stringresolvedProjectId*stringresolvedProjectSlug*stringcard*workType*stringThe work type the run is dispatched with: the card's own on the Agent Dispatch workflow; the deprecated request word (research, implement or review) when a project without Agent Dispatch runs a system card on its per-work-type workflow.
listedHarnesses*array<>The harnesses candidates were listed for: the explicit harness query when one was sent, else every admitted harness (pi, then codex, then muse, then claude). A client that sent no harness and sees only ["pi"] is talking to a Pi-only Platform.
workflowAdmission*issueRequired*booleanresolvedDefault*|The profile the assignment cascade would choose for this project and work type, pinned to the admitted candidate that carries isResolvedDefault. Null when the cascade resolved nothing or resolved a profile that is not an admitted candidate for a listed harness — read resolvedDefaultReason and refuse rather than picking another candidate.
resolvedDefaultReason*|Why no resolved default is marked. Null exactly when resolvedDefault is non-null.
candidates*array<>curl -X GET 'https://app.rensei.ai/api/cli/dispatch/launch-options?project=string'{ "requestedProject": "string", "resolvedProjectId": "string", "resolvedProjectSlug": "string", "card": { "ref": "string", "name": "string", "workType": "string" }, "workType": "string", "listedHarnesses": [ "pi" ], "workflowAdmission": { "contractVersion": "rensei.workflow-admission/v1", "admissionId": "string", "lane": "agent_invoke", "workflowId": "string", "projectId": "string", "workflowRevision": "string", "definitionVersion": "string", "triggerId": "string", "authorizingNodeId": "string", "triggerBinding": "explicit", "launchSelectionBinding": "trigger.data.launchSelection" }, "issueRequired": true, "resolvedDefault": { "modelProfileId": "string", "revision": "string", "source": "workflow-node-inline", "assignmentWorkType": "string" }, "resolvedDefaultReason": "string", "candidates": [ { "launchSelection": { "executionSelection": { "harness": { "ref": { "id": "string", "revision": "string" }, "source": "override" }, "agentCard": { "ref": { "id": "string", "revision": "string" }, "source": "override" }, "modelProfile": { "ref": { "id": "string", "revision": "string" }, "source": "override" } } }, "harness": { "ref": { "id": "string", "revision": "string" }, "label": "string", "status": "available", "description": "string", "meta": { "property1": null, "property2": null } }, "agentCard": { "ref": { "id": "string", "revision": "string" }, "label": "string", "status": "available", "description": "string", "meta": { "property1": null, "property2": null } }, "agentCardRef": "string", "modelProfileRef": { "id": "string", "revision": "string" }, "isResolvedDefault": true } ]}Discover cards and their project workflow backing.
Discovery for card-based dispatch: lists visible cards with published workflow backing and an install/activate hint when unbacked for the project (same resolver, same visibility and publication rules). With `card`, returns that one card's detail - the per-card help the CLI prints and the typed parameter schema (`paramSchema`: the workflow's caller-settable parameters with defaults and constraints, plus the card's declared inputs) the CLI validates and prompts against before dispatching.
Append an immutable configured HarnessConnection revision.
Creates a connection or moves its current revision pointer with optimistic concurrency. `configuration.orgId` must equal the authenticated organization; a mismatch is refused, never rewritten. Same-revision/same-content retries are idempotent (`created: false`); same-revision/different-content and stale expected revisions return 409. Requires org-admin (human) or an unfenced credential holding `harness:write`/`*` (machine).