Authentication
RequiresAuthorization: Basic {base64_encoded_api_key} and x-account-id: {account_id}. See authentication.
Response
Returns anIamCredentials object.
| Field | Type | Description |
|---|---|---|
name | string | Human-readable name of the credential set |
auth_type | enum | How the connection authenticates: oauth, api_key, or service_user |
scopes | string[] | OAuth scopes granted to this connection. Empty when auth_type is not oauth. |
permissions | IamPermission[] | Effective permissions for this connection — what it can do in the provider |
last_accessed_at | string (ISO 8601) | When this connection last made an API call |
Example
- cURL
- TypeScript
- Python
Example Response
Errors
| Status | Meaning |
|---|---|
| 401 | Unauthorized — invalid or missing API key |
| 422 | Provider does not support this endpoint |