---
title: "GcsImportOpus: Update job"
method: PUT
path: "/job/gcs-import-opus/{id}"
tags: ["Jobs"]
---

# GcsImportOpus: Update job

`PUT /job/gcs-import-opus/{id}`

Update a GcsImportOpus job

## Path parameters

- `id` string, required

## Query parameters

- `account_id` string

## Response `200`

GcsImportOpus 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
      - `bucket` string — The Google Cloud Storage bucket you want to import data from
      - `continuous_update` boolean — Select to import continuously
      - `day_of_week` string — Day of week to run work
      - `delete_file` boolean — Select to allow the import job to delete the file after successful import. **Caution**: This will delete the file from the source bucket
      - `file_type` string — Select the type of file
      - `gzip` boolean — Select if the file is gzip compressed
      - `pgp` boolean — Select if the file is pgp encrypted
      - `prefix` string — Enter the file name prefix to filter files by. Example new_users_
      - `project` string — Enter the Google Project ID you want to import data from
      - `run_frequency` string — Select how often the import should look for new files
      - `since` string — Enter the oldest date to import files since. Only files newer then this date will be imported. Use yyyy/mm/dd HH:MM/SS format. If left blank all files created after Starting File will be imported
      - `skip_bad_files` boolean — Select to skip files with formatting errors and continue processing other files. When disabled, any bad file will fail the entire import job
      - `starting_file` string — Select the file you would like to import first. Only newer files will be imported
      - `stream` string — Enter the data stream to add events to. If left blank, events will be added to the gcs_files data-stream
      - `time_of_day` string — Time of day to start import each day
      - `timestamp_field` string — Enter the field containing the event timestamp
      - `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

---

[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)
