Schematic dataexports API

The dataexports API from Schematic — 2 operation(s) for dataexports.

Operations 2

POST /data-exports Create data export #
GET /data-exports/{data_export_id}/artifact Get data export artifact #

Documentation

Specifications

SDKs

Schemas & Data

Other Resources

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/schematic-dataexports-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

schematic-dataexports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Schematic accesstokens Dataexports API
  version: '0.1'
  description: Schematic API
  x-rules-engine-schema-version: v97288f60
servers:
- url: https://api.schematichq.com
security:
- ApiKeyAuth: []
tags:
- name: dataexports
paths:
  /data-exports:
    post:
      operationId: createDataExport
      summary: Create data export
      tags:
      - dataexports
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDataExportRequestBody'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/DataExportResponseData'
                  params:
                    type: object
                    description: Input parameters
                    title: CreateDataExportParams
                required:
                - data
                - params
                title: CreateDataExportResponse
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/ServerError'
  /data-exports/{data_export_id}/artifact:
    get:
      operationId: getDataExportArtifact
      summary: Get data export artifact
      tags:
      - dataexports
      parameters:
      - name: data_export_id
        in: path
        description: data_export_id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/csv:
              schema:
                type: string
                format: binary
            application/octet-stream:
              schema:
                type: string
                format: binary
          headers:
            Content-Disposition:
              description: Indicates whether the content is expected to be displayed inline by the client or treated as an attachment to be downloaded.
              schema:
                type: string
                example: attachment; filename="file.csv"
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    DataExportType:
      type: string
      enum:
      - company-feature-usage
    CreateDataExportRequestBody:
      type: object
      properties:
        export_type:
          $ref: '#/components/schemas/DataExportType'
        metadata:
          type: string
          maxLength: 10240
        output_file_type:
          $ref: '#/components/schemas/DataExportOutputFileType'
      required:
      - export_type
      - output_file_type
      - metadata
      title: CreateDataExportRequestBody
    ApiError:
      type: object
      properties:
        error:
          type: string
          description: Error message
      required:
      - error
    DataExportOutputFileType:
      type: string
      enum:
      - csv
    DataExportStatus:
      type: string
      enum:
      - failure
      - pending
      - success
    DataExportResponseData:
      type: object
      properties:
        account_id:
          type: string
        created_at:
          type: string
          format: date-time
        environment_id:
          type: string
        export_type:
          $ref: '#/components/schemas/DataExportType'
        id:
          type: string
        metadata:
          type: string
        output_file_type:
          $ref: '#/components/schemas/DataExportOutputFileType'
        status:
          $ref: '#/components/schemas/DataExportStatus'
        updated_at:
          type: string
          format: date-time
      required:
      - id
      - account_id
      - environment_id
      - export_type
      - status
      - metadata
      - output_file_type
      - created_at
      - updated_at
      title: DataExportResponseData
  responses:
    ServerError:
      description: Server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    BadRequest:
      description: Bad request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    NotFound:
      description: Not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Forbidden:
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Schematic-Api-Key