Back to blog

AI Query Builder: Instantly Turn Prompts Into API Queries

Coresignal

Published on Jul 29, 2025
AI query builder

Key takeaways

  • Instantly generate API queries from natural language
  • See full queries, matched data, and sample records
  • Learn API structure by reviewing AI-generated queries
  • Try it in the API playgrounds with built-in templates
  • We’re pleased to announce the launch of the AI query builder, now available in our API playground environments. This new feature is designed to simplify the way developers interact with our APIs by allowing natural language input to generate API requests.

    Instead of writing detailed Elasticsearch-based queries, users can now enter a simple request such as: “Find backend developers in Austin with remote work preference.”

    The AI Query Builder interprets the prompt, understands your intent, and constructs the appropriate Search and Collect API calls. This eliminates the need to navigate API schema or field structures manually.

    Greater transparency and control

    Once a request is generated, the tool provides:

    • The full Search and Collect queries
    • Matching IDs from the dataset
    • A sample record for immediate context

    You can review and modify either the original prompt or the generated query to fine-tune results.

    Learn while you build

    Whether you’re new to Elasticsearch queries or simply want to accelerate your API workflows, the AI query builder also serves as a learning tool. By reviewing the queries generated from your prompts, you gain a clearer understanding of how to structure requests effectively.

    Suggested prompt templates are available to help you get started quickly and explore a wide range of query use cases.

    How to get started

    1. Open the playground
    2. Select your preferred API (Employee, Company, or Jobs) and data processing level
    3. Input a natural language prompt or choose a template
    4. Review the results and generated queries
    5. Edit and re-run the prompt or the query as needed

    Depending on the API you choose, each Search and Collect request incurs a cost of 1 to 2 credits.

    Try now