Get document AI results from LLM prompt
GET/documents/:documentId/ai/prompts/:llmPromptEntityName
Retrieve document AI results from an LLM prompt; available as an Add-On Module
Request
Path Parameters
Document Identifier
LlmPrompt Entity Name
Query Parameters
Site Identifier
Artifact Document Identifier
Analysis Category
Limit Results
10Next page of results token
Responses
- 200
200 OK
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
Array [
]
]
]
Next page of results token
aiPromptResults
object[]
List of document AI prompt result records
Analysis Category
Inserted Timestamp
Result content
UserId that created Result
values
object[]
Document AI prompt values
Document AI prompt result type
Possible values: [KEY_VALUE, ENTITY]
Entity type when resultType is ENTITY
Entity Type namespace
Possible values: [PRESET, CUSTOM]
attributes
object[]
required
Attributes extracted from result content
Document AI prompt result attribute key
Document AI prompt result attribute string values
{
"next": "string",
"aiPromptResults": [
{
"analysisCategory": "string",
"insertedDate": "string",
"content": "string",
"userId": "string",
"values": [
{
"resultType": "KEY_VALUE",
"entityType": "string",
"entityNamespace": "PRESET",
"attributes": [
{
"key": "string",
"stringValues": [
"string"
]
}
]
}
]
}
]
}