---
title: "Create a named job input"
method: POST
path: "/jobs/{jobId}/inputs/{group}"
tags: ["Manage Jobs"]
---

# Create a named job input

`POST /jobs/{jobId}/inputs/{group}`

Creates a new input for a job

## Path parameters

- `jobId` string, required
- `group` string, required

## Headers

- `X-Response-Mode` 'regular' | 'paginated'

## Request body

- UploadUrl — Contains the uplaod url for import jobs.
  - `type` 'UploadUrl', required — The type is "UploadUrl"
  - `s3Key` string — The type of the Input
  - `url` string — The presigned url for uploading the data.

## Response `201`

The job inputs

- union
  - UploadUrl — Contains the uplaod url for import jobs.
    - `type` 'UploadUrl', required — The type is "UploadUrl"
    - `s3Key` string — The type of the Input
    - `url` string — The presigned url for uploading the data.
  - JobPayloads — Summary of grouped payloads (inputs/outputs) for a job.
    - `groups` object
    - `itemCount` number — Total items across all groups.
    - `byteSize` number — Total size of items across all groups in bytes.

## Other responses

- `400` — Malformed or Bad Request.
- `404` — Not found.

---

[API](https://skmtc.net/here/apis/here-xyz-job-service.md) · [All operations](https://skmtc.net/here/apis/here-xyz-job-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/here/here-xyz-job-service/revisions/b0f3c1c4fc93/schema)
