Scaleway logo
Generative APIs - Dedicated Deployment API

An endpoint is the URL where the inference model can be accessed

Endpoints can be public or private, and can be protected by an IAM authentication token.


Create an endpoint

POST
https://api.scaleway.com
/inference/v1/regions/{region}/endpoints

Create a new Endpoint related to a specific deployment.

Create an endpoint › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par

Create an endpoint › Request Body

deployment_id
​string · required

ID of the deployment to create the endpoint for. (UUID format)

​scaleway.inference.v1.EndpointSpec · required

Specification of the endpoint.

Create an endpoint › Responses

200
id
​string

Unique identifier. (UUID format)

url
​string

URL of the endpoint. For private endpoints, the URL will be accessible only from the Private Network. In addition, private endpoints will expose a CA certificate that can be used to verify the server's identity. This CA certificate can be retrieved using the GetDeploymentCertificate API call.

​

Defines whether the endpoint is public. Precisely one of public_network, private_network can be set.

​

Details of the Private Network. Precisely one of public_network, private_network can be set.

disable_auth
​boolean

Defines whether the authentication is disabled.


Update an endpoint

PATCH
https://api.scaleway.com
/inference/v1/regions/{region}/endpoints/{endpoint_id}

Update an existing Endpoint.

Update an endpoint › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
endpoint_id
​string · required

ID of the endpoint to update. (UUID format)

Update an endpoint › Request Body

disable_auth
​boolean | null

Disable the authentication on the endpoint. By default, deployments are protected by IAM authentication. When setting this field to true, the authentication will be disabled.

Update an endpoint › Responses

200
id
​string

Unique identifier. (UUID format)

url
​string

URL of the endpoint. For private endpoints, the URL will be accessible only from the Private Network. In addition, private endpoints will expose a CA certificate that can be used to verify the server's identity. This CA certificate can be retrieved using the GetDeploymentCertificate API call.

​

Defines whether the endpoint is public. Precisely one of public_network, private_network can be set.

​

Details of the Private Network. Precisely one of public_network, private_network can be set.

disable_auth
​boolean

Defines whether the authentication is disabled.


Delete an endpoint

DELETE
https://api.scaleway.com
/inference/v1/regions/{region}/endpoints/{endpoint_id}

Delete an existing Endpoint.

Delete an endpoint › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
endpoint_id
​string · required

ID of the endpoint to delete. (UUID format)

Delete an endpoint › Responses

No data returned