---
title: "Run a job immediately"
method: POST
path: "/api/jobs/run"
tags: ["Jobs"]
---

# Run a job immediately

`POST /api/jobs/run`

Execute a job immediately by providing its ID. The job's configured tests will be run. For k6 jobs, an optional `location` can target an enabled location code or `global` for unrestricted any-worker routing.

## Request body

- object
  - `jobId` string, uuid, required — ID of the job to run
  - `tests` object[], required — Tests to execute for this run. The server validates ownership and uses the stored scripts as the source of truth.
    - `id` string, uuid, required
    - `name` string
    - `title` string
    - `type` 'browser' | 'api' | 'performance' | 'database' | 'custom'
  - `trigger` 'manual' | 'remote' | 'schedule', required — Requested trigger source. CLI-authenticated calls are normalized to `remote` by the server.
  - `location` string — Optional execution location for k6 jobs. Use an enabled location code (for example `us-east`) or `global` for unrestricted any-worker routing. `global` is rejected when project location restrictions are enabled.

## Response `200`

Job started

- object
  - `runId` string, uuid
  - `jobId` string, uuid
  - `status` string
  - `message` string

## Other responses

- `400` — Invalid job execution payload
- `401` — Authentication required or token invalid
- `402` — Active subscription required
- `403` — Insufficient permissions
- `404` — Resource not found

## Changes

- **2026-03-21** `40aeed2ccba7` — 2 breaking, 5 info
  - added the new required request property `tests`
  - added the new required request property `trigger`
  - added the new optional request property `location`
  - added the non-success response with the status `400`
  - …3 more
- **2026-02-08** `78bbac89339b` — 3 warning, 4 info
  - removed the request property `location`
  - removed the request property `tests`
  - removed the request property `trigger`
  - removed the non-success response with the status `400`
  - …3 more

[Change history](https://skmtc.dev/supercheck-io/apis/supercheck-api/changes/api/jobs/run/post.md)

---

[API](https://skmtc.dev/supercheck-io/apis/supercheck-api.md) · [All operations](https://skmtc.dev/supercheck-io/apis/supercheck-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/supercheck-io/supercheck-api/revisions/81782deccf0e/schema)
