118 lines
2.1 KiB
Markdown
118 lines
2.1 KiB
Markdown
[Skip to content](https://coolify.io/docs/api-reference/api/operations/list-deployments#VPContent)
|
||
|
||
Return to top
|
||
|
||
List[](https://coolify.io/docs/api-reference/api/operations/list-deployments#list)
|
||
|
||
====================================================================================
|
||
|
||
GET
|
||
|
||
/deployments
|
||
|
||
List currently running deployments
|
||
|
||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/list-deployments#authorizations)
|
||
|
||
--------------------------------------------------------------------------------------------------------
|
||
|
||
bearerAuth
|
||
|
||
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
|
||
|
||
Type
|
||
|
||
HTTP (bearer)
|
||
|
||
Responses[](https://coolify.io/docs/api-reference/api/operations/list-deployments#responses)
|
||
|
||
----------------------------------------------------------------------------------------------
|
||
|
||
200400401
|
||
|
||
Get all currently running deployments.
|
||
|
||
Content-Type
|
||
|
||
application/json
|
||
|
||
SchemaJSON
|
||
|
||
JSON
|
||
|
||
\[\
|
||
\
|
||
{\
|
||
\
|
||
"id": 0,\
|
||
\
|
||
"application\_id": "string",\
|
||
\
|
||
"deployment\_uuid": "string",\
|
||
\
|
||
"pull\_request\_id": 0,\
|
||
\
|
||
"docker\_registry\_image\_tag": "string",\
|
||
\
|
||
"force\_rebuild": true,\
|
||
\
|
||
"commit": "string",\
|
||
\
|
||
"status": "string",\
|
||
\
|
||
"is\_webhook": true,\
|
||
\
|
||
"is\_api": true,\
|
||
\
|
||
"created\_at": "string",\
|
||
\
|
||
"updated\_at": "string",\
|
||
\
|
||
"logs": "string",\
|
||
\
|
||
"current\_process\_id": "string",\
|
||
\
|
||
"restart\_only": true,\
|
||
\
|
||
"git\_type": "string",\
|
||
\
|
||
"server\_id": 0,\
|
||
\
|
||
"application\_name": "string",\
|
||
\
|
||
"server\_name": "string",\
|
||
\
|
||
"deployment\_url": "string",\
|
||
\
|
||
"destination\_id": "string",\
|
||
\
|
||
"only\_this\_server": true,\
|
||
\
|
||
"rollback": true,\
|
||
\
|
||
"commit\_message": "string"\
|
||
\
|
||
}\
|
||
\
|
||
\]
|
||
|
||
GET
|
||
|
||
/deployments
|
||
|
||
Playground[](https://coolify.io/docs/api-reference/api/operations/list-deployments#playground)
|
||
|
||
------------------------------------------------------------------------------------------------
|
||
|
||
Authorization
|
||
|
||
bearerAuth
|
||
|
||
Try it out
|
||
|
||
Samples[](https://coolify.io/docs/api-reference/api/operations/list-deployments#samples)
|
||
|
||
------------------------------------------------------------------------------------------
|
||
|
||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|