Jobs

Run a tool in the background

Queues a tool call and returns at once with the job. Jobs run one at a time. Poll GET /v1/jobs/{id}, or pass callback_url to receive a signed event when it finishes. Failed callback deliveries are retried up to 5 times with exponential backoff (1, 2, 4 and 8 seconds).

post/v1/jobs

Request

  • Base URL: http://127.0.0.1:7341
  • URL: http://127.0.0.1:7341/v1/jobs
  • Auth: HTTP bearer

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Response

Queued.

idstring required
toolstring required
status'queued' | 'running' | 'succeeded' | 'failed' required
created_atstring required

ISO 8601 time.

started_atstring nullable required

ISO 8601 time.

finished_atstring nullable required

ISO 8601 time.

resultunknown

Changes

No recorded changes to this operation across all 1 revision of this API.