GET
/
mr
/
api
/
v1
/
docs
curl --request GET \
  --url https://api.eka.care/mr/api/v1/docs \
  --header 'Authorization: Bearer <token>' \
  --header 'accept: <accept>'
{
  "items": [
    {
      "record": {
        "item": {
          "document_id": "df04c7e6-577b-4990-948c-5a31820c6a67",
          "upload_date": 1722929975,
          "document_type": "lr",
          "metadata": {
            "thumbnail": "https://vault-cdn.dev.eka.care/fac0704e-a0e3-4c93-a972-e6c1f188592d/df04c7e6-577b-4990-948c-5a31820c6a67/5dbc4b75-df1a-412d-82a3-77d54671398c.jpeg",
            "document_date": 1722929975,
            "tags": [
              "TYPE_TAG_SMART"
            ],
            "title": "<string>",
            "abha": {
              "health_id": "mayank.singh@abdm",
              "link_status": "LINKED"
            }
          },
          "patient_id": 161494290947153
        }
      }
    }
  ],
  "next_token": "<string>"
}

Authorizations

Authorization
string
header
required

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

Headers

accept
enum<string>
required

To get response in json format

Available options:
application/json

Query Parameters

u_at__gt
string | null

Filters the documents by returning all documents that were updated after the specified u_at__gt timestamp. The value should be a valid epoch timestamp.

offset
string | null

Please include the nextPageToken from the API response to enable pagination.

Response

200
application/json
A list of documents matching the query.
items
object[]
next_token
string

Token used for pagination to retrieve the next set of results in a paginated response.