{
  "components": {
    "callbacks": {},
    "examples": {},
    "headers": {},
    "links": {},
    "parameters": {},
    "pathItems": {},
    "requestBodies": {},
    "responses": {},
    "schemas": {
      "Manual576A0Ea506F3_connect_CLAY_CONTINUE_SEARCH": {
        "properties": {
          "limit": {
            "description": "Required maximum number of records to request for this page (1–50).",
            "examples": [
              1,
              10,
              50
            ],
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          },
          "search_id": {
            "description": "Copy search_id from your own Search People or Companies response. Reuse that ID only while has_more is true; do not invent an identifier.",
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "search_id",
          "limit"
        ],
        "type": "object"
      },
      "Manual576A0Ea506F3_connect_CLAY_SEARCH_PEOPLE_OR_COMPANIES": {
        "properties": {
          "limit": {
            "description": "Required maximum number of records to request for the first page (1–50).",
            "examples": [
              1,
              10,
              50
            ],
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          },
          "query": {
            "description": "Clay advanced-search query for people or companies. Call Get Search Query Reference first when the grammar or available fields are unknown. Count-mode and jobs queries are not supported by Clay query-mode.",
            "examples": [
              "select from companies where people.exists(is_current = true and job_title is_similar_to (\"VP Sales\"))"
            ],
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "query",
          "limit"
        ],
        "type": "object"
      },
      "Response576A0Ea506F3_connect_CLAY_CONTINUE_SEARCH__output__2de7adc1a9a6bff0": {
        "properties": {
          "annual_revenue": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "clay_company_id": {
            "type": "number"
          },
          "country": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "domain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "industry": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "linkedin_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "location": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "size": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "total_funding_amount_range_usd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "clay_company_id",
          "name",
          "size",
          "type",
          "domain",
          "country",
          "industry",
          "location",
          "description",
          "linkedin_url",
          "annual_revenue",
          "total_funding_amount_range_usd"
        ],
        "type": "object"
      },
      "Response576A0Ea506F3_connect_CLAY_CONTINUE_SEARCH__output__a4f4a70bb01e0671": {
        "properties": {
          "limit": {
            "type": "number"
          },
          "remaining": {
            "type": "number"
          },
          "resets_at": {
            "type": "string"
          },
          "used": {
            "type": "number"
          }
        },
        "required": [
          "limit",
          "used",
          "remaining",
          "resets_at"
        ],
        "type": "object"
      },
      "Response576A0Ea506F3_connect_CLAY_CONTINUE_SEARCH__output__c0c2ac548bd0f850": {
        "properties": {
          "company": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "end_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "location": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "start_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "company",
          "title",
          "location",
          "start_date",
          "end_date"
        ],
        "type": "object"
      },
      "Response576A0Ea506F3_connect_CLAY_CONTINUE_SEARCH__output__dbf583f1ca66634e": {
        "properties": {
          "data": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Response576A0Ea506F3_connect_CLAY_CONTINUE_SEARCH__output__f6b64837eff648ef"
                },
                {
                  "$ref": "#/components/schemas/Response576A0Ea506F3_connect_CLAY_CONTINUE_SEARCH__output__2de7adc1a9a6bff0"
                }
              ]
            },
            "type": "array"
          },
          "exhaustion_reason": {
            "oneOf": [
              {
                "enum": [
                  "query_limit",
                  "no_more_results"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "has_more": {
            "type": "boolean"
          },
          "period_quota": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response576A0Ea506F3_connect_CLAY_CONTINUE_SEARCH__output__a4f4a70bb01e0671"
              },
              {
                "type": "null"
              }
            ]
          },
          "search_id": {
            "type": "string"
          },
          "source_type": {
            "enum": [
              "people",
              "companies"
            ],
            "type": "string"
          }
        },
        "required": [
          "data",
          "has_more",
          "source_type",
          "search_id"
        ],
        "type": "object"
      },
      "Response576A0Ea506F3_connect_CLAY_CONTINUE_SEARCH__output__e0e4b89e8acf2f7c": {
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "state_or_province": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "city",
          "state_or_province"
        ],
        "type": "object"
      },
      "Response576A0Ea506F3_connect_CLAY_CONTINUE_SEARCH__output__f6b64837eff648ef": {
        "properties": {
          "clay_profile_id": {
            "type": "number"
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "linkedin_url": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "location": {
            "$ref": "#/components/schemas/Response576A0Ea506F3_connect_CLAY_CONTINUE_SEARCH__output__e0e4b89e8acf2f7c"
          },
          "matched_experiences": {
            "items": {
              "$ref": "#/components/schemas/Response576A0Ea506F3_connect_CLAY_CONTINUE_SEARCH__output__c0c2ac548bd0f850"
            },
            "type": "array"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "clay_profile_id",
          "name",
          "first_name",
          "last_name",
          "location",
          "matched_experiences"
        ],
        "type": "object"
      },
      "Response576A0Ea506F3_connect_CLAY_CONTINUE_SEARCH__output__public_data": {
        "$ref": "#/components/schemas/Response576A0Ea506F3_connect_CLAY_CONTINUE_SEARCH__output__dbf583f1ca66634e"
      },
      "Response576A0Ea506F3_connect_CLAY_SEARCH_PEOPLE_OR_COMPANIES__output__2de7adc1a9a6bff0": {
        "properties": {
          "annual_revenue": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "clay_company_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "number"
              }
            ]
          },
          "country": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "domain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "industry": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "linkedin_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "location": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "size": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "total_funding_amount_range_usd": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "clay_company_id",
          "name",
          "size",
          "type",
          "domain",
          "country",
          "industry",
          "location",
          "description",
          "linkedin_url",
          "annual_revenue",
          "total_funding_amount_range_usd"
        ],
        "type": "object"
      },
      "Response576A0Ea506F3_connect_CLAY_SEARCH_PEOPLE_OR_COMPANIES__output__9613f127ebeff7ee": {
        "properties": {
          "data": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Response576A0Ea506F3_connect_CLAY_SEARCH_PEOPLE_OR_COMPANIES__output__f6b64837eff648ef"
                },
                {
                  "$ref": "#/components/schemas/Response576A0Ea506F3_connect_CLAY_SEARCH_PEOPLE_OR_COMPANIES__output__2de7adc1a9a6bff0"
                }
              ]
            },
            "type": "array"
          },
          "exhaustion_reason": {
            "oneOf": [
              {
                "enum": [
                  "query_limit",
                  "no_more_results"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "has_more": {
            "type": "boolean"
          },
          "period_quota": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response576A0Ea506F3_connect_CLAY_SEARCH_PEOPLE_OR_COMPANIES__output__a4f4a70bb01e0671"
              },
              {
                "type": "null"
              }
            ]
          },
          "search_id": {
            "type": "string"
          },
          "source_type": {
            "enum": [
              "people",
              "companies"
            ],
            "type": "string"
          }
        },
        "required": [
          "search_id",
          "source_type",
          "data",
          "has_more"
        ],
        "type": "object"
      },
      "Response576A0Ea506F3_connect_CLAY_SEARCH_PEOPLE_OR_COMPANIES__output__a4f4a70bb01e0671": {
        "properties": {
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "number"
              }
            ]
          },
          "remaining": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "number"
              }
            ]
          },
          "resets_at": {
            "type": "string"
          },
          "used": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "number"
              }
            ]
          }
        },
        "required": [
          "limit",
          "used",
          "remaining",
          "resets_at"
        ],
        "type": "object"
      },
      "Response576A0Ea506F3_connect_CLAY_SEARCH_PEOPLE_OR_COMPANIES__output__c0c2ac548bd0f850": {
        "properties": {
          "company": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "end_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "location": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "start_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "company",
          "title",
          "location",
          "start_date",
          "end_date"
        ],
        "type": "object"
      },
      "Response576A0Ea506F3_connect_CLAY_SEARCH_PEOPLE_OR_COMPANIES__output__e0e4b89e8acf2f7c": {
        "properties": {
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "state_or_province": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "city",
          "state_or_province"
        ],
        "type": "object"
      },
      "Response576A0Ea506F3_connect_CLAY_SEARCH_PEOPLE_OR_COMPANIES__output__f6b64837eff648ef": {
        "properties": {
          "clay_profile_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "number"
              }
            ]
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "linkedin_url": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "location": {
            "$ref": "#/components/schemas/Response576A0Ea506F3_connect_CLAY_SEARCH_PEOPLE_OR_COMPANIES__output__e0e4b89e8acf2f7c"
          },
          "matched_experiences": {
            "items": {
              "$ref": "#/components/schemas/Response576A0Ea506F3_connect_CLAY_SEARCH_PEOPLE_OR_COMPANIES__output__c0c2ac548bd0f850"
            },
            "type": "array"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "clay_profile_id",
          "name",
          "first_name",
          "last_name",
          "location",
          "matched_experiences"
        ],
        "type": "object"
      },
      "Response576A0Ea506F3_connect_CLAY_SEARCH_PEOPLE_OR_COMPANIES__output__public_data": {
        "$ref": "#/components/schemas/Response576A0Ea506F3_connect_CLAY_SEARCH_PEOPLE_OR_COMPANIES__output__9613f127ebeff7ee"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "",
    "title": "Clay",
    "version": "1",
    "x-aisa-capabilities": {
      "idempotency": "Idempotency-Key",
      "max_price": "X-AISA-Max-Price-USD",
      "quote": {
        "header": "X-AISA-Cost-Mode",
        "value": "quote"
      }
    },
    "x-aisa-catalogs": {
      "clay": {
        "description": "",
        "title": "Clay",
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          }
        },
        "x-aisa-document": {
          "facts_hash": "1b66e4ac22ad7accf106c93ad15ab0dcefd2197d53ffd08cec5faaabe42bce20",
          "generator_version": "3",
          "protocol_version": "1",
          "schema_version": "1"
        },
        "x-aisa-plans": {
          "builder": 1.0,
          "display_plan": "payg",
          "payg": 1.0,
          "similarweb_payg": 1.0,
          "team": 1.0,
          "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
        }
      }
    },
    "x-aisa-configured-paths": [
      "/apis/v1/clay/continue-search",
      "/apis/v1/clay/search-people-or-companies"
    ],
    "x-aisa-document": {
      "composer_version": "31",
      "facts_hash": "1b66e4ac22ad7accf106c93ad15ab0dcefd2197d53ffd08cec5faaabe42bce20",
      "generator_version": "3",
      "protocol_version": "1",
      "response_pending": [],
      "schema_version": "1",
      "public_projection": {
        "version": "4",
        "source_document_hash": "sha256:17abd34e26e22715e1f675a6d8b043b2feeee4022a48325e1d6fa6d8d65369b8"
      },
      "document_hash": "sha256:112499eccee6dcd286094cba823116108acb231a390bfd3b09c56e17e9c25b66"
    },
    "x-aisa-plans": {
      "builder": 1.0,
      "display_plan": "payg",
      "payg": 1.0,
      "similarweb_payg": 1.0,
      "team": 1.0,
      "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
    },
    "x-aisa-provider": "clay"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "paths": {
    "/apis/v1/clay/continue-search": {
      "post": {
        "description": "",
        "operationId": "clay.continue-search",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "limit": {
                    "description": "Required maximum number of records to request for this page (1–50).",
                    "examples": [
                      1,
                      10,
                      50
                    ],
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "search_id": {
                    "description": "Copy search_id from your own Search People or Companies response. Reuse that ID only while has_more is true; do not invent an identifier.",
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "limit",
                  "search_id"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response576A0Ea506F3_connect_CLAY_CONTINUE_SEARCH__output__public_data"
                }
              }
            },
            "description": "Tool result data"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Continue Search",
        "tags": [
          "Clay"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "clay",
        "x-aisa-category": "people",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/clay/clay-continue-search",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.0743,
          "estimate_source": "profile_seed",
          "maximum_units": 10000000
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-runtime-operation": {
          "method": "POST",
          "operation_id": "clay.continue-search",
          "path": "/apis/v1/clay/continue-search"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "mixed"
      }
    },
    "/apis/v1/clay/search-people-or-companies": {
      "post": {
        "description": "",
        "operationId": "clay.search-people-or-companies",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "limit": {
                    "description": "Required maximum number of records to request for the first page (1–50).",
                    "examples": [
                      1,
                      10,
                      50
                    ],
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "query": {
                    "description": "Clay advanced-search query for people or companies. Call Get Search Query Reference first when the grammar or available fields are unknown. Count-mode and jobs queries are not supported by Clay query-mode.",
                    "examples": [
                      "select from companies where people.exists(is_current = true and job_title is_similar_to (\"VP Sales\"))"
                    ],
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "limit",
                  "query"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response576A0Ea506F3_connect_CLAY_SEARCH_PEOPLE_OR_COMPANIES__output__public_data"
                }
              }
            },
            "description": "Tool result data"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Search People or Companies",
        "tags": [
          "Clay"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "clay",
        "x-aisa-category": "people",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/clay/clay-search-people-or-companies",
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.0743,
          "estimate_source": "profile_seed",
          "maximum_units": 10000000
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-runtime-operation": {
          "method": "POST",
          "operation_id": "clay.search-people-or-companies",
          "path": "/apis/v1/clay/search-people-or-companies"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "mixed"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ]
}
