Skip to content

AiProvider

Represents a configured AI provider (e.g., Cloudflare AI, Google Gemini).

createdAt: string

ISO timestamp of creation


displayName: string

Human-readable name for display


hasCredentials: boolean

Whether credentials have been configured


healthStatus: "error" | "healthy" | "unknown"

Current health status


id: string

Unique identifier (ULID)


isActive: boolean

Whether this provider is currently active


lastHealthCheck: string | null

ISO timestamp of last health check


provider: "cloudflare" | "gemini"

Provider type identifier


updatedAt: string

ISO timestamp of last update