Skip to main content
PATCH
/
models
/
{model_id}
Update Model Metadata
curl --request PATCH \
  --url https://api.woodwide.ai/models/{model_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>"
}
'
{
  "model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "model_type": "prediction",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "status": "queued",
  "current_metrics": {},
  "current_version": {
    "version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "version": 123,
    "status": "queued",
    "metrics": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.woodwide.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

model_id
string<uuid>
required

Body

application/json

Request to update model metadata.

name
string
description
string | null

Response

Successful Response

Model response model.

model_id
string<uuid>
required
name
string
required
model_type
enum<string>
required

Canonical model types supported by the platform.

  • prediction -- Supervised prediction (classification or regression) on a target column.
  • anomaly -- Unsupervised anomaly detection. Returns anomaly scores and anomalous row IDs.
  • embedding -- Generate dense vector embeddings for each row.
  • clustering -- Unsupervised clustering. Returns cluster labels and descriptions.
  • factors -- Factor analysis / dimensionality reduction.
  • search -- Semantic nearest-neighbor search over the training dataset.
Available options:
prediction,
anomaly,
embedding,
clustering,
factors,
search
created_at
string<date-time>
required
updated_at
string<date-time>
required
description
string | null
status
enum<string>
default:queued
Available options:
queued,
training,
ready,
failed
current_metrics
Current Metrics · object

Validation metrics from the current (latest) version, promoted for convenience. Keys depend on model type: prediction (classification): accuracy (0–1). prediction (regression): r2 (R-squared). clustering: n_clusters, silhouette_score (−1 to 1). Other model types do not produce metrics.

current_version
CurrentVersion · object

Current version summary embedded in the Model response.