Skip to main content
POST
/
bulk-import
/
facts
cURL
curl -X POST https://api.growthbook.io/api/v1/bulk-import/facts \
  -d '{"factTables":[], "factTableFilters":[], "factMetrics":[]}' \
  -u secret_abc123DEF456:
{
  "success": true,
  "factTablesAdded": 123,
  "factTablesUpdated": 123,
  "factTableFiltersAdded": 123,
  "factTableFiltersUpdated": 123,
  "factMetricsAdded": 123,
  "factMetricsUpdated": 123
}

Documentation Index

Fetch the complete documentation index at: https://growthbook-preview.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

If using Bearer auth, pass the Secret Key as the token:

curl https://api.growthbook.io/api/v1 \
-H "Authorization: Bearer secret_abc123DEF456"

Body

application/json
factTables
object[]
factTableFilters
object[]
factMetrics
object[]

Response

200 - application/json

Success

success
boolean
required
factTablesAdded
integer
required
factTablesUpdated
integer
required
factTableFiltersAdded
integer
required
factTableFiltersUpdated
integer
required
factMetricsAdded
integer
required
factMetricsUpdated
integer
required