curl --request GET \
--url https://api.qovery.com/job/{jobId}/deploymentHistory \
--header 'Authorization: Bearer <token>'{
"page": 1,
"page_size": 20,
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"status": "BUILDING",
"image_name": "<string>",
"tag": "<string>",
"commit": {
"created_at": "2023-11-07T05:31:56Z",
"git_commit_id": "<string>",
"tag": "v2.1.1",
"message": "<string>",
"author_name": "<string>",
"author_avatar_url": "<string>",
"commit_page_url": "<string>"
},
"schedule": {
"event": "ON_START",
"schedule_at": "<string>"
},
"arguments": [
"<string>"
],
"entrypoint": "<string>"
}
]
}Returns the 20 last job deployments
curl --request GET \
--url https://api.qovery.com/job/{jobId}/deploymentHistory \
--header 'Authorization: Bearer <token>'{
"page": 1,
"page_size": 20,
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"status": "BUILDING",
"image_name": "<string>",
"tag": "<string>",
"commit": {
"created_at": "2023-11-07T05:31:56Z",
"git_commit_id": "<string>",
"tag": "v2.1.1",
"message": "<string>",
"author_name": "<string>",
"author_avatar_url": "<string>",
"commit_page_url": "<string>"
},
"schedule": {
"event": "ON_START",
"schedule_at": "<string>"
},
"arguments": [
"<string>"
],
"entrypoint": "<string>"
}
]
}JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" '
Job ID
Was this page helpful?