Read an immutable Triage record version
curl --request GET \
--url https://sandbox.composer.id/v1/records/{intent_id}/versions/{version} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.composer.id/v1/records/{intent_id}/versions/{version}"
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/records/{intent_id}/versions/{version}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"intent_id": "<string>",
"intent_version": 2,
"state": "draft",
"payload": {
"triage_record": {
"schema_version": "1.0",
"environment": "sandbox",
"kind": "initial",
"requester": {
"id": "<string>",
"display_name": "<string>"
},
"identity_assurance": "source_reported",
"timing_assurance": "client_reported_elapsed",
"decision": {
"status": "not_evaluated",
"recommended_channels": [
"permanent_hire"
],
"final_channel": "permanent_hire",
"scores": "<unknown>",
"ruleset_version": "<string>",
"override": {
"actor_id": "<string>",
"reason": "<string>",
"at": "2023-11-07T05:31:56Z"
}
},
"submissions": [
{
"version": 2,
"received_at": "2023-11-07T05:31:56Z",
"submitted_by": "<string>",
"content_sha256": "<string>",
"packet": {
"schema_version": "1.0",
"environment": "sandbox",
"source": {
"system": "triage",
"instance": "<string>",
"session_id": "<string>",
"revision": 2
},
"kind": "initial",
"requester": {
"id": "<string>",
"display_name": "<string>"
},
"context": {
"locale": "<string>",
"timezone": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"submitted_at": "2023-11-07T05:31:56Z"
},
"questionnaire": "<unknown>",
"responses": [
"<unknown>"
],
"events": [
{
"sequence": 2,
"type": "question.shown",
"question_id": "<string>",
"at": "2023-11-07T05:31:56Z",
"detail": "<unknown>"
}
],
"decision": "<unknown>",
"target": {
"intent_id": "<string>",
"expected_version": 2
},
"work": "<unknown>",
"metadata": {}
}
}
],
"work": {
"reason": "<string>",
"change_types": [
"scope"
],
"original_intent_id": "<string>",
"original_version": 2,
"external_reference": {
"system": "<string>",
"id": "<string>"
}
}
}
},
"created_at": "2023-11-07T05:31:56Z",
"publishing": {
"receipts": [
"<unknown>"
],
"current_external_id": "<string>",
"current_idempotency_key": "<string>",
"adapter_status": "pending"
},
"defence_file_ref": "<string>",
"override_event": {
"reason": "<string>",
"actor": "<string>",
"at": "2023-11-07T05:31:56Z"
},
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Read an immutable Triage record version
GET
/
records
/
{intent_id}
/
versions
/
{version}
Read an immutable Triage record version
curl --request GET \
--url https://sandbox.composer.id/v1/records/{intent_id}/versions/{version} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.composer.id/v1/records/{intent_id}/versions/{version}"
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/records/{intent_id}/versions/{version}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"intent_id": "<string>",
"intent_version": 2,
"state": "draft",
"payload": {
"triage_record": {
"schema_version": "1.0",
"environment": "sandbox",
"kind": "initial",
"requester": {
"id": "<string>",
"display_name": "<string>"
},
"identity_assurance": "source_reported",
"timing_assurance": "client_reported_elapsed",
"decision": {
"status": "not_evaluated",
"recommended_channels": [
"permanent_hire"
],
"final_channel": "permanent_hire",
"scores": "<unknown>",
"ruleset_version": "<string>",
"override": {
"actor_id": "<string>",
"reason": "<string>",
"at": "2023-11-07T05:31:56Z"
}
},
"submissions": [
{
"version": 2,
"received_at": "2023-11-07T05:31:56Z",
"submitted_by": "<string>",
"content_sha256": "<string>",
"packet": {
"schema_version": "1.0",
"environment": "sandbox",
"source": {
"system": "triage",
"instance": "<string>",
"session_id": "<string>",
"revision": 2
},
"kind": "initial",
"requester": {
"id": "<string>",
"display_name": "<string>"
},
"context": {
"locale": "<string>",
"timezone": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"submitted_at": "2023-11-07T05:31:56Z"
},
"questionnaire": "<unknown>",
"responses": [
"<unknown>"
],
"events": [
{
"sequence": 2,
"type": "question.shown",
"question_id": "<string>",
"at": "2023-11-07T05:31:56Z",
"detail": "<unknown>"
}
],
"decision": "<unknown>",
"target": {
"intent_id": "<string>",
"expected_version": 2
},
"work": "<unknown>",
"metadata": {}
}
}
],
"work": {
"reason": "<string>",
"change_types": [
"scope"
],
"original_intent_id": "<string>",
"original_version": 2,
"external_reference": {
"system": "<string>",
"id": "<string>"
}
}
}
},
"created_at": "2023-11-07T05:31:56Z",
"publishing": {
"receipts": [
"<unknown>"
],
"current_external_id": "<string>",
"current_idempotency_key": "<string>",
"adapter_status": "pending"
},
"defence_file_ref": "<string>",
"override_event": {
"reason": "<string>",
"actor": "<string>",
"at": "2023-11-07T05:31:56Z"
},
"updated_at": "2023-11-07T05:31:56Z"
}{
"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
Immutable full Triage snapshot at an exact Intent ID and version. The requester identity and timings are source-reported; submitted_by identifies the authenticated sending credential.