List datasources
Return all data sources for the current account. Optionally filter by type_ident.
Restrictions
| Aspect | Value |
|---|---|
| Rate limits | 1,000 requests/minute; 50 requests/second per account |
| Permissions | Datasources Read (monit) |
Usage
- Omit
type_identto return all types. - Sensitive credential fields (passwords, keys) are not returned in the list response.
Authorizations
App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Body
Filter parameters for listing datasources.
Filter by datasource type identifier. Omit to return all types. Allowed values: prometheus, loki, mysql, oracle, postgres, clickhouse, elasticsearch, sls, victorialogs.
Response
Success
Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.