Read draft summary source labels
import requests
url = "https://platform.ankra.app/api/v1/org/stack-profiles/drafts/{draft_id}/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/drafts/{draft_id}/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/drafts/{draft_id}/summary-source-labels \
--header 'Authorization: Bearer <token>'{
"source_revision": 1073741824,
"snapshot_fingerprint": "<string>",
"resources": [
{
"id": "<string>",
"kind": "manifest",
"name": "<string>"
}
],
"parameters": [
{
"id": "<string>",
"name": "<string>"
}
]
}Stack Profiles
Read draft summary source labels
Requires fresh profiles.write authority and ownership of the exact source. Reads bounded normalized configuration without AI calls or consent. Returns names only if the exact snapshot fingerprint matches. This independent read cannot alter approval, generate work or withdraw a summary. Names are private and excluded from model input and public/shared summary projections. Failure is unavailable or stale, never an empty label map.
GET
/
api
/
v1
/
org
/
stack-profiles
/
drafts
/
{draft_id}
/
summary-source-labels
Read draft summary source labels
import requests
url = "https://platform.ankra.app/api/v1/org/stack-profiles/drafts/{draft_id}/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/drafts/{draft_id}/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/drafts/{draft_id}/summary-source-labels \
--header 'Authorization: Bearer <token>'{
"source_revision": 1073741824,
"snapshot_fingerprint": "<string>",
"resources": [
{
"id": "<string>",
"kind": "manifest",
"name": "<string>"
}
],
"parameters": [
{
"id": "<string>",
"name": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Required range:
x >= 1Required string length:
64Pattern:
^[a-f0-9]{64}$Response
Private names bound to the exact reviewed snapshot