GET /accounts/{account_id}/cloudforce-one/rules/search

Search rules using hybrid, vector, keyword, or exact retrieval, backed by AI Search with a SQL fallback.

Servers

Path parameters

Name Type Required Description
account_id String Yes

Cloudflare account ID.

Query parameters

Name Type Required Description
query String Yes

Natural-language or keyword search query.

namespace No

Filter by namespace. Repeat the parameter to filter by multiple namespaces (e.g. namespace=foo&namespace=bar).

limit Number No

Default value: 50

is_public String No

Filter by public visibility.

Valid values:

  • "false"
  • "true"
search String No
recursive String No

Valid values:

  • "false"
  • "true"
mode String No

Retrieval strategy used for the query.

Valid values:

  • "exact"
  • "hybrid"
  • "vector"
  • "keyword"

Default value: "hybrid"

offset Number No

Default value: 0

language String No

Filter results by rule language.

Valid values:

  • "yara"
  • "js"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.