Skip to main content
Query records from one or more of your Clay tables with a structured query, with each field’s details.
Tool ID: clay_query

Run this action

Use the TypeScript SDK for one call. Use ctx.tools.execute(...) inside a Play for durable calls, scheduled calls, or CSV processing.

CLI

Example response

The static output schema lacks the details for a reliable example. Use deepline describe clay_query --json for the complete live contract.

Input reference

Runs a structured query against Clay table data and returns records with field metadata. Results are paginated: pass the returned cursor back to fetch the next page. Scans return rows in least-recently-updated-first order and reflect writes that land while you paginate — a scan returns every record visible when it started and picks up records written while it runs, and a record updated mid-scan can be returned again with fresher data, so deduplicate by id if you need each record once.

Output reference

Standard tool result payload.

Deepline cost

  • Pricing model: fixed (per call).
  • Estimated Deepline credits: 0 per pricing unit.
  • Provider-native pricing may still exist outside Deepline credit billing.