LM-Kit OneDocs2026.8.10lm-kit.com
Infrastructure

Jobs

Gets the status and result of a background job.#

GET/lmkit/v1/jobs/{jobId}

Returns the current status of a background job. When the job completes, the 'result' field contains the original endpoint response.

Parameters

NameInTypeDescription
jobIdrequiredpathstring

The job identifier returned in the 202 Accepted response.

Responses

StatusTypeDescription
200

OK

404

Not Found

curl -X GET "$LMKIT_ONE_URL/lmkit/v1/jobs/$JOBID" \
  -H "Authorization: Bearer $LMKIT_API_KEY"

Cancels a running background job.#

DELETE/lmkit/v1/jobs/{jobId}

Attempts to cancel a job that is still processing. Has no effect on completed jobs.

Parameters

NameInTypeDescription
jobIdrequiredpathstring

The job identifier to cancel.

Responses

StatusTypeDescription
200application/json

OK

404

Not Found

curl -X DELETE "$LMKIT_ONE_URL/lmkit/v1/jobs/$JOBID" \
  -H "Authorization: Bearer $LMKIT_API_KEY"