Flow Chats
Returns a paged, searchable and sortable list of the chats belonging to the specified flow.
Bearer authentication with JWT
trueOK
Bad Request
Forbidden
GET /projects/{projectIdentifier}/flows/{flowIdentifier}/chats HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"documents": [
{
"name": "text",
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"isDirectory": true,
"documentUploadObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"contentType": "text",
"size": 1,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"dateAdded": "2026-01-01T00:00:00.000Z",
"uploadSuccessful": true,
"tokenCount": 1,
"metadataTokenCount": 1,
"indexingNotPossible": true,
"unsupportedFileType": true,
"unPackingComplete": true,
"unPackingFailed": true,
"uploadInProgress": true,
"url": "text",
"hasChildren": true,
"isSystemFolder": true,
"extension": "text",
"convertedToPdf": true,
"fileType": "unknown",
"uploadFailedReason": "outOfMemory",
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
},
"progress": 1,
"path": "text",
"parent": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"isDirectory": true
},
"ocrStrategy": "never",
"ocrEngine": "azureDocumentIntelligence",
"coordinateExtractionStrategy": "never",
"documentUploadSource": "local",
"pageCount": 1,
"ocrCreditsCost": 1,
"layoutCreditsCost": 1,
"metadata": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"key": "text",
"value": "text"
}
]
}
],
"dateAdded": "2026-01-01T00:00:00.000Z",
"documentMetadata": [
{
"paragraphs": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"content": "text",
"boundingRegions": [
{
"points": [
1
],
"page": 1
}
],
"role": "title"
}
],
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentType": "standard",
"comparedDocumentObjectIdentifiers": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
],
"estimatedTokenCount": 1,
"lastContextTokens": 1,
"lastContextModelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"compactionEnabled": true,
"assistantMessageCount": 1,
"userMessageCount": 1,
"totalCount": 1,
"credits": 1,
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}
]Creates a new chat conversation bound to the specified flow, optionally attaching documents to use as context.
Bearer authentication with JWT
OK
Bad Request
Forbidden
POST /projects/{projectIdentifier}/flows/{flowIdentifier}/chats HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"name": "text",
"description": "text",
"documentObjectIdentifiers": [
"123e4567-e89b-12d3-a456-426614174000"
]
}{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"documents": [
{
"name": "text",
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"isDirectory": true,
"documentUploadObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"contentType": "text",
"size": 1,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"dateAdded": "2026-01-01T00:00:00.000Z",
"uploadSuccessful": true,
"tokenCount": 1,
"metadataTokenCount": 1,
"indexingNotPossible": true,
"unsupportedFileType": true,
"unPackingComplete": true,
"unPackingFailed": true,
"uploadInProgress": true,
"url": "text",
"hasChildren": true,
"isSystemFolder": true,
"extension": "text",
"convertedToPdf": true,
"fileType": "unknown",
"uploadFailedReason": "outOfMemory",
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
},
"progress": 1,
"path": "text",
"parent": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"isDirectory": true
},
"ocrStrategy": "never",
"ocrEngine": "azureDocumentIntelligence",
"coordinateExtractionStrategy": "never",
"documentUploadSource": "local",
"pageCount": 1,
"ocrCreditsCost": 1,
"layoutCreditsCost": 1,
"metadata": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"key": "text",
"value": "text"
}
]
}
],
"dateAdded": "2026-01-01T00:00:00.000Z",
"documentMetadata": [
{
"paragraphs": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"content": "text",
"boundingRegions": [
{
"points": [
1
],
"page": 1
}
],
"role": "title"
}
],
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentType": "standard",
"comparedDocumentObjectIdentifiers": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
],
"estimatedTokenCount": 1,
"lastContextTokens": 1,
"lastContextModelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"compactionEnabled": true,
"assistantMessageCount": 1,
"userMessageCount": 1,
"totalCount": 1,
"credits": 1,
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}Retrieves a single chat belonging to the flow by its object identifier.
Bearer authentication with JWT
OK
Forbidden
Not Found
GET /projects/{projectIdentifier}/flows/{flowIdentifier}/chats/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"documents": [
{
"name": "text",
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"isDirectory": true,
"documentUploadObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"contentType": "text",
"size": 1,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"dateAdded": "2026-01-01T00:00:00.000Z",
"uploadSuccessful": true,
"tokenCount": 1,
"metadataTokenCount": 1,
"indexingNotPossible": true,
"unsupportedFileType": true,
"unPackingComplete": true,
"unPackingFailed": true,
"uploadInProgress": true,
"url": "text",
"hasChildren": true,
"isSystemFolder": true,
"extension": "text",
"convertedToPdf": true,
"fileType": "unknown",
"uploadFailedReason": "outOfMemory",
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
},
"progress": 1,
"path": "text",
"parent": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"isDirectory": true
},
"ocrStrategy": "never",
"ocrEngine": "azureDocumentIntelligence",
"coordinateExtractionStrategy": "never",
"documentUploadSource": "local",
"pageCount": 1,
"ocrCreditsCost": 1,
"layoutCreditsCost": 1,
"metadata": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"key": "text",
"value": "text"
}
]
}
],
"dateAdded": "2026-01-01T00:00:00.000Z",
"documentMetadata": [
{
"paragraphs": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"content": "text",
"boundingRegions": [
{
"points": [
1
],
"page": 1
}
],
"role": "title"
}
],
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentType": "standard",
"comparedDocumentObjectIdentifiers": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
],
"estimatedTokenCount": 1,
"lastContextTokens": 1,
"lastContextModelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"compactionEnabled": true,
"assistantMessageCount": 1,
"userMessageCount": 1,
"totalCount": 1,
"credits": 1,
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}Updates a flow chat's settings, such as its name, auto-rename behaviour, or the model it uses.
Bearer authentication with JWT
OK
Bad Request
Forbidden
Not Found
PUT /projects/{projectIdentifier}/flows/{flowIdentifier}/chats/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 111
{
"name": "text",
"description": "text",
"autoRename": true,
"modelIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"documents": [
{
"name": "text",
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"isDirectory": true,
"documentUploadObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"contentType": "text",
"size": 1,
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"dateAdded": "2026-01-01T00:00:00.000Z",
"uploadSuccessful": true,
"tokenCount": 1,
"metadataTokenCount": 1,
"indexingNotPossible": true,
"unsupportedFileType": true,
"unPackingComplete": true,
"unPackingFailed": true,
"uploadInProgress": true,
"url": "text",
"hasChildren": true,
"isSystemFolder": true,
"extension": "text",
"convertedToPdf": true,
"fileType": "unknown",
"uploadFailedReason": "outOfMemory",
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
},
"progress": 1,
"path": "text",
"parent": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"isDirectory": true
},
"ocrStrategy": "never",
"ocrEngine": "azureDocumentIntelligence",
"coordinateExtractionStrategy": "never",
"documentUploadSource": "local",
"pageCount": 1,
"ocrCreditsCost": 1,
"layoutCreditsCost": 1,
"metadata": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"key": "text",
"value": "text"
}
]
}
],
"dateAdded": "2026-01-01T00:00:00.000Z",
"documentMetadata": [
{
"paragraphs": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"content": "text",
"boundingRegions": [
{
"points": [
1
],
"page": 1
}
],
"role": "title"
}
],
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentType": "standard",
"comparedDocumentObjectIdentifiers": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
],
"estimatedTokenCount": 1,
"lastContextTokens": 1,
"lastContextModelIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"compactionEnabled": true,
"assistantMessageCount": 1,
"userMessageCount": 1,
"totalCount": 1,
"credits": 1,
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}Permanently deletes a chat from the flow. Requires container administrator rights.
Bearer authentication with JWT
No Content
No content
Forbidden
Not Found
DELETE /projects/{projectIdentifier}/flows/{flowIdentifier}/chats/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Returns the combined token count of the supplied documents, useful for estimating context window usage before attaching them to a chat.
Bearer authentication with JWT
OK
Bad Request
Forbidden
POST /projects/{projectIdentifier}/flows/{flowIdentifier}/chats/query-token-length HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}1Downloads a file generated by a tool during a flow chat session.
Bearer authentication with JWT
OK
Forbidden
Not Found
GET /projects/{projectIdentifier}/flows/{flowIdentifier}/chats/{objectIdentifier}/session-files/{sessionFileIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryLast updated
