---
title: "DatabricksAudienceChangesExport: Create job"
method: POST
path: "/job/databricks-audience-changes-export"
tags: ["Jobs"]
---

# DatabricksAudienceChangesExport: Create job

`POST /job/databricks-audience-changes-export`

## Request

- Base URL: `https://api.lytics.io/v2`
- URL: `https://api.lytics.io/v2/job/databricks-audience-changes-export`
- Auth: API key in header `Authorization`

Create a DatabricksAudienceChangesExport job

## Query parameters

- `account_id` string

## Request body `*/*`

- object
  - `auth_ids` string[]: Authorization IDs associated with the Job
  - `config` object, required: Job configuration, unique per-workflow
    - `catalog` string: Select the Catalog that has the database
    - `continuous_update` boolean: Continuously export audience changes
    - `database` string, required: Select the schema (database) to export data to
    - `day_of_week` string: Day of week to run work
    - `id_field` string, required: ID field in Lytics that'll get mapped to an identifying field in Databricks
    - `run_frequency` string: Choose how often a repeated export should run
    - `segment_ids` string[], required: The Lytics audience(s) you'd like to track. The number must be between 1 and 10
    - `table_name` string: (Optional) Name of the table to export audience changes to. Defaults to lytics_seg_changes
    - `time_of_day` string: Time of day to start export
    - `timezone` string: Timezone for time of day
  - `description` string: A user-defined description
  - `drop_events_during_quiet_window` boolean
  - `expires_at` string, date-time
  - `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

## Response `201`

DatabricksAudienceChangesExport 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
      - `catalog` string: Select the Catalog that has the database
      - `continuous_update` boolean: Continuously export audience changes
      - `database` string, required: Select the schema (database) to export data to
      - `day_of_week` string: Day of week to run work
      - `id_field` string, required: ID field in Lytics that'll get mapped to an identifying field in Databricks
      - `run_frequency` string: Choose how often a repeated export should run
      - `segment_ids` string[], required: The Lytics audience(s) you'd like to track. The number must be between 1 and 10
      - `table_name` string: (Optional) Name of the table to export audience changes to. Defaults to lytics_seg_changes
      - `time_of_day` string: Time of day to start export
      - `timezone` string: Timezone for time of day
    - `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

## Changes

- **2026-11-03** `d8e975057aec`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lytics/apis/lytics-api/changes/job/databricks-audience-changes-export/post.md)

---

[API](https://skmtc.dev/lytics/apis/lytics-api.md) - [All operations](https://skmtc.dev/lytics/apis/lytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lytics/apis/lytics-api/revisions/d8e975057aec?raw)
