API Tokens
List API Tokens for Data App
Retrieve a list of all API tokens associated with a specific Data App.
GET
Get a list of all API tokens for a specific Data App. This is useful for managing and auditing API tokens associated with your Data Apps.Documentation Index
Fetch the complete documentation index at: https://docs.usedatabrain.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint Formats
- New Endpoint (Recommended)
- Legacy Endpoint (Deprecated Soon)
Authentication
This endpoint requires a service token in the Authorization header. Service tokens differ from data app API keys and provide organization-level permissions. To access your service token:- In Settings page, navigate to the Service Tokens section.
- Click the “Generate Token” button to create a new service token if you don’t have one already.
Headers
Bearer token for API authentication. Use your service token (not data app API key).
Query Parameters
The name of the Data App to list API tokens for. This must exactly match an existing Data App name.
Whether to paginate results. Pass
"true" to enable pagination with a limit of 10 per page.Note: Query parameters are passed as strings. Use "true" or "false".Page number to retrieve (1-based). Only used when isPagination is
"true". Must be a numeric string (e.g., "1", "2").Response
Array of API token objects with their metadata.
The API key value (UUID). Use this key for authentication when making API requests.
The descriptive name/label assigned to the API token when it was created.
The description of the API token, typically indicating the Data App it belongs to.
ISO 8601 formatted timestamp indicating when the API token was created.
Error object returned only when the request fails. Not included in successful responses.
Examples
HTTP Status Code Summary
| Status Code | Description |
|---|---|
200 | OK - API tokens retrieved successfully |
400 | Bad Request - Invalid request parameters |
500 | Internal Server Error - Server error occurred |
Possible Errors
| Error Code | HTTP Status | Description |
|---|---|---|
INVALID_REQUEST_BODY | 400 | Missing or invalid dataAppName |
DATA_APP_NOT_FOUND | 400 | Data App with given name not found |
AUTHENTICATION_ERROR | 400 | Invalid or missing service token |
INTERNAL_SERVER_ERROR | 500 | Server error |
Quick Start Guide
Get your service token
In Settings page, navigate to the Service Tokens section. Click the “Generate Token” button to create a new service token if you don’t have one already.
Identify the Data App
Use the List Data Apps API to find the Data App name:
Next Steps
Create API Token
Generate new API tokens for your Data Apps
Rotate API Key
Rotate API keys for enhanced security
List Data Apps
View all Data Apps in your organization
Create Embed
Use your API tokens to create embed configurations

