Authorizations
Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"
Path Parameters
Environment ID
Body
name is case insensitive
unit is millicores (m). 1000m = 1 cpu
1250
unit is MB. 1024 MB = 1GB
1024
x >= 01
Maximum number of restart allowed before the job is considered as failed 0 means that no restart/crash of the job is allowed
x >= 0Maximum number of seconds allowed for the job to run before killing it and mark it as failed
x >= 0Indicates if the 'environment preview option' is enabled for this container.
If enabled, a preview environment will be automatically cloned when /preview endpoint is called.
If not specified, it takes the value of the auto_preview property from the associated environment.
Port where to run readiness and liveliness probes checks. The port will not be exposed externally
x >= 1If you want to define a Cron job, only the cronjob property must be filled
A Lifecycle job should contain at least one property on_XXX among the 3 properties: on_start, on_stop, on_delete
Specify if the job will be automatically updated after receiving a new image tag or a new commit according to the source type. The new image tag shall be communicated via the "Auto Deploy job" endpoint https://api-doc.qovery.com/#tag/Jobs/operation/autoDeployJobEnvironments
Icon URI representing the job.
Response
Create job
- Option 2
type of job
LIFECYCLE, CRON Maximum cpu that can be allocated to the job based on organization cluster configuration. unit is millicores (m). 1000m = 1 cpu
16000
Maximum memory that can be allocated to the job based on organization cluster configuration. unit is MB. 1024 MB = 1GB
16384
Maximum memory that can be allocated to the job based on organization cluster configuration. unit is MB. 1024 MB = 1GB
x >= 02
name is case insensitive
unit is millicores (m). 1000m = 1 cpu
1250
unit is MB. 1024 MB = 1GB
1024
x >= 01
Indicates if the 'environment preview option' is enabled for this container.
If enabled, a preview environment will be automatically cloned when /preview endpoint is called.
If not specified, it takes the value of the auto_preview property from the associated environment.
- Option 1
- Option 2
Icon URI representing the job.
type of the service (application, database, job, ...)
APPLICATION, DATABASE, CONTAINER, JOB, HELM, TERRAFORM Maximum number of restart allowed before the job is considered as failed 0 means that no restart/crash of the job is allowed
x >= 0Maximum number of seconds allowed for the job to run before killing it and mark it as failed
x >= 0Port where to run readiness and liveliness probes checks. The port will not be exposed externally
x >= 1Specify if the job will be automatically updated after receiving a new image tag or a new commit according to the source type. The new image tag shall be communicated via the "Auto Deploy job" endpoint https://api-doc.qovery.com/#tag/Jobs/operation/autoDeployJobEnvironments