126 lines
2.3 KiB
Markdown
126 lines
2.3 KiB
Markdown
[Skip to content](https://coolify.io/docs/api-reference/api/operations/get-service-by-uuid#VPContent)
|
||
|
||
Return to top
|
||
|
||
Get[](https://coolify.io/docs/api-reference/api/operations/get-service-by-uuid#get)
|
||
|
||
=====================================================================================
|
||
|
||
GET
|
||
|
||
/services/{uuid}
|
||
|
||
Get service by UUID.
|
||
|
||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/get-service-by-uuid#authorizations)
|
||
|
||
-----------------------------------------------------------------------------------------------------------
|
||
|
||
bearerAuth
|
||
|
||
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
|
||
|
||
Type
|
||
|
||
HTTP (bearer)
|
||
|
||
Parameters[](https://coolify.io/docs/api-reference/api/operations/get-service-by-uuid#parameters)
|
||
|
||
---------------------------------------------------------------------------------------------------
|
||
|
||
### Path Parameters
|
||
|
||
uuid\*
|
||
|
||
Service UUID
|
||
|
||
Type
|
||
|
||
string
|
||
|
||
Required
|
||
|
||
Responses[](https://coolify.io/docs/api-reference/api/operations/get-service-by-uuid#responses)
|
||
|
||
-------------------------------------------------------------------------------------------------
|
||
|
||
200400401404
|
||
|
||
Get a service by UUID.
|
||
|
||
Content-Type
|
||
|
||
application/json
|
||
|
||
SchemaJSON
|
||
|
||
JSON
|
||
|
||
{
|
||
|
||
"id": 0,
|
||
|
||
"uuid": "string",
|
||
|
||
"name": "string",
|
||
|
||
"environment\_id": 0,
|
||
|
||
"server\_id": 0,
|
||
|
||
"description": "string",
|
||
|
||
"docker\_compose\_raw": "string",
|
||
|
||
"docker\_compose": "string",
|
||
|
||
"destination\_type": "string",
|
||
|
||
"destination\_id": 0,
|
||
|
||
"connect\_to\_docker\_network": true,
|
||
|
||
"is\_container\_label\_escape\_enabled": true,
|
||
|
||
"is\_container\_label\_readonly\_enabled": true,
|
||
|
||
"config\_hash": "string",
|
||
|
||
"service\_type": "string",
|
||
|
||
"created\_at": "string",
|
||
|
||
"updated\_at": "string",
|
||
|
||
"deleted\_at": "string"
|
||
|
||
}
|
||
|
||
GET
|
||
|
||
/services/{uuid}
|
||
|
||
Playground[](https://coolify.io/docs/api-reference/api/operations/get-service-by-uuid#playground)
|
||
|
||
---------------------------------------------------------------------------------------------------
|
||
|
||
Authorization
|
||
|
||
bearerAuth
|
||
|
||
Variables
|
||
|
||
Key
|
||
|
||
Value
|
||
|
||
uuid\*
|
||
|
||
Try it out
|
||
|
||
Samples[](https://coolify.io/docs/api-reference/api/operations/get-service-by-uuid#samples)
|
||
|
||
---------------------------------------------------------------------------------------------
|
||
|
||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|