Prompt Answer Evidence
Retrieves a paginated list of all prompt answer evidence for the specified prompt answer, with optional search and sorting.
Bearer authentication with JWT
The object identifier of the prompt answer.
The page number for paginated results.
The number of items per page.
Optional search text to filter results.
The sorting option for the results.
Whether to sort in descending order.
trueOK
Forbidden
GET /playbooks/{playbookIdentifier}/prompt-answers/{promptAnswerObjectIdentifier}/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:16:05.373Z"
}
]Creates a new prompt answer evidence for the specified prompt answer.
Bearer authentication with JWT
The object identifier of the prompt answer.
Created
Bad Request
Forbidden
POST /playbooks/{playbookIdentifier}/prompt-answers/{promptAnswerObjectIdentifier}/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:16:05.373Z"
}Retrieves the details of a prompt answer evidence using its object identifier.
Bearer authentication with JWT
The object identifier of the evidence.
OK
Forbidden
Not Found
GET /playbooks/{playbookIdentifier}/prompt-answers/{promptAnswerObjectIdentifier}/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:16:05.373Z"
}Updates the details of an existing prompt answer evidence using its object identifier.
Bearer authentication with JWT
The object identifier of the evidence to update.
OK
Bad Request
Forbidden
Not Found
PUT /playbooks/{playbookIdentifier}/prompt-answers/{promptAnswerObjectIdentifier}/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:16:05.373Z"
}Deletes a prompt answer evidence using its object identifier.
Bearer authentication with JWT
The object identifier of the evidence to delete.
No Content
Forbidden
Not Found
DELETE /playbooks/{playbookIdentifier}/prompt-answers/{promptAnswerObjectIdentifier}/evidence/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated