Documents

List documents

get/documents

Request

  • Base URL: https://api.aginera.ai/partner/v1
  • URL: https://api.aginera.ai/partner/v1/documents
  • Auth: OAuth 2 (authorization code, authorization URL https://auth.aginera.ai/oauth/authorize, token URL https://auth.aginera.ai/oauth/token; client credentials, token URL https://login.microsoftonline.com/65f567a9-6e6a-4f81-863c-aea4ece1f8eb/oauth2/v2.0/token, scopes: documents:read)

Query parameters

limitinteger
cursorstring
project_idstring
Example:prj_4kR9sT2vWx7yZa1bCd3eFg
status'awaiting_upload' | 'ingesting' | 'ready' | 'failed'
external_refstring

Response

OK

next_cursorstring nullable required
has_moreboolean required

Example response

{
  "data": [
    {
      "id": "doc_4kR9sT2vWx7yZa1bCd3eFg",
      "project_id": "prj_4kR9sT2vWx7yZa1bCd3eFg"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.