Fetch timeline events for audit
curl --request GET \
--url https://sandbox.composer.id/v1/intent/{intent_id}/timeline \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.composer.id/v1/intent/{intent_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://sandbox.composer.id/v1/intent/{intent_id}/timeline', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"intent_id": "itn_7f3aK2mQ9xLp",
"events": [
{
"intent_id": "<string>",
"type": "intent.created",
"at": "2023-11-07T05:31:56Z",
"version": 2,
"provider": "<string>",
"external_id": "<string>",
"actor": "<string>",
"detail": {}
}
]
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Fetch timeline events for audit
GET
/
intent
/
{intent_id}
/
timeline
Fetch timeline events for audit
curl --request GET \
--url https://sandbox.composer.id/v1/intent/{intent_id}/timeline \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.composer.id/v1/intent/{intent_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://sandbox.composer.id/v1/intent/{intent_id}/timeline', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"intent_id": "itn_7f3aK2mQ9xLp",
"events": [
{
"intent_id": "<string>",
"type": "intent.created",
"at": "2023-11-07T05:31:56Z",
"version": 2,
"provider": "<string>",
"external_id": "<string>",
"actor": "<string>",
"detail": {}
}
]
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
oauth2bearerAuth
Path Parameters
The Intent ID minted by POST /intent. Minted at the decision and carried unchanged into every destination record. Fits a 64-character client-supplied id field, which is how the same id finds the record in either direction.
Pattern:
^[A-Za-z0-9_-]{10,64}$Example:
"itn_7f3aK2mQ9xLp"
Response
OK