GET
/
v2
/
index
/
{name}
/
documents
Get indexed documents for a specific index
curl --request GET \
  --url https://{region}.affinda.com/v2/index/{name}/documents \
  --header 'Authorization: Bearer <token>'
{
  "count": 1,
  "next": "<string>",
  "previous": "<string>",
  "results": [
    {
      "document": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication using an API key, e.g. {Authorization: Bearer 75z0bb4fbdf97b7e4111ff6c0015471094155f91}. You can find your API key within the Settings page of the Affinda web app. You can obtain an API key by signing up for a free trial.

Path Parameters

name
string
required

Index name

Example:

"all-resumes"

Response

200
application/json

Successfully retrieved list of indexed documents

The response is of type object.