Skip to main content
GET
cURL
A route’s metadata.cost object carries provider list prices in USD per 1M tokens, when available. For more information, see List model metadata.

Authorizations

Authorization
string
header
required

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

Path Parameters

route_id
string
required

Response

200 - application/json
id
string
required

Stable route identifier.

name
string
required

Name to send in the inference request's model field. Unique within the team; immutable.

display_name
string
required

Display label, defaulting to the route's name.

team_id
string
required

Identifier of the owning team.

team_name
string
required

Name of the owning team.

description
string
required

Short description of the route, empty when unset.

target
GridRouteTargetBasetenModelAPIV1 · object
required

Configured upstream target.

metadata
GridRouteMetadataV1 · object | null
required

Resolved model metadata; for an intelligent route, the envelope of its servable models' metadata. Null when nothing is linked or the metadata has no supported API formats.

invoke_url
string
required

Base URL for inference requests using this route.

created_at
string<date-time>
required

Creation time, ISO 8601.

aliases
GridRouteAliasV1 · object[]

The route's other names, one per purpose. Empty for routes created before aliases existed.