Playbook Prompt Conditions
Retrieves a paginated list of all prompt conditions for the specified playbook prompt, with optional search and sorting.
Bearer authentication with JWT
The object identifier of the parent playbook prompt.
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/{promptObjectIdentifier}/conditions HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"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": [
{
"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:03.341Z",
"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:03.341Z",
"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 condition for the specified playbook prompt.
Bearer authentication with JWT
The object identifier of the parent playbook prompt.
Created
Bad Request
Forbidden
POST /playbooks/{playbookIdentifier}/prompts/{promptObjectIdentifier}/conditions HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 294
{
"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
}{
"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": [
{
"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:03.341Z",
"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:03.341Z",
"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 condition for the specified playbook prompt using its object identifier.
Bearer authentication with JWT
The object identifier of the prompt condition.
OK
Forbidden
Not Found
GET /playbooks/{playbookIdentifier}/prompts/{promptObjectIdentifier}/conditions/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"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": [
{
"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:03.341Z",
"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:03.341Z",
"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 condition from the specified playbook prompt using its object identifier.
Bearer authentication with JWT
The object identifier of the prompt condition to delete.
No Content
Forbidden
Not Found
DELETE /playbooks/{playbookIdentifier}/prompts/{promptObjectIdentifier}/conditions/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated