Agent details
To retrieve agent details, use the following command:
curl --location 'https://${service_url}/v1.0/diagency/agents/${id}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ${access_token}'
The response includes details such as:
{
"id": "605000BP6R",
"name": "username",
"url": "https://${service_url}/v1.0/diagency/agents/605000BP6R",
"connection_url": "https://${service_url}/diagency/a2a/v1/messages/605000BP6R",
"did": "8uqVjeowfXvq7ScrhkBCYJ",
"verkey": "5K5iSmchYhAETK5XV5RcWv9e2Hjkj6jvmH1vdXn1gjz8",
"master_secret_id": "0e8abb09-efd9-4c68-86b5-4a9e25099961",
"default_ledger_name": "local",
"default_ledger_role": "USER",
"is_did_on_ledger": false,
"capabilities": [],
"issuer": false,
"creator_id": "3a509afc-b6ca-4376-9495-40aa3fa5d53e.adminAcct",
"creation_time": 1687694137,
"aries": {
"message_prefix": "https://didcomm.org/",
"did_exchange": true,
"issue_credential_version": "2.0",
"present_proof_version": "2.0"
},
"invitation_code": "",
}
id |
Indicates a unique identifier of the agent. |
name |
Indicates the human-readable name of the agent. |
url |
Indicates the URL of the agent. |
connection_url |
Indicates the DIDComm endpoint for credential exchanges. |
creation_time |
Indicates the agent creation time in seconds since midnight on 1 January 1970. |
did |
Indicates the public DID for the agent. For more information, see W3C Specification. |
verkey |
Indicates the verification key that is associated with the public DID. |
master_secret_id |
Indicates the main secret ID of the agent. |
default_ledger_name |
Indicates the default ledger name of the agent. |
capabilities |
Indicates the agent capabilities. |