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
| Name | In | Type | Description |
|---|---|---|---|
jobIdrequired | path | string | The job identifier returned in the 202 Accepted response. |
Responses
| Status | Type | Description |
|---|---|---|
| 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
| Name | In | Type | Description |
|---|---|---|---|
jobIdrequired | path | string | The job identifier to cancel. |
Responses
| Status | Type | Description |
|---|---|---|
| 200 | application/json | OK |
| 404 | Not Found |
curl -X DELETE "$LMKIT_ONE_URL/lmkit/v1/jobs/$JOBID" \
-H "Authorization: Bearer $LMKIT_API_KEY"