Documents
Base URL
Production:
https://api.docanalyzer.ai/api/v1
Labels
What made this section unhelpful for you?
List all labels in a given workspace
Header Parameters
The workspace to use
Query Parameters
Response
Response Attributes
Response Attributes
Show child attributes
What made this section unhelpful for you?
Response
{
"data": ""
}
What made this section unhelpful for you?
Create a label
Header Parameters
The workspace to use
Body Parameters
Display name for the label
Unique identifiers of documents associated with the label
Show child attributes
The hex color code of the label
Response
Response Attributes
Response Attributes
Show child attributes
What made this section unhelpful for you?
Response
{
"data": ""
}
What made this section unhelpful for you?
Upload documents associated with label(s)
Header Parameters
The workspace to use
Path Parameters
Unique identifier(s) of the label to associate documents with
Comma-separated options (e.g.,sync) that modify upload behavior. If sync, the server wait document(s) analysis is ready to return.
Body Parameters
Show child attributes
Response
Response Attributes
Show child attributes
Response Attributes
Show child attributes
What made this section unhelpful for you?
Response
{
"data": [
{
"lid": "",
"workspace": null,
"name": "",
"docids": [
""
],
"color": ""
}
]
}
What made this section unhelpful for you?
Get label information
Header Parameters
Path Parameters
The unique identifier of the label to retrieve
Response
Response Attributes
The unique identifier of the label to retrieve (uuid)
A smallint value representing the workspace. It designates the workspace in which the document exists.
The human-readable name of the label for display purposes.
Unique identifiers of documents associated with the label
Show child attributes
The hex color code of the label
Response Attributes
Show child attributes
What made this section unhelpful for you?
Response
{
"lid": "",
"workspace": null,
"name": "",
"docids": [
""
],
"color": ""
}
What made this section unhelpful for you?
Update label
Header Parameters
Path Parameters
The unique identifier of the label to update
Body Parameters
The new display name for the label
The new hex color code for the label
Show child attributes
Response
Response Attributes
The unique identifier of the label to retrieve (uuid)
A smallint value representing the workspace. It designates the workspace in which the document exists.
The human-readable name of the label for display purposes.
Unique identifiers of documents associated with the label
Show child attributes
The hex color code of the label
Response Attributes
Show child attributes
What made this section unhelpful for you?
Response
{
"lid": "",
"workspace": null,
"name": "",
"docids": [
""
],
"color": ""
}
What made this section unhelpful for you?
Delete label
Header Parameters
Path Parameters
The unique identifier of the label to delete
Response
Response Attributes
The unique identifier of the label to retrieve (uuid)
A smallint value representing the workspace. It designates the workspace in which the document exists.
The human-readable name of the label for display purposes.
Unique identifiers of documents associated with the label
Show child attributes
The hex color code of the label
Response Attributes
Show child attributes
What made this section unhelpful for you?
Response
{
"lid": "",
"workspace": null,
"name": "",
"docids": [
""
],
"color": ""
}
What made this section unhelpful for you?
Chat with all documents associated with a label
Header Parameters
Path Parameters
The unique identifier of the label to chat with
Body Parameters
The prompt to get an AI answer
Defines the AI model to be used for generating responses. The default model is 'OpenAI GPT-4o mini'. Other available options include advanced models from Anthropic and Google. You can also configure BYOK (Bring Your Own Key) models when its API key is stored in your account.
gpt-4o-mini
gemini-2.0-flash
gemini-2.0-flash-lite
claude-3.5-haiku
deepseek-v3
gpt-4o:byok
gemini-1.5-pro:byok
sonnet-3.7:byok
Specifies if page(s) reference(s) need to be added in the answer
d in the answer
strict
high
balanced
low
free
Specifies the maximum token length of answer
Specifies the default language for the answer
English
Arabic
Chinese (Simplified)
Dutch
French
German
Hindi
Italian
Japanese
Korean
... 5 other enums
Response
Response Attributes
Unique identifier for the prompt
The AI answer
Response Attributes
Show child attributes
Response Attributes
Show child attributes
What made this section unhelpful for you?
Response
{
"promptid": "",
"answer": ""
}
What made this section unhelpful for you?
Create a new thread external link on a label
Header Parameters
Path Parameters
The unique identifier of the label
Body Parameters
Display name for the label
If this parameter is true, create an external link for the chat session.
Response
Response Attributes
Standalone chat URL
Response Attributes
Show child attributes
What made this section unhelpful for you?
Response
{
"url": ""
}