Request
POST https://repopack.com/api/v0/projects/<key>/jobs/<job>/runs
Authorization: Bearer <token>
Content-Type: application/json
{"source":"master","build_args":{"VERSION":"1.0"}}
The body is a closed JSON object: optional source is a manual Git ref, not a trigger: mode, and optional build_args is validated against the Job's declared inputs. Omit source to use the Job's configured source and omit build_args to snapshot its configured execution. An account with job.run on the active project is required. The server resolves the source to an exact SHA and records the Run with its input snapshot; execution then starts asynchronously. This is not publication or deployment.
The response is the new Run presentation; monitor Run state rather than assuming a successful HTTP response means the build succeeded. A missing token or unreadable project returns 403 on this route's write check; unknown Job 404, invalid ref or build arguments 400, and a deleting Job may refuse the request. This operation creates a new Run; after a timeout inspect the Run list before retrying. See Job inputs and list Runs.