SuperAI Flow Platform

Sections

Theme switcher

List user credentials

Retrieve all integration credentials for the authenticated user.

Returns stored credentials for various integration providers including Google Drive, SharePoint, SFTP servers, PostgreSQL databases, and other external services. Each credential contains metadata about the integration but excludes sensitive authentication data (passwords, tokens, API keys) by default.

Context: - Credentials are scoped to the authenticated user and their organization - Returns only active (non-deleted) credentials - Ordered by creation date (newest first) - OAuth credentials with expired tokens are still returned - Maximum 100 credentials per user - Credentials are encrypted at rest using AES-256-GCM

Use Cases: - Display available integrations in the UI integration dashboard - Check which external services the user has already connected - Retrieve credential IDs for making integration-specific API calls - Audit credential creation dates and verify active connections - Support integration selection workflows in flow configuration

Related Endpoints: - POST /integrations/credentials - Create new integration credential - GET /integrations/credentials/{credential_id} - Get specific credential details - GET /integrations/credentials/provider/{provider} - Filter credentials by provider - GET /integrations/credentials/{credential_id}/credentials - Get credential secrets - DELETE /integrations/credentials/{credential_id} - Delete credential

Security Notes: - Sensitive data (passwords, tokens, keys) excluded from response - Use GET /integrations/credentials/{id}/credentials to retrieve sensitive data - Cross-organization access not permitted

Header Parameters

Authorizationstring

Response

200
Object
List of user credentials retrieved successfully

Response Attributes

created_atstring Required
google_emailnull
idstring Required
modified_bystring Required
providerstring Required

API-friendly version of ProviderEnum without spaces

Enum values:
microsoftsharepointsftpaws_sesgooglepostgresqlinternal_postgresql
updated_atstring Required
user_idnull
401
Object
Unauthorized - Missing or invalid authentication credentials

Response Attributes

errorobject Required

Standard error detail structure.

This model matches the error format returned by the centralized exception handlers in app/api/errors/handlers.py.

Show child attributes

request_idnull
403
Object
Forbidden - Insufficient permissions to access this resource

Response Attributes

errorobject Required

Standard error detail structure.

This model matches the error format returned by the centralized exception handlers in app/api/errors/handlers.py.

Show child attributes

request_idnull
500
Object
Internal Server Error - An unexpected error occurred

Response Attributes

errorobject Required

Standard error detail structure.

This model matches the error format returned by the centralized exception handlers in app/api/errors/handlers.py.

Show child attributes

request_idnull
Was this section helpful?

What made this section unhelpful for you?

GET

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?

View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot