Moments Lab Program API

The Program API from Moments Lab — 3 operation(s) for program.

GitHub OpenAPI

Operations 6

GET /program Program controller get all #
POST /program Program controller create program #
GET /program/{uid} Program controller get by uid #
PUT /program/{uid} Program controller update program #
DELETE /program/{uid} Program controller delete program #
PUT /program/{uid}/restore Program controller restore program #

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-program-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-program-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Moments Lab Program 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 Program 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: Program
paths:
  /program:
    get:
      operationId: ProgramController_getAll
      parameters:
      - name: X-Nb-Workspace
        in: header
        schema: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProgramResponse'
      tags:
      - Program
      summary: Program controller get all
      x-summary-source: derived
    post:
      operationId: ProgramController_createProgram
      parameters:
      - name: X-Nb-Workspace
        in: header
        schema: {}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProgramCreateRequest'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProgramResponse'
      tags:
      - Program
      summary: Program controller create program
      x-summary-source: derived
    servers:
    - url: /
  /program/{uid}:
    get:
      operationId: ProgramController_getByUid
      parameters:
      - name: uid
        required: true
        in: path
        schema:
          type: string
      - name: X-Nb-Workspace
        in: header
        schema: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProgramResponse'
      tags:
      - Program
      summary: Program controller get by uid
      x-summary-source: derived
    put:
      operationId: ProgramController_updateProgram
      parameters:
      - name: uid
        required: true
        in: path
        schema:
          type: string
      - name: X-Nb-Workspace
        in: header
        schema: {}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProgramUpdateRequest'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProgramResponse'
      tags:
      - Program
      summary: Program controller update program
      x-summary-source: derived
    delete:
      operationId: ProgramController_deleteProgram
      parameters:
      - name: uid
        required: true
        in: path
        schema:
          type: string
      - name: X-Nb-Workspace
        in: header
        schema: {}
      responses:
        '200':
          description: ''
      tags:
      - Program
      summary: Program controller delete program
      x-summary-source: derived
    servers:
    - url: /
  /program/{uid}/restore:
    put:
      operationId: ProgramController_restoreProgram
      parameters:
      - name: uid
        required: true
        in: path
        schema:
          type: string
      - name: X-Nb-Workspace
        in: header
        schema: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProgramResponse'
      tags:
      - Program
      summary: Program controller restore program
      x-summary-source: derived
    servers:
    - url: /
components:
  schemas:
    ProgramCreateRequest:
      type: object
      properties:
        label:
          type: string
          description: Label of the program
      required:
      - label
    ProgramResponse:
      type: object
      properties:
        uid:
          type: string
          description: Unique identifier of the program
        label:
          type: string
          description: Label of the program
        created_at:
          type: string
          format: date-time
          example: '2024-01-15T10:30:00Z'
          description: Creation date of the program
        updated_at:
          type: string
          format: date-time
          example: '2024-01-15T10:30:00Z'
          description: Last update date of the program
      required:
      - uid
      - label
      - created_at
      - updated_at
    ProgramUpdateRequest:
      type: object
      properties:
        label:
          type: string
          description: Label of the program
      required:
      - label
  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