GET
/
documents
/
get
/
{resource_id}
curl --request GET \
  --url https://api.hyperspell.com/documents/get/{resource_id} \
  --header 'Authorization: Bearer <token>'
{
  "source": "collections",
  "resource_id": "<string>",
  "metadata": {
    "indexed_at": "2023-11-07T05:31:56Z",
    "last_modified": "2023-11-07T05:31:56Z",
    "status": "pending",
    "events": [
      {
        "message": "<string>",
        "time": "2023-11-07T05:31:56Z",
        "type": "error"
      }
    ]
  },
  "score": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

resource_id
string
required

Response

200
application/json

Successful Response

The response is of type object.