Models

Create a model object.

post/v2/{entity}/{project}/models

Request

  • Base URL
    https://trace.wandb.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://trace.wandb.ai/v2/{entity}/{project}/models
  • Auth
    none declared

Path parameters

entitystring required
projectstring required

Request body

namestring required

The name of this model. Models with the same name will be versioned together.

descriptionstring nullable

A description of this model

source_codestring required

Complete source code for the Model class including imports

attributesobject nullable

Additional attributes to be stored with the model

Response

Successful Response

digeststring required

The digest of the created model

object_idstring required

The ID of the created model

version_indexinteger required

The version index of the created model

model_refstring required

Full reference to the created model

Changes

    • info

      the endpoint scheme security HTTPBasic was removed from the API

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      endpoint added