Skip to main content
Glama

mcp-google-sheets

get-document-details.ts678 B
import { createAction } from '@activepieces/pieces-framework'; import { HttpMethod } from '@activepieces/pieces-common'; import { pandadocClient, pandadocAuth } from '../common'; import { documentDropdown } from '../common/dynamic-dropdowns'; export const getDocumentDetails = createAction({ name: 'getDocumentDetails', displayName: 'Get Document', description: 'Retrieves comprehensive document data.', auth: pandadocAuth, props: { document_id: documentDropdown, }, async run({ auth, propsValue }) { return await pandadocClient.makeRequest( auth as string, HttpMethod.GET, `/documents/${propsValue.document_id}/details` ); }, });

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