Prompt Answer Evidence

Gets all prompt answer evidence for the specified prompt answer.

get

Retrieves a paginated list of all prompt answer evidence for the specified prompt answer, with optional search and sorting.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
promptAnswerObjectIdentifierstring · uuidRequired

The object identifier of the prompt answer.

playbookIdentifierstringRequired
Query parameters
pageNumberinteger · int32Optional

The page number for paginated results.

pageSizeinteger · int32Optional

The number of items per page.

searchTextstringOptional

Optional search text to filter results.

sortinginteger · enumOptional

The sorting option for the results.

Possible values:
descbooleanOptional

Whether to sort in descending order.

Default: true
Responses
200

OK

get
/playbooks/{playbookIdentifier}/prompt-answers/{promptAnswerObjectIdentifier}/evidence
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.

post

Creates a new prompt answer evidence for the specified prompt answer.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
promptAnswerObjectIdentifierstring · uuidRequired

The object identifier of the prompt answer.

playbookIdentifierstringRequired
Body
quoteOnlybooleanOptional
textstring | nullableOptional
Responses
post
/playbooks/{playbookIdentifier}/prompt-answers/{promptAnswerObjectIdentifier}/evidence
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"
}

Gets the details of a specific prompt answer evidence by its object identifier.

get

Retrieves the details of a prompt answer evidence using its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the evidence.

playbookIdentifierstringRequired
promptAnswerObjectIdentifierstringRequired
Responses
200

OK

get
/playbooks/{playbookIdentifier}/prompt-answers/{promptAnswerObjectIdentifier}/evidence/{objectIdentifier}
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 an existing prompt answer evidence by its object identifier.

put

Updates the details of an existing prompt answer evidence using its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the evidence to update.

playbookIdentifierstringRequired
promptAnswerObjectIdentifierstringRequired
Body
quoteOnlybooleanOptional
textstring | nullableOptional
Responses
200

OK

put
/playbooks/{playbookIdentifier}/prompt-answers/{promptAnswerObjectIdentifier}/evidence/{objectIdentifier}
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 by its object identifier.

delete

Deletes a prompt answer evidence using its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the evidence to delete.

playbookIdentifierstringRequired
promptAnswerObjectIdentifierstringRequired
Responses
delete
/playbooks/{playbookIdentifier}/prompt-answers/{promptAnswerObjectIdentifier}/evidence/{objectIdentifier}
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