Skip to main content
PATCH
Rename model

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

modelId
string<uuid>
required

ID of the model to rename.

Body

application/json
name
string
required

The new name for the model.

Example:

"customer_metrics_v2"

Response

Model renamed successfully

id
string<uuid>

ID of the model.

baseModelId
string<uuid> | null

ID of the base model, if applicable.

connectionId
string<uuid> | null

ID of the connection the model is based on.

modelKind
string | null

The type of model.

name
string | null

The name of the model.

createdAt
string<date-time>

The time the model was created.

updatedAt
string<date-time>

The time the model was last updated.

deletedAt
string<date-time> | null

The time the model was deleted, if applicable.