Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/clay-com:clay-com-workflowsruns-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
contact:
name: Clay
url: https://www.clay.com
description: Programmatic access to Clay.
title: Clay Public Workflows Runs API
version: '0'
servers:
- description: production
url: https://api.clay.com/public/v0
security:
- ClayApiKey: []
tags:
- description: Search workflow runs by query.
name: workflowsRuns
paths:
/workflows/runs/query:
post:
description: Execute a Clay workflow-run query. A `select` query returns matching runs newest-first with a `cursor` for the next page; a `count` query returns the number of matching runs. Get the query grammar with GET /workflows/runs/query/reference. Results are read from an eventually-consistent replica (replication lag is typically a few seconds), so a just-created or just-transitioned run may briefly be missing or show its prior status.
operationId: runQuery
parameters: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/RunsQueryRequest'
description: Body
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/RunsQueryResponse'
description: '200'
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: '400'
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: '401'
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: '403'
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: '429'
summary: Search runs by query (beta)
tags:
- workflowsRuns
/workflows/runs/query/reference:
get:
description: Returns the Clay workflow-run query reference document (markdown), covering the queryable run fields, node predicates, content search, and the query grammar. Use it to author a workflow-run query.
operationId: queryReference
parameters: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/RunsQueryReferenceResponse'
description: '200'
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: '400'
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: '401'
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: '403'
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: '429'
summary: Get the runs search query reference (beta)
tags:
- workflowsRuns
components:
schemas:
RunsQueryRow:
additionalProperties: false
properties:
action_credits_used:
type: number
created_at:
type: string
data_credits_used:
type: number
ended_at:
anyOf:
- type: string
- type: 'null'
id:
type: string
input_field_count:
maximum: 9007199254740991
minimum: 0
type: integer
output_field_count:
maximum: 9007199254740991
minimum: 0
type: integer
run_status:
type: string
started_at:
type: string
trigger_fired_id:
anyOf:
- type: string
- type: 'null'
trigger_id:
anyOf:
- type: string
- type: 'null'
workflow_id:
type: string
workflow_snapshot_id:
type: string
required:
- id
- workflow_id
- workflow_snapshot_id
- trigger_id
- run_status
- started_at
- ended_at
- created_at
- data_credits_used
- action_credits_used
- input_field_count
- output_field_count
type: object
ErrorResponse:
additionalProperties: false
properties:
message:
type: string
required:
- message
type: object
RunsQuerySelectResponse:
additionalProperties: false
properties:
cursor:
type: string
data:
items:
$ref: '#/components/schemas/RunsQueryRow'
type: array
mode:
const: select
type: string
required:
- mode
- data
type: object
RunsQueryReferenceResponse:
additionalProperties: false
properties:
reference:
type: string
required:
- reference
type: object
RunsQueryCountResponse:
additionalProperties: false
properties:
count:
maximum: 9007199254740991
minimum: 0
type: integer
mode:
const: count
type: string
required:
- mode
- count
type: object
RunsQueryResponse:
oneOf:
- $ref: '#/components/schemas/RunsQuerySelectResponse'
- $ref: '#/components/schemas/RunsQueryCountResponse'
RunsQueryRequest:
additionalProperties: false
properties:
cursor:
type: string
limit:
maximum: 100
minimum: 1
type: integer
query:
maxLength: 2000
minLength: 1
type: string
required:
- query
type: object
securitySchemes:
ClayApiKey:
description: Personal API key tied to your Clay user. Create one under Settings → Account in the Clay app.
in: header
name: clay-api-key
type: apiKey
x-provenance:
method: harvested
publisher: Clay
source: https://developers.clay.com/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)