Skip to content

AI models

Generated from the gateway schema. Do not edit.

Queries

aiModel

query { aiModel(name: String!): AiModel }

Requires: an authenticated member of the tenant

Argument Type Description
name String!

Returns: AiModel

aiModelCatalog

query { aiModelCatalog(search: String): [AiModelCatalogEntry!]! }

Requires: an authenticated member of the tenant

Argument Type Description
search String

Returns: [AiModelCatalogEntry!]!

aiModels

query { aiModels(list: List): AiModelListResult! }

Requires: an authenticated member of the tenant

Argument Type Description
list List

Returns: AiModelListResult!

aiTokenUsage

query { aiTokenUsage(month: String): AiTokenUsage! }

Requires: an authenticated member of the tenant

Argument Type Description
month String

Returns: AiTokenUsage!

Mutations

deleteAiModel

mutation { deleteAiModel(name: String!): Boolean! }

Requires: platform ADMIN

Argument Type Description
name String!

Returns: Boolean!

pullAiModel

mutation { pullAiModel(input: PullAiModelInput!): PullAiModelResult! }

Requires: tenant EDITOR

Argument Type Description
input PullAiModelInput!

Returns: PullAiModelResult!