OpenaiCapiExport: Create job
https://api.lytics.io/v2/job/openai-capi-exportCreate a OpenaiCapiExport job
{
"auth_ids": [
"string"
],
"config": {
"action_source": "web",
"audience_events": "enters_only",
"currency": "string",
"custom_event_name": "string",
"event_mapping": [
{
"property1": "string",
"property2": "string"
}
],
"event_type": "string",
"field_changes": [
"string"
],
"identifier_mapping": [
{
"property1": "string",
"property2": "string"
}
],
"opt_out": true,
"pixel_id": "string",
"segment_ids": [
"string"
],
"source_url": "string",
"value_units": "major",
"withbackfill": true
},
"description": "string",
"drop_events_during_quiet_window": true,
"expires_at": "2019-08-24T14:15:22Z",
"monitoring": {},
"name": "string",
"quiet_period": 0,
"quiet_time_of_day": "string",
"quiet_timezone": "string"
}{
"_meta": {},
"data": {
"account_id": "string",
"anomaly_rule": {
"aid": 0,
"checks": [
{
"allowable_violations": 0,
"interval": "string",
"lookback_count": 0,
"max_threshold": 0,
"metric_type": "string",
"min_threshold": 0,
"type": "string",
"variance_pct": 0
}
],
"created": "string",
"id": "string",
"subject_id": "string",
"subject_type": "string",
"updated": "string"
},
"api_token_auth_id": "string",
"auth_ids": [
"string"
],
"config": {
"action_source": "web",
"audience_events": "enters_only",
"currency": "string",
"custom_event_name": "string",
"event_mapping": [
{
"property1": "string",
"property2": "string"
}
],
"event_type": "string",
"field_changes": [
"string"
],
"identifier_mapping": [
{
"property1": "string",
"property2": "string"
}
],
"opt_out": true,
"pixel_id": "string",
"segment_ids": [
"string"
],
"source_url": "string",
"value_units": "major",
"withbackfill": true
},
"created": "string",
"deleted": true,
"description": "string",
"drop_events_during_quiet_window": true,
"expires_at": "2019-08-24T14:15:22Z",
"id": "string",
"meta": {},
"monitoring": {},
"name": "string",
"quiet_period": 0,
"quiet_time_of_day": "string",
"quiet_timezone": "string",
"sleep_until": "string",
"status": "runnable",
"updated": "string",
"user_id": "string",
"workflow": "string",
"workflow_id": "string"
},
"request_id": "string",
"status": 0
}OpenaiCapiExport: Get job
https://api.lytics.io/v2/job/openai-capi-export/{id}Get the summary of a OpenaiCapiExport job
{
"_meta": {},
"data": {
"account_id": "string",
"anomaly_rule": {
"aid": 0,
"checks": [
{
"allowable_violations": 0,
"interval": "string",
"lookback_count": 0,
"max_threshold": 0,
"metric_type": "string",
"min_threshold": 0,
"type": "string",
"variance_pct": 0
}
],
"created": "string",
"id": "string",
"subject_id": "string",
"subject_type": "string",
"updated": "string"
},
"api_token_auth_id": "string",
"auth_ids": [
"string"
],
"config": {
"action_source": "web",
"audience_events": "enters_only",
"currency": "string",
"custom_event_name": "string",
"event_mapping": [
{
"property1": "string",
"property2": "string"
}
],
"event_type": "string",
"field_changes": [
"string"
],
"identifier_mapping": [
{
"property1": "string",
"property2": "string"
}
],
"opt_out": true,
"pixel_id": "string",
"segment_ids": [
"string"
],
"source_url": "string",
"value_units": "major",
"withbackfill": true
},
"created": "string",
"deleted": true,
"description": "string",
"drop_events_during_quiet_window": true,
"expires_at": "2019-08-24T14:15:22Z",
"id": "string",
"meta": {},
"monitoring": {},
"name": "string",
"quiet_period": 0,
"quiet_time_of_day": "string",
"quiet_timezone": "string",
"sleep_until": "string",
"status": "runnable",
"updated": "string",
"user_id": "string",
"workflow": "string",
"workflow_id": "string"
},
"request_id": "string",
"status": 0
}OpenaiCapiExport: Update job
https://api.lytics.io/v2/job/openai-capi-export/{id}Update a OpenaiCapiExport job
{
"auth_ids": [
"string"
],
"config": {
"action_source": "web",
"audience_events": "enters_only",
"currency": "string",
"custom_event_name": "string",
"event_mapping": [
{
"property1": "string",
"property2": "string"
}
],
"event_type": "string",
"field_changes": [
"string"
],
"identifier_mapping": [
{
"property1": "string",
"property2": "string"
}
],
"opt_out": true,
"pixel_id": "string",
"segment_ids": [
"string"
],
"source_url": "string",
"value_units": "major",
"withbackfill": true
},
"description": "string",
"drop_events_during_quiet_window": true,
"expires_at": "2019-08-24T14:15:22Z",
"monitoring": {},
"name": "string",
"quiet_period": 0,
"quiet_time_of_day": "string",
"quiet_timezone": "string"
}{
"_meta": {},
"data": {
"account_id": "string",
"anomaly_rule": {
"aid": 0,
"checks": [
{
"allowable_violations": 0,
"interval": "string",
"lookback_count": 0,
"max_threshold": 0,
"metric_type": "string",
"min_threshold": 0,
"type": "string",
"variance_pct": 0
}
],
"created": "string",
"id": "string",
"subject_id": "string",
"subject_type": "string",
"updated": "string"
},
"api_token_auth_id": "string",
"auth_ids": [
"string"
],
"config": {
"action_source": "web",
"audience_events": "enters_only",
"currency": "string",
"custom_event_name": "string",
"event_mapping": [
{
"property1": "string",
"property2": "string"
}
],
"event_type": "string",
"field_changes": [
"string"
],
"identifier_mapping": [
{
"property1": "string",
"property2": "string"
}
],
"opt_out": true,
"pixel_id": "string",
"segment_ids": [
"string"
],
"source_url": "string",
"value_units": "major",
"withbackfill": true
},
"created": "string",
"deleted": true,
"description": "string",
"drop_events_during_quiet_window": true,
"expires_at": "2019-08-24T14:15:22Z",
"id": "string",
"meta": {},
"monitoring": {},
"name": "string",
"quiet_period": 0,
"quiet_time_of_day": "string",
"quiet_timezone": "string",
"sleep_until": "string",
"status": "runnable",
"updated": "string",
"user_id": "string",
"workflow": "string",
"workflow_id": "string"
},
"request_id": "string",
"status": 0
}