Moments Lab Media Metadata API

The MediaMetadata API from Moments Lab — 2 operation(s) for mediametadata.

GitHub OpenAPI

Operations 4

GET /media/{id}/metadata Get media metadata #
PATCH /media/{id}/metadata Patch media metadata #
GET /media/metadata Get media metadata by media external ID #
PATCH /media/metadata Patch media metadata by media external ID #

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/moments-lab:moments-lab-mediametadata-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

moments-lab-mediametadata-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Moments Lab Media Metadata API
  version: '1.0'
  contact: {}
  x-logo:
    url: https://assets.momentslab.com/apiv3-swagger-ui/logo_ML.png
    backgroundColor: '#FFFFFF'
    altText: MomentsLab logo
  description: 'Operations tagged MediaMetadata across 2 of this provider''s published API definitions: moments-lab-openapi.json, moments-lab-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
- url: https://api.momentslab.io
security:
- Api-token: []
- openId: []
tags:
- name: MediaMetadata
paths:
  /media/{id}/metadata:
    get:
      description: This endpoint allows you to retrieve metadata for a specific media file.
      operationId: MediaMetadataController_getMetadataByMediaId
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      - name: X-Nb-Workspace
        in: header
        schema: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MetadataResponse'
        '400':
          description: 'Something was wrong with the information you provided in the request. <br/> messageKey: A code or key describing the error.<br/> message: A more detailed explanation of what went wrong.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientRequestError'
        '404':
          description: Resource does not exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '500':
          description: '500: An internal server error occurred. If this happens, you should reach out to Moments Lab support for assistance.<br/>Message: The response will include a message that describes the issue.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerSideError'
      summary: Get media metadata
      tags:
      - MediaMetadata
    patch:
      description: This endpoint allows you to patch metadata for a specific media file.
      operationId: MediaMetadataController_patchMetadataByMediaId
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      - name: X-Nb-Workspace
        in: header
        schema: {}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/MetadataParametersRequest'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MetadataResponse'
        '400':
          description: 'Something was wrong with the information you provided in the request. <br/> messageKey: A code or key describing the error.<br/> message: A more detailed explanation of what went wrong.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientRequestError'
        '404':
          description: Resource does not exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '500':
          description: '500: An internal server error occurred. If this happens, you should reach out to Moments Lab support for assistance.<br/>Message: The response will include a message that describes the issue.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerSideError'
      summary: Patch media metadata
      tags:
      - MediaMetadata
    servers:
    - url: /
  /media/metadata:
    get:
      description: This endpoint allows you to retrieve metadata for a specific media file using its external ID.
      operationId: MediaMetadataController_getMetadataByExternalId
      parameters:
      - name: external_id
        required: true
        in: query
        schema:
          type: string
      - name: X-Nb-Workspace
        in: header
        schema: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MetadataResponse'
        '400':
          description: 'Something was wrong with the information you provided in the request. <br/> messageKey: A code or key describing the error.<br/> message: A more detailed explanation of what went wrong.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientRequestError'
        '404':
          description: Resource does not exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '500':
          description: '500: An internal server error occurred. If this happens, you should reach out to Moments Lab support for assistance.<br/>Message: The response will include a message that describes the issue.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerSideError'
      summary: Get media metadata by media external ID
      tags:
      - MediaMetadata
    patch:
      description: This endpoint allows you to patch metadata for a specific media file using its external ID.
      operationId: MediaMetadataController_patchMetadataByExternalId
      parameters:
      - name: external_id
        required: true
        in: query
        schema:
          type: string
      - name: X-Nb-Workspace
        in: header
        schema: {}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/MetadataParametersRequest'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MetadataResponse'
        '400':
          description: 'Something was wrong with the information you provided in the request. <br/> messageKey: A code or key describing the error.<br/> message: A more detailed explanation of what went wrong.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientRequestError'
        '404':
          description: Resource does not exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '500':
          description: '500: An internal server error occurred. If this happens, you should reach out to Moments Lab support for assistance.<br/>Message: The response will include a message that describes the issue.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerSideError'
      summary: Patch media metadata by media external ID
      tags:
      - MediaMetadata
    servers:
    - url: /
components:
  schemas:
    NotFoundError:
      type: object
      properties:
        message_key:
          type: string
        message:
          type: string
      required:
      - message_key
      - message
    MetadataParametersRequest:
      type: object
      properties:
        field_uid:
          type: string
          description: Unique identifier of the metadata field
        value:
          type: string
          description: Value of the metadata
      required:
      - field_uid
      - value
    MetadataResponse:
      type: object
      properties:
        field_uid:
          type: string
          description: Unique identifier of the metadata field
        value:
          type: string
          description: Value of the metadata
      required:
      - field_uid
      - value
    ServerSideError:
      type: object
      properties:
        message:
          type: string
          description: The response will include a message that describes the issue.
      required:
      - message
    ClientRequestError:
      type: object
      properties:
        message_key:
          type: string
          description: A code or key describing the error.
        message:
          type: string
          description: ' A more detailed explanation of what went wrong.'
      required:
      - message_key
      - message
  securitySchemes:
    Api-token:
      type: http
      scheme: bearer
    openId:
      type: openIdConnect
      openIdConnectUrl: https://newsbridge.eu.auth0.com/.well-known/openid-configuration
x-refined-from:
- moments-lab-openapi.json
- moments-lab-openapi.yml