Update an endpoint

PATCH

Updates an endpoint

Path parameters

endpoint_namestringRequired

The endpoint to retrieve

Request

This endpoint expects an object.
min_replicasintegerOptional

Minimum number of replicas

max_replicasintegerOptional

Maximum number of replicas

scale_to_zerointegerOptional

Time to scale to zero (in seconds)

display_namestringOptionalDefaults to

User-friendly name of the endpoint (e.g. Stable Diffusion 2.1)

descriptionstringOptionalDefaults to

Description of the endpoint

image_urlstringOptional

URL of the docker image

registry_credentialstringOptional

The key of a registry credential used to authenticate to a private registry

health_check_pathstringOptional

URL path of a health check endpoint

visibility"private" or "public"Optional
Allowed values: privatepublic

Visibility of the endpoint

endpoint_state"active" or "disabled"Optional
Allowed values: activedisabled

State of a endpoint

env_overridesmap from strings to anyOptional

JSON object with environment variable overrides

instance_typestringOptional

Endpoint to query against

container_secretslist of stringsOptional

A list of container secrets to inject as environment variables

concurrency_per_replicaintegerOptional

The maximum concurrency per replica

Response

This endpoint returns an object.
namestring

Name of the endpoint

portinteger

Port number of the endpoint

replicaslist of objects

Active replicas for the endpoint

auto_volume_experimentalbooleanOptional

EXPERIMENTAL: autogenerate a volume for the endpoint

concurrency_per_replicaintegerOptional

The maximum concurrency per replica

container_secretslist of stringsOptional

A list of container secrets to inject as environment variables

descriptionstringOptionalDefaults to

Description of the endpoint

display_namestringOptionalDefaults to

User-friendly name of the endpoint (e.g. Stable Diffusion 2.1)

endpointstringOptional

Endpoint to query against

endpoint_state"active" or "disabled"Optional
Allowed values: activedisabled

State of a endpoint

env_overridesmap from strings to anyOptional

JSON object with environment variable overrides

health_check_pathstringOptional

URL path of a health check endpoint

image_urlstringOptional

URL of the docker image

instance_typestringOptional

Endpoint to query against

max_replicasintegerOptional

Maximum number of replicas

min_replicasintegerOptional

Minimum number of replicas

registry_credentialstringOptional

The key of a registry credential used to authenticate to a private registry

scale_to_zerointegerOptional

Time to scale to zero (in seconds)

visibility"private" or "public"Optional
Allowed values: privatepublic

Visibility of the endpoint

volumes_experimentallist of objectsOptional

EXPERIMENTAL: volumes to be used by this container