---
title: "show service with operation status"
method: GET
path: "/services/{id}"
tags: ["Services"]
---

# show service with operation status

`GET /services/{id}`

## Request

- Base URL: `https://api.aptible.com`
- URL: `https://api.aptible.com/services/{id}`
- Auth: API key in header `Authorization`

Returns the details of a specific service, optionally including its current release operation status.

## Path parameters

- `id` integer, required

## Query parameters

- `include_operation_status` boolean
- `no_embed` boolean

## Headers

- `Prefer` 'no_sensitive_extras=true'

## Response `200`

excludes operation status when param is not present

- Service
  - `id` integer, required
  - `_type` string, required
  - `handle` string, required
  - `docker_repo` string, required
  - `docker_ref` string, required
  - `process_type` string, required
  - `command` string, required
  - `container_count` integer, required
  - `created_at` string, dateTime, required
  - `updated_at` string, dateTime, required
  - `container_memory_limit_mb` integer, required
  - `instance_class` string, required
  - `force_zero_downtime` boolean, required
  - `naive_health_check` boolean, required
  - `restart_free_scaling` boolean, required
  - `stop_timeout` integer, required
  - `_links` ServiceLinks
    - `account` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `current_release` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `app` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `database` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `operations` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `releases` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `vhosts` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `settings` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `current_setting` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `self` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri

## Other responses

- `default`: Error response. Often a 4xx or 5xx status code

## Changes

- **2026-07-24** `1dc1e5b8c6eb`: 2 info
  - added the new optional `header` request parameter `Prefer`
  - added the new optional `query` request parameter `no_embed`
- **2025-11-20** `1a8233ac6563`: 1 info
  - added the required property `restart_free_scaling` to the response with the `200` status
- **2025-11-14** `a0af32b45330`: 4 info
  - api operation id `GetService` removed and replaced with `GetServiceWithOperationStatus`
  - added the new optional `query` request parameter `include_operation_status`
  - added the optional property `_links/current_setting` to the response with the `200` status
  - added the optional property `_links/settings` to the response with the `200` status
- **2025-05-09** `ee2aa8884ffa`: 1 info
  - added the required property `stop_timeout` to the response with the `200` status
- **2024-09-18** `fc8a32acd201`: 2 info
  - added the required property `force_zero_downtime` to the response with the `200` status
  - added the required property `naive_health_check` to the response with the `200` status

[Operation history](https://skmtc.dev/aptible/apis/aptible-api-v1/changes/services/:id/get.md)

---

[API](https://skmtc.dev/aptible/apis/aptible-api-v1.md) - [All operations](https://skmtc.dev/aptible/apis/aptible-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/aptible/apis/aptible-api-v1/revisions/a21f6b1bc6fe?raw)
