Skip to main content
Glama

mcp-google-sheets

get-parsed-document-by-id.ts759 B
import { createAction } from '@activepieces/pieces-framework'; import { parseurAuth, parseurCommon } from '../common'; import { documentDropdown, parserDropdown } from '../common/properties'; export const getParsedDocumentById = createAction({ auth: parseurAuth, name: 'getParsedDocumentById', displayName: 'Get Parsed Document by ID', description: 'Fetch parsed JSON / structured output for a given document ID', props: { parserId: parserDropdown({ required: true }), documentId: documentDropdown({ required: true }), }, async run({ auth: apiKey, propsValue: { documentId } }) { if (!documentId) { throw new Error('Document ID is required'); } return await parseurCommon.getDocument({ apiKey, documentId }); }, });

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