Process one job now
const url = 'http://127.0.0.1:8765/api/pipeline/process';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"job_identity":"https://boards.greenhouse.io/acme/jobs/101"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://127.0.0.1:8765/api/pipeline/process \ --header 'Content-Type: application/json' \ --data '{ "job_identity": "https://boards.greenhouse.io/acme/jobs/101" }'Process now: queue one assessed job for the pipeline. System data only: ids, codes, counts, numbers and timestamps. A job is named by its job_identity (the posting’s public link). No posting, resume, answer or story text, no title, no company. 202: the job’s steps (tailor, assess again, Scout ATS score, Scout label) are queued and this server’s runner runs them; the call never waits for a model. result is enqueued, noop_unchanged (done with these inputs), noop_already_queued or noop_failed (it failed with these inputs: retry it, or pass force). An explicit choice: the per-trigger cap does not apply and a job waiting for an approval is taken out of it; the daily cap of model calls still does. Read the outcome with GET /api/pipeline. runner false: this server runs no pipeline thread (run gigai scout pipeline run --once). 404 assessment_missing: assess the job first.
Request Bodyrequired
Section titled “Request Bodyrequired”object
True: tailor again even when nothing the tailoring reads has changed.
The posting’s link (a job that already has an assessment).
The role that asks (default: the selected role). Recorded on a job’s first steps; it selects nothing.
Example
{ "job_identity": "https://boards.greenhouse.io/acme/jobs/101"}Responses
Section titled “Responses”Success.
object
Example
{ "input_digest": "sha256:abababababababababababababababababababababababababababababababab", "job_identity": "https://boards.greenhouse.io/acme/jobs/101", "profile_id": "prof_1", "result": "enqueued", "runner": true, "schema_version": "scout-pipeline-process:1"}Forbidden / forbidden_origin: loopback peer and Host 127.0.0.1:<port> or localhost:<port> only (Origin too on writes).
object
object
Examplegenerated
{ "error": { "allowed_keys": [ "example" ], "code": "example", "message": "example" }}Target_unavailable, assessment_missing, profile_not_found, profile_unavailable
object
object
Example
{ "error": { "code": "target_unavailable", "message": "..." }}Unsupported_media_type: writes need Content-Type: application/json.
object
object
Examplegenerated
{ "error": { "allowed_keys": [ "example" ], "code": "example", "message": "example" }}Invalid_value, wrong_type, unknown_key, posting_text_unavailable
object
object
Example
{ "error": { "code": "invalid_value", "message": "..." }}