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

headerAuthorizationBearer <rsk_live_*>

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

Query Parameters

orgId?string

Explicit organization id; requires membership.

projectId?string

Filter to gates durably bound to this project.

issueId?string

Filter to a single issue id.

status?string

Filter by gate status.

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

Response Body

Approval gates for the org.

application/json
  1. response
gates*array<>
Example Request
curl -X GET 'https://app.rensei.ai/api/approval-gates'
Example Response
{  "gates": [    {      "id": "string",      "workspaceId": "string",      "projectId": "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    }  ]}