Endpoint
Authentication
Requires a developer API key in theAuthorization header.
Request Headers
| Header | Value |
|---|---|
Authorization | Bearer <api_key> |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
principalId | string | No | Filter by principal ID |
service | string | No | Filter by service name |
Example Request
Response — 200 OK
Response Fields
| Field | Type | Description |
|---|---|---|
credentials | array | Array of credential metadata objects |
credentials[].id | string | Unique vault credential ID |
credentials[].principalId | string | The principal who owns this credential |
credentials[].service | string | Service identifier |
credentials[].credentialType | string | Credential type (e.g. "oauth2") |
credentials[].tokenExpiresAt | string | null | ISO-8601 token expiry, or null if not set |
credentials[].metadata | object | Arbitrary metadata |
credentials[].createdAt | string | ISO-8601 creation timestamp |
credentials[].updatedAt | string | ISO-8601 last update timestamp |
Raw access tokens and refresh tokens are never included in list responses. Use the Exchange endpoint to retrieve a decrypted access token with a valid grant token.
Error Responses
| Status | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Invalid or missing API key |