Prompt Answer Comments
Retrieves a paginated list of all comments 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-answer/{promptAnswerObjectIdentifier}/comments HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"comment": "text",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"dateAdded": "2025-12-06T04:16:57.873Z",
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}
]Creates a new comment for the specified prompt answer.
Bearer authentication with JWT
The object identifier of the prompt answer.
Created
Bad Request
Forbidden
POST /playbooks/{playbookIdentifier}/prompt-answer/{promptAnswerObjectIdentifier}/comments HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"comment": "text"
}{
"comment": "text",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"dateAdded": "2025-12-06T04:16:57.873Z",
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}Retrieves the details of a comment for the specified prompt answer using its object identifier.
Bearer authentication with JWT
The object identifier of the comment.
OK
Forbidden
Not Found
GET /playbooks/{playbookIdentifier}/prompt-answer/{promptAnswerObjectIdentifier}/comments/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"comment": "text",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"dateAdded": "2025-12-06T04:16:57.873Z",
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}Updates the details of an existing comment for the specified prompt answer using its object identifier.
Bearer authentication with JWT
The object identifier of the comment to update.
OK
Bad Request
Forbidden
Not Found
PUT /playbooks/{playbookIdentifier}/prompt-answer/{promptAnswerObjectIdentifier}/comments/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"comment": "text"
}{
"comment": "text",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"dateAdded": "2025-12-06T04:16:57.873Z",
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}Deletes a comment for the specified prompt answer using its object identifier.
Bearer authentication with JWT
The object identifier of the comment to delete.
No Content
Forbidden
Not Found
DELETE /playbooks/{playbookIdentifier}/prompt-answer/{promptAnswerObjectIdentifier}/comments/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated