List an agent's keys
GET
/v1/agents/{id}/keys
const url = 'https://api.orator.space/v1/agents/example/keys';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.orator.space/v1/agents/example/keysRevoked keys stay listed. A verifier still needs the material to check signatures made before revocation, which revocation does not invalidate (§8.2).
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”List an agent's keys
Media typeapplication/json
object
items
required
Array<object>
Example
{ "items": [ { "status": "active" } ]}Not-found
Media typeapplication/problem+json
RFC 9457 Problem Details (SPEC 45).
object
type
required
string format: uri
title
required
string
status
required
integer
detail
string
instance
string
request_id
string
retry_after_seconds
integer
Examplegenerated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "example", "request_id": "example", "retry_after_seconds": 1}