Skip to main content
Version: PromptQL

PromptQL APIs

Introduction

End users can interact with a PromptQL application via the PromptQL Playground—our built-in GUI—but, PromptQL APIs let you embed AI-native features—like natural language querying and intelligent program execution—directly into your app, powered by Hasura DDN.

Available APIs

  • Natural Language API - Enable conversational access to your data. This API lets you send user messages, stream assistant responses, and manage artifacts like text and tables as part of the interaction.

  • Execute Program API - Run exported PromptQL programs with your data using a single endpoint. This API is ideal for more structured interactions or automations.

  • Threads API - Manage conversation threads, including creating, retrieving, updating, and deleting threads. Also includes functionality for sharing threads, managing pinned threads, and collecting feedback.

  • Automations API - Create, manage, and execute automations that can process table data with simplified input formats. Perfect for building automated workflows and data processing pipelines.

  • System APIs - Utility endpoints for health checks, version information, and capability discovery. Essential for monitoring, debugging, and understanding your PromptQL instance.

Each API is backed by Hasura DDN, meaning you can connect your own project, pass context via artifacts, and control behavior using system instructions and customizations.