The effective stage set of a project or one of its workflows, with provenance and the rows at that scope.
The effective stage set of a project or one of its workflows, with provenance and the rows at that scope. - Rensei REST API operation reference.
AuthorizationBearer <WorkOS user access token>WorkOS user access token created by the Rensei CLI. The authenticated organization is resolved from membership and may be narrowed with X-Rensei-Org.
projectId*stringThe project id.
workflowId?stringRead (or write) the workflow scope of this workflow.
1 <= lengthThe effective stages, any rows the chain ignores, and the live rows written at the requested (project or workflow) scope.
application/json- response
stages*array<>warnings*array<>scopeRows*array<>The live rows written at the requested scope (org, project or workflow), by key; inherited stages with no row here are absent.
curl -X GET 'https://app.rensei.ai/api/projects/string/stages'{ "stages": [ { "key": "string", "role": "hold", "name": "string", "description": "string", "disabled": true, "modelSelection": { "mode": "inherit", "effort": "low" }, "outcomes": { "start": { "target": "string" }, "success": { "target": "stay" }, "failure": { "target": "stay" }, "blocked": { "target": "stay" }, "close": { "target": "stay" } }, "retry": { "retries": 0, "backoffSeconds": 0 }, "policies": { "version": 1 }, "cards": [ { "agentCardId": "string", "isDefault": true, "mentionKeywords": [ "string" ], "modelSelection": { "mode": "inherit", "effort": "low" }, "skills": [ { "skillId": "97d3165d-e1dd-4955-972c-95ebf04dd091", "version": "string" } ], "repoSkillPolicy": { "policy": "all", "allow": [ "string" ] }, "position": -9007199254740991, "condition": { "hasChildren": true }, "provenance": { "row": { "scope": "system", "rowId": "string", "cardRowId": "string" }, "mentionKeywords": { "scope": "system", "rowId": "string", "cardRowId": "string" }, "skills": { "scope": "system", "rowId": "string", "cardRowId": "string" }, "repoSkillPolicy": { "scope": "system", "rowId": "string", "cardRowId": "string" }, "position": { "scope": "system", "rowId": "string", "cardRowId": "string" }, "modelSelection": { "scope": "system", "rowId": "string", "cardRowId": "string" }, "effort": { "scope": "system", "rowId": "string", "cardRowId": "string" }, "condition": { "scope": "system", "rowId": "string", "cardRowId": "string" } } } ], "defaultCardId": "string", "provenance": { "define": { "scope": "system", "rowId": "string" }, "name": { "scope": "system", "rowId": "string" }, "description": { "scope": "system", "rowId": "string" }, "disabled": { "scope": "system", "rowId": "string" }, "modelSelection": { "scope": "system", "rowId": "string" }, "effort": { "scope": "system", "rowId": "string" }, "outcomes": { "property1": { "scope": "system", "rowId": "string" }, "property2": { "scope": "system", "rowId": "string" } }, "retry": { "scope": "system", "rowId": "string" }, "policies": { "scope": "system", "rowId": "string" }, "defaultCard": { "scope": "system", "rowId": "string" } } } ], "warnings": [ { "code": "invalid_row", "rowId": "string", "key": "string", "scope": "system", "field": "string", "cardId": "string", "definedAt": { "scope": "system", "rowId": "string" } } ], "scopeRows": [ { "stage": { "id": "string", "scope": "system", "scopeId": "string", "key": "string", "kind": "define", "role": "hold", "name": "string", "description": "string", "disabled": true, "modelSelection": { "mode": "inherit", "effort": "low" }, "outcomes": { "start": { "target": "string" }, "success": { "target": "stay" }, "failure": { "target": "stay" }, "blocked": { "target": "stay" }, "close": { "target": "stay" } }, "retry": { "retries": 0, "backoffSeconds": 0 }, "policies": { "version": 1 }, "createdAt": "string", "updatedAt": "string" }, "cards": [ { "id": "string", "agentCardId": "string", "isDefault": true, "excluded": true, "mentionKeywords": [ "string" ], "modelSelection": { "mode": "inherit", "effort": "low" }, "skills": [ { "skillId": "97d3165d-e1dd-4955-972c-95ebf04dd091", "version": "string" } ], "repoSkillPolicy": { "policy": "all", "allow": [ "string" ] }, "position": -9007199254740991, "condition": { "hasChildren": true } } ] } ]}Release the live claim on an issue for a stage.
Marks the live claim released with the given reason. Never writes the tracker - a human moved the issue, or the dispatched unit ended. 404 no_live_claim when there is nothing to release. 403 claimant_mismatch when the caller is neither the claim's own claimant, its creator, nor a project admin - or when an explicit `claimant` in the body does not match the row.
Create a stage define or override at project or workflow scope (project admin).
Create a stage define or override at project or workflow scope (project admin). - Rensei REST API operation reference.