job

Start Ml job

post/job/ml

Request body

project_idinteger required

The ID of the Project to analyse

ml_job_type'QUOTATION_ATTRIBUTION' | 'TAG_RECOMMENDATION' | 'COREFERENCE_RESOLUTION' | 'DOCUMENT_EMBEDDING' | 'SENTENCE_EMBEDDING' required

Response

Successful Response

job_idstring required

RQ job ID

job_typestring required

Type of the job

project_idinteger required

Project ID associated with the job

status'queued' | 'finished' | 'failed' | 'started' | 'deferred' | 'scheduled' | 'stopped' | 'canceled' required
status_messagestring nullable

Status message

current_stepinteger required

Current step in the job process

stepsstring[] required

Total number of steps in the job process

{"stackTrail":"components:schemas:MlJobRead:properties:output","oasType":"schema","type":"unknown","title":"Output","description":"Output for the job"}
createdstring date-time required

Created timestamp of the job

finishedstring date-time nullable

Finished timestamp of the job

Changes

Changed in 2 of the 73 revisions of this API.22

    • added the optional property detail/items/ctx to the response with the 422 status

      response-optional-property-added

    • added the optional property detail/items/input to the response with the 422 status

      response-optional-property-added

    This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the optional property detail/items/ctx from the response with the 422 status

      response-optional-property-removed

    • removed the optional property detail/items/input from the response with the 422 status

      response-optional-property-removed

    This revision also has 34 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog