Softkiln Backups API

The backups API from Softkiln — 8 operation(s) for backups.

GitHub OpenAPI

Operations 11

GET /api/apps/{name}/backups/settings Get Backup Settings #
PUT /api/apps/{name}/backups/settings Update Backup Settings #
GET /api/apps/{name}/backups/health Get Backup Health #
GET /api/apps/{name}/backups/secret-check Get Secret Check #
POST /api/apps/{name}/backups/rotate-secret Post Rotate Secret #
GET /api/apps/{name}/backups List Backups #
POST /api/apps/{name}/backups Create Backup #
DELETE /api/apps/{name}/backups Delete Failed Backups #
GET /api/apps/{name}/backups/{run_id}/download Download Backup #
DELETE /api/apps/{name}/backups/{run_id} Delete Backup #
POST /api/apps/{name}/restore Restore Backup #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/softkiln-com:softkiln-com-backups-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

softkiln-com-backups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: App Manager Backups API
  version: 0.1.0
tags:
- name: Backups
paths:
  /api/apps/{name}/backups/settings:
    get:
      tags:
      - Backups
      summary: Get Backup Settings
      operationId: get_backup_settings_api_apps__name__backups_settings_get
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BackupSettingsOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Backups
      summary: Update Backup Settings
      operationId: update_backup_settings_api_apps__name__backups_settings_put
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateBackupSettingsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BackupSettingsOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/apps/{name}/backups/health:
    get:
      tags:
      - Backups
      summary: Get Backup Health
      operationId: get_backup_health_api_apps__name__backups_health_get
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BackupHealthOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/apps/{name}/backups/secret-check:
    get:
      tags:
      - Backups
      summary: Get Secret Check
      operationId: get_secret_check_api_apps__name__backups_secret_check_get
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecretCheckOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/apps/{name}/backups/rotate-secret:
    post:
      tags:
      - Backups
      summary: Post Rotate Secret
      operationId: post_rotate_secret_api_apps__name__backups_rotate_secret_post
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RotateSecretOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/apps/{name}/backups:
    get:
      tags:
      - Backups
      summary: List Backups
      operationId: list_backups_api_apps__name__backups_get
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BackupRunOut'
                title: Response List Backups Api Apps  Name  Backups Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Backups
      summary: Create Backup
      operationId: create_backup_api_apps__name__backups_post
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BackupRunOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Backups
      summary: Delete Failed Backups
      description: 'Bulk-delete every backup_run for the app whose status == ''failed''.


        Convenience for clearing noise rows produced while a service was broken.

        Failed rows almost never have S3 objects, but we still go through

        delete_backup_run so any stragglers get cleaned up.'
      operationId: delete_failed_backups_api_apps__name__backups_delete
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/apps/{name}/backups/{run_id}/download:
    get:
      tags:
      - Backups
      summary: Download Backup
      operationId: download_backup_api_apps__name__backups__run_id__download_get
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      - name: file
        in: query
        required: false
        schema:
          type: string
          default: db.dump
          title: File
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/apps/{name}/backups/{run_id}:
    delete:
      tags:
      - Backups
      summary: Delete Backup
      operationId: delete_backup_api_apps__name__backups__run_id__delete
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/apps/{name}/restore:
    post:
      tags:
      - Backups
      summary: Restore Backup
      operationId: restore_backup_api_apps__name__restore_post
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RestoreRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BackupRunOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BackupHealthOut:
      properties:
        enabled:
          type: boolean
          title: Enabled
        schedule:
          type: string
          title: Schedule
        min_keep:
          type: integer
          title: Min Keep
        retention_days:
          type: integer
          title: Retention Days
        successful_runs_count:
          type: integer
          title: Successful Runs Count
        last_successful_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Successful At
        last_attempt_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Attempt At
        last_attempt_status:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Attempt Status
        status:
          type: string
          title: Status
      type: object
      required:
      - enabled
      - schedule
      - min_keep
      - retention_days
      - successful_runs_count
      - last_successful_at
      - last_attempt_at
      - last_attempt_status
      - status
      title: BackupHealthOut
    RestoreRequest:
      properties:
        run_id:
          type: string
          title: Run Id
        confirm_name:
          type: string
          title: Confirm Name
      type: object
      required:
      - run_id
      - confirm_name
      title: RestoreRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SecretCheckOut:
      properties:
        status:
          type: string
          title: Status
        expected_fp:
          anyOf:
          - type: string
          - type: 'null'
          title: Expected Fp
        customer_fp:
          anyOf:
          - type: string
          - type: 'null'
          title: Customer Fp
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
      type: object
      required:
      - status
      - expected_fp
      - customer_fp
      - error
      title: SecretCheckOut
    BackupSettingsOut:
      properties:
        enabled:
          type: boolean
          title: Enabled
        schedule:
          type: string
          title: Schedule
        retention_days:
          type: integer
          title: Retention Days
        min_keep:
          type: integer
          title: Min Keep
      type: object
      required:
      - enabled
      - schedule
      - retention_days
      - min_keep
      title: BackupSettingsOut
    BackupRunOut:
      properties:
        id:
          type: string
          title: Id
        kind:
          type: string
          title: Kind
        status:
          type: string
          title: Status
        triggered_by:
          type: string
          title: Triggered By
        s3_key:
          anyOf:
          - type: string
          - type: 'null'
          title: S3 Key
        db_size_bytes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Db Size Bytes
        volume_size_bytes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Volume Size Bytes
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
        started_at:
          type: string
          title: Started At
        finished_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Finished At
      type: object
      required:
      - id
      - kind
      - status
      - triggered_by
      - s3_key
      - db_size_bytes
      - volume_size_bytes
      - error
      - started_at
      - finished_at
      title: BackupRunOut
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    UpdateBackupSettingsRequest:
      properties:
        enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Enabled
        schedule:
          anyOf:
          - type: string
          - type: 'null'
          title: Schedule
        retention_days:
          anyOf:
          - type: integer
          - type: 'null'
          title: Retention Days
        min_keep:
          anyOf:
          - type: integer
          - type: 'null'
          title: Min Keep
      type: object
      title: UpdateBackupSettingsRequest
    RotateSecretOut:
      properties:
        fingerprint:
          type: string
          title: Fingerprint
      type: object
      required:
      - fingerprint
      title: RotateSecretOut