cURL
Policy Ingestion
Policy
Retrieve a single policy by ID
GET
cURL
Returns a single policy by its unique identifier. The policy must belong to the authenticated upstream entity.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
policyId | string | Yes | Unique identifier of the policy (MongoDB ObjectId) |
Response Shape
All successful responses are wrapped in the standard response envelope. See Request/Response Conventions.
Response Fields
The response object contains the same fields as each item in List Policies. See that page for the full field reference, including matching status values.Error Scenarios
Bad Request (400)
Returned whenpolicyId is not a valid MongoDB ObjectId format.
Policy Not Found (404)
Returned whenpolicyId doesn’t exist or belongs to a different upstream entity.
Unauthorized (401)
Missing or invalid authentication token. See Authentication.Path Parameters
Unique identifier of the policy
Example:
"6650a1b2c3d4e5f6a7b8c9d0"