Get the application timeline
import requests
url = "https://platform.ankra.app/org/applications/{application_id}/timeline"
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/org/applications/{application_id}/timeline', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/org/applications/{application_id}/timeline \
--header 'Authorization: Bearer <token>'{
"events": [
{
"id": "<string>",
"kind": "<string>",
"status": "<string>",
"occurred_at": "<string>",
"cluster_name": "<string>",
"namespace": "<string>",
"commit_sha": "<string>",
"ref": "<string>",
"url": "<string>",
"message": "<string>",
"verdict": "<string>",
"pr_number": 123,
"duration_seconds": 123
}
],
"capped": true,
"unavailable_sources": [
"<string>"
]
}{
"detail": "<string>"
}applications
Get the application timeline
The application’s unified timeline, newest first: platform builds, deploy runs, demos, AI reviews and lifecycle events from the platform’s own records, capped with the cap reported and every unreadable source named - an unreadable source is unknown, not a source with no events. Live-fetched lanes (GitHub workflow runs, registry scans) keep their own endpoints.
GET
/
org
/
applications
/
{application_id}
/
timeline
Get the application timeline
import requests
url = "https://platform.ankra.app/org/applications/{application_id}/timeline"
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/org/applications/{application_id}/timeline', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/org/applications/{application_id}/timeline \
--header 'Authorization: Bearer <token>'{
"events": [
{
"id": "<string>",
"kind": "<string>",
"status": "<string>",
"occurred_at": "<string>",
"cluster_name": "<string>",
"namespace": "<string>",
"commit_sha": "<string>",
"ref": "<string>",
"url": "<string>",
"message": "<string>",
"verdict": "<string>",
"pr_number": 123,
"duration_seconds": 123
}
],
"capped": true,
"unavailable_sources": [
"<string>"
]
}{
"detail": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Required range:
1 <= x <= 100