List all projects' analyses.
Use URL params to control or filter the result.The pagination should be done by increasing the offset by the value of limit until the property has_more is false
Path Parameters
- project_id integer required
ID of the project
Query Parameters
- offset integer
An offset is simply the number of records you wish to skip before selecting records.
- limit integer
Limit of entries that should be returned.
- 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
- 200
- 403
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema array
- 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 a beta user or does not have the minimal required project role "VIEWER"
The project was not found
Something is wrong with the API.