POST
/
dedicated
/
v1
/
endpoint
/
wandb-artifact-create

To successfully run an inference request, it is mandatory to enter a Friendli Token (e.g. flp_XXX) value in the Bearer Token field. Refer to the authentication section on our introduction page to learn how to acquire this variable and visit here to generate your token.

Authorizations

Authorization
string
header
required

When using Friendli Endpoints API for inference requests, you need to provide a Friendli Token for authentication and authorization purposes.

For more detailed information, please refer here.

Headers

X-Friendli-Team
string | null

ID of team to run requests as (optional parameter).

Body

application/json
wandbArtifactVersionName
string
required

The specific model artifact version from Weights & Biases. The referred artifact will be used to create a new endpoint in Friendli Dedicated Endpoints or rollout an existing one.

accelerator
object | null

Specifies the instance type for the endpoint.

autoscalingPolicy
object | null

Defines autoscaling settings for the endpoint.

idempotencyKey
string | null

Used by Friendli Dedicated Endpoints to track which webhook automation triggered an endpoint rollout. If the idempotencyKey is provided, the API will check if the endpoint already exists, and rollout the existing endpoint if it does. In such cases, the projectId must be provided. Any unique value can be used.

name
string | null

Specifies the name of your endpoint. If not provided, a name will be automatically generated for you.

projectId
string | null

Specifies where endpoint will be created in your Friendli Dedicated Endpoints. If not provided, a new project will be created within your default team.

Response

200 - application/json
endpointId
string
required

The ID of the created endpoint.

endpointName
string
required

The name of the created endpoint.

projectId
string
required

The ID of the project where the endpoint was created.

projectName
string
required

The name of the project where the endpoint was created.

teamId
string
required

The ID of the team where the endpoint was created.

teamName
string
required

The name of the team where the endpoint was created.