Retrieve an analysis
Retrieve an Analysis.
Path Parameters
- analysis_id integer required
ID of the analysis_id to get
- 200
- 401
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- created date-time
The date and time the analysis was started
- finished date-time
The date and time the analysis has finished.
- document_count integer
Total of documents
- uuid uuid
The UUID of the analysis.
- id integer
The ID of the analysis.
- name string
The name of the analysis.
- progress float
The progress of the analysis.
- model_id integer
The ID of the model used by that analysis.
- status string
Possible values: [
CREATED
,QUEUED
,STARTED
,ANALYZING
,FAILED
,FINISHED
]The status of the analysis.
- type string
Possible values: [
ABSA
,CLASS
,LABEL
,CLASSLABEL
]The classification type of the analysis.
- description string
The description of the analysis.
classes object[]
All classes that belong to the analysis.
name stringThe class's name.
example stringA usage example.
description stringThe class's description to help the annotator.
id integerThe ID of the label
labels object[]
All labels that belong to the analysis.
id integerThe ID of the label
name stringThe label's name.
documents object[]
List of documents of the analysis.
text stringThe document text
segments object[]
list of segments
text stringThe segment text
span integer[]The interval at which the segment occurs in the original document
tags object[]
A list of tags
class stringThe class's name.
label stringThe label's name.
{
"created": "2023-11-02",
"finished": "2023-11-02",
"document_count": 100,
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": 1,
"name": "This is my first analysis",
"progress": 87.7,
"model_id": 10,
"status": "CREATED",
"type": "ABSA",
"description": "string",
"classes": [
{
"name": "Comfort",
"example": "This is a good example",
"description": "This is a good description",
"id": 1
}
],
"labels": [
{
"id": 1,
"name": "POS"
}
],
"documents": [
{
"text": "Document 1",
"segments": [
{
"text": "Segment 1",
"span": [
0,
9
],
"tags": [
{
"class": "Comfort",
"label": "POS"
}
]
}
]
}
]
}
User is not authenticated. This means token is either not present or invalid
The analysis was not found
Something is wrong with the API.