Interface SignageAIProvider

A stored provider row. Credentials are never returned

interface SignageAIProvider {
    allowed_models: string[];
    authority_id: null | string;
    created_at: number;
    default_model: null | string;
    enabled: boolean;
    endpoint: null | string;
    id: string;
    is_default: boolean;
    location: null | string;
    name: string;
    provider: SignageAIProviderType;
    quotas: Record<string, number>;
    updated_at: number;
}

Properties

allowed_models: string[]

Models this row may be asked for. Empty allows every model the vendor offers

authority_id: null | string

Domain the row belongs to, set by the server. null on the shared row

created_at: number

Unix epoch in seconds at which the row was created

default_model: null | string

Model used when a request does not name one

enabled: boolean

Whether the row may be used

endpoint: null | string

Vendor endpoint, for deployments that have their own

id: string

ID of the provider row

is_default: boolean

Whether the row is the default for its domain

location: null | string

Vendor region, for deployments that have one

name: string

Display name for the provider

Vendor the provider talks to

quotas: Record<string, number>

Per user and per domain image allowances

updated_at: number

Unix epoch in seconds at which the row was last changed