Moments Lab Live recording API
The Live recording API from Moments Lab — 5 operation(s) for live recording.
The Live recording API from Moments Lab — 5 operation(s) for live recording.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/moments-lab:moments-lab-live-recording-api"
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.
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: 3.2.0
info:
title: Moments Lab Live recording 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 Live recording 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: Live recording
paths:
/recording:
post:
description: This endpoint allows you to schedule a recording.
operationId: RecordingController_newRecording
parameters:
- name: X-Nb-Workspace
in: header
schema: {}
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreationRecordingRequest'
responses:
'201':
description: The request was successful. You'll receive the recoding uid and the event uid associated to the recording.
content:
application/json:
schema:
$ref: '#/components/schemas/RecordingResponse'
'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'
'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: Schedule a recording
tags:
- Live recording
servers:
- url: /
/recording/now:
post:
description: This endpoint start a recording from now for a duration of 1 hour by default.
operationId: RecordingController_newNowRecording
parameters:
- name: X-Nb-Workspace
in: header
schema: {}
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreationRecordingNowRequest'
responses:
'201':
description: The request was successful. You'll receive the recoding uid and the event uid associated to the recording.
content:
application/json:
schema:
$ref: '#/components/schemas/RecordingResponse'
'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'
'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: Record now
tags:
- Live recording
servers:
- url: /
/recording/{recording_uid}/stop-now:
post:
description: This endpoint stop a recording now from its uid.
operationId: RecordingController_stopRecordingNow
parameters:
- name: recording_uid
required: true
in: path
schema:
type: string
- name: X-Nb-Workspace
in: header
schema: {}
responses:
'201':
description: The request was successful.
content:
application/json:
schema:
$ref: '#/components/schemas/RecordingResponse'
'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'
'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: Stop recording
tags:
- Live recording
servers:
- url: /
/recording/{recording_uid}/stop:
post:
description: This endpoint stop a recording now from its uid.
operationId: RecordingController_stopRecordingAt
parameters:
- name: recording_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/StopRecordingAtRequest'
responses:
'201':
description: The request was successful.
content:
application/json:
schema:
$ref: '#/components/schemas/RecordingResponse'
'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'
'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: Stop recording
tags:
- Live recording
servers:
- url: /
/recording/{recording_uid}:
delete:
description: This endpoint delete a recording from its uid.
operationId: RecordingController_deleteRecording
parameters:
- name: recording_uid
required: true
in: path
schema:
type: string
- name: X-Nb-Workspace
in: header
schema: {}
responses:
'200':
description: ''
'201':
description: The request was successful.
'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'
'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: Delete recording
tags:
- Live recording
put:
description: This endpoint update a recording from its uid.
operationId: RecordingController_updateRecording
parameters:
- name: recording_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/UpdateRecordingRequest'
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/RecordingResponse'
'201':
description: The request was successful.
content:
application/json:
schema:
$ref: '#/components/schemas/RecordingResponse'
'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'
'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: Update recording
tags:
- Live recording
servers:
- url: /
components:
schemas:
CreationRecordingNowRequest:
type: object
properties:
device_uids:
type: array
items:
type: string
description: List of devices uids to record from
title:
type: string
description: Name of the recording
event:
description: Event parameters to create it. If not provided, a new event will be created.
$ref: '#/components/schemas/EventRecordingRequest'
analysis_parameters:
description: Parameters to setup the analysis tasks you want to apply on the media
$ref: '#/components/schemas/RecordingAnalysisParametersRequest'
end_date:
description: End of the recording. If not set the end date will be hour after start date.
type: string
format: date-time
example: '2024-01-15T10:30:00Z'
organisation_uids:
description: Organisation to link on the medias created by this recording
type: array
items:
type: string
metadata:
description: Custom metadata to apply on the medias created by this recording
type: array
items:
$ref: '#/components/schemas/MetadataParametersRequest'
required:
- device_uids
- title
- event
- analysis_parameters
CreationRecordingRequest:
type: object
properties:
device_uids:
type: array
items:
type: string
description: List of devices uids to record from
title:
type: string
description: Name of the recording
event:
description: Event parameters to create it. If not provided, a new event will be created.
$ref: '#/components/schemas/EventRecordingRequest'
analysis_parameters:
description: Parameters to setup the analysis tasks you want to apply on the media
$ref: '#/components/schemas/RecordingAnalysisParametersRequest'
start_date:
type: string
format: date-time
example: '2024-01-15T10:30:00Z'
description: Start of the recording. The actual start date will start within 1 minute compare to this date. This date cannot be in the past.
end_date:
type: string
format: date-time
example: '2024-01-15T10:30:00Z'
description: End of the recording.
organisation_uids:
description: Organisation to link on the medias created by this recording
type: array
items:
type: string
metadata:
description: Custom metadata to apply on the medias created by this recording
type: array
items:
$ref: '#/components/schemas/MetadataParametersRequest'
required:
- device_uids
- title
- event
- analysis_parameters
- start_date
- end_date
EventRecordingRequest:
type: object
properties:
event_parameters:
description: Parameters to create event the media will be attached to
$ref: '#/components/schemas/CreationEventRecordingParametersRequest'
CreationEventRecordingParametersRequest:
type: object
properties:
title:
type: string
description: The title of the event
program_uid:
description: The program to apply on the event
type: string
organisation_uids:
description: Organisation to link to the event, if not provided organisation will be the one linked to the api token
type: array
items:
type: string
metadata:
description: Custom metadata to apply on the event
type: array
items:
$ref: '#/components/schemas/MetadataParametersRequest'
required:
- title
RecordingResponse:
type: object
properties:
uid:
type: string
description: Recording uid
event_uid:
type: string
description: Event uid
required:
- uid
- event_uid
RecordingAnalysisParametersRequest:
type: object
properties:
transcript_language:
example: en
description: Language in which the transcript will be generated, use <a href="https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes">ISO 639-1 Code format</a>, no value will result in auto-detection of the language.<br/>Notice that specifying a language will fasten the analysis
type: string
enum:
- af
- am
- ar
- as
- az
- ba
- be
- bg
- bn
- bo
- br
- bs
- ca
- cs
- cy
- da
- de
- el
- en
- es
- et
- eu
- fa
- fi
- fo
- fr
- gl
- gu
- ha
- haw
- he
- hi
- hr
- ht
- hu
- hy
- id
- is
- it
- ja
- jw
- ka
- kk
- km
- kn
- ko
- la
- lb
- ln
- lo
- lt
- lv
- mg
- mi
- mk
- ml
- mn
- mr
- ms
- mt
- my
- ne
- nl
- nn
- 'no'
- oc
- pa
- pl
- ps
- pt
- ro
- ru
- sa
- sd
- si
- sk
- sl
- sn
- so
- sq
- sr
- su
- sv
- sw
- ta
- te
- tg
- th
- tk
- tl
- tr
- tt
- uk
- ur
- uz
- vi
- yi
- yo
- zh
- yue
audio_channel_mapping:
example:
- track: 1
channels:
- 0
- 1
- track: 2
channels:
- 0
description: Audio channel mapping configuration for analysis when audio contains multiple tracks and channels. Each object specifies a track number and the channels to use from that track.Left empty to default value which is a downmix of all tracks and channels.
type: array
items:
$ref: '#/components/schemas/RecordingAudioChannelMappingRequest'
tasks:
type: array
items:
type: string
enum:
- mxt
- person_detection
- text_recognition
description: Tasks will be applied on the live feeds
required:
- tasks
RecordingAudioChannelMappingRequest:
type: object
properties:
track:
type: number
channels:
type: array
items:
type: number
required:
- track
- channels
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
StopRecordingAtRequest:
type: object
properties:
end_date:
type: string
format: date-time
example: '2024-01-15T10:30:00Z'
description: End of the recording.
required:
- end_date
UpdateRecordingRequest:
type: object
properties:
start_date:
description: Start of the recording.
type: string
format: date-time
example: '2024-01-15T10:30:00Z'
end_date:
description: End of the recording.
type: string
format: date-time
example: '2024-01-15T10:30:00Z'
device_uids:
description: List of devices uids to record from
type: array
items:
type: string
organisation_uids:
description: Organisation to link on the medias created by this recording
type: array
items:
type: string
metadata:
description: Custom metadata to apply on the medias created by this recording
type: array
items:
$ref: '#/components/schemas/MetadataParametersRequest'
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