Playbook Prompts
Retrieves a paginated list of all prompts for the specified playbook, with optional search and sorting.
Bearer authentication with JWT
Whether to flatten the prompt tree.
Optional parent prompt object identifier.
The page number for paginated results.
The number of items per page.
Optional search text to prompt results.
The sorting option for the results.
Whether to sort in descending order.
trueOK
Forbidden
GET /playbooks/{playbookIdentifier}/prompts HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"label": "text",
"description": "text",
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": [
"[Circular Reference]"
]
}
]
},
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"conditions": [
{
"fuzzyMatch": true,
"isYes": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"decimalOperator": "Equal",
"decimalAnswer": 1,
"textAnswer": "text",
"promptPredicateObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"fuzzyMatch": true,
"text": "text"
}
],
"allCategoriesMatch": true,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"promptPredicate": {
"label": "text",
"description": "text",
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": [
"[Circular Reference]"
]
}
]
},
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"conditions": [
"[Circular Reference]"
],
"promptDataTypeId": 1,
"dateAdded": "2025-12-06T04:17:41.422Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"name": "text",
"colour": 0,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"colourHex": "text"
}
],
"minimumValue": 1,
"maximumValue": 1,
"found": true,
"hasChildren": true
}
}
],
"promptDataTypeId": 1,
"dateAdded": "2025-12-06T04:17:41.422Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"name": "text",
"colour": 0,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"colourHex": "text"
}
],
"minimumValue": 1,
"maximumValue": 1,
"found": true,
"hasChildren": true
}
]Creates a new prompt for the specified playbook, including conditions and question JSON validation.
Bearer authentication with JWT
Created
Bad Request
Forbidden
POST /playbooks/{playbookIdentifier}/prompts HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2163
{
"label": "text",
"description": "text",
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": "[Circular Reference]"
}
]
}
]
},
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"conditions": [
{
"fuzzyMatch": true,
"isYes": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"decimalOperator": "Equal",
"decimalAnswer": 1,
"textAnswer": "text",
"promptPredicateObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"fuzzyMatch": true,
"text": "text"
}
],
"allCategoriesMatch": true
}
],
"promptDataTypeId": 1
}{
"label": "text",
"description": "text",
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": "[Circular Reference]"
}
]
}
]
},
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"conditions": [
{
"fuzzyMatch": true,
"isYes": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"decimalOperator": "Equal",
"decimalAnswer": 1,
"textAnswer": "text",
"promptPredicateObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"fuzzyMatch": true,
"text": "text"
}
],
"allCategoriesMatch": true,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"promptPredicate": {
"label": "text",
"description": "text",
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": "[Circular Reference]"
}
]
}
]
},
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"conditions": [
{
"fuzzyMatch": true,
"isYes": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"decimalOperator": "Equal",
"decimalAnswer": 1,
"textAnswer": "text",
"promptPredicateObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"fuzzyMatch": true,
"text": "text"
}
],
"allCategoriesMatch": true,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"promptPredicate": "[Circular Reference]"
}
],
"promptDataTypeId": 1,
"dateAdded": "2025-12-06T04:17:41.422Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"name": "text",
"colour": 0,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"colourHex": "text"
}
],
"minimumValue": 1,
"maximumValue": 1,
"found": true,
"hasChildren": true
}
}
],
"promptDataTypeId": 1,
"dateAdded": "2025-12-06T04:17:41.422Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"name": "text",
"colour": 0,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"colourHex": "text"
}
],
"minimumValue": 1,
"maximumValue": 1,
"found": true,
"hasChildren": true
}Retrieves the details of a prompt for the specified playbook using its object identifier.
Bearer authentication with JWT
The object identifier of the prompt.
OK
Forbidden
Not Found
GET /playbooks/{playbookIdentifier}/prompts/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"label": "text",
"description": "text",
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": "[Circular Reference]"
}
]
}
]
},
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"conditions": [
{
"fuzzyMatch": true,
"isYes": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"decimalOperator": "Equal",
"decimalAnswer": 1,
"textAnswer": "text",
"promptPredicateObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"fuzzyMatch": true,
"text": "text"
}
],
"allCategoriesMatch": true,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"promptPredicate": {
"label": "text",
"description": "text",
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": "[Circular Reference]"
}
]
}
]
},
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"conditions": [
{
"fuzzyMatch": true,
"isYes": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"decimalOperator": "Equal",
"decimalAnswer": 1,
"textAnswer": "text",
"promptPredicateObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"fuzzyMatch": true,
"text": "text"
}
],
"allCategoriesMatch": true,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"promptPredicate": "[Circular Reference]"
}
],
"promptDataTypeId": 1,
"dateAdded": "2025-12-06T04:17:41.422Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"name": "text",
"colour": 0,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"colourHex": "text"
}
],
"minimumValue": 1,
"maximumValue": 1,
"found": true,
"hasChildren": true
}
}
],
"promptDataTypeId": 1,
"dateAdded": "2025-12-06T04:17:41.422Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"name": "text",
"colour": 0,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"colourHex": "text"
}
],
"minimumValue": 1,
"maximumValue": 1,
"found": true,
"hasChildren": true
}Updates the details of an existing prompt for the specified playbook using its object identifier.
Bearer authentication with JWT
The object identifier of the prompt to update.
OK
Bad Request
Forbidden
Not Found
PUT /playbooks/{playbookIdentifier}/prompts/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2221
{
"label": "text",
"description": "text",
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": "[Circular Reference]"
}
]
}
]
},
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"conditions": [
{
"fuzzyMatch": true,
"isYes": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"decimalOperator": "Equal",
"decimalAnswer": 1,
"textAnswer": "text",
"promptPredicateObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"fuzzyMatch": true,
"text": "text"
}
],
"allCategoriesMatch": true,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
],
"promptDataTypeId": 1
}{
"label": "text",
"description": "text",
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": "[Circular Reference]"
}
]
}
]
},
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"conditions": [
{
"fuzzyMatch": true,
"isYes": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"decimalOperator": "Equal",
"decimalAnswer": 1,
"textAnswer": "text",
"promptPredicateObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"fuzzyMatch": true,
"text": "text"
}
],
"allCategoriesMatch": true,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"promptPredicate": {
"label": "text",
"description": "text",
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": "[Circular Reference]"
}
]
}
]
},
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"conditions": [
{
"fuzzyMatch": true,
"isYes": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"decimalOperator": "Equal",
"decimalAnswer": 1,
"textAnswer": "text",
"promptPredicateObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"fuzzyMatch": true,
"text": "text"
}
],
"allCategoriesMatch": true,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"promptPredicate": "[Circular Reference]"
}
],
"promptDataTypeId": 1,
"dateAdded": "2025-12-06T04:17:41.422Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"name": "text",
"colour": 0,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"colourHex": "text"
}
],
"minimumValue": 1,
"maximumValue": 1,
"found": true,
"hasChildren": true
}
}
],
"promptDataTypeId": 1,
"dateAdded": "2025-12-06T04:17:41.422Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"name": "text",
"colour": 0,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"colourHex": "text"
}
],
"minimumValue": 1,
"maximumValue": 1,
"found": true,
"hasChildren": true
}Deletes a prompt from the specified playbook using its object identifier.
Bearer authentication with JWT
The object identifier of the prompt to delete.
No Content
Forbidden
Not Found
DELETE /playbooks/{playbookIdentifier}/prompts/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Updates the position of a prompt in the playbook prompt tree for the specified playbook.
Bearer authentication with JWT
The object identifier of the prompt to update.
OK
Bad Request
Forbidden
Not Found
PUT /playbooks/{playbookIdentifier}/prompts/{objectIdentifier}/position HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 81
{
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"orderNumber": 1
}{
"label": "text",
"description": "text",
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": "[Circular Reference]"
}
]
}
]
},
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"conditions": [
{
"fuzzyMatch": true,
"isYes": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"decimalOperator": "Equal",
"decimalAnswer": 1,
"textAnswer": "text",
"promptPredicateObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"fuzzyMatch": true,
"text": "text"
}
],
"allCategoriesMatch": true,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"promptPredicate": {
"label": "text",
"description": "text",
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
},
"marks": [
{
"type": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"filterDataTypeId": 1,
"properties": [
{
"type": "text",
"attrs": {
"type": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"id": "text",
"label": "text",
"renderAs": "text",
"parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"level": 1,
"href": "text",
"textAlign": "text"
}
}
],
"content": "[Circular Reference]"
}
]
}
]
},
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"conditions": [
{
"fuzzyMatch": true,
"isYes": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"decimalOperator": "Equal",
"decimalAnswer": 1,
"textAnswer": "text",
"promptPredicateObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"fuzzyMatch": true,
"text": "text"
}
],
"allCategoriesMatch": true,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"promptPredicate": "[Circular Reference]"
}
],
"promptDataTypeId": 1,
"dateAdded": "2025-12-06T04:17:41.422Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"name": "text",
"colour": 0,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"colourHex": "text"
}
],
"minimumValue": 1,
"maximumValue": 1,
"found": true,
"hasChildren": true
}
}
],
"promptDataTypeId": 1,
"dateAdded": "2025-12-06T04:17:41.422Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"categories": [
{
"name": "text",
"colour": 0,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"colourHex": "text"
}
],
"minimumValue": 1,
"maximumValue": 1,
"found": true,
"hasChildren": true
}Retrieves a paginated preview list of all prompts for the specified playbook, with optional search and sorting.
Bearer authentication with JWT
The identifier of the playbook.
Whether to flatten the prompt tree.
Optional parent prompt object identifier.
The page number for paginated results.
The number of items per page.
Optional search text to prompt results.
The sorting option for the results.
Whether to sort in descending order.
trueOK
Forbidden
GET /playbooks/{playbookIdentifier}/prompts/preview HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"label": "text",
"description": "text",
"hasChildren": true,
"promptDataTypeId": 1,
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
],
"totalCount": 1
}Last updated