Skip to main content

Retrieve document from a project.

Retrieve document from a project

Path Parameters
  • project_id integer required

    ID of the project

  • document_id integer required

    ID of the document

Query Parameters
  • details string

    Possible values: [segments]

    Which details should return. Only 'segments' is supported.

    • segments: Show segments of a document
Responses

OK


Schema
  • text string

    The document text

  • segments object[]

    list of segments

  • text string

    The segment text

  • span integer[]

    The interval at which the segment occurs in the original document

Loading...