curl --location --request GET 'https://api.getmetal.io/v1/indexes/{indexId}/documents' \ --header 'Content-Type: application/json' \ --header 'x-metal-api-key: <api-key>' \ --header 'x-metal-client-id: <client-id>' \
{ "data": [ { "id": "1", "text": "My text 1", "createdAt": "2023-07-03T14:27:02.413Z", "metadata": {} }, { "id": "2", "text": "My text 2", "createdAt": "2023-07-03T14:27:02.418Z", "metadata": {} } ], "lastSeenObjectId": "64d529f3bd43b75ce5e020f9" }
This endpoint gets a list of documents for a given index.
Show properties