List DIDs
Returns a page of local DID records. Filters are applied before pagination. role is parsed from MANAGED or EXTERNAL; expand accepts document, keys, or all as a comma-separated query value.
Query parameters
Filter by DID method (e.g., key, web, ion).
Filter by DID role.
Filter by exact alias match.
Case-insensitive contains search on DID string and alias.
Include deactivated DIDs in results.
Include soft-deleted DIDs in results.
Page number (zero-based).
Page size.
Sort field.
Sort direction.
Comma-separated list of optional projections to include inline on each returned Did. The default response carries only the lightweight summary fields per item; keep this default for cheap pagination over large result sets. all is shorthand for every supported projection. Adding new values is backward-compatible.
Parameters
Response
Paginated list of DIDs.
Example response
{
"items": [
{
"did": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
"method": "key",
"alias": "rest-e2e-alias",
"role": "MANAGED",
"createdAt": "2026-06-06T09:00:00Z",
"updatedAt": "2026-06-06T09:00:00Z"
}
],
"page": {
"limit": 10,
"offset": 0,
"page": 0,
"size": 10,
"total": 1,
"totalPages": 1,
"hasMore": false
}
}