Clay
Connect to Clay to run GTM routines, batch enrichments, structured searches, and table queries through the Clay Public API.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| API Key | api_key | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "CLAY_CREATE_FILTERS", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("CLAY_CREATE_FILTERS", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute CLAY_CREATE_FILTERS --data '{ }'Tool 目录
可用 Tools
10 个可调用操作
Create a search from structured filtersCLAY_CREATE_FILTERSStarts a new Clay search from a source type and structured filter fields.需要连接
Starts a new Clay search from a source type and structured filter fields.
认证
需要 Connected AccountTags
List the filter fields available for a search source typeCLAY_FIELDSReturns every filter field accepted by POST /search/filters-mode for the given source type, including each field's type, description, allowed values, and usage guidance. Call this before creating a search to build valid filters.需要连接
Returns every filter field accepted by POST /search/filters-mode for the given source type, including each field's type, description, allowed values, and usage guidance. Call this before creating a search to build valid filters.
认证
需要 Connected AccountTags
Get the authenticated userCLAY_GET_PUBLIC_API_MEReturns the Clay user and workspace associated with the API key.需要连接
Returns the Clay user and workspace associated with the API key.
认证
需要 Connected AccountTags
Fetch progress and results for a batch runCLAY_GET_ROUTINE_RUN_BATCH_RESULTSReturns current status and results for an asynchronous batch routine run.需要连接
Returns current status and results for an asynchronous batch routine run.
认证
需要 Connected AccountTags
Fetch progress and results for a routine runCLAY_GET_RUN_RESULTSReturns current status and paginated results for an asynchronous routine run.需要连接
Returns current status and paginated results for an asynchronous routine run.
认证
需要 Connected AccountTags
Run a structured query across one or more tablesCLAY_QUERYRuns a structured query against Clay table data and returns records with field metadata.需要连接
Runs a structured query against Clay table data and returns records with field metadata.
认证
需要 Connected AccountTags
Run the search iterator and return the next page of resultsCLAY_RUNReturns the next page of records for an existing filter-mode search.需要连接
Returns the next page of records for an existing filter-mode search.
认证
需要 Connected AccountTags
Execute a routine against 1-100 itemsCLAY_RUN_ROUTINEStarts an asynchronous routine run for up to 100 input items.需要连接
Starts an asynchronous routine run for up to 100 input items.
认证
需要 Connected AccountTags
Issue a presigned PUT URL for uploading a batch input JSONLCLAY_RUN_ROUTINE_BATCH_UPLOAD_URLCreates a presigned URL for uploading a JSONL file used by a batch routine run.需要连接
Creates a presigned URL for uploading a JSONL file used by a batch routine run.
认证
需要 Connected AccountTags
Start an async routine run-batch over an uploaded JSONL fileCLAY_START_ROUTINE_RUN_BATCHStarts an asynchronous batch routine run over a previously uploaded JSONL file.需要连接
Starts an asynchronous batch routine run over a previously uploaded JSONL file.
认证
需要 Connected AccountTags