Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Call Clay functions from backend jobs, internal tools, queues, and product workflows.
ROUTINE_RUN_ID=$(curl --request POST \ --url "https://api.clay.com/public/v0/routines/function:t_abc123/run" \ --header "Content-Type: application/json" \ --header "clay-api-key: $CLAY_PUBLIC_API_KEY" \ --data '{ "items": [ { "id": "row-1", "inputs": { "domain": "clay.com" } } ] }' | jq -r '.routine_run_id') curl --request GET \ --url "https://api.clay.com/public/v0/routines/run/$ROUTINE_RUN_ID/results" \ --header "clay-api-key: $CLAY_PUBLIC_API_KEY"
echo '{"items":[{"id":"row-1","inputs":{"domain":"clay.com"}}]}' \ | clay routines runs start function:t_abc123 --input -