---
updatedAt: 2026-05-26T23:29:16.000Z
agentTools:
  projectIndex: https://docs.lytics.com/llms.txt
---

# DatabricksExport: Get job

Get the summary of a DatabricksExport job

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "lioerrors.ApiV2ErrorOut": {
        "properties": {
          "code": {
            "description": "Lytics Error Code",
            "enum": [
              "UNKNOWN-000",
              "BADREQ-001",
              "JOB-BADREQ-002",
              "NOTFOUND-003",
              "JOB-NOTFOUND-004",
              "WF-NOTFOUND-005",
              "AUTH-NOTFOUND-006",
              "AUTHTYPE-NOTFOUND-007",
              "AUTH-BADREQ-008",
              "TABLE-NOTFOUND-009",
              "SCHEMA-NOTFOUND-010",
              "SCHEMAVERSION-NOTFOUND-011",
              "ENTITY-NOTFOUND-012",
              "QUERY-NOTFOUND-013",
              "STREAM-NOTFOUND-014",
              "PROVIDER-BADREQ-015",
              "PROVIDER-NOTFOUND-016",
              "UNAUTHORIZED-017",
              "SCHEMA-INVALID-018",
              "INTERNAL-019",
              "ROUTERULE-NOTFOUND-020",
              "ACCOUNT-NOTFOUND-021",
              "JOB-FAULT-022",
              "USER-NOTFOUND-023",
              "USER-BADREQ-024",
              "JSON-BADREQ-025",
              "FORBIDDEN-026"
            ],
            "type": "string"
          },
          "level": {
            "description": "When the error was generated",
            "type": "string"
          },
          "message": {
            "description": "A description of the error that occurred",
            "type": "string"
          },
          "timestamp": {
            "description": "The time the error occurred",
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.AnomalyRuleResp": {
        "properties": {
          "aid": {
            "type": "integer"
          },
          "checks": {
            "items": {
              "$ref": "#/components/schemas/models.RuleCheckConfigReq"
            },
            "type": "array"
          },
          "created": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "subject_id": {
            "type": "string"
          },
          "subject_type": {
            "type": "string"
          },
          "updated": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "models.ApiErrorResponse": {
        "properties": {
          "errors": {
            "description": "Lytics API Errors",
            "items": {
              "$ref": "#/components/schemas/lioerrors.ApiV2ErrorOut"
            },
            "type": "array"
          },
          "request_id": {
            "type": "string"
          },
          "status": {
            "description": "HTTP Status Code",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.ApiResponse": {
        "properties": {
          "_meta": {
            "additionalProperties": true,
            "description": "Response Metadata",
            "type": "object"
          },
          "data": {
            "description": "Response Payload",
            "type": "object"
          },
          "request_id": {
            "type": "string"
          },
          "status": {
            "description": "HTTP Status Code",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "models.DatabricksExport": {
        "properties": {
          "catalog": {
            "description": "Select the Catalog that has the database",
            "type": "string"
          },
          "continuous_update": {
            "description": "Export audience continuously",
            "type": "boolean"
          },
          "database": {
            "description": "Select the schema (database) to export data to",
            "type": "string"
          },
          "day_of_week": {
            "description": "Day of week to run work",
            "type": "string"
          },
          "fields": {
            "description": "Choose a list of fields to export",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "run_frequency": {
            "description": "how often to run (daily or weekly)",
            "enum": [
              "daily",
              "weekly",
              "monthly"
            ],
            "type": "string"
          },
          "segment_id": {
            "description": "Choose the audience you would like to export to Snowflake",
            "type": "string"
          },
          "time_of_day": {
            "description": "Time of day to start export",
            "type": "string"
          },
          "timezone": {
            "description": "Timezone for time of day",
            "type": "string"
          }
        },
        "required": [
          "database",
          "segment_id"
        ],
        "type": "object"
      },
      "models.JobResponse": {
        "properties": {
          "account_id": {
            "description": "Lytics Account ID",
            "type": "string"
          },
          "anomaly_rule": {
            "$ref": "#/components/schemas/models.AnomalyRuleResp"
          },
          "api_token_auth_id": {
            "description": "this is set when work is create using access token",
            "type": "string"
          },
          "auth_ids": {
            "description": "Authorization IDs associated with the Job",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "config": {
            "description": "Job configuration, unique per-workflow",
            "type": "object"
          },
          "created": {
            "type": "string"
          },
          "deleted": {
            "description": "The Job has been deleted",
            "type": "boolean"
          },
          "description": {
            "description": "A user-defined description",
            "type": "string"
          },
          "drop_events_during_quiet_window": {
            "type": "boolean"
          },
          "expires_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "description": "A Lytics-assigned, immutable unique ID for the Job",
            "type": "string"
          },
          "meta": {
            "additionalProperties": true,
            "description": "Extra meta data about the job",
            "type": "object"
          },
          "monitoring": {
            "description": "Inline monitoring config. On write: omit to keep, null to clear, or a config to set.",
            "type": "object"
          },
          "name": {
            "description": "A user-defined name",
            "type": "string"
          },
          "quiet_period": {
            "type": "integer"
          },
          "quiet_time_of_day": {
            "type": "string"
          },
          "quiet_timezone": {
            "type": "string"
          },
          "sleep_until": {
            "type": "string"
          },
          "status": {
            "description": "The status of the job",
            "enum": [
              "runnable",
              "sleeping",
              "paused",
              "completed",
              "fault",
              "failed",
              "killed",
              "deleted",
              "unknown"
            ],
            "type": "string"
          },
          "updated": {
            "type": "string"
          },
          "user_id": {
            "description": "The user ID that created or updated the job",
            "type": "string"
          },
          "workflow": {
            "description": "The workflow slug",
            "type": "string"
          },
          "workflow_id": {
            "description": "The workflow ID",
            "type": "string"
          }
        },
        "required": [
          "config",
          "name"
        ],
        "type": "object"
      },
      "models.RuleCheckConfigReq": {
        "properties": {
          "allowable_violations": {
            "type": "integer"
          },
          "interval": {
            "type": "string"
          },
          "lookback_count": {
            "type": "integer"
          },
          "max_threshold": {
            "type": "integer"
          },
          "metric_type": {
            "type": "string"
          },
          "min_threshold": {
            "type": "integer"
          },
          "type": {
            "type": "string"
          },
          "variance_pct": {
            "type": "number"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "contact": {
      "email": "support@lytics.com",
      "name": "Lytics Support",
      "url": "https://support.lytics.com/hc/en-us"
    },
    "description": "Version 2 of the Lytics API",
    "termsOfService": "https://www.lytics.com/terms-of-service/",
    "title": "Lytics API",
    "version": "2.0"
  },
  "openapi": "3.0.3",
  "paths": {
    "/job/databricks-export/{id}": {
      "get": {
        "description": "Get the summary of a DatabricksExport job",
        "parameters": [
          {
            "description": "The account ID. Defaults to the user's default account.",
            "in": "query",
            "name": "account_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The Job ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/models.ApiResponse"
                    },
                    {
                      "properties": {
                        "data": {
                          "allOf": [
                            {
                              "$ref": "#/components/schemas/models.JobResponse"
                            },
                            {
                              "properties": {
                                "config": {
                                  "$ref": "#/components/schemas/models.DatabricksExport"
                                }
                              },
                              "type": "object"
                            }
                          ]
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "DatabricksExport Job"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.ApiErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/models.ApiErrorResponse"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "summary": "DatabricksExport: Get job",
        "tags": [
          "Jobs"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.lytics.io/v2"
    }
  ],
  "tags": [
    {
      "description": "Create and manage data import and export jobs.",
      "name": "Jobs"
    }
  ]
}
```