---
title: "Create Developer Batch Job"
method: POST
path: "/v1/developer/{developer_id}/jobs/batch"
tags: ["Developer Management"]
---

# Create Developer Batch Job

`POST /v1/developer/{developer_id}/jobs/batch`

## Request

- Base URL: `https://api.oneinfer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oneinfer.ai/v1/developer/{developer_id}/jobs/batch`
- Auth: HTTP bearer

Submit a batch job for a developer.

## Path parameters

- `developer_id` string, required

## Request body

- BatchJobRequest
  - `job_name` string, nullable
  - `script_path` string, nullable
  - `workdir` string, nullable
  - `resource_spec` ResourceSpec, required
    - `cloud` string, nullable
    - `instance_type` string, nullable
    - `accelerators` string, required
    - `cpus` string, nullable
    - `memory` string, nullable
    - `disk_size` integer, nullable
    - `use_spot` boolean
    - `cloud_preference` string[], nullable
    - `region` string, nullable
  - `environment_vars` object
  - `training_config` object, nullable
  - `dataset_paths` string[], nullable
  - `dataset_urls` string[], nullable
  - `huggingface_models` string[], nullable
  - `max_retries` integer
  - `use_s3_storage` boolean
  - `provider` string, nullable
  - `providers` string[], nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oneinfer/apis/oneinfer-apis.md) · [All operations](https://skmtc.dev/oneinfer/apis/oneinfer-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/oneinfer/apis/oneinfer-apis/revisions/a49f22311a8f?raw)
