Skip to content

PromptScript API


Interface: ModelProfile

Defined in: core/src/types/models.ts:67

A model profile in the resolved catalog.

Properties

aliases

readonly aliases: readonly string[]

Defined in: core/src/types/models.ts:81

Additional names that resolve to this profile


apiId

readonly apiId: string

Defined in: core/src/types/models.ts:79

Provider API model identifier, the pinned snapshot when one exists


displayName

readonly displayName: string

Defined in: core/src/types/models.ts:77

Human-readable name (e.g. 'Claude Opus 5.5')


family

readonly family: string

Defined in: core/src/types/models.ts:73

Family grouping the versions of one model line (e.g. 'claude-opus')


id

readonly id: string

Defined in: core/src/types/models.ts:69

Profile id, the provider's canonical model name (e.g. 'claude-opus-5-5')


provider

readonly provider: string

Defined in: core/src/types/models.ts:71

Model provider (e.g. 'anthropic', 'openai', 'google', 'xai')


releaseDate?

readonly optional releaseDate?: string

Defined in: core/src/types/models.ts:87

Release date in YYYY-MM-DD format


retirementDate?

readonly optional retirementDate?: string

Defined in: core/src/types/models.ts:89

Date the provider stops (or stopped) serving the model, in YYYY-MM-DD format


status

readonly status: ModelStatus

Defined in: core/src/types/models.ts:83

Lifecycle status


successor?

readonly optional successor?: string

Defined in: core/src/types/models.ts:85

Profile id of the recommended replacement


targets

readonly targets: Readonly\<Record\<string, string>>

Defined in: core/src/types/models.ts:91

Native model names per target, overriding the target naming scheme


version

readonly version: string

Defined in: core/src/types/models.ts:75

Version inside the family (e.g. '5.5')