Atlas
Admin — Approval Workflows

List approval requests

Returns approval requests for the organization. Filterable by status via query parameter.

GET
/api/v1/admin/approval/queue

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:3001/api/v1/admin/approval/queue"
{
  "requests": [
    {
      "id": "string",
      "orgId": "string",
      "ruleId": "string",
      "ruleName": "string",
      "requesterId": "string",
      "requesterEmail": "string",
      "querySql": "string",
      "explanation": "string",
      "connectionId": "string",
      "tablesAccessed": [
        "string"
      ],
      "columnsAccessed": [
        "string"
      ],
      "status": "pending",
      "reviewerId": "string",
      "reviewerEmail": "string",
      "reviewComment": "string",
      "reviewedAt": "string",
      "createdAt": "string",
      "expiresAt": "string"
    }
  ]
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}