Skip to navigation

Create Job

View as Markdown
Create a new platform job.

Path parameters

workspacestringRequired

Request

This endpoint expects an object.
specmap from strings to anyRequired
platform_specobjectRequired
Specification for a platform job, containing steps and secrets.
sourcestringRequired
namestringOptionalformat: "^[a-z](?!.*--)[a-z0-9\-@.+_]{1,62}(?<!-)$"<=63 characters

Job name. Name must start with a lowercase letter, be 2-63 characters, and use lowercase letters, digits, hyphens, and dots (no consecutive hyphens, cannot end with a hyphen). Auto-generated when omitted.

descriptionstringOptional
projectstringOptional
controlobjectOptional

Mutable job behavior, including how long storage is kept after a pause. When omitted, the platform paused-storage TTL applies.

ownershipmap from strings to anyOptional
custom_fieldsmap from strings to anyOptional
output_locationstringOptional

Response

Successful Response
idstring
attempt_idstring
namestring
workspacestring
Workspace identifier
sourcestring
platform_specobject
Specification for a platform job, containing steps and secrets.
filesetstring
Fileset ID for storing job artifacts
statusenum

Enumeration of possible job statuses.

This enum represents the various states a job can be in during its lifecycle, from creation to a terminal state.

CREATED means the controller has not yet considered the job. QUEUED means the controller has seen the job but not admitted it (waiting for capacity). PENDING means the backend resource exists and is waiting to start.

projectstringOptional
Project URN
descriptionstringOptional
specmap from strings to anyOptional
Job Spec
controlobjectOptional
Mutable job behavior. This is not part of the execution spec.
output_locationstringOptional

Caller-supplied artifact fileset; None when the fileset was auto-created

status_detailsmap from strings to anyOptional
Details about the job status
error_detailsmap from strings to anyOptional
created_atdatetimeOptional
updated_atdatetimeOptional
ownershipmap from strings to anyOptional
custom_fieldsmap from strings to anyOptional
Custom Fields

Errors

422
Unprocessable Entity Error