---
title: "OpenaiCapiExport: Get job"
method: GET
path: "/job/openai-capi-export/{id}"
tags: ["Jobs"]
---

# OpenaiCapiExport: Get job

`GET /job/openai-capi-export/{id}`

## Request

- Base URL: `https://api.lytics.io/v2`
- URL: `https://api.lytics.io/v2/job/openai-capi-export/{id}`
- Auth: API key in header `Authorization`

Get the summary of a OpenaiCapiExport job

## Path parameters

- `id` string, required

## Query parameters

- `account_id` string

## Response `200`

OpenaiCapiExport 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
      - `action_source` 'web' | 'mobile_app' | 'offline' | 'physical_store' | 'phone_call' | 'email' | 'other': Select where the conversion happened
      - `audience_events` 'enters_only' | 'exits_only': Select which type of audience trigger events to send. By default both enters and exits are sent.
      - `currency` string: Three letter ISO 4217 currency code used when the conversion value is not mapped to its own currency field
      - `custom_event_name` string: Enter the event name to use when the event type is custom
      - `event_mapping` object[]: Map Lytics fields to OpenAI event fields
      - `event_type` string, required: Select the OpenAI conversion event type
      - `field_changes` string[]: Select up to 75 user fields to trigger user change events
      - `identifier_mapping` object[], required: Map Lytics fields to OpenAI user matching fields
      - `opt_out` boolean: Opt these events out of future user level personalization
      - `pixel_id` string, required: Enter the OpenAI Pixel ID that these conversions belong to
      - `segment_ids` string[], required: Select the Lytics audiences that contain the users to export
      - `source_url` string: Enter a fallback source URL for web events whose mapped URL field is empty
      - `value_units` 'major' | 'minor': Whether the mapped conversion value is in major units (dollars) or minor units (cents)
      - `withbackfill` boolean: Send users who already exist in the selected Lytics audience on first run
    - `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/openai-capi-export/:id/get.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)
