Skip to main content
Create a Frontier Gateway group. Groups own the external identifier, the model set, the rate and usage limits, and the inheritance mode. API keys are minted under groups in a separate call. For the conceptual walkthrough, see Manage groups and API keys.

Errors

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.

Body

application/json
metadata
GroupMetadataV1 · object
required

Group identity + display metadata.

models
ModelConfigV1 · object[]
required

Per-model rate and usage limit configuration. Defines the group's complete model set. Must be non-empty.

Minimum array length: 1
Example:
hierarchy
CreateGroupHierarchyV1 · object
required

Parent linkage and limit enforcement mode. Immutable after creation.

Response

200 - application/json
id
string
required

Internal Baseten ID for the group.

metadata
GroupMetadataV1 · object
required

Group identity + display metadata.

hierarchy
GroupHierarchyV1 · object
required

Parent linkage and limit enforcement mode. Parent is null for root groups.

created_at
string<date-time>
required

When this group was created.

models
ModelConfigV1 · object[]
effective_models
EffectiveModelConfigV1 · object[]