Rensei docs
API ReferenceApprovals

List approval gates (pending-approvals feed) for the authenticated org.

Returns approval gates scoped to the authenticated org, optionally filtered by issue or status. Gates that carry an MCP-tool project scope are additionally filtered to those the caller can access, so a project-scoped key or a non-member session never sees another project's gates. Ordered by createdAt ASC (pipeline stage order); the client groups by issue and sorts groups by urgency.

GET
/api/approval-gates

Authorization

AuthorizationBearer <token>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

In: header

Query Parameters

issueId?string

Filter to a single issue id.

status?string

Filter by gate status.

Value in"pending" | "in_review" | "approved" | "rejected" | "escalated" | "timed_out"

Response Body

application/json

curl -X GET "https://example.com/api/approval-gates"
{
  "gates": [
    {
      "id": "string",
      "workspaceId": "string",
      "issueId": "string",
      "name": "string",
      "gateType": "string",
      "status": "pending",
      "requiredRoles": [
        "string"
      ],
      "requiredCount": 0,
      "metadata": {
        "property1": null,
        "property2": null
      },
      "createdAt": "string",
      "context": {
        "property1": null,
        "property2": null
      },
      "property1": null,
      "property2": null
    }
  ]
}
Empty
Empty
Empty