Skip to main content
Retrieve a single endpoint by its id, including its slug and configured targets.

Errors

Authorizations

Authorization
string
header
required

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

Path Parameters

endpoint_id
string
required

Response

200 - application/json

A Gateway endpoint: a slug and its priority-ordered targets (index 0 tried first).

id
string
required

Stable identifier for the endpoint.

slug
string
required

Globally-unique routing slug.

Example:

"baseten/mymodel-4"

region
enum<string>
required

Region this endpoint's routing serves.

Available options:
UNRESTRICTED,
EU
created_at
string<date-time>
required

Creation time, ISO 8601.

updated_at
string<date-time>
required

Last update time, ISO 8601.

targets
EndpointTargetV1 · object[]
required

The endpoint's upstream targets. Exactly one target is supported at this time.