Project Analytics
Retrieves the most expensive projects by credits spent.
Bearer authentication with JWT
The page number to retrieve.
Whether to return only the top 5 projects.
OK
Forbidden
GET /projects/analytics/expensive-projects HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"name": "text",
"description": "text",
"dateAdded": "2025-12-06T04:05:46.360Z",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"metadataValues": [
{
"isYes": true,
"text": "text",
"decimalValue": 1,
"date": "2025-12-06T04:05:46.360Z",
"categories": [
"123e4567-e89b-12d3-a456-426614174000"
],
"singleCategoryIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"metadata": {
"name": "text",
"description": "text",
"dataType": "text",
"isRequired": true,
"options": [
{
"name": "text",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
],
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
}
],
"resourceOwner": {
"email": "text",
"name": "text",
"id": "text"
},
"credits": 1
}
]Retrieves a breakdown of credits for all projects.
Bearer authentication with JWT
The page number to retrieve.
Optional search term to filter projects.
The sorting option for the results.
Optional model identifier to filter by model.
OK
Forbidden
GET /projects/analytics/credit-breakdown HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Retrieves a breakdown of credits for a specific project.
Bearer authentication with JWT
The unique identifier of the project.
OK
Forbidden
Not Found
GET /projects/{projectIdentifier}/analytics/credit-breakdown HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"projectName": "text",
"allAssitants": {
"credits": 1,
"jobs": 1
},
"flowCredits": 1,
"flowJobs": 1,
"credits": 1,
"publicProjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"totalCredits": 1,
"totalJobs": 1,
"deleted": "2025-12-06T04:05:46.360Z"
}Retrieves the cost breakdown grouped by model for the specified projects after a given date.
Bearer authentication with JWT
The date after which to group costs.
Optional list of project identifiers to filter.
Whether to return only the top 5 models.
OK
Forbidden
GET /projects/analytics/cost-by-model HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"label": "text",
"value": 1,
"color": "text"
}
]Retrieves the cost breakdown grouped by model for a specific project after a given date.
Bearer authentication with JWT
The unique identifier of the project.
The date after which to group costs.
OK
Forbidden
Not Found
GET /projects/{objectIdentifier}/analytics/cost-by-model HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"label": "text",
"value": 1,
"color": "text"
}
]Retrieves the cost breakdown grouped by resource type for the specified projects after a given date.
Retrieves the cost breakdown grouped by resource type for the specified projects after a given date.
Bearer authentication with JWT
The date after which to group costs.
Optional list of project identifiers to filter.
Optional model identifier to filter by model.
OK
Forbidden
GET /projects/analytics/cost-by-type HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"asssitant": 1,
"overall": 1,
"flow": 1
}Retrieves the cost breakdown grouped by day for the specified projects after a given date.
Bearer authentication with JWT
The date after which to group costs.
Optional list of project identifiers to filter.
OK
Forbidden
GET /projects/analytics/cost-by-day HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"date": "text",
"overall": 1,
"assistant": 1,
"flow": 1
}
]Retrieves the cost breakdown grouped by day for a specific project after a given date.
Bearer authentication with JWT
The unique identifier of the project.
The date after which to group costs.
OK
Forbidden
Not Found
GET /projects/{objectIdentifier}/analytics/cost-by-day HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"date": "text",
"overall": 1,
"assistant": 1,
"flow": 1
}
]Retrieves the latest balance for the organization.
Bearer authentication with JWT
OK
Forbidden
GET /projects/balance/latest HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"creditsAmount": 1
}Last updated