V2 - Two Way Flows
Run a V2 Job
Kicks off a job for a given tenant. Can be used to write data in target flows by passing a payload in the state object.
POST
/
v2
/
{env_id}
/
{flow_id}
/
{tenant}
/
jobs
Authorizations
x-api-key
string
headerrequiredPath Parameters
env_id
string
requiredID of environment
flow_id
string
requiredID of flow
tenant
string
requiredID of tenant
Body
application/json
connector_id
string
requiredThe ID of the connector to run a job for. Note that in V2 flows, you do not pass a tap or target
job_type
enum<string>
requiredThe schedule expression to sync on
Available options:
read
, write
job_name
string
An optional identifier for your job
state
string
Optional extra context to be used by the job. Often used with the unified schema for write jobs. Note that this is different from the source state.
Response
200 - application/json
The response is of type object
.