/v1/api/{apiId}/data-model/{itemId}

GET <baseUrl>/v1/api/{apiId}/data-model/{itemId}

GET Get Data Model by ID

Retrieve a specific data model item by its unique identifier.

Responses

200 Data model retrieved successfully.

OPTIONS Options for data model by ID

Responses

200 Options successful. Returns allowed HTTP methods.

POST Update Data Model by ID

Update an existing data model item by its unique identifier.

Request Body

Required
application/json
Schema: DataModel
userModel - User data model
{
  "fields": [
    {
      "name": "id",
      "type": "integer"
    },
    {
      "name": "email",
      "type": "string"
    }
  ],
  "name": "User"
}

Responses

200 Data model updated successfully.

Security

  • apiKeyAuth [apiKey]
    API Key authentication. Use the X-API-KEY header (generated from the Vaktum portal) to authenticate directly to a workspace.
    In: header
    Name: X-API-KEY
  • bearerAuth [http]
    OAuth2 authentication. Use the Authorization header with a Bearer token. Also provide X-WORKSPACE-ID header for workspace context.
    Scheme: bearer
    Bearer Format: JWT