Prompt Answers
Bearer authentication with JWT
Created
Unauthorized
Forbidden
Not Found
POST /projects/{projectIdentifier}/prompt-answer-categories/{promptAnswerCategoryObjectIdentifier}/evidence HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"text": "text",
"quoteOnly": true
}{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"text": "text",
"polygonPoints": [
1
],
"pageNumber": 1,
"quoteOnly": true,
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}Bearer authentication with JWT
OK
Unauthorized
Forbidden
Not Found
PUT /projects/{projectIdentifier}/prompt-answer-categories/{promptAnswerCategoryObjectIdentifier}/evidence/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"text": "text",
"quoteOnly": true
}{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"text": "text",
"polygonPoints": [
1
],
"pageNumber": 1,
"quoteOnly": true,
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}Bearer authentication with JWT
No Content
No content
Unauthorized
Forbidden
Not Found
DELETE /projects/{projectIdentifier}/prompt-answer-categories/{promptAnswerCategoryObjectIdentifier}/evidence/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Bearer authentication with JWT
OK
Unauthorized
Forbidden
Not Found
GET /projects/{projectIdentifier}/prompt-answers/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"booleanAnswer": true,
"textAnswer": "text",
"decimalAnswer": 1,
"dateAnswer": "2026-01-01T00:00:00.000Z",
"assignedTo": "text",
"reviewedBy": "text",
"approved": true,
"dateAdded": "2026-01-01T00:00:00.000Z",
"assignedToMember": {
"id": "text",
"name": "text",
"email": "text"
},
"reviewedByMember": {
"id": "text",
"name": "text",
"email": "text"
},
"hasChildren": true,
"approvedPromptCount": 1,
"rejectedPromptCount": 1,
"awaitingVerificationCount": 1,
"prompt": {
"dateAdded": "2026-01-01T00:00:00.000Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"stableObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"label": "text",
"description": "text",
"promptDataType": "boolean",
"conditionOperator": "and",
"categories": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"colour": "primary"
}
],
"minimumValue": 1,
"maximumValue": 1,
"found": true,
"hasChildren": true,
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"runStatus": "pending",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"promptDataType": "boolean",
"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",
"promptDataType": "boolean",
"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]"
]
}
]
},
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"reasoningEffort": "none",
"canEdit": true,
"includeDocuments": true,
"conditions": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"promptPredicate": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"label": "text",
"promptDataType": "boolean"
},
"isYes": true,
"fuzzyMatch": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"textAnswer": "text",
"allCategoriesMatch": true,
"decimalAnswer": 1,
"decimalOperator": "equal",
"dateOperator": "equal",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"dateAnswer": "2026-01-01T00:00:00.000Z",
"categories": [
{
"category": "text"
}
]
}
],
"resourceOwnerId": "text",
"resourceOwner": {
"name": "text",
"id": "text",
"email": "text",
"picture": "text",
"roles": [
{
"id": "text",
"name": "text"
}
]
}
},
"promptAnswerCategories": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"category": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"colour": 1
},
"name": "text",
"colour": 1,
"evidence": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"text": "text",
"polygonPoints": [
1
],
"pageNumber": 1,
"quoteOnly": true,
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
]
}
],
"evidence": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"text": "text",
"polygonPoints": [
1
],
"pageNumber": 1,
"quoteOnly": true,
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
]
}Bearer authentication with JWT
OK
Bad Request
Unauthorized
Forbidden
Not Found
PUT /projects/{projectIdentifier}/prompt-answers/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 136
{
"booleanAnswer": true,
"textAnswer": "text",
"decimalAnswer": 1,
"dateAnswer": "2026-01-01T00:00:00.000Z",
"assignedTo": "text",
"approved": true
}{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"booleanAnswer": true,
"textAnswer": "text",
"decimalAnswer": 1,
"dateAnswer": "2026-01-01T00:00:00.000Z",
"assignedTo": "text",
"reviewedBy": "text",
"approved": true,
"dateAdded": "2026-01-01T00:00:00.000Z",
"assignedToMember": {
"id": "text",
"name": "text",
"email": "text"
},
"reviewedByMember": {
"id": "text",
"name": "text",
"email": "text"
},
"hasChildren": true,
"approvedPromptCount": 1,
"rejectedPromptCount": 1,
"awaitingVerificationCount": 1,
"prompt": {
"dateAdded": "2026-01-01T00:00:00.000Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"stableObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"label": "text",
"description": "text",
"promptDataType": "boolean",
"conditionOperator": "and",
"categories": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"colour": "primary"
}
],
"minimumValue": 1,
"maximumValue": 1,
"found": true,
"hasChildren": true,
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"runStatus": "pending",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"promptDataType": "boolean",
"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",
"promptDataType": "boolean",
"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]"
]
}
]
},
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"reasoningEffort": "none",
"canEdit": true,
"includeDocuments": true,
"conditions": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"promptPredicate": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"label": "text",
"promptDataType": "boolean"
},
"isYes": true,
"fuzzyMatch": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"textAnswer": "text",
"allCategoriesMatch": true,
"decimalAnswer": 1,
"decimalOperator": "equal",
"dateOperator": "equal",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"dateAnswer": "2026-01-01T00:00:00.000Z",
"categories": [
{
"category": "text"
}
]
}
],
"resourceOwnerId": "text",
"resourceOwner": {
"name": "text",
"id": "text",
"email": "text",
"picture": "text",
"roles": [
{
"id": "text",
"name": "text"
}
]
}
},
"promptAnswerCategories": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"category": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"colour": 1
},
"name": "text",
"colour": 1,
"evidence": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"text": "text",
"polygonPoints": [
1
],
"pageNumber": 1,
"quoteOnly": true,
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
]
}
],
"evidence": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"text": "text",
"polygonPoints": [
1
],
"pageNumber": 1,
"quoteOnly": true,
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
]
}Bearer authentication with JWT
No Content
No content
Unauthorized
Forbidden
Not Found
DELETE /projects/{projectIdentifier}/prompt-answers/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Bearer authentication with JWT
falseOK
Unauthorized
Forbidden
GET /projects/{projectIdentifier}/flow-document-collections/{flowDocumentCollectionObjectIdentifier}/prompt-answers HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"booleanAnswer": true,
"textAnswer": "text",
"decimalAnswer": 1,
"dateAnswer": "2026-01-01T00:00:00.000Z",
"assignedTo": "text",
"reviewedBy": "text",
"approved": true,
"dateAdded": "2026-01-01T00:00:00.000Z",
"assignedToMember": {
"id": "text",
"name": "text",
"email": "text"
},
"reviewedByMember": {
"id": "text",
"name": "text",
"email": "text"
},
"hasChildren": true,
"approvedPromptCount": 1,
"rejectedPromptCount": 1,
"awaitingVerificationCount": 1,
"prompt": {
"dateAdded": "2026-01-01T00:00:00.000Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"stableObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"label": "text",
"description": "text",
"promptDataType": "boolean",
"conditionOperator": "and",
"categories": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"colour": "primary"
}
],
"minimumValue": 1,
"maximumValue": 1,
"found": true,
"hasChildren": true,
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"runStatus": "pending",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"promptDataType": "boolean",
"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",
"promptDataType": "boolean",
"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]"
}
]
},
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"reasoningEffort": "none",
"canEdit": true,
"includeDocuments": true,
"conditions": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"promptPredicate": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"label": "text",
"promptDataType": "boolean"
},
"isYes": true,
"fuzzyMatch": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"textAnswer": "text",
"allCategoriesMatch": true,
"decimalAnswer": 1,
"decimalOperator": "equal",
"dateOperator": "equal",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"dateAnswer": "2026-01-01T00:00:00.000Z",
"categories": [
{
"category": "text"
}
]
}
],
"resourceOwnerId": "text",
"resourceOwner": {
"name": "text",
"id": "text",
"email": "text",
"picture": "text",
"roles": [
{
"id": "text",
"name": "text"
}
]
}
},
"promptAnswerCategories": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"category": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"colour": 1
},
"name": "text",
"colour": 1,
"evidence": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"text": "text",
"polygonPoints": [
1
],
"pageNumber": 1,
"quoteOnly": true,
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
]
}
],
"evidence": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"text": "text",
"polygonPoints": [
1
],
"pageNumber": 1,
"quoteOnly": true,
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
]
}
]Bearer authentication with JWT
OK
Bad Request
Unauthorized
Forbidden
Not Found
PATCH /projects/{projectIdentifier}/prompt-answers/{objectIdentifier}/status HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"status": true,
"resourceOwner": "text"
}{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"booleanAnswer": true,
"textAnswer": "text",
"decimalAnswer": 1,
"dateAnswer": "2026-01-01T00:00:00.000Z",
"assignedTo": "text",
"reviewedBy": "text",
"approved": true,
"dateAdded": "2026-01-01T00:00:00.000Z",
"assignedToMember": {
"id": "text",
"name": "text",
"email": "text"
},
"reviewedByMember": {
"id": "text",
"name": "text",
"email": "text"
},
"hasChildren": true,
"approvedPromptCount": 1,
"rejectedPromptCount": 1,
"awaitingVerificationCount": 1,
"prompt": {
"dateAdded": "2026-01-01T00:00:00.000Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"stableObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"label": "text",
"description": "text",
"promptDataType": "boolean",
"conditionOperator": "and",
"categories": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"colour": "primary"
}
],
"minimumValue": 1,
"maximumValue": 1,
"found": true,
"hasChildren": true,
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"runStatus": "pending",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"promptDataType": "boolean",
"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",
"promptDataType": "boolean",
"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]"
]
}
]
},
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"reasoningEffort": "none",
"canEdit": true,
"includeDocuments": true,
"conditions": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"promptPredicate": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"label": "text",
"promptDataType": "boolean"
},
"isYes": true,
"fuzzyMatch": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"textAnswer": "text",
"allCategoriesMatch": true,
"decimalAnswer": 1,
"decimalOperator": "equal",
"dateOperator": "equal",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"dateAnswer": "2026-01-01T00:00:00.000Z",
"categories": [
{
"category": "text"
}
]
}
],
"resourceOwnerId": "text",
"resourceOwner": {
"name": "text",
"id": "text",
"email": "text",
"picture": "text",
"roles": [
{
"id": "text",
"name": "text"
}
]
}
},
"promptAnswerCategories": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"category": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"colour": 1
},
"name": "text",
"colour": 1,
"evidence": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"text": "text",
"polygonPoints": [
1
],
"pageNumber": 1,
"quoteOnly": true,
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
]
}
],
"evidence": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"text": "text",
"polygonPoints": [
1
],
"pageNumber": 1,
"quoteOnly": true,
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
]
}Bearer authentication with JWT
Created
Unauthorized
Forbidden
Not Found
POST /projects/{projectIdentifier}/prompt-answers/{objectIdentifier}/evidence HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"text": "text",
"quoteOnly": true
}{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"text": "text",
"polygonPoints": [
1
],
"pageNumber": 1,
"quoteOnly": true,
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}Bearer authentication with JWT
OK
Unauthorized
Forbidden
Not Found
PUT /projects/{projectIdentifier}/prompt-answers/{objectIdentifier}/evidence/{evidenceObjectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"text": "text",
"quoteOnly": true
}{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"text": "text",
"polygonPoints": [
1
],
"pageNumber": 1,
"quoteOnly": true,
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}Bearer authentication with JWT
No Content
No content
Unauthorized
Forbidden
Not Found
DELETE /projects/{projectIdentifier}/prompt-answers/{objectIdentifier}/evidence/{evidenceObjectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Bearer authentication with JWT
OK
Bad Request
Unauthorized
Forbidden
Not Found
PATCH /projects/{projectIdentifier}/prompt-answers/{objectIdentifier}/assigned-to HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"assignedTo": "text"
}{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"booleanAnswer": true,
"textAnswer": "text",
"decimalAnswer": 1,
"dateAnswer": "2026-01-01T00:00:00.000Z",
"assignedTo": "text",
"reviewedBy": "text",
"approved": true,
"dateAdded": "2026-01-01T00:00:00.000Z",
"assignedToMember": {
"id": "text",
"name": "text",
"email": "text"
},
"reviewedByMember": {
"id": "text",
"name": "text",
"email": "text"
},
"hasChildren": true,
"approvedPromptCount": 1,
"rejectedPromptCount": 1,
"awaitingVerificationCount": 1,
"prompt": {
"dateAdded": "2026-01-01T00:00:00.000Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"stableObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"label": "text",
"description": "text",
"promptDataType": "boolean",
"conditionOperator": "and",
"categories": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"colour": "primary"
}
],
"minimumValue": 1,
"maximumValue": 1,
"found": true,
"hasChildren": true,
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"runStatus": "pending",
"question": "text",
"questionJson": {
"type": "text",
"content": [
{
"type": "text",
"text": "text",
"attrs": {
"id": "text",
"label": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"promptDataType": "boolean",
"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",
"promptDataType": "boolean",
"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]"
]
}
]
},
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"reasoningEffort": "none",
"canEdit": true,
"includeDocuments": true,
"conditions": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"promptPredicate": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"label": "text",
"promptDataType": "boolean"
},
"isYes": true,
"fuzzyMatch": true,
"minimumDecimalAnswer": 1,
"maximumDecimalAnswer": 1,
"textAnswer": "text",
"allCategoriesMatch": true,
"decimalAnswer": 1,
"decimalOperator": "equal",
"dateOperator": "equal",
"startDate": "2026-01-01T00:00:00.000Z",
"endDate": "2026-01-01T00:00:00.000Z",
"dateAnswer": "2026-01-01T00:00:00.000Z",
"categories": [
{
"category": "text"
}
]
}
],
"resourceOwnerId": "text",
"resourceOwner": {
"name": "text",
"id": "text",
"email": "text",
"picture": "text",
"roles": [
{
"id": "text",
"name": "text"
}
]
}
},
"promptAnswerCategories": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"category": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"colour": 1
},
"name": "text",
"colour": 1,
"evidence": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"text": "text",
"polygonPoints": [
1
],
"pageNumber": 1,
"quoteOnly": true,
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
]
}
],
"evidence": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"text": "text",
"polygonPoints": [
1
],
"pageNumber": 1,
"quoteOnly": true,
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
]
}Bearer authentication with JWT
OK
Unauthorized
Forbidden
Not Found
POST /projects/{projectIdentifier}/prompt-answers/{objectIdentifier}/categories HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 40
[
"123e4567-e89b-12d3-a456-426614174000"
][
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"category": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"colour": 1
},
"name": "text",
"colour": 1,
"evidence": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"text": "text",
"polygonPoints": [
1
],
"pageNumber": 1,
"quoteOnly": true,
"paragraphObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
]
}
]Bearer authentication with JWT
No Content
No content
Unauthorized
Forbidden
Not Found
DELETE /projects/{projectIdentifier}/prompt-answers/{objectIdentifier}/categories/{promptAnswerCategoryObjectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
