Skip to main content

Product Types API

Configure product type definitions for the data catalog.

Endpoints Overview

MethodEndpointDescription
GET/product-typesList product types
POST/product-typesCreate product type
GET/product-types/{id}Get product type
PATCH/product-types/{id}Update product type
DELETE/product-types/{id}Delete product type

Default Product Types

TypeIconDescription
table📊Database table
view👁️Database view
dashboard📈BI dashboard
api🔌API endpoint
report📄Static report
dataset📦Data file/dataset
model🤖ML model

List Product Types

GET /product-types

Response

[
{
"id": "...",
"name": "Table",
"slug": "table",
"icon": "table",
"color": "#4F46E5",
"is_system": true,
"created_at": "2025-01-01T00:00:00Z"
}
]

Create Product Type

POST /product-types
{
"name": "Notebook",
"slug": "notebook",
"icon": "notebook",
"color": "#F59E0B"
}

Update Product Type

PATCH /product-types/{product_type_id}
{
"color": "#10B981"
}