Skip to navigation

Clay

Connect your AI agents to Clay.
Ready to connect

Connects with credentials the end user enters, such as an API key, so you don’t need to register an OAuth app.

Authentication: API key. See Magic Link for the runtime auth flow.

Sample use cases

  • Enrich a list of target accounts with headcount and funding data before an outbound campaign.
  • Search Clay’s people database for VPs of Engineering at companies in your ICP.
  • Pull rows from the Warm Leads workspace table and sync qualified ones to the CRM.

Available Tools

get_current_user

Get the Clay user and workspace tied to the API key

execute_routine

Run a Clay routine against 1-100 items and get a routine_run_id

get_routine_run

Fetch progress and results for a routine run by routine_run_id

create_batch_upload_url

Issue a presigned PUT URL for uploading a batch input JSONL file for a routine

start_batch_run

Start an async batch routine run over a JSONL file already uploaded via create_batch_upload_url

get_batch_run

Fetch progress and results for a batch run by routine_run_id (from start_batch_run)

list_search_fields

List the filter fields available for a search source_type (‘people’ or ‘companies’), plus Clay’s usage guidance and example filter payloads

create_search

Create a people or company search from structured filters

run_search

Run a search created by create_search and return the next page of matching records

query_tables

Run a structured query across 1-5 Clay tables (Enterprise)

create_query_search

Create a people or company search from a Clay advanced search query string.

get_credit_balance

Get the workspace’s remaining data credits (including rollover) and remaining actions, plus the API key owner’s personal monthly credit limit and what is left of it.

get_search_query_reference

Get Clay’s advanced search query reference (markdown): the queryable fields and query grammar.

run_query_search

Return the next page of records for a search created by create_query_search.