Models

Gets all models available to the organization.

get

Retrieves all models available to the organization, optionally filtered by type and disabled status.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Query parameters
modelTypeinteger · enumOptional

The type of model to filter by.

Possible values:
includeDisabledbooleanOptional

Whether to include disabled models.

Default: false
Responses
200

OK

get
/models
GET /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
  }
]

Gets a model by its object identifier if authorized for the organization.

get

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

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
}

Gets models by a list of object identifiers if authorized for the organization.

get

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

get
/models/get-by-identifiers
GET /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
  }
]

Gets the price for token usage for a specific model if authorized for the organization.

get

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
get
/models/pricing
GET /models/pricing HTTP/1.1
Host: settings.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
1

Last updated