DBT Capital Upload API

File uploads

Operations 3

POST /upload Prepare upload #
POST /upload/{id}/content Put file contents for upload #
GET /upload/{id} Get metadata for a file #

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/dbt-se:dbt-se-upload-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

dbt-se-upload-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DBT Capital Upload API
  version: 1.0.0
  description: File uploads
servers:
- url: https://api.p.dbt.se
  description: Current environment
tags:
- name: Upload
  description: File uploads
paths:
  /upload:
    post:
      tags:
      - Upload
      summary: Prepare upload
      x-source-file: js/node/hono/api/src/upload/router.ts
      security:
      - JWT Bearer: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutUploadRequestBody'
      responses:
        '200':
          description: Upload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadResponseBody'
        '404':
          description: Not found
      operationId: postUpload
      x-operation-id-source: derived
  /upload/{id}/content:
    post:
      tags:
      - Upload
      summary: Put file contents for upload
      x-source-file: js/node/hono/api/src/upload/router.ts
      security:
      - JWT Bearer: []
      parameters:
      - schema:
          type: string
          description: ID of the upload
        required: true
        description: ID of the upload
        name: id
        in: path
      - schema:
          type: string
        required: true
        name: content-length
        in: header
      requestBody:
        content:
          application/octet-stream:
            schema:
              type: string
              format: binary
      responses:
        '200':
          description: Upload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadResponseBody'
        '400':
          description: Client error
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    enum:
                    - noFile
                    - missingContentLengthHeader
                    - contentLengthHeaderMismatch
                    - alreadyUpdated
                  message:
                    type: string
                required:
                - code
                - message
        '404':
          description: Upload not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    enum:
                    - notFound
                  message:
                    type: string
                required:
                - code
                - message
      operationId: postUploadByIdContent
      x-operation-id-source: derived
  /upload/{id}:
    get:
      tags:
      - Upload
      summary: Get metadata for a file
      x-source-file: js/node/hono/api/src/upload/router.ts
      security:
      - JWT Bearer: []
      parameters:
      - schema:
          type: string
          description: ID of the upload
        required: true
        description: ID of the upload
        name: id
        in: path
      responses:
        '200':
          description: Upload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadResponseBody'
        '404':
          description: Upload not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    enum:
                    - notFound
                  message:
                    type: string
                required:
                - code
                - message
      operationId: getUploadById
      x-operation-id-source: derived
components:
  schemas:
    UploadedByResponseBody:
      oneOf:
      - type: object
        properties:
          type:
            type: string
            enum:
            - system
          value:
            type: 'null'
        required:
        - type
        - value
      - type: object
        properties:
          type:
            type: string
            enum:
            - ssn
          value:
            type: string
          physicalPersonId:
            type: string
            format: uuid
        required:
        - type
        - value
        - physicalPersonId
      - type: object
        properties:
          type:
            type: string
            enum:
            - dbt-staff-member-id
          value:
            type: string
        required:
        - type
        - value
      - type: object
        properties:
          type:
            type: string
            enum:
            - consent
          value:
            type: string
        required:
        - type
        - value
    PutUploadRequestBody:
      type: object
      properties:
        name:
          type: string
        size:
          type: integer
          minimum: 0
        contentType:
          type: string
        tags:
          type: array
          items:
            type: string
      required:
      - name
      - size
      - contentType
    UploadResponseBody:
      oneOf:
      - type: object
        properties:
          id:
            type: string
          name:
            type: string
          size:
            type: integer
            minimum: 0
          contentType:
            type: string
          tags:
            type: array
            items:
              type: string
          uploadedBy:
            $ref: '#/components/schemas/UploadedByResponseBody'
          uploaded:
            type: boolean
            enum:
            - true
          md5Hash:
            type: string
        required:
        - id
        - name
        - size
        - contentType
        - uploadedBy
        - uploaded
        - md5Hash
      - type: object
        properties:
          id:
            type: string
          name:
            type: string
          size:
            type: integer
            minimum: 0
          contentType:
            type: string
          tags:
            type: array
            items:
              type: string
          uploadedBy:
            $ref: '#/components/schemas/UploadedByResponseBody'
          uploaded:
            type: boolean
            enum:
            - false
        required:
        - id
        - name
        - size
        - contentType
        - uploadedBy
        - uploaded
  securitySchemes:
    JWT_Bearer:
      bearerFormat: JWT
      handlers:
      - null
      - null
      scheme: bearer
      type: http
    Cookie:
      handlers:
      - null
      - null
      name: .dbt.accessToken
      scheme: cookie
      type: http