View as Markdown
Summit icon

Summit ACTION

Run Model

Executes a model within Summit and captures the response fields. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Summit account once, then configure and run Run Model from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "summit-run-model",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    summit: { authProvisionId: "apn_xxxxxxx" },
    model: "Model",
    experimentalFlatten: 10,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Run Model inputs
Property Type Description
model Model string
The identifier model to run in the format :organization_slug/:external_id/:app_slug
Required Dynamic
experimentalFlatten Experimental Flatten integer
This allows you to choose the index of the column you'd like to pull from the grid. -1 is the last column, which is useful for grabbing the last slice of a time series model, like a forecast.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
summit-run-model
Version
0.0.2
App
Summit
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes