---
title: "BigqueryEntstoreExport: Create job"
method: POST
path: "/job/bigquery-entstore-export"
tags: ["Jobs"]
---

# BigqueryEntstoreExport: Create job

`POST /job/bigquery-entstore-export`

Create a BigqueryEntstoreExport job

## Query parameters

- `account_id` string

## Response `201`

BigqueryEntstoreExport Job

- object
  - `_meta` object — Response Metadata
  - `data` object — Response Payload
    - `account_id` string — Lytics Account ID
    - `anomaly_rule` ModelsAnomalyRuleResp
      - `aid` integer
      - `checks` ModelsRuleCheckConfigReq[]
        - `allowable_violations` integer
        - `interval` string
        - `lookback_count` integer
        - `max_threshold` integer
        - `metric_type` string
        - `min_threshold` integer
        - `type` string
        - `variance_pct` number
      - `created` string
      - `id` string
      - `subject_id` string
      - `subject_type` string
      - `updated` string
    - `api_token_auth_id` string — this is set when work is create using access token
    - `auth_ids` string[] — Authorization IDs associated with the Job
    - `config` object, required — Job configuration, unique per-workflow
      - `continuous` boolean — Continuously run this export
      - `dataset` string — The Google BigQuery Dataset you want to export data to
      - `export_segments` boolean — Export the audiences each user is a member of
      - `keep_dated` boolean — Check to keep daily exports in dated tables
      - `nested_fields` string[] — Choose a list of non-scalar fields to export (note: these will be created in a separate table). Please note, a maximum of 100 nested fields is allowed.
      - `project` string — The Google BigQuery Project you want to export data to
      - `scalar_fields` string[] — Choose a list of scalar fields to export (note: these will be created in the same table. If none are selected, all fields are exported)
      - `segment_id` string — Choose the audience you would like to export to BigQuery
      - `size_limit` integer — Number of users to be exported. If left blank, all users will be exported
      - `time_of_day` string — Time of day to start export each day.
      - `timezone` string — Timezone for time of day.
      - `use_semi_structured_fields` boolean — Export nested fields to a single column of type JSON
    - `created` string
    - `deleted` boolean — The Job has been deleted
    - `description` string — A user-defined description
    - `drop_events_during_quiet_window` boolean
    - `expires_at` string, date-time
    - `id` string — A Lytics-assigned, immutable unique ID for the Job
    - `meta` object — Extra meta data about the job
    - `monitoring` object — Inline monitoring config. On write: omit to keep, null to clear, or a config to set.
    - `name` string, required — A user-defined name
    - `quiet_period` integer
    - `quiet_time_of_day` string
    - `quiet_timezone` string
    - `sleep_until` string
    - `status` 'runnable' | 'sleeping' | 'paused' | 'completed' | 'fault' | 'failed' | 'killed' | 'deleted' | 'unknown' — The status of the job
    - `updated` string
    - `user_id` string — The user ID that created or updated the job
    - `workflow` string — The workflow slug
    - `workflow_id` string — The workflow ID
  - `request_id` string
  - `status` integer — HTTP Status Code

## Other responses

- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/lytics/apis/lytics-api.md) · [All operations](https://skmtc.net/lytics/apis/lytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lytics/lytics-api/versions/366eeabcb6de/schema)
