Skip to main content

Retrieve a document of a labeling session.

  • segments: Show segments of a document tags: Show tags of a document meta: Show all the additional attributes that were originally given as the document was uploaded
Path Parameters
  • project_id integer required

    ID of the project

  • annotation_id integer required

    ID of the session

  • document_id integer required

    ID of the document

Query Parameters
  • details string

    Possible values: [segments, meta, tags]

    Which details should return. Values might be any combination of 'segments', 'meta' and 'tags'.

    • segments: Show segments of a document
    • meta: Show all the additional attributes that were originally given as the document was uploaded
    • tags: Show tags of a document
Responses

Document of a labeling session


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

  • tags object[]

    A list of tags

  • class string

    The class's name.

  • label string

    The label's name.

Loading...