Models
Retrieves all models available to the organization, optionally filtered by type and disabled status.
Authorizations
AuthorizationstringRequired
Bearer authentication with JWT
Query parameters
modelTypeinteger · enumOptionalPossible values:
The type of model to filter by.
includeDisabledbooleanOptionalDefault:
Whether to include disabled models.
falseResponses
200
OK
403
Forbidden
get
/modelsGET /models HTTP/1.1
Host: settings.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"name": "text",
"description": "text",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"payoutPercentage": 1,
"maxOutputToken": 1,
"contextLength": 1
}
]Retrieves a model by its object identifier if authorized for the organization.
Authorizations
AuthorizationstringRequired
Bearer authentication with JWT
Path parameters
objectIdentifierstring · uuidRequired
The object identifier of the model.
Responses
200
OK
403
Forbidden
404
Not Found
get
/models/{objectIdentifier}GET /models/{objectIdentifier} HTTP/1.1
Host: settings.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"name": "text",
"description": "text",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"payoutPercentage": 1,
"maxOutputToken": 1,
"contextLength": 1
}Retrieves models by a list of object identifiers if authorized for the organization.
Authorizations
AuthorizationstringRequired
Bearer authentication with JWT
Query parameters
modelIdentifiersstring · uuid[]Optional
The collection of model object identifiers.
Responses
200
OK
403
Forbidden
get
/models/get-by-identifiersGET /models/get-by-identifiers HTTP/1.1
Host: settings.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"name": "text",
"description": "text",
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"payoutPercentage": 1,
"maxOutputToken": 1,
"contextLength": 1
}
]Retrieves the price for token usage for a specific model if authorized for the organization.
Authorizations
AuthorizationstringRequired
Bearer authentication with JWT
Query parameters
modelIdentifierstring · uuidOptional
The object identifier of the model.
tokenUsageinteger · int32Optional
The number of tokens used.
Responses
200
OK
Responsenumber · double
403
Forbidden
get
/models/pricingGET /models/pricing HTTP/1.1
Host: settings.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
1Last updated