Skip to main content
Glama

mcp-google-sheets

get-voice.ts839 B
import { HttpMethod } from '@activepieces/pieces-common'; import { createAction, Property } from '@activepieces/pieces-framework'; import { retellAiApiCall } from '../common/client'; import { retellAiAuth } from '../common/auth'; import { voiceIdDropdown } from '../common/props'; export const getVoice = createAction({ auth: retellAiAuth, name: 'get_voice', displayName: 'Get Voice', description: 'Retrieve details for a specific voice model or configuration by ID in Retell AI.', props: { voiceId: voiceIdDropdown, }, async run({ propsValue, auth }) { const { voiceId } = propsValue; if (!voiceId) { throw new Error('Voice ID is required'); } return await retellAiApiCall({ method: HttpMethod.GET, url: `/get-voice/${encodeURIComponent(voiceId)}`, auth: auth, }); }, });

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