Dedicated.Endpoint

Create endpoint from W&B artifact

Create an endpoint from Weights & Biases artifact. If the idempotency key is provided, the API will check if the endpoint already exists, and rollout the existing endpoint if it does. In such cases, the project id must be provided.

post/dedicated/endpoint/wandb-artifact-create

Request

Headers

X-Friendli-Teamstring nullable

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

Request body

wandbArtifactVersionNamestring 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.

namestring nullable

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

projectIdstring nullable

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

idempotencyKeystring nullable

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.

Example request

{
  "wandbArtifactVersionName": "org/registry/name:v0"
}

Response

Successfully created the endpoint from W&B artifact.

endpointIdstring required

The ID of the created endpoint.

endpointNamestring required

The name of the created endpoint.

projectIdstring required

The ID of the project where the endpoint was created.

projectNamestring required

The name of the project where the endpoint was created.

teamIdstring required

The ID of the team where the endpoint was created.

teamNamestring nullable required

The name of the team where the endpoint was created.

Changes

No recorded changes to this operation across all 1 revision of this API.