Skip to main content
Glama

mcp-google-sheets

get-run.ts740 B
import { HttpMethod } from '@activepieces/pieces-common'; import { createAction, Property } from '@activepieces/pieces-framework'; import { skyvernAuth } from '../common/auth'; import { skyvernApiCall } from '../common/client'; export const getRunAction = createAction({ auth: skyvernAuth, name: 'get-run', displayName: 'Get Workflow/Task Run', description: 'Retrieves a workflow or task run by ID.', props: { runId: Property.ShortText({ displayName: 'Workflow/Task Run ID', required: true, }), }, async run(context) { const { runId } = context.propsValue; const response = await skyvernApiCall({ apiKey: context.auth, method: HttpMethod.GET, resourceUri: `/runs/${runId}`, }); 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