Assistants
Returns a paged, searchable and sortable list of the assistants in the project.
Bearer authentication with JWT
trueOK
Bad Request
Forbidden
GET /projects/{projectIdentifier}/assistants 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 assistant in the project, optionally attaching documents the assistant can reference.
Bearer authentication with JWT
OK
Bad Request
Forbidden
POST /projects/{projectIdentifier}/assistants 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"
}
}Returns the full details of a single assistant identified by its object identifier.
Bearer authentication with JWT
OK
Forbidden
Not Found
GET /projects/{projectIdentifier}/assistants/{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 an assistant'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}/assistants/{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 the specified assistant. Requires container administrator rights.
Bearer authentication with JWT
No Content
No content
Forbidden
Not Found
DELETE /projects/{projectIdentifier}/assistants/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Returns the combined token length of the supplied documents so callers can check context-window limits.
Bearer authentication with JWT
OK
Bad Request
Forbidden
POST /projects/{projectIdentifier}/assistants/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"
]
}1Generates a PDF export of the assistant and returns it as a downloadable file.
Bearer authentication with JWT
OK
Forbidden
POST /projects/{projectIdentifier}/assistants/{objectIdentifier}/export HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryDownloads a file generated by a tool during a chat session.
Bearer authentication with JWT
OK
Forbidden
Not Found
GET /projects/{projectIdentifier}/assistants/{objectIdentifier}/session-files/{sessionFileIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryLast updated
