Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Body

application/json
templateMetadata
object
required
type
enum<string>
required
Available options:
standard
datasource
string
required
statsEngine
enum<string>
required
Available options:
bayesian,
frequentist
targeting
object
required
project
string
hypothesis
string
description
string
Maximum string length: 10000
tags
string[]
customFields
object
exposureQuery
object

The assignment query, grouping its ID with the identifier type analyzed on. Mutually exclusive with the deprecated exposureQueryId.

exposureQueryId
string
deprecated

Deprecated: use exposureQuery. Rejected when selecting a different assignment query that declares several identifier types; set exposureQuery.identifierType instead.

hashAttribute
string
fallbackAttribute
string
disableStickyBucketing
boolean
goalMetrics
string[]
secondaryMetrics
string[]
guardrailMetrics
string[]
activationMetric
string
segment
string
skipPartialData
boolean
customMetricSlices
object[]

Response

200 - application/json

Resource created

experimentTemplate
object
required