Skip to main content
POST
CreateRun

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The request of a call to RunService_CreateRuns to create a new run.

The request of a call to RunService_CreateRuns to create a new run.

name
string
required

The name that will be assigned to the new run.

description
string
required

A description about the new run.

tags
string[]

Tags to associate with the new run.

startTime
string<date-time>

The time at which data ingestion begins for this new run. It must be before the stop_time, and it must be provided if a stop_time is provided. Important note: start_time will be automatically computed during data ingestion and will be set based on the timestamp of the data for this run.

stopTime
string<date-time>

The time at which data ingestion for this new run concludes. Important note: stop_time will be automatically computed during data ingestion and will be set based on the timestamp of the data for this run.

organizationId
string

An organization ID is only required if the user belongs to multiple organizations.

clientKey
string

An arbitrary user-chosen key that uniquely identifies this run. Optional, though it is recommended to provide.

metadata
object[]

The metadata values associated with this run.

createDefaultReport
boolean

Whether to create a default report for this run. This facilitates getting the report ID for live rules that will be automatically created for this run which can streamline programatically creating Campaigns. Defaults to false if not specified (This default can be changed for your organization by Sift. Contact support to change this default behavior.).

Response

A successful response.

run
object
required