Skip to main content
GET
/
v1
/
data-sources
List Data Sources
curl --request GET \
  --url https://reporter.sandbox.lerian.net/v1/data-sources \
  --header 'X-Organization-id: <x-organization-id>'
[ { "data": [ { "id": "midaz_onboarding", "externalName": "onboarding", "type": "postgresql" }, { "id": "midaz_transaction", "externalName": "transaction", "type": "postgresql" }, { "id": "fees", "externalName": "fees", "type": "mongodb" } ] } ]

Headers

Authorization
string

The authorization token in the 'Bearer ' format.

Important: This header is required if your environment has Access Manager enabled. For more information, refer to the Access Manager documentation.

X-Organization-id
string
required

The unique identifier of the Organization associated with the request.

Response

If the result is successful, you will receive a list with all data sources.

Information about the data sources.

data
object[]
required

List of data sources currently available in the system.