---
title: "Api Slurm Submit"
method: POST
path: "/api/slurm/submit"
tags: ["Infrastructure"]
---

# Api Slurm Submit

`POST /api/slurm/submit`

Submit an Xcelsior job to a Slurm cluster (HPC bridge).

Translates the job to an sbatch script and submits. Set dry_run=true
to see the generated script without submitting.

## Request body

- SlurmSubmitIn
  - `name` string, required
  - `vram_needed_gb` number
  - `priority` integer
  - `tier` string, nullable
  - `num_gpus` integer
  - `image` string
  - `profile` string, nullable
  - `dry_run` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/aabiro/apis/xcelsior.md) · [All operations](https://skmtc.dev/aabiro/apis/xcelsior/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aabiro/xcelsior/revisions/526c3dd3d9d7/schema)
