BlendDuck Media API

Inspected media assets and upload ingestion.

Operations 3

GET /api/v1/media List workspace media #
POST /api/v1/media Upload inspected workspace media #
GET /api/v1/media/{mediaId} Get workspace media #

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/blendduck-com:blendduck-com-media-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

blendduck-com-media-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: BlendDuck Public Media API
  version: '1'
  summary: Organization-scoped social publishing resources
  description: The bearer API key selects one organization, so resource paths never require a workspace identifier.
  license:
    name: Proprietary
    identifier: LicenseRef-Proprietary
servers:
- url: https://blendduck.com
  description: Production
tags:
- name: Media
  description: Inspected media assets and upload ingestion.
paths:
  /api/v1/media:
    get:
      operationId: listMedia
      summary: List workspace media
      description: List workspace media.
      tags:
      - Media
      security:
      - bearerAuth: []
      x-blendduck-required-scope: media:read
      x-blendduck-mcp:
        eligible: true
        category: media
      parameters:
      - $ref: '#/components/parameters/RequestId'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Cursor'
      responses:
        '200':
          description: Media collection
          headers:
            X-BlendDuck-API-Version:
              $ref: '#/components/headers/ApiVersion'
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimitReset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MediaListResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
    post:
      operationId: uploadMedia
      summary: Upload inspected workspace media
      description: Upload inspected workspace media.
      tags:
      - Media
      security:
      - bearerAuth: []
      x-blendduck-required-scope: media:write
      x-blendduck-mcp:
        eligible: false
        reason: browser-upload-session
      parameters:
      - $ref: '#/components/parameters/RequestId'
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/MediaUploadInput'
            encoding:
              files:
                style: form
                explode: true
      responses:
        '201':
          description: Uploaded media
          headers:
            X-BlendDuck-API-Version:
              $ref: '#/components/headers/ApiVersion'
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimitReset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MediaBatchResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '413':
          $ref: '#/components/responses/PayloadTooLarge'
        '415':
          $ref: '#/components/responses/UnsupportedMediaType'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
  /api/v1/media/{mediaId}:
    get:
      operationId: getMedia
      summary: Get workspace media
      description: Get workspace media.
      tags:
      - Media
      security:
      - bearerAuth: []
      x-blendduck-required-scope: media:read
      x-blendduck-mcp:
        eligible: true
        category: media
      parameters:
      - $ref: '#/components/parameters/RequestId'
      - $ref: '#/components/parameters/MediaId'
      responses:
        '200':
          description: Media
          headers:
            X-BlendDuck-API-Version:
              $ref: '#/components/headers/ApiVersion'
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimitReset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MediaResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    MediaUploadInput:
      type: object
      required:
      - files
      properties:
        files:
          type: array
          minItems: 1
          items:
            type: string
            format: binary
        addToLibrary:
          type: boolean
          default: true
      additionalProperties: false
    MediaBatchResponse:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
                pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
              kind:
                type: string
                enum:
                - image
                - video
              url:
                type: string
                minLength: 1
              thumbnailUrl:
                anyOf:
                - type: string
                - type: 'null'
              fileName:
                anyOf:
                - type: string
                - type: 'null'
              mimeType:
                anyOf:
                - type: string
                - type: 'null'
              bytes:
                anyOf:
                - type: integer
                  minimum: 0
                  maximum: 9007199254740991
                - type: 'null'
              width:
                anyOf:
                - type: integer
                  exclusiveMinimum: 0
                  maximum: 9007199254740991
                - type: 'null'
              height:
                anyOf:
                - type: integer
                  exclusiveMinimum: 0
                  maximum: 9007199254740991
                - type: 'null'
              animationFrameCount:
                anyOf:
                - type: integer
                  exclusiveMinimum: 0
                  maximum: 9007199254740991
                - type: 'null'
              durationSeconds:
                anyOf:
                - type: number
                  minimum: 0
                - type: 'null'
              frameRate:
                anyOf:
                - type: number
                  exclusiveMinimum: 0
                  maximum: 1000
                - type: 'null'
              videoCodec:
                anyOf:
                - type: string
                  enum:
                  - av1
                  - h264
                  - h265
                  - vp8
                  - vp9
                - type: 'null'
              createdAt:
                type: string
                format: date-time
                pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
            required:
            - id
            - kind
            - url
            - thumbnailUrl
            - fileName
            - mimeType
            - bytes
            - width
            - height
            - durationSeconds
            - createdAt
            additionalProperties: false
        meta:
          type: object
          properties:
            requestId:
              type: string
              minLength: 1
              maxLength: 128
          required:
          - requestId
          additionalProperties: false
      required:
      - data
      - meta
      additionalProperties: false
    MediaListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
                pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
              kind:
                type: string
                enum:
                - image
                - video
              url:
                type: string
                minLength: 1
              thumbnailUrl:
                anyOf:
                - type: string
                - type: 'null'
              fileName:
                anyOf:
                - type: string
                - type: 'null'
              mimeType:
                anyOf:
                - type: string
                - type: 'null'
              bytes:
                anyOf:
                - type: integer
                  minimum: 0
                  maximum: 9007199254740991
                - type: 'null'
              width:
                anyOf:
                - type: integer
                  exclusiveMinimum: 0
                  maximum: 9007199254740991
                - type: 'null'
              height:
                anyOf:
                - type: integer
                  exclusiveMinimum: 0
                  maximum: 9007199254740991
                - type: 'null'
              animationFrameCount:
                anyOf:
                - type: integer
                  exclusiveMinimum: 0
                  maximum: 9007199254740991
                - type: 'null'
              durationSeconds:
                anyOf:
                - type: number
                  minimum: 0
                - type: 'null'
              frameRate:
                anyOf:
                - type: number
                  exclusiveMinimum: 0
                  maximum: 1000
                - type: 'null'
              videoCodec:
                anyOf:
                - type: string
                  enum:
                  - av1
                  - h264
                  - h265
                  - vp8
                  - vp9
                - type: 'null'
              createdAt:
                type: string
                format: date-time
                pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
            required:
            - id
            - kind
            - url
            - thumbnailUrl
            - fileName
            - mimeType
            - bytes
            - width
            - height
            - durationSeconds
            - createdAt
            additionalProperties: false
        meta:
          type: object
          properties:
            requestId:
              type: string
              minLength: 1
              maxLength: 128
            pagination:
              type: object
              properties:
                limit:
                  type: integer
                  minimum: 1
                  maximum: 100
                hasMore:
                  type: boolean
                nextCursor:
                  anyOf:
                  - type: string
                    minLength: 1
                  - type: 'null'
              required:
              - limit
              - hasMore
              - nextCursor
              additionalProperties: false
          required:
          - requestId
          - pagination
          additionalProperties: false
      required:
      - data
      - meta
      additionalProperties: false
    MediaResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            id:
              type: string
              format: uuid
              pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
            kind:
              type: string
              enum:
              - image
              - video
            url:
              type: string
              minLength: 1
            thumbnailUrl:
              anyOf:
              - type: string
              - type: 'null'
            fileName:
              anyOf:
              - type: string
              - type: 'null'
            mimeType:
              anyOf:
              - type: string
              - type: 'null'
            bytes:
              anyOf:
              - type: integer
                minimum: 0
                maximum: 9007199254740991
              - type: 'null'
            width:
              anyOf:
              - type: integer
                exclusiveMinimum: 0
                maximum: 9007199254740991
              - type: 'null'
            height:
              anyOf:
              - type: integer
                exclusiveMinimum: 0
                maximum: 9007199254740991
              - type: 'null'
            animationFrameCount:
              anyOf:
              - type: integer
                exclusiveMinimum: 0
                maximum: 9007199254740991
              - type: 'null'
            durationSeconds:
              anyOf:
              - type: number
                minimum: 0
              - type: 'null'
            frameRate:
              anyOf:
              - type: number
                exclusiveMinimum: 0
                maximum: 1000
              - type: 'null'
            videoCodec:
              anyOf:
              - type: string
                enum:
                - av1
                - h264
                - h265
                - vp8
                - vp9
              - type: 'null'
            createdAt:
              type: string
              format: date-time
              pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
          required:
          - id
          - kind
          - url
          - thumbnailUrl
          - fileName
          - mimeType
          - bytes
          - width
          - height
          - durationSeconds
          - createdAt
          additionalProperties: false
        meta:
          type: object
          properties:
            requestId:
              type: string
              minLength: 1
              maxLength: 128
          required:
          - requestId
          additionalProperties: false
      required:
      - data
      - meta
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              minLength: 1
            message:
              type: string
              minLength: 1
            details:
              type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                    minLength: 1
                  code:
                    type: string
                    minLength: 1
                  message:
                    type: string
                    minLength: 1
                required:
                - code
                - message
                additionalProperties: false
          required:
          - code
          - message
          additionalProperties: false
        meta:
          type: object
          properties:
            requestId:
              type: string
              minLength: 1
              maxLength: 128
          required:
          - requestId
          additionalProperties: false
      required:
      - error
      - meta
      additionalProperties: false
  responses:
    InternalError:
      description: Internal or upstream failure.
      headers:
        X-BlendDuck-API-Version:
          $ref: '#/components/headers/ApiVersion'
        X-Request-ID:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    UnprocessableEntity:
      description: Valid syntax cannot perform the domain operation.
      headers:
        X-BlendDuck-API-Version:
          $ref: '#/components/headers/ApiVersion'
        X-Request-ID:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: Authentication lacks the required role or API-key scope.
      headers:
        X-BlendDuck-API-Version:
          $ref: '#/components/headers/ApiVersion'
        X-Request-ID:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing or invalid authentication.
      headers:
        X-BlendDuck-API-Version:
          $ref: '#/components/headers/ApiVersion'
        X-Request-ID:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Conflict:
      description: Lifecycle, idempotency, or concurrent-state conflict.
      headers:
        X-BlendDuck-API-Version:
          $ref: '#/components/headers/ApiVersion'
        X-Request-ID:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    BadRequest:
      description: Invalid query, request body, JSON, or request identity.
      headers:
        X-BlendDuck-API-Version:
          $ref: '#/components/headers/ApiVersion'
        X-Request-ID:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Resource or tenant path is hidden or absent.
      headers:
        X-BlendDuck-API-Version:
          $ref: '#/components/headers/ApiVersion'
        X-Request-ID:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    PayloadTooLarge:
      description: Upload or request exceeds its configured bound.
      headers:
        X-BlendDuck-API-Version:
          $ref: '#/components/headers/ApiVersion'
        X-Request-ID:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    UnsupportedMediaType:
      description: Request media type is unsupported.
      headers:
        X-BlendDuck-API-Version:
          $ref: '#/components/headers/ApiVersion'
        X-Request-ID:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimited:
      description: The API-key operation exhausted its fixed-window quota.
      headers:
        X-BlendDuck-API-Version:
          $ref: '#/components/headers/ApiVersion'
        X-Request-ID:
          $ref: '#/components/headers/RequestId'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimitPolicy'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  parameters:
    Limit:
      name: limit
      in: query
      required: false
      description: Maximum collection items.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 50
    Cursor:
      name: cursor
      in: query
      required: false
      description: Opaque collection-scoped continuation cursor.
      schema:
        type: string
        minLength: 1
    RequestId:
      name: X-Request-ID
      in: header
      required: false
      description: Caller correlation and exact-read retry identity.
      schema:
        type: string
        minLength: 1
        maxLength: 128
        pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      description: Stable logical mutation identity used for safe replay.
      schema:
        type: string
        minLength: 1
        maxLength: 200
    MediaId:
      name: mediaId
      in: path
      required: true
      description: Media UUID.
      schema:
        type: string
        format: uuid
  headers:
    RateLimitReset:
      description: Seconds until the current fixed window closes.
      schema:
        type: integer
        minimum: 1
    ApiVersion:
      description: Resolved public API major version.
      schema:
        type: string
        const: '1'
    RateLimitPolicy:
      description: Effective fixed-window policy, for example `120;w=60`.
      schema:
        type: string
        pattern: ^[0-9]+;w=[0-9]+$
    RateLimitRemaining:
      description: Remaining new request identities in the current window.
      schema:
        type: integer
        minimum: 0
    RetryAfter:
      description: Seconds to wait before a new request identity can be accepted.
      schema:
        type: integer
        minimum: 1
    RequestId:
      description: Correlation identity echoed in response metadata.
      schema:
        type: string
        minLength: 1
        maxLength: 128
    RateLimitLimit:
      description: Maximum requests for this key operation and window.
      schema:
        type: integer
        minimum: 1
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: BlendDuck organization API key
      description: A `bdk_v1_…` secret bound to exactly one organization with explicit scopes.