Atlas
Admin — Approval Workflows

Get approval request

Returns a single approval request by ID.

GET
/api/v1/admin/approval/queue/:id

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/:id"
{
  "request": {
    "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"
}