v1

latestOpenAPI 3.0.42026-08-04342835917.6 KB
Job

Creates a new revision for an existing job definition.

Unspecified fields are inherited from the previous revision. Workflow and Referee must be provided together if either is specified.

post/job/definition/{definitionId}/revision

Path parameters

definitionIdstring required

The id of the job definition to create a revision for.

Request body

datasetIdstring

The dataset id. If not provided, inherits from the previous revision.

aggregatorType'NonCommittal' | 'MajorityVote' | 'SimpleMatchup' | 'LocateCluster' | 'Classification' | 'Locate' | 'BoundingBox' | 'Line' | 'Transcription' | 'SinglePointLocate' | 'FreeText' | 'Scrub' | 'Ranking' | 'MultiRanking' | 'null' nullable

The aggregator type. If not provided, inherits from the previous revision.

validationSetIdstring nullable

A validation set id to pin on this revision. When set, every job run from this revision uses the specified validation set as the source of validation rapids instead of audience-derived examples. If not provided, inherits from the previous revision. Provide a wrapped null value to clear a previously pinned set.

Response

OK

revisionNumberinteger required

The revision number of the created job revision.

pipelineIdstring required

The id of the created preview pipeline.