Skip to main content
GET
/
api
/
v1
/
datalake
/
{source}
/
databases
/
{db}
/
documents
List documents
curl --request GET \
  --url https://ai-loop.alpeadria.com/api/v1/datalake/{source}/databases/{db}/documents \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "_id": "68db6f2c0ac7da8532656a2",
      "Origin": "Venice",
      "Destination": "Novara",
      "Service_ID": "V0000440"
    }
  ],
  "headers": [
    "_id",
    "Origin",
    "Destination",
    "Service_ID"
  ]
}
Retrieve a list of documents from a specific data lake database.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

source
string
required
db
string
required

Response

200 - application/json

List of documents and headers

data
object[]
headers
string[]