---
title: "Create an ingestion job."
method: POST
path: "/v1/archive/{sourceId}/jobs"
tags: ["archiveManagement"]
---

# Create an ingestion job.

`POST /v1/archive/{sourceId}/jobs`

Create an ingestion job to pull data from your S3 bucket.

## Path parameters

- `sourceId` string, required

## Request body

- CreateArchiveJobRequest
  - `name` string, required — The name of the ingestion job.
  - `startTime` string, date-time, required — The starting timestamp of the ingestion job.
  - `endTime` string, date-time, required — The ending timestamp of the ingestion job.

## Response `200`

The ingestion job was created successfully.

- ArchiveJob
  - `name` string, required — The name of the ingestion job.
  - `startTime` string, date-time, required — The starting timestamp of the ingestion job.
  - `endTime` string, date-time, required — The ending timestamp of the ingestion job.
  - `id` string, required — The unique identifier of the ingestion job.
  - `totalObjectsScanned` integer, required — The total number of objects scanned by the ingestion job.
  - `totalObjectsIngested` integer, required — The total number of objects ingested by the ingestion job.
  - `totalBytesIngested` integer, required — The total bytes ingested by the ingestion job.
  - `status` string, required — The status of the ingestion job, either `Pending`,`Scanning`,`Ingesting`,`Failed`, or `Succeeded`.
  - `createdAt` string, date-time, required — The creation timestamp in UTC of the ingestion job.
  - `createdBy` string, required — The identifier of the user who created the ingestion job.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/versions/18a824df1e78/schema)
