cURL
curl --request GET \
--url http://localhost:4100/v1/agents/pairing/{code}/statusconst options = {method: 'GET'};
fetch('http://localhost:4100/v1/agents/pairing/{code}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"state": "pending",
"agent": {
"id": "<string>",
"address": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}Agents
Get v1agentspairing status
Signed-key pairing level read. Unknown, expired, and foreign proofs share unavailable; claimed identity comes from the consumed code tombstone.
cURL
curl --request GET \
--url http://localhost:4100/v1/agents/pairing/{code}/statusconst options = {method: 'GET'};
fetch('http://localhost:4100/v1/agents/pairing/{code}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"state": "pending",
"agent": {
"id": "<string>",
"address": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}