Skip to main content
Glama

mcp-google-sheets

retrieve-a-video-status.ts947 B
import { createAction, Property } from '@activepieces/pieces-framework'; import { HttpMethod } from '@activepieces/pieces-common'; import { heygenApiCall } from '../common/client'; import { heygenAuth } from '../common/auth'; export const retrieveVideoStatusAction = createAction({ auth: heygenAuth, name: 'retrieve_video_status', displayName: 'Retrieve Video Status', description: 'Retrieve the status and details of a video using its ID.', props: { videoId: Property.ShortText({ displayName: 'Video ID', description: 'The ID of the video to retrieve the status for.', required: true, }), }, async run({ propsValue, auth }) { const { videoId } = propsValue; const response = await heygenApiCall({ apiKey: auth as string, method: HttpMethod.GET, resourceUri: `/video_status.get`, query: { video_id: videoId }, apiVersion: 'v1', }); return response; }, });

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server