Skip to main content
GET
/
environment
/
{environmentId}
/
job
List jobs
curl --request GET \
  --url https://api.qovery.com/environment/{environmentId}/job \
  --header 'Authorization: <api-key>'
{
  "results": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "environment": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      },
      "maximum_cpu": 16000,
      "maximum_memory": 16384,
      "maximum_gpu": 2,
      "name": "<string>",
      "description": "<string>",
      "cpu": 1250,
      "memory": 1024,
      "gpu": 1,
      "max_nb_restart": 1,
      "max_duration_seconds": 1,
      "auto_preview": true,
      "port": null,
      "source": {
        "image": {
          "image_name": "<string>",
          "tag": "<string>",
          "registry_id": "<string>",
          "registry": {}
        }
      },
      "healthchecks": {
        "readiness_probe": {
          "type": {},
          "initial_delay_seconds": 123,
          "period_seconds": 123,
          "timeout_seconds": 123,
          "success_threshold": 123,
          "failure_threshold": 123
        },
        "liveness_probe": {
          "type": {},
          "initial_delay_seconds": 123,
          "period_seconds": 123,
          "timeout_seconds": 123,
          "success_threshold": 123,
          "failure_threshold": 123
        }
      },
      "auto_deploy": true,
      "icon_uri": "<string>",
      "service_type": "APPLICATION",
      "job_type": "LIFECYCLE",
      "schedule": {
        "on_start": {
          "arguments": [
            "<string>"
          ],
          "entrypoint": "<string>"
        },
        "on_stop": {
          "arguments": [
            "<string>"
          ],
          "entrypoint": "<string>"
        },
        "on_delete": {
          "arguments": [
            "<string>"
          ],
          "entrypoint": "<string>"
        },
        "lifecycle_type": "GENERIC"
      },
      "annotations_groups": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "name": "<string>",
          "annotations": [
            {}
          ],
          "scopes": [
            "DEPLOYMENTS"
          ]
        }
      ],
      "labels_groups": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "name": "<string>",
          "labels": [
            {}
          ]
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

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

environmentId
string<uuid>
required

Environment ID

Query Parameters

toUpdate
boolean
default:false

return (or not) results that must be updated

Response

List jobs

results
object[]
  • Option 2