Endpoint
Authentication
Requires a developer API key in theAuthorization header.
Request Headers
| Header | Value |
|---|---|
Authorization | Bearer <api_key> |
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | The vault credential ID (e.g. vc_01HXYZ...) |
Example Request
Response — 200 OK
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique vault credential ID |
principalId | string | The principal who owns this credential |
service | string | Service identifier |
credentialType | string | Credential type (e.g. "oauth2") |
tokenExpiresAt | string | null | ISO-8601 token expiry, or null if not set |
metadata | object | Arbitrary metadata |
createdAt | string | ISO-8601 creation timestamp |
updatedAt | string | ISO-8601 last update timestamp |
Error Responses
| Status | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Invalid or missing API key |
| 404 | NOT_FOUND | Credential not found or does not belong to developer |