Cloudinary Initial Backup API

Enables you to initiate and track an initial backup of existing assets in your product environment.

GitHub OpenAPI

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1_1/{cloud_name}/operations/initial_backup Start an initial backup · Create initial backup #
Ask an LLM
“How do I kick off an initial backup of my existing assets?”
“Can I get notified by email when an initial backup finishes?”
Tell an agent
Start an initial backup for {cloud_name}.
Create an initial backup for {cloud_name} and email {email} when it completes.
GET /v1_1/{cloud_name}/operations/initial_backup List initial backups · List initial backups #
Ask an LLM
“Which initial backups have been run on my account?”
“Can I page through initial backup operations?”
Tell an agent
List initial backups for {cloud_name}.
Show the first {max_results} initial backup operations for {cloud_name}.
GET /v1_1/{cloud_name}/operations/initial_backup/{id} Check an initial backup's status · Get initial backup #
Ask an LLM
“Has my initial backup finished yet?”
“What progress is an initial backup at?”
Tell an agent
Get initial backup {id} for {cloud_name}.
Show the status of initial backup {id} in {cloud_name}.

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/cloudinary:cloudinary-initial-backup-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

cloudinary-initial-backup-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudinary Initial Backup API
  version: 0.7.10
  contact:
    name: Cloudinary Support
    email: support@cloudinary.com
    url: https://support.cloudinary.com
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  termsOfService: https://cloudinary.com/tou
  description: 'Operations tagged initial_backup across 3 of this provider''s published API definitions: cloudinary-api-schema.yml, cloudinary-asset-management-openapi.yml, cloudinary-platform-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{region}.cloudinary.com
  description: Regional API endpoints for optimal performance.
  variables:
    region:
      default: api
      description: Regional endpoint selection
      enum:
      - api
      - api-eu
      - api-ap
- url: https://{host}
  description: Custom domains for enterprise deployments.
  variables:
    host:
      default: api.cloudinary.com
      description: API host domain.
security:
- basicAuth: []
- oauth2:
  - asset_management
  - upload
  - media_generation
tags:
- name: initial_backup
  description: Enables you to initiate and track an initial backup of existing assets in your product environment.
paths:
  /v1_1/{cloud_name}/operations/initial_backup:
    parameters:
    - $ref: '#/components/parameters/cloud_name'
    post:
      x-speakeasy-mcp:
        name: create-initial-backup
        scopes:
        - librarian
        title: Create Initial Backup
        disabled: true
      operationId: createInitialBackup
      summary: Create initial backup
      description: 'Initiates an initial backup of existing assets for the active product environment.

        Backup for new uploads must be enabled on the product environment, and the requester must be permitted to

        initiate a backup.'
      tags:
      - initial_backup
      requestBody:
        description: The initial backup configuration.
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/initial_backup_create_request'
      responses:
        '200':
          description: Initial backup queued successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/initial_backup_create_response'
              example:
                ok: true
        '400':
          description: Invalid request, backup not enabled, or self-service threshold exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Backup for new uploads isn't enabled. Turn it on before starting an initial backup of existing assets.
        '401':
          description: Authentication error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Invalid credentials
        '403':
          description: Not allowed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Not allowed
    get:
      x-speakeasy-mcp:
        name: list-initial-backups
        scopes:
        - librarian
        title: List Initial Backups
        readOnlyHint: true
        idempotentHint: true
        disabled: true
      operationId: listInitialBackups
      summary: List initial backups
      description: Lists initial backup operations for the active product environment, ordered from most recent to oldest.
      tags:
      - initial_backup
      parameters:
      - $ref: '#/components/parameters/max_results_query'
      - $ref: '#/components/parameters/next_cursor_query'
      responses:
        '200':
          description: Initial backup operations retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/initial_backup_list_response'
              example:
                initial_backups:
                - id: abc123def456
                  status: completed
                  created_at: '2024-05-07T10:00:00Z'
                next_cursor: eyJpZCI6MTIzfQ==
        '401':
          description: Authentication error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Invalid credentials
    servers:
    - url: https://{region}.cloudinary.com
      description: Regional API endpoints for optimal performance.
      variables:
        region:
          default: api
          description: Regional endpoint selection
          enum:
          - api
          - api-eu
          - api-ap
    - url: https://{host}
      description: Custom domains for enterprise deployments.
      variables:
        host:
          default: api.cloudinary.com
          description: API host domain.
  /v1_1/{cloud_name}/operations/initial_backup/{id}:
    parameters:
    - $ref: '#/components/parameters/cloud_name'
    - $ref: '#/components/parameters/initial_backup_id'
    get:
      x-speakeasy-mcp:
        name: get-initial-backup
        scopes:
        - librarian
        title: Get Initial Backup
        readOnlyHint: true
        idempotentHint: true
        disabled: true
      operationId: getInitialBackup
      summary: Get initial backup
      description: Retrieves the progress and status of a single initial backup operation by its ID.
      tags:
      - initial_backup
      responses:
        '200':
          description: Initial backup retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/initial_backup_progress_response'
              example:
                status: completed
                start_time: '2024-05-07T10:00:00Z'
                completion_time: '2024-05-07T11:00:00Z'
                processed_assets_count: 42
        '401':
          description: Authentication error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Invalid credentials
        '403':
          description: Not allowed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Not allowed
        '404':
          description: Initial backup operation not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Operation does not exist
    servers:
    - url: https://{region}.cloudinary.com
      description: Regional API endpoints for optimal performance.
      variables:
        region:
          default: api
          description: Regional endpoint selection
          enum:
          - api
          - api-eu
          - api-ap
    - url: https://{host}
      description: Custom domains for enterprise deployments.
      variables:
        host:
          default: api.cloudinary.com
          description: API host domain.
components:
  schemas:
    initial_backup_list_response:
      type: object
      properties:
        initial_backups:
          type: array
          items:
            $ref: '#/components/schemas/initial_backup_summary'
          description: The list of initial backup operations.
        next_cursor:
          type: string
          description: Cursor for the next page of results. Present only when more results are available.
      required:
      - initial_backups
    initial_backup_progress_response:
      type: object
      properties:
        status:
          $ref: '#/components/schemas/initial_backup_status_enum'
        start_time:
          type: string
          format: date-time
          description: The date and time when the initial backup operation started.
          example: '2024-05-07T10:00:00Z'
        completion_time:
          type:
          - string
          - 'null'
          format: date-time
          description: The date and time when the initial backup operation completed. Null while the operation is still running.
          example: '2024-05-07T11:00:00Z'
        processed_assets_count:
          type:
          - integer
          - 'null'
          description: The number of assets processed so far. Null when progress cannot be determined.
          example: 42
        reason:
          type: string
          enum:
          - elasticsearch_not_enabled
          - no_results_from_search
          - no_assets_were_processed
          description: A reason code explaining why progress is unavailable. Present only when processed_assets_count is null.
          example: elasticsearch_not_enabled
      required:
      - status
      - start_time
    initial_backup_create_response:
      type: object
      properties:
        ok:
          type: boolean
          description: Indicates that the initial backup was queued successfully.
          example: true
      required:
      - ok
    initial_backup_summary:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the initial backup operation.
          example: abc123def456
        status:
          $ref: '#/components/schemas/initial_backup_status_enum'
        created_at:
          type: string
          format: date-time
          description: The date and time when the initial backup operation was created.
          example: '2024-05-07T10:00:00Z'
      required:
      - id
      - status
      - created_at
    api_error:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
          required:
          - message
      required:
      - error
    initial_backup_status_enum:
      type: string
      enum:
      - pending
      - active
      - completed
      - failed
      description: The current status of the initial backup operation.
    initial_backup_create_request:
      type: object
      properties:
        email:
          type: string
          format: email
          description: An optional email address to notify when the initial backup completes.
          example: user@example.com
  parameters:
    cloud_name:
      name: cloud_name
      in: path
      required: true
      schema:
        type: string
      description: The cloud name of your product environment.
      example: my_cloud
    initial_backup_id:
      name: id
      in: path
      required: true
      schema:
        type: string
      description: The unique identifier of the initial backup operation.
      example: abc123def456
    next_cursor_query:
      name: next_cursor
      in: query
      required: false
      schema:
        type: string
      description: The cursor for pagination. Use the next_cursor value from a previous response to get the next page of results.
    max_results_query:
      name: max_results
      in: query
      required: false
      schema:
        type: integer
        minimum: 1
        maximum: 500
        default: 10
      description: The maximum number of results to return. Default is 10.
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Basic authentication using Cloudinary API Key and API Secret.
    oauth2:
      type: oauth2
      description: OAuth2 Authorization Code flow for user authentication
      flows:
        authorizationCode:
          authorizationUrl: https://oauth.cloudinary.com/oauth2/auth
          tokenUrl: https://oauth.cloudinary.com/oauth2/token
          scopes:
            asset_management: Allows managing assets, including reading, updating, and deleting.
            upload: Allows uploading new assets.
            media_generation: Generate media
x-refined-from:
- cloudinary-api-schema.yml
- cloudinary-asset-management-openapi.yml
- cloudinary-platform-openapi.yml