curl --request GET \
--url https://api.humanos.tech/agent/{id}/did.jsonimport requests
url = "https://api.humanos.tech/agent/{id}/did.json"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.humanos.tech/agent/{id}/did.json', 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/agent/{id}/did.json",
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/agent/{id}/did.json"
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/agent/{id}/did.json")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.humanos.tech/agent/{id}/did.json")
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{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://w3id.org/security/multikey/v1"
],
"id": "did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000",
"verificationMethod": [
{
"id": "did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1",
"type": "Multikey",
"controller": "did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000",
"publicKeyMultibase": "z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
"publicKeyJwk": {
"kty": "EC",
"crv": "P-256",
"x": "...",
"y": "..."
}
}
],
"authentication": [
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1"
],
"assertionMethod": [
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1"
]
}{
"statusCode": 404,
"message": "DID not found",
"error": "Not Found"
}Agent DID Document
No API key: any verifier fetches it
The document of did:web:humanos.tech:agent:<id>, at its did:web address
A retired agent still resolves, with no usable key
curl --request GET \
--url https://api.humanos.tech/agent/{id}/did.jsonimport requests
url = "https://api.humanos.tech/agent/{id}/did.json"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.humanos.tech/agent/{id}/did.json', 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/agent/{id}/did.json",
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/agent/{id}/did.json"
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/agent/{id}/did.json")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.humanos.tech/agent/{id}/did.json")
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{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://w3id.org/security/multikey/v1"
],
"id": "did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000",
"verificationMethod": [
{
"id": "did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1",
"type": "Multikey",
"controller": "did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000",
"publicKeyMultibase": "z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
"publicKeyJwk": {
"kty": "EC",
"crv": "P-256",
"x": "...",
"y": "..."
}
}
],
"authentication": [
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1"
],
"assertionMethod": [
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1"
]
}{
"statusCode": 404,
"message": "DID 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-10-16"
Path Parameters
The id that ends the DID, did:web:humanos.tech:agent:<id>.
"550e8400-e29b-41d4-a716-446655440000"
Response
Returns the agent's DID document.
JSON-LD contexts: the DID core v1 and Multikey contexts, plus https://w3id.org/security/jwk/v1 when the document lists an agent key (JsonWebKey with publicKeyJwk), which the first two do not define.
[ "https://www.w3.org/ns/did/v1", "https://w3id.org/security/multikey/v1" ]
The DID this document describes
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000"
Verification methods declared for this DID
Show child attributes
Show child attributes
Verification method IDs authorized for authentication
[ "did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1" ]
Verification method IDs authorized for making assertions
[ "did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1" ]