curl --request GET \
--url https://api.humanos.tech/audit-trail/events/{id}import requests
url = "https://api.humanos.tech/audit-trail/events/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.humanos.tech/audit-trail/events/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.humanos.tech/audit-trail/events/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.humanos.tech/audit-trail/events/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.humanos.tech/audit-trail/events/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.humanos.tech/audit-trail/events/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "did:web:humanos.tech:agent:2f8b6c41-9d37-4e5a-8b02-6c1d9e7a4f35",
"eventCount": 2,
"lastEventAt": "2026-10-01T09:12:00.000Z",
"pending": false,
"events": [
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://via.humanos.tech/ns/v1"
],
"id": "urn:via:event:550e8400-e29b-41d4-a716-446655440000",
"type": [
"VerifiableCredential",
"VIAEvent"
],
"specVersion": "0.3",
"issuer": "did:web:humanos.tech",
"validFrom": "2026-10-01T09:12:00.000Z",
"credentialSubject": {
"id": "did:web:humanos.tech:agent:2f8b6c41-9d37-4e5a-8b02-6c1d9e7a4f35",
"event": "ACTOR_REGISTERED",
"previousEvent": null,
"actorType": "agent",
"keyId": "did:web:humanos.tech:agent:2f8b6c41-9d37-4e5a-8b02-6c1d9e7a4f35#key-1",
"publicKeyJwk": {
"kty": "EC",
"crv": "P-256",
"x": "…",
"y": "…"
},
"assurance": "pop",
"binding": "self",
"bootstrapAnchor": "api_key",
"verifiedAt": "2026-10-01T09:12:00.000Z",
"existedSince": "2026-10-01T09:12:00.000Z",
"attestationKind": "device-self"
},
"proof": {
"type": "DataIntegrityProof",
"cryptosuite": "eddsa-jcs-2022",
"verificationMethod": "did:web:humanos.tech#key-1",
"created": "2026-10-01T09:12:00.000Z",
"proofPurpose": "assertionMethod",
"proofValue": "z2pcVdSdoMTrkTRrXdz..."
}
}
],
"totalPages": 1,
"chain": "actor",
"policy": "urn:via:policy:7c9e6679-7425-40de-944b-e07fc1f90ae7",
"audit": {
"ok": true,
"reason": null,
"failureCount": 0,
"failures": [
{
"urn": "urn:via:event:550e8400-e29b-41d4-a716-446655440000",
"signatureValid": false,
"chainLinkValid": true,
"signerKnown": true
}
]
}
}{
"statusCode": 400,
"message": "only an agent has a policy chain",
"error": "Bad Request"
}{
"statusCode": 404,
"message": "actor not found",
"error": "Not Found"
}Get Chain
Retrieve a signed chain, a page at a time, oldest first unless order=desc: an actor’s by any of its DIDs, an agent’s calls under your organization’s policy (chain=policy), or a mandate’s by its credential URN
An actor merged into another is read by its own DID: its own chain, ending in its ACTOR_RETIRED
audit=true checks the whole chain now — every signature and link from genesis, and an actor’s record against its fold — and answers its verdict under audit
curl --request GET \
--url https://api.humanos.tech/audit-trail/events/{id}import requests
url = "https://api.humanos.tech/audit-trail/events/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.humanos.tech/audit-trail/events/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.humanos.tech/audit-trail/events/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.humanos.tech/audit-trail/events/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.humanos.tech/audit-trail/events/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.humanos.tech/audit-trail/events/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "did:web:humanos.tech:agent:2f8b6c41-9d37-4e5a-8b02-6c1d9e7a4f35",
"eventCount": 2,
"lastEventAt": "2026-10-01T09:12:00.000Z",
"pending": false,
"events": [
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://via.humanos.tech/ns/v1"
],
"id": "urn:via:event:550e8400-e29b-41d4-a716-446655440000",
"type": [
"VerifiableCredential",
"VIAEvent"
],
"specVersion": "0.3",
"issuer": "did:web:humanos.tech",
"validFrom": "2026-10-01T09:12:00.000Z",
"credentialSubject": {
"id": "did:web:humanos.tech:agent:2f8b6c41-9d37-4e5a-8b02-6c1d9e7a4f35",
"event": "ACTOR_REGISTERED",
"previousEvent": null,
"actorType": "agent",
"keyId": "did:web:humanos.tech:agent:2f8b6c41-9d37-4e5a-8b02-6c1d9e7a4f35#key-1",
"publicKeyJwk": {
"kty": "EC",
"crv": "P-256",
"x": "…",
"y": "…"
},
"assurance": "pop",
"binding": "self",
"bootstrapAnchor": "api_key",
"verifiedAt": "2026-10-01T09:12:00.000Z",
"existedSince": "2026-10-01T09:12:00.000Z",
"attestationKind": "device-self"
},
"proof": {
"type": "DataIntegrityProof",
"cryptosuite": "eddsa-jcs-2022",
"verificationMethod": "did:web:humanos.tech#key-1",
"created": "2026-10-01T09:12:00.000Z",
"proofPurpose": "assertionMethod",
"proofValue": "z2pcVdSdoMTrkTRrXdz..."
}
}
],
"totalPages": 1,
"chain": "actor",
"policy": "urn:via:policy:7c9e6679-7425-40de-944b-e07fc1f90ae7",
"audit": {
"ok": true,
"reason": null,
"failureCount": 0,
"failures": [
{
"urn": "urn:via:event:550e8400-e29b-41d4-a716-446655440000",
"signatureValid": false,
"chainLinkValid": true,
"signerKnown": true
}
]
}
}{
"statusCode": 400,
"message": "only an agent has a policy chain",
"error": "Bad Request"
}{
"statusCode": 404,
"message": "actor not found",
"error": "Not Found"
}Headers
Pin request, response, and webhook shapes to a specific dated API version (YYYY-MM-DD). Omit to use the version pinned to your API key (set when the key is created; new keys default to the latest version). New integrations should target the latest version.
^\d{4}-\d{2}-\d{2}$"2026-11-02"
Path Parameters
An actor's DID, URL-encoded — an organization's, a person's or an agent's — or a credential's URN.
"did:web:humanos.tech:agent:2f8b6c41-9d37-4e5a-8b02-6c1d9e7a4f35"
Query Parameters
Zero-based page index. 0 returns the first page.
x >= 00
Number of items per page
5 <= x <= 10010
Which of an actor's chains: its own, or an agent's calls under the organization's policy. A credential, a person or an organization has no policy chain (400).
actor, policy The order of the chain: asc oldest first, where a page never shifts; desc newest first, for a timeline.
asc, desc Walk the whole chain now — every signature and link from its genesis, and an actor's record against its fold — and answer its verdict under audit.
Response
Returns one page of the chain, the number of pages, and the verdict over the whole chain.
The id as asked: a DID, or a credential URN.
"did:web:humanos.tech:agent:2f8b6c41-9d37-4e5a-8b02-6c1d9e7a4f35"
Events in the whole chain, not in the page.
2
When the newest event was signed. Null with none.
"2026-10-01T09:12:00.000Z"
An actor's chain: an event of it is accepted and not yet written. False for any other chain.
false
One page of the chain, oldest first unless order=desc: each event a VIAEvent credential (v0.3 §2) with one Data Integrity proof.
credentialSubject.event is the kind, previousEvent the chain-link of the event before it (null at genesis), and the kind's own fields sit beside them.
[
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://via.humanos.tech/ns/v1"
],
"id": "urn:via:event:550e8400-e29b-41d4-a716-446655440000",
"type": ["VerifiableCredential", "VIAEvent"],
"specVersion": "0.3",
"issuer": "did:web:humanos.tech",
"validFrom": "2026-10-01T09:12:00.000Z",
"credentialSubject": {
"id": "did:web:humanos.tech:agent:2f8b6c41-9d37-4e5a-8b02-6c1d9e7a4f35",
"event": "ACTOR_REGISTERED",
"previousEvent": null,
"actorType": "agent",
"keyId": "did:web:humanos.tech:agent:2f8b6c41-9d37-4e5a-8b02-6c1d9e7a4f35#key-1",
"publicKeyJwk": {
"kty": "EC",
"crv": "P-256",
"x": "…",
"y": "…"
},
"assurance": "pop",
"binding": "self",
"bootstrapAnchor": "api_key",
"verifiedAt": "2026-10-01T09:12:00.000Z",
"existedSince": "2026-10-01T09:12:00.000Z",
"attestationKind": "device-self"
},
"proof": {
"type": "DataIntegrityProof",
"cryptosuite": "eddsa-jcs-2022",
"verificationMethod": "did:web:humanos.tech#key-1",
"created": "2026-10-01T09:12:00.000Z",
"proofPurpose": "assertionMethod",
"proofValue": "z2pcVdSdoMTrkTRrXdz..."
}
}
]
Pages available at the requested pageSize.
1
Which of an actor's chains: its own, or an agent's calls under the organization's policy (v0.3 §21.5). Absent for a credential.
actor, policy "actor"
chain=policy only: the organization's policy the chain is under; null when it has published none.
"urn:via:policy:7c9e6679-7425-40de-944b-e07fc1f90ae7"
audit=true only: the whole chain checked now — every signature and link from genesis, and an actor's record against its fold.
Show child attributes
Show child attributes