Skip to main content
GET
/
api
/
data-platform
/
organizations
/
{organizationId}
/
settings
Get resolved data platform settings for an organization
curl --request GET \
  --url https://app.solya.app/api/data-platform/organizations/{organizationId}/settings \
  --header 'Authorization: Bearer <token>'
{
  "cleaningOperations": [
    {
      "order": 1,
      "type": "DEDUPLICATE"
    },
    {
      "order": 2,
      "type": "NORMALIZE_DATES"
    }
  ],
  "clusterTier": "standard",
  "dataSources": [
    {
      "code": "polaris",
      "connectionRef": null,
      "datasets": [
        {
          "code": "sales",
          "conformedTable": "fact_sales_lines",
          "domain": "sales",
          "enabled": true
        },
        {
          "code": "stock",
          "conformedTable": "stock_ledger",
          "domain": "stock",
          "enabled": true
        }
      ],
      "enabled": true,
      "landingPath": "s3://solya-landing/polaris/",
      "sourceType": "POS"
    }
  ],
  "goldSettings": {
    "aggregationLevel": "daily"
  },
  "ingestionSpecs": [
    {
      "description": "Parses the daily Polaris CSV sales export",
      "detection": {
        "filePattern": "^sales_\\d{8}\\.csv$"
      },
      "name": "Polaris sales export",
      "parsing": {
        "delimiter": ";",
        "encoding": "utf-8",
        "skipLines": 1
      },
      "posSystem": "polaris",
      "promotion": null,
      "promotions": [
        {
          "conformed_table": "fact_sales_lines",
          "merge_keys": [
            "transaction_id",
            "line_number"
          ],
          "steps": [],
          "update_columns": [
            "quantity",
            "net_amount"
          ]
        }
      ],
      "specId": "spec-uuid-1",
      "specVersion": 4
    }
  ],
  "metrics": [
    {
      "body": null,
      "category": "performance",
      "configSchema": null,
      "description": "Units sold divided by units received over the period",
      "displayName": "Sell-through rate",
      "enabled": true,
      "grain": [
        "shop_id",
        "variant_id"
      ],
      "id": "metric-uuid-1",
      "isConfigurable": false,
      "metricName": "sell_through_rate",
      "outputColumn": "sell_through_rate",
      "outputType": "float",
      "parameters": {},
      "scope": "GLOBAL",
      "subcategory": null,
      "version": 2
    }
  ],
  "mlSettings": {
    "forecastHorizonDays": 30
  },
  "organizationId": "org-uuid-1",
  "organizationName": "Retail Corp",
  "pipelineMode": "full",
  "settings": {
    "defaultCurrency": "EUR",
    "fiscalYearStart": "02-01"
  },
  "settingsVersion": 3,
  "silverSettings": {
    "retentionDays": 90
  },
  "taxonomyLanguage": "fr",
  "taxonomyName": "default"
}

Authorizations

Authorization
string
header
required

Static internal-ops token used by the data platform and internal cron jobs (e.g. zombie-run sweep). Validated via requireBearerToken inside the handler against a service-specific environment variable.

Path Parameters

organizationId
string
required

UUID of the organization whose data-platform settings are requested

Minimum string length: 1

Response

Successful response

data
object
required
success
enum<boolean>
required
Available options:
true