Skip to main content
GET
Get family

Authorizations

Authorization
string
header
required

Create an API key in the console. Required when accounts are enabled.

Path Parameters

family
string
required

Response

Successful Response

id
string
required
object
string
required
Allowed value: "family"
switched_on
boolean
required

Whether calls to its name are answered.

used_at
number
required

Its idle clock: the latest of its last production call by an API key that named it, its last evaluation that named it, and when it was switched on.

switches_off_at
number | null
required

When idling switches it off unless it's used. Null while it is off or kept warm on its own switch, and when idling never switches anything off. A family's is also null while it serves no model.

off_reason
enum<string> | null
required

Why it is off: owner when it was switched off by hand, idle when nothing used it for too long. Null otherwise.

Available options:
owner,
idle
off_at
number | null
required

When it went off, with off_reason. Null otherwise.

dataset_id
string | null
required

The dataset it grows on.

origin
string | null
required

Where it started: a base model, or one of your models.

created_at
number
required

When it was named, as its first fine-tune was queued.

served
ModelVersion · object | null
required

The model calls to its name get while it is switched on, or null for none yet.

latest
ModelVersion · object | null
required

Its newest model, neither deleted nor discarded.

models
(ModelVersion · object | DeletedModelVersion · object)[]
required

Every model of its line, oldest first. A deleted one shows only where it stood.

keep_warm
boolean
required
keep_warm_window
KeepWarmWindow · object | null
required

The hour of keep warm being billed for the model the family serves, while the family is kept warm. Null otherwise: a model kept warm on its own shows its own hour.

keep_warm_stopped_at
number | null
required

When keep warm switched off because the next hour couldn't be reserved, while it stays off. Otherwise null.

move
FamilyMove · object | null
required

The move to its latest model it waits to make, and what it waits for. Null while it serves its latest model, or is switched off.

moved
FamilyMoved · object | null
required

When it last moved by itself to the model it serves, and from which. Null when it never did, or serves another model or was rolled back since.

continue
Continuation · object | null

What continuing it would do now, from the family's dataset and jobs. It doesn't check credit, storage allowance or queue room, which the start refuses with insufficient_credit, storage_allowance, queue_full or tenant_queue_full. Null for a family with no dataset. A list of families reads no dataset: there new_data and retry only say a version no finished job used is waiting, and the counts and fee are null. The answers of a switch, keep warm or rollback leave it out.

jobs
FamilyJob · object[]

Its fine-tunes, newest first, with how each ended. Lists of families, and the answers of a switch, keep warm or rollback, leave it out.