import requests
url = "https://platform.ankra.app/api/v1/org/service-admission/reviews"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/service-admission/reviews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/service-admission/reviews \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"package_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"region": "<string>",
"data_boundary": "<string>",
"digest": "<string>",
"mode": "customer",
"parameters": {},
"secret_inputs": [
"<string>"
],
"destinations": [
{
"application_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"namespace": "<string>"
}
],
"state": "pending",
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"execution_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"confirmed_at": "2023-11-07T05:31:56Z"
}
],
"next_cursor": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}List your service reviews
Actor-scoped history on the primary database. Requires current applications rollout and applications.deploy; each row requires clusters.read for every destination and clusters.operate for the service cluster, intersected with live token scopes. Foreign actors, deleted resources and inaccessible reviews are hidden. Secret values, secret reference IDs and internal consumer binding IDs are never returned. Pending means only that the original review window has not expired; confirmation revalidates authority and configuration. Expired reviews require a new review; confirmed receipts remain confirmed after execution retention and are not readiness evidence. Newest first: ordered by creation time, latest first, with the review id breaking ties. next_cursor is the id of the last review the page inspected; pass it as after to continue with older reviews. after must name one of your own reviews: an unknown id, another actor’s review, or a review deleted by retention since the cursor was issued is refused with 422 (Invalid service review page), and the listing starts again from the first page. A review prepared while you page is newer than your cursor, so it appears on a fresh first page rather than in the continuation. Scans at most 100 owned rows per request, skipping denied rows; a short or empty page may have next_cursor. A continuation means more owned rows remain to inspect, not necessarily more readable reviews. Follow until next_cursor is null.
import requests
url = "https://platform.ankra.app/api/v1/org/service-admission/reviews"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/service-admission/reviews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/service-admission/reviews \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"package_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"region": "<string>",
"data_boundary": "<string>",
"digest": "<string>",
"mode": "customer",
"parameters": {},
"secret_inputs": [
"<string>"
],
"destinations": [
{
"application_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"namespace": "<string>"
}
],
"state": "pending",
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"execution_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"confirmed_at": "2023-11-07T05:31:56Z"
}
],
"next_cursor": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
1 <= x <= 50The next_cursor of the previous page: the id of one of your own reviews. The page continues with the reviews created before it.