Assistants
Retrieves a paginated list of assistants for the specified project, optionally filtered and sorted.
Bearer authentication with JWT
The page number to retrieve.
The number of items per page.
Optional search text to filter assistants.
The sorting option for the results.
Whether to sort in descending order.
trueOK
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": "2025-12-06T03:54:31.938Z",
"uploadSuccessful": true,
"tokenCount": 1,
"metadataTokenCount": 1,
"unsupportedFileType": true,
"unPackingComplete": true,
"unPackingFailed": true,
"uploadInProgress": true,
"url": "text",
"hasChildren": true,
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}
],
"dateAdded": "2025-12-06T03:54:31.938Z",
"documentMetadata": [
{
"paragraphs": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"content": "text",
"boundingRegions": [
{
"points": [
1
],
"page": 1
}
],
"role": "Title"
}
],
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
],
"estimatedTokenCount": 1,
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}
]Creates a new assistant in the specified project.
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": "2025-12-06T03:54:31.938Z",
"uploadSuccessful": true,
"tokenCount": 1,
"metadataTokenCount": 1,
"unsupportedFileType": true,
"unPackingComplete": true,
"unPackingFailed": true,
"uploadInProgress": true,
"url": "text",
"hasChildren": true,
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}
],
"dateAdded": "2025-12-06T03:54:31.938Z",
"documentMetadata": [
{
"paragraphs": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"content": "text",
"boundingRegions": [
{
"points": [
1
],
"page": 1
}
],
"role": "Title"
}
],
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
],
"estimatedTokenCount": 1,
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}Retrieves a assistant by its object identifier.
Bearer authentication with JWT
The unique identifier of the assistant to retrieve.
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": "2025-12-06T03:54:31.938Z",
"uploadSuccessful": true,
"tokenCount": 1,
"metadataTokenCount": 1,
"unsupportedFileType": true,
"unPackingComplete": true,
"unPackingFailed": true,
"uploadInProgress": true,
"url": "text",
"hasChildren": true,
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}
],
"dateAdded": "2025-12-06T03:54:31.938Z",
"documentMetadata": [
{
"paragraphs": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"content": "text",
"boundingRegions": [
{
"points": [
1
],
"page": 1
}
],
"role": "Title"
}
],
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
],
"estimatedTokenCount": 1,
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}Updates an assistant by its object identifier.
Bearer authentication with JWT
The unique identifier of the assistant to update.
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": "2025-12-06T03:54:31.938Z",
"uploadSuccessful": true,
"tokenCount": 1,
"metadataTokenCount": 1,
"unsupportedFileType": true,
"unPackingComplete": true,
"unPackingFailed": true,
"uploadInProgress": true,
"url": "text",
"hasChildren": true,
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}
],
"dateAdded": "2025-12-06T03:54:31.938Z",
"documentMetadata": [
{
"paragraphs": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"content": "text",
"boundingRegions": [
{
"points": [
1
],
"page": 1
}
],
"role": "Title"
}
],
"documentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
],
"estimatedTokenCount": 1,
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
}
}Deletes an assistant by its object identifier.
Bearer authentication with JWT
The unique identifier of the assistant to delete.
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
Gets the total token length for the specified documents in the project.
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: 56
{
"documentIds": [
"123e4567-e89b-12d3-a456-426614174000"
]
}1Last updated