View as Markdown
Dappier icon

Dappier ACTION

Search Real-Time Data

Perform a real-time web/data search using a Dappier AI model (POST /app/aimodel/{ai_model_id}). Returns an AI-generated message synthesized from live web data. Provide an aiModelId (prefix am_, e.g. am_01j06ytn18ejftedz6dyhz2b15) - NOTE this endpoint takes AI-model IDs (am_), NOT data-model IDs (dm_); for dm_ data models use Get AI Recommendations instead. There is no listing endpoint in the Dappier API; discover valid model IDs in the Dappier Marketplace at https://platform.dappier.com/marketplace. See the documentation.
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Dappier account once, then configure and run Search Real-Time Data 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: "dappier-search-real-time-data",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    dappier: { authProvisionId: "apn_xxxxxxx" },
    aiModelId: "AI Model ID",
    query: "Query",
  },
})

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.

Search Real-Time Data inputs
Property Type Description
aiModelId AI Model ID string
The Dappier AI model ID to query (prefix am_, e.g. am_01j06ytn18ejftedz6dyhz2b15). This is an AI-model ID, distinct from the dm_ data-model IDs used by Get AI Recommendations. Discover valid IDs in the Dappier Marketplace: https://platform.dappier.com/marketplace (the Dappier API exposes no listing endpoint).
Required
query Query string
The natural-language search query or prompt to run against the real-time model. Example: latest AI news.
Required

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
dappier-search-real-time-data
Version
0.0.2
App
Dappier
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes