Skip to main content
GET
/
api
/
v1
/
data-export
/
models
JavaScript
import Stigg from '@stigg/typescript';

const client = new Stigg({
  apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted
});

const response = await client.v1.events.dataExport.listModels();

console.log(response.data);
{
  "data": {
    "groups": [
      {
        "id": "customer_data",
        "displayName": "Customer Data",
        "models": [
          {
            "id": "customers",
            "displayName": "Customer"
          }
        ]
      },
      {
        "id": "product_catalog",
        "displayName": "Product Catalog",
        "models": [
          {
            "id": "plans",
            "displayName": "Plan"
          }
        ]
      }
    ]
  }
}

Authorizations

X-API-KEY
string
header
required

Server API Key

Headers

X-ACCOUNT-ID
string

Account ID — optional when authenticating with a user JWT (Bearer token); falls back to the user's first membership. Ignored for API-key auth.

X-ENVIRONMENT-ID
string

Environment ID — required when authenticating with a user JWT (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the key).

Response

Grouped list of data-export models (id + display name).

Response object

data
DataExportModelCatalog · object
required

Grouped catalog of every data-export model a destination can opt into.