View as Markdown
Amara icon

Amara ACTION

Add Video

Add a video. See the docs here
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Amara account once, then configure and run Add Video from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "amara-add-video",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    amara: { authProvisionId: "apn_xxxxxxx" },
    videoUrl: "Video URL",
    team: "Team",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Add Video inputs
Property Type Description
videoUrl Video URL string
The URL for the video. Any URL that Amara accepts will work here. You can send the URL for a file (e.g. http:///www.example.com/my-video.ogv), or a link to one of the accepted providers (YouTube, Vimeo).
Required
team Team string
Team slug for the video or null to remove it from its team
Optional
primaryAudioLanguageCode Primary audio language code string
Language code for the main language spoken in the video (ISO 639-1 two-letter code)
Optional Dynamic
project Project string
Project slug for the video or null to put it in the default project
Optional Dynamic
title Title string
Title of the video
Optional
description Description string
About this video
Optional
duration Duration integer
Duration in seconds, in case it can not be retrieved automatically by Amara
Optional
thumbnail Thumbnail string
URL to the video thumbnail
Optional
metadata Metadata object
Dictionary of metadata key/value pairs. These handle extra information about the video. Right now the type keys supported are speaker-name and location. Values can be any string.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
amara-add-video
Version
0.0.3
App
Amara
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes