Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get Routine Batch Upload URL
CLAY_GET_ROUTINE_BATCH_UPLOAD_URLCreate a presigned upload URL and file ID for a Clay routine batch. The caller must PUT a JSONL file to upload_url with Content-Type application/x-ndjson, then call Start Routine Batch with the returned file_id and the same routine_id. Each JSONL line contains an id and inputs object. Returns the URL without fetching it, uploading data, or starting a run.
Start Routine Batch
CLAY_START_ROUTINE_BATCHStart an asynchronous Clay routine batch over a previously uploaded JSONL file. First call Get Routine Batch Upload URL and PUT the JSONL file to its upload_url, then pass the returned file_id and the same routine_id here. Optionally notify a registered webhook when the run finishes. Returns an accepted run ID and in_progress status, not completed results. Use Get Routine Batch Results to retrieve the batch output.