WaveHouse Cloud Exports API

Bulk exports of a project's tables.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

GET /v1/projects/{project_id}/exports List the project's export jobs, newest first #
POST /v1/projects/{project_id}/exports Start an export of the project's data to object storage (owner/admin) #
GET /v1/projects/{project_id}/exports/{job_id} Get one export job's status and progress #
POST /v1/projects/{project_id}/exports/{job_id}/cancel Stop a queued or running export (owner/admin) #
GET /v1/projects/{project_id}/exports/{job_id}/download Get short-lived presigned download links for a finished export #

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/wavehouse-cloud:wavehouse-cloud-exports-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

wavehouse-cloud-exports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Wavehouse Cloud Exports API
  version: 0.65.0
  contact:
    name: WaveHouse Cloud
    url: https://wavehouse.cloud
  license:
    name: Proprietary — © Wave RF. All rights reserved.
  description: 'Operations tagged exports across 2 of this provider''s published API definitions: openapi.json, wavehouse-cloud-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- description: WaveHouse Cloud production API
  url: https://api.wavehouse.cloud
tags:
- description: Bulk exports of a project's tables.
  name: Exports
paths:
  /v1/projects/{project_id}/exports:
    get:
      description: Any org member. Returns each job's status, ordered progress steps and row/byte counters.
      operationId: list-project-exports
      parameters:
      - in: path
        name: project_id
        required: true
        schema:
          type: string
      - description: page size; 0 or absent means 50
        explode: false
        in: query
        name: limit
        schema:
          description: page size; 0 or absent means 50
          format: int64
          maximum: 200
          minimum: 0
          type: integer
      - description: next_cursor from the previous page; absent for the first page
        explode: false
        in: query
        name: cursor
        schema:
          description: next_cursor from the previous page; absent for the first page
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExportPage'
          description: OK
        '429':
          $ref: '#/components/responses/TooManyRequests'
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
      - session: []
      - workos_bearer: []
      - api_key: []
      summary: List the project's export jobs, newest first
      tags:
      - Exports
      x-whc-access: customer
      x-whc-effects:
      - read
    post:
      description: 'Queues an asynchronous export. ClickHouse writes the data DIRECTLY to object storage — no bytes pass through this API — so the response is a job you poll, not a file. Each table produces a data object plus a `

        .schema.sql` sidecar holding its CREATE TABLE (the only thing that carries ENGINE, ORDER BY, PARTITION BY, TTL and codecs; no data format does). Format `native` (default) is lossless. Format `parquet` is for interop and is lossy at two edges: Enum8/Enum16 keep their LABELS but not their ordinals (round-tripping into a differently-ordered Enum rewrites the data), and LowCardinality(T) returns as plain T. A table holding a type Parquet cannot represent (e.g. AggregateFunction) fails the job with an error naming the column. A ReplacingMergeTree is exported UN-MERGED — the faithful dump of what is stored. The produced objects are transfer scratch: they are deleted after 7 days, and each download link is signed for 15 minutes.'
      operationId: create-project-export
      parameters:
      - description: 'A unique value you choose per logical request (a random UUID). A retry with the same key and the same request within 24 hours returns the first response, marked Idempotency-Replayed: true, instead of acting twice. The same key with a different request is refused with 422; one sent while the first is still running gets 409.'
        in: header
        name: Idempotency-Key
        schema:
          description: 'A unique value you choose per logical request (a random UUID). A retry with the same key and the same request within 24 hours returns the first response, marked Idempotency-Replayed: true, instead of acting twice. The same key with a different request is refused with 422; one sent while the first is still running gets 409.'
          maxLength: 255
          type: string
      - in: path
        name: project_id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProjectExportInput'
        required: true
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExportView'
          description: Accepted
        '429':
          $ref: '#/components/responses/TooManyRequests'
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
      - session: []
      - workos_bearer: []
      - api_key: []
      summary: Start an export of the project's data to object storage (owner/admin)
      tags:
      - Exports
      x-whc-access: customer
      x-whc-effects:
      - write
    servers:
    - description: WaveHouse Cloud production API
      url: https://api.wavehouse.cloud
  /v1/projects/{project_id}/exports/{job_id}:
    get:
      description: 'Any org member. Poll this while an export runs: `steps` is the ordered checkpoint list and `rows_done`/`bytes_done` advance per table.'
      operationId: get-project-export
      parameters:
      - in: path
        name: project_id
        required: true
        schema:
          type: string
      - in: path
        name: job_id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExportView'
          description: OK
        '429':
          $ref: '#/components/responses/TooManyRequests'
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
      - session: []
      - workos_bearer: []
      - api_key: []
      summary: Get one export job's status and progress
      tags:
      - Exports
      x-whc-access: customer
      x-whc-effects:
      - read
    servers:
    - description: WaveHouse Cloud production API
      url: https://api.wavehouse.cloud
  /v1/projects/{project_id}/exports/{job_id}/cancel:
    post:
      description: 'Stops the transfer for real: the worker running it KILLs the in-flight `INSERT INTO FUNCTION s3(…)` within seconds rather than merely marking it cancelled, so it stops consuming resources; `killed_statements` is 0 because that worker, not this call, stops the statement. IDEMPOTENT: cancelling a job that has already finished returns 200 with `cancelled: false` rather than an error. An export only READS your data, so cancelling one cannot have changed your project; any partial objects already written are never downloadable (only a succeeded export produces links) and expire on the bucket''s own lifecycle.'
      operationId: cancel-project-export
      parameters:
      - in: path
        name: project_id
        required: true
        schema:
          type: string
      - in: path
        name: job_id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancelProjectExportOutput'
          description: OK
        '429':
          $ref: '#/components/responses/TooManyRequests'
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
      - session: []
      - workos_bearer: []
      - api_key: []
      summary: Stop a queued or running export (owner/admin)
      tags:
      - Exports
      x-whc-access: customer
      x-whc-effects:
      - write
    servers:
    - description: WaveHouse Cloud production API
      url: https://api.wavehouse.cloud
  /v1/projects/{project_id}/exports/{job_id}/download:
    get:
      description: Any org member. Returns one presigned GET per produced object (data + schema sidecar), signed by a read-only session scoped to this job's prefix alone. Each link expires in 15 minutes — re-request them rather than storing them. Only a succeeded job has links. The export itself is deleted from object storage 7 days after it is produced; see the transfer/limits endpoint for this deployment's exact values.
      operationId: download-project-export
      parameters:
      - in: path
        name: project_id
        required: true
        schema:
          type: string
      - in: path
        name: job_id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DownloadProjectExportOutput'
          description: OK
        '429':
          $ref: '#/components/responses/TooManyRequests'
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
      - session: []
      - workos_bearer: []
      - api_key: []
      summary: Get short-lived presigned download links for a finished export
      tags:
      - Exports
      x-whc-access: customer
      x-whc-effects:
      - read
    servers:
    - description: WaveHouse Cloud production API
      url: https://api.wavehouse.cloud
components:
  responses:
    TooManyRequests:
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/TooManyRequestsView'
      description: Rate limited, per client IP, API key or org; a client IP is also refused on every route for a while after repeated authentication failures. A limited operation carries RateLimit-Policy and RateLimit on every response; wait Retry-After seconds before retrying.
      headers:
        RateLimit:
          description: 'what is left of each: "<class>.<dimension>";r=<remaining requests>;t=<seconds until it is whole>'
          schema:
            type: string
        RateLimit-Policy:
          description: 'each quota: "<class>.<dimension>";q=<requests>;w=<window seconds>'
          schema:
            type: string
        Retry-After:
          description: seconds to wait before retrying
          schema:
            type: integer
  schemas:
    CancelProjectExportOutput:
      additionalProperties: false
      properties:
        cancelled:
          description: false means the job had already finished and nothing was stopped — not an error
          type: boolean
        export:
          $ref: '#/components/schemas/ExportView'
        kill_error:
          description: 'never set: the statement is stopped by the worker running the transfer, not by this call'
          type: string
        killed_statements:
          description: 'in-flight ClickHouse statements this call stopped itself: 0, because the worker running the transfer stops its own statement within seconds of the cancel'
          format: int64
          type: integer
      required:
      - export
      - cancelled
      - killed_statements
      type: object
    TooManyRequestsView:
      additionalProperties: false
      properties:
        detail:
          description: A human-readable explanation specific to this occurrence of the problem.
          examples:
          - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
        instance:
          description: A URI reference that identifies the specific occurrence of the problem.
          examples:
          - https://example.com/error-log/abc123
          format: uri
          type: string
        retry_after:
          description: seconds to wait before retrying; the Retry-After header's value
          format: int64
          type: integer
        status:
          description: HTTP status code
          examples:
          - 400
          format: int64
          type: integer
        title:
          description: A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
          examples:
          - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
          - https://example.com/errors/example
          format: uri
          type: string
      required:
      - retry_after
      type: object
    ExportView:
      additionalProperties: false
      properties:
        attempt:
          format: int64
          type: integer
        bytes_done:
          format: int64
          type: integer
        cancel_requested:
          type: boolean
        created_at:
          format: date-time
          type: string
        finished_at:
          format: date-time
          type: string
        format:
          description: native | parquet
          type: string
        job_id:
          pattern: ^[6789bcdfghjkmnpqrtwz]{20}$
          type: string
        last_error:
          type: string
        query_id:
          description: the engine query_id of the statement most recently issued for this job
          type: string
        rows_done:
          format: int64
          type: integer
        started_at:
          format: date-time
          type: string
        status:
          description: queued | running | succeeded | failed | dead | cancelled
          type: string
        steps:
          items:
            $ref: '#/components/schemas/ExportStepView'
          type: array
        tables:
          description: the requested tables; empty means the whole project database
          items:
            type: string
          type: array
      required:
      - job_id
      - status
      - format
      - steps
      - rows_done
      - bytes_done
      - attempt
      - created_at
      type: object
    ExportDownloadView:
      additionalProperties: false
      properties:
        expires_at:
          format: date-time
          type: string
        kind:
          description: data | schema
          type: string
        name:
          type: string
        table:
          type: string
        url:
          description: presigned GET; expires shortly — treat it as single-use
          type: string
      required:
      - name
      - table
      - kind
      - url
      - expires_at
      type: object
    DownloadProjectExportOutput:
      additionalProperties: false
      properties:
        downloads:
          items:
            $ref: '#/components/schemas/ExportDownloadView'
          type: array
      required:
      - downloads
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
    CreateProjectExportInput:
      additionalProperties: false
      properties:
        format:
          description: native (default, lossless) or parquet (interop; Enum ordinals and LowCardinality encoding are NOT preserved)
          type: string
        tables:
          description: tables to export; omit or leave empty to export every table in the project
          items:
            type: string
          type: array
      type: object
    ErrorModel:
      additionalProperties: false
      properties:
        detail:
          description: A human-readable explanation specific to this occurrence of the problem.
          examples:
          - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
        instance:
          description: A URI reference that identifies the specific occurrence of the problem.
          examples:
          - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
          - 400
          format: int64
          type: integer
        title:
          description: A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
          examples:
          - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
          - https://example.com/errors/example
          format: uri
          type: string
      type: object
    ExportPage:
      additionalProperties: false
      properties:
        data:
          items:
            $ref: '#/components/schemas/ExportView'
          type: array
        next_cursor:
          description: pass as cursor to fetch the next page; null on the last page
          type:
          - string
          - 'null'
      required:
      - data
      - next_cursor
      type: object
    ExportStepView:
      additionalProperties: false
      properties:
        detail:
          type: string
        done_at:
          description: absent while pending
          format: date-time
          type: string
        name:
          description: plan | credential | schema:<table> | data:<table> | cancelled
          type: string
        status:
          description: pending | done | failed
          type: string
      required:
      - name
      - status
      type: object
  securitySchemes:
    api_key:
      description: 'An API key (project-scoped programmatic access). Alternative to Authorization: Bearer.'
      in: header
      name: X-API-Key
      type: apiKey
    session:
      description: Customer browser session cookie, set by the hosted sign-on flow (GET /v1/auth/login → callback). Used by the web console; programmatic clients use an API key or a bearer JWT instead.
      in: cookie
      name: whc_session
      type: apiKey
    workos_bearer:
      bearerFormat: access token (JWT) or API key
      description: An issued bearer credential (a hosted sign-in access token or an API key). Verified server-side; resolves to the customer's org, role, and (for a key) allowed project scope.
      scheme: bearer
      type: http
externalDocs:
  description: Interactive API reference
  url: https://api.wavehouse.cloud/docs
x-refined-from:
- openapi.json
- wavehouse-cloud-openapi.json