Prompt Answer Category Evidence
Retrieves a paginated list of evidence entries for the specified prompt answer category, optionally filtered and sorted.
Bearer authentication with JWT
The object identifier of the prompt answer category.
The page number to retrieve.
The number of items per page.
Optional search text to prompt evidence entries.
The sorting option for the results.
Whether to sort in descending order.
trueOK
Forbidden
GET /projects/{projectIdentifier}/prompt-answer-categories/{promptAnswerCategoryObjectIdentifier}/evidence HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"quoteOnly": true,
"text": "text",
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"polygonPoints": [
1
],
"pageNumber": 1,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"dateAdded": "2025-12-06T04:02:48.011Z"
}
]Creates a new evidence entry for the specified prompt answer category.
Bearer authentication with JWT
The object identifier of the prompt answer category.
OK
Bad Request
Forbidden
POST /projects/{projectIdentifier}/prompt-answer-categories/{promptAnswerCategoryObjectIdentifier}/evidence HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"quoteOnly": true,
"text": "text"
}{
"quoteOnly": true,
"text": "text",
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"polygonPoints": [
1
],
"pageNumber": 1,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"dateAdded": "2025-12-06T04:02:48.011Z"
}Retrieves an evidence entry by its object identifier.
Bearer authentication with JWT
The unique identifier of the evidence entry.
OK
Forbidden
Not Found
GET /projects/{projectIdentifier}/prompt-answer-categories/{promptAnswerCategoryObjectIdentifier}/evidence/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"quoteOnly": true,
"text": "text",
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"polygonPoints": [
1
],
"pageNumber": 1,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"dateAdded": "2025-12-06T04:02:48.011Z"
}Updates an evidence entry by its object identifier.
Bearer authentication with JWT
The unique identifier of the evidence entry to update.
OK
Bad Request
Forbidden
Not Found
PUT /projects/{projectIdentifier}/prompt-answer-categories/{promptAnswerCategoryObjectIdentifier}/evidence/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"quoteOnly": true,
"text": "text"
}{
"quoteOnly": true,
"text": "text",
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"polygonPoints": [
1
],
"pageNumber": 1,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"dateAdded": "2025-12-06T04:02:48.011Z"
}Deletes an evidence entry by its object identifier.
Bearer authentication with JWT
The unique identifier of the evidence entry to delete.
No Content
Forbidden
Not Found
DELETE /projects/{projectIdentifier}/prompt-answer-categories/{promptAnswerCategoryObjectIdentifier}/evidence/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated