Skip to content

Deployment

deployment_service_get

Get a single service by id

Tool

deployment_service_get

Get a single service by id

Get a single service by id

Behavior

HTTP
GET /deployment/services/:id

Arguments

NameTypeRequiredDescription
idstringNo description in the catalog.

Response

FieldTypeAlwaysDescription
idstring
namestring
slugstring
probesobject
sourceobject
replicasinteger
createdAtstring
dependsOnarray
resourcesobject
updatedAtstring
sleepStatestring
idleMinutesinteger
scaleToZeroboolean
containerPortinteger
environmentIdstring
buildMachineTypestring
suspendedByBillingboolean
lastReplicasRunninginteger
scaleToZeroEligibilityobject

Try it

Get a single service by id.

When to use

Get a single service by id

Example

Ask your agent something like this:

Get a single service by id.

The agent will invoke deployment_service_get with these arguments:

{
  "id": "<id>"
}

Esc

Start typing to search the docs.

navigateselect