---
title: "list operations"
method: GET
path: "/database_credentials/{database_credential_id}/operations"
tags: ["Operations"]
---

# list operations

`GET /database_credentials/{database_credential_id}/operations`

## Request

- Base URL: `https://api.aptible.com`
- URL: `https://api.aptible.com/database_credentials/{database_credential_id}/operations`
- Auth: API key in header `Authorization`

Returns a paginated list of operations for the specified database credential.

## Path parameters

- `database_credential_id` integer, required

## Query parameters

- `page` integer
- `per_page` integer
- `no_embed` boolean

## Headers

- `Prefer` 'no_sensitive_extras=true'

## Response `200`

successful

- ListOperationsForPersistentDisk200Response
  - `_embedded` ListOperationsForPersistentDisk200ResponseEmbedded, required
    - `operations` Operation[]
      - `id` integer, required
      - `_type` string, required
      - `type` string, required
      - `status` string, required
      - `cancelled` boolean, required
      - `aborted` boolean, required
      - `git_ref` string, required
      - `docker_ref` string, required
      - `deploy_image_id` integer
      - `env` object
      - `container_size` integer, required
      - `container_count` integer, required
      - `disk_size` integer, required
      - `command` string, required
      - `handle` string, required
      - `created_at` string, dateTime, required
      - `updated_at` string, dateTime, required
      - `certificate` string, required
      - `private_key` string
      - `user_name` string, required
      - `user_email` string, required
      - `destination_region` string, required
      - `interactive` boolean, required
      - `instance_profile` string, required
      - `mount_point` string, required
      - `daily` integer, required
      - `monthly` integer, required
      - `yearly` integer, required
      - `pitr_days` integer, required
      - `make_copy` boolean, required
      - `keep_final` boolean, required
      - `enable_backups` boolean, required
      - `enable_pitr` boolean, required
      - `settings` object, required
      - `sensitive_settings` object
      - `_links` OperationLinks
        - `user` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `resource` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `account` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `destination_account` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `ssh_portal_connections` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `ephemeral_sessions` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `code_scan_result` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `deploy_image` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `service` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
        - `self` ListAccountsForStack200ResponseLinksStack
          - `href` string, uri
  - `total_count` integer, required
  - `per_page` integer, required
  - `current_page` integer, required
  - `_links` ListDatabaseImages200ResponseLinks, required
    - `next` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `prev` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri
    - `self` ListAccountsForStack200ResponseLinksStack
      - `href` string, uri

## Other responses

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

## Changes

- **2026-10-20** `ba72edfe0324`: 2 info
  - added the optional property `_embedded/operations/items/_links/deploy_image` to the response with the `200` status
  - added the optional property `_embedded/operations/items/deploy_image_id` to the response with the `200` status
- **2026-07-24** `1dc1e5b8c6eb`: 3 breaking, 3 info
  - the response property `_embedded/operations/items/env` became optional for the status `200`
  - the response property `_embedded/operations/items/private_key` became optional for the status `200`
  - the response property `_embedded/operations/items/sensitive_settings` became optional for the status `200`
  - added the new optional `header` request parameter `Prefer`
  - …2 more
- **2025-11-14** `a0af32b45330`: 2 info
  - added the required property `_embedded/operations/items/sensitive_settings` to the response with the `200` status
  - added the required property `_embedded/operations/items/settings` to the response with the `200` status
- **2025-09-23** `feb595c222a1`: 2 info
  - added the required property `_embedded/operations/items/enable_backups` to the response with the `200` status
  - added the required property `_embedded/operations/items/enable_pitr` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/aptible/apis/aptible-api-v1/changes/database_credentials/:database_credential_id/operations/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)
