View as Markdown
Are.na icon

Are.na ACTION

Perform a Search

Search across Are.na blocks, channels, users, and groups. Returns data (the matching items) and meta (pagination: current_page, next_page, has_more_pages, total_count). To get more results, call again with page set to meta.next_page. Only the first 10,000 results can be paged through; narrow with filters. To find a user, group or channel ID for the ID filters, use List Users, List Groups or List Channel Slug Options instead of searching. Pass Fields to keep results small. Example: query *, type Image, ext pdf, sort created_at_desc, per 10 returns { "data": [...10 blocks], "meta": { "current_page": 1, "next_page": 2, "total_count": 57 } }. Premium Only: This endpoint requires a Premium subscription. See the documentation
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Are.na account once, then configure and run Perform a Search 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: "are_na-search",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    are_na: { authProvisionId: "apn_xxxxxxx" },
    query: "Query",
    type: ["Type"],
  },
})

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.

Perform a Search inputs
Property Type Description
query Query string
The search query. Supports full-text search across titles, descriptions, and content. Use * to match everything (useful when filtering by type, scope, user, or extension)
Required
type Type string[]
Filter results by content type. Block subtypes: Text, Image, Link, Attachment, Embed. Aggregate types: Block (all block types), Channel, User, Group. Leave empty to return everything
Optional
scope Scope string
Limit search to a specific context, e.g. my for your own content
Optional
userId User ID integer
Limit search to a specific user's content. Use the List Users action to find a user ID
Optional
groupId Group ID integer
Limit search to a specific group's content. Use the List Groups action to find a group ID
Optional
channelId Channel ID integer
Limit search to a specific channel's content. Use the List Channel Slug Options action to find a channel ID
Optional
ext File Extensions string[]
Filter by file extension, e.g. pdf, jpg, png, mp4. Only applies to Attachment and Image blocks
Optional
metadata Metadata Filter object
Filter blocks and channels by exact custom metadata key/value pairs, e.g. {"status": "reviewed"}. Different keys are combined with AND. Use an array of values for one key to match any of them (OR), e.g. {"status": ["reviewed", "approved"]}. Keys may contain only letters, numbers, and underscores. Up to 10 keys and 20 values per key
Optional
sort Sort string
Sort order. Defaults to score_desc (relevance). Use random with Seed for reproducible random ordering
Optional
seed Seed integer
Random seed for reproducible ordering. Only used when Sort is random; reuse the same seed while paging
Optional
after Updated After string
Only return results updated after this ISO 8601 timestamp, e.g. 2026-01-31T00:00:00Z. Useful for incremental syncing
Optional
fields Fields string[]
Only return these fields for each result, e.g. ["id", "slug", "title"]. Dot paths such as owner.name are supported. Leave empty to return full objects. Pass this to keep responses small
Optional
page Page integer
Page number to return. Defaults to 1. Use meta.next_page from the previous response to get the next page
Optional
per Per Page integer
Number of items per page (max 100). Defaults to 24
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
are_na-search
Version
1.0.0
App
Are.na
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes