Skip to main content
GET
/
api
/
v1
/
approvals
/
{name}
Get Approval
curl --request GET \
  --url https://api.example.com/api/v1/approvals/{name}
{
  "apiVersion": "v1",
  "kind": "ApprovalRequest",
  "metadata": {
    "name": "approval-inc-20260319-001-1",
    "namespace": "production",
    "createdAt": "2026-03-19T15:00:00Z"
  },
  "spec": {
    "issueRef": "INC-20260319-001",
    "remediationPlanRef": "remediation-inc-20260319-001-1",
    "action": "RollbackDeployment",
    "targetResource": {
      "kind": "Deployment",
      "name": "payment-service",
      "namespace": "production"
    },
    "confidence": 0.82,
    "severity": "high",
    "mode": "manual",
    "blastRadius": {
      "riskLevel": "medium",
      "affectedPods": 3,
      "affectedServices": ["payment-svc"],
      "warnings": ["PDB allows minimum 1 pod disruption"]
    }
  },
  "status": {
    "state": "Pending",
    "createdAt": "2026-03-19T15:00:00Z",
    "expiresAt": "2026-03-19T16:00:00Z"
  }
}
name
string
required
Unique approval request name
namespace
string
default:"default"
Kubernetes namespace
{
  "apiVersion": "v1",
  "kind": "ApprovalRequest",
  "metadata": {
    "name": "approval-inc-20260319-001-1",
    "namespace": "production",
    "createdAt": "2026-03-19T15:00:00Z"
  },
  "spec": {
    "issueRef": "INC-20260319-001",
    "remediationPlanRef": "remediation-inc-20260319-001-1",
    "action": "RollbackDeployment",
    "targetResource": {
      "kind": "Deployment",
      "name": "payment-service",
      "namespace": "production"
    },
    "confidence": 0.82,
    "severity": "high",
    "mode": "manual",
    "blastRadius": {
      "riskLevel": "medium",
      "affectedPods": 3,
      "affectedServices": ["payment-svc"],
      "warnings": ["PDB allows minimum 1 pod disruption"]
    }
  },
  "status": {
    "state": "Pending",
    "createdAt": "2026-03-19T15:00:00Z",
    "expiresAt": "2026-03-19T16:00:00Z"
  }
}