dialogbrain-com Storage API

The storage API from dialogbrain-com — 8 operation(s) for storage.

Operations 8

GET /api/storage/config Get Config #
GET /api/storage/supabase/oauth Get Oauth Url #
GET /api/storage/supabase/callback Oauth Callback #
POST /api/storage/supabase/provision Start Provisioning #
GET /api/storage/supabase/status Get Status #
POST /api/storage/supabase/disconnect Disconnect Supabase #
GET /api/storage/supabase/usage Get Usage #
POST /api/storage/supabase/repair Repair Supabase Schema #

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/dialogbrain-com:dialogbrain-com-storage-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

dialogbrain-com-storage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DialogBrain v2 API Gateway Storage API
  description: Clean refactored API gateway with minimal vertical slice
  version: 0.1.0
tags:
- name: Storage
paths:
  /api/storage/config:
    get:
      tags:
      - Storage
      summary: Get Config
      description: Get current storage configuration for user's workspace.
      operationId: get_config_api_storage_config_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StorageConfigResponse'
  /api/storage/supabase/oauth:
    get:
      tags:
      - Storage
      summary: Get Oauth Url
      description: Get Supabase OAuth authorization URL.
      operationId: get_oauth_url_api_storage_supabase_oauth_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OAuthUrlResponse'
  /api/storage/supabase/callback:
    get:
      tags:
      - Storage
      summary: Oauth Callback
      description: 'Handle Supabase OAuth callback.


        This endpoint is called by Supabase after user authorizes.

        It exchanges the code for tokens and redirects to frontend.'
      operationId: oauth_callback_api_storage_supabase_callback_get
      parameters:
      - name: code
        in: query
        required: true
        schema:
          type: string
          title: Code
      - name: state
        in: query
        required: true
        schema:
          type: string
          title: State
      - name: error
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
      - name: error_description
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Description
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/storage/supabase/provision:
    post:
      tags:
      - Storage
      summary: Start Provisioning
      description: 'Start Supabase project provisioning.


        This creates a new Supabase project, runs migrations, and sets up storage.

        The process runs in the background; poll /status for progress.'
      operationId: start_provisioning_api_storage_supabase_provision_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProvisionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/storage/supabase/status:
    get:
      tags:
      - Storage
      summary: Get Status
      description: Get provisioning status.
      operationId: get_status_api_storage_supabase_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProvisioningStatusResponse'
  /api/storage/supabase/disconnect:
    post:
      tags:
      - Storage
      summary: Disconnect Supabase
      description: 'Disconnect Supabase integration or cancel pending OAuth.


        This reverts to shared storage. Data in Supabase is NOT deleted.

        Also handles canceling OAuth authorization before provisioning.'
      operationId: disconnect_supabase_api_storage_supabase_disconnect_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/storage/supabase/usage:
    get:
      tags:
      - Storage
      summary: Get Usage
      description: Get Supabase usage statistics.
      operationId: get_usage_api_storage_supabase_usage_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageResponse'
  /api/storage/supabase/repair:
    post:
      tags:
      - Storage
      summary: Repair Supabase Schema
      description: 'Repair Supabase database by applying schema snapshot.


        Use this if provisioning completed but migrations weren''t applied.'
      operationId: repair_supabase_schema_api_storage_supabase_repair_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  schemas:
    UsageResponse:
      properties:
        db_size_bytes:
          type: integer
          title: Db Size Bytes
        db_limit_bytes:
          type: integer
          title: Db Limit Bytes
        db_percent:
          type: number
          title: Db Percent
        storage_size_bytes:
          type: integer
          title: Storage Size Bytes
        storage_limit_bytes:
          type: integer
          title: Storage Limit Bytes
        storage_percent:
          type: number
          title: Storage Percent
        last_checked_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Last Checked At
      type: object
      required:
      - db_size_bytes
      - db_limit_bytes
      - db_percent
      - storage_size_bytes
      - storage_limit_bytes
      - storage_percent
      title: UsageResponse
      description: Supabase usage statistics.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProvisioningStatusResponse:
      properties:
        status:
          type: string
          title: Status
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
        migrations_applied:
          type: integer
          title: Migrations Applied
          default: 0
        migrations_total:
          type: integer
          title: Migrations Total
          default: 0
        started_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Started At
        completed_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Completed At
      type: object
      required:
      - status
      title: ProvisioningStatusResponse
      description: Provisioning status.
    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
    ProvisionRequest:
      properties:
        region:
          anyOf:
          - type: string
          - type: 'null'
          title: Region
      type: object
      title: ProvisionRequest
      description: Provisioning request.
    StorageConfigResponse:
      properties:
        storage_type:
          type: string
          title: Storage Type
        provisioning_status:
          anyOf:
          - type: string
          - type: 'null'
          title: Provisioning Status
        provisioning_error:
          anyOf:
          - type: string
          - type: 'null'
          title: Provisioning Error
        supabase_region:
          anyOf:
          - type: string
          - type: 'null'
          title: Supabase Region
        supabase_project_ref:
          anyOf:
          - type: string
          - type: 'null'
          title: Supabase Project Ref
        migrations_applied:
          type: integer
          title: Migrations Applied
          default: 0
        migrations_total:
          type: integer
          title: Migrations Total
          default: 0
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
      type: object
      required:
      - storage_type
      title: StorageConfigResponse
      description: Current storage configuration.
    OAuthUrlResponse:
      properties:
        url:
          type: string
          title: Url
        state:
          type: string
          title: State
      type: object
      required:
      - url
      - state
      title: OAuthUrlResponse
      description: OAuth URL for Supabase authorization.