Read approved summary source labels
import requests
url = "https://platform.ankra.app/api/v1/org/stack-profiles/{profile_id}/versions/{version}/summary/source-labels"
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/stack-profiles/{profile_id}/versions/{version}/summary/source-labels', 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/stack-profiles/{profile_id}/versions/{version}/summary/source-labels \
--header 'Authorization: Bearer <token>'{
"source_revision": 1073741824,
"resources": [
{
"id": "<string>",
"kind": "manifest",
"name": "<string>"
}
],
"parameters": [
{
"id": "<string>",
"name": "<string>"
}
],
"summary_revision": 1073741824
}Stack Profiles
Read approved summary source labels
Requires fresh profiles.read authority and access to the exact published version. Exposes only resource and admitted boolean parameter names already visible in that version, including authorized public and shared reads. Rechecks the current approval revision and normalizes the locked source against its private snapshot binding. No fingerprint, draft, candidate, configuration values or provider metadata is returned. Independent failures must not erase summary status; stale approval or revoked access requires a summary refresh. No AI call or consent is required.
GET
/
api
/
v1
/
org
/
stack-profiles
/
{profile_id}
/
versions
/
{version}
/
summary
/
source-labels
Read approved summary source labels
import requests
url = "https://platform.ankra.app/api/v1/org/stack-profiles/{profile_id}/versions/{version}/summary/source-labels"
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/stack-profiles/{profile_id}/versions/{version}/summary/source-labels', 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/stack-profiles/{profile_id}/versions/{version}/summary/source-labels \
--header 'Authorization: Bearer <token>'{
"source_revision": 1073741824,
"resources": [
{
"id": "<string>",
"kind": "manifest",
"name": "<string>"
}
],
"parameters": [
{
"id": "<string>",
"name": "<string>"
}
],
"summary_revision": 1073741824
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Required range:
1 <= x <= 2147483647Response
Published inventory names bound to the current approved summary revision