For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Trust CenterStatusSupportGet a demoPlatform
DocumentationEvals API ReferenceIntegrations & OTELPlatform SettingsSelf-HostingGuidesChangelog
DocumentationEvals API ReferenceIntegrations & OTELPlatform SettingsSelf-HostingGuidesChangelog
  • Get Started
    • Introduction
    • Quickstart
    • Authentication
    • Data Models
    • API Conventions
  • Data Models
      • GETList Prompts
      • POSTPush Prompts
  • Evals
  • Legacy
LogoLogo
Trust CenterStatusSupportGet a demoPlatform
Data ModelsPrompts

List Prompts

GET
https://api.confident-ai.com/v1/prompts
GET
/v1/prompts
$curl https://api.confident-ai.com/v1/prompts \
> -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"
200Retrieved
1{
2 "success": true,
3 "data": {
4 "prompts": [
5 {
6 "id": "PROMPT-ID",
7 "alias": "PROMPT-ALIAS",
8 "type": "TEXT"
9 }
10 ]
11 },
12 "deprecated": true
13}
Lists all the available prompts in your Confident AI project.
Was this page helpful?
Previous

Push Prompts

Next
Built with

Headers

CONFIDENT_API_KEYstringRequired
The API key of your Confident AI project.

Response

successboolean
This is true if the prompts were successfully retrieved.
dataobject
This maps to all the prompts retrieved.
deprecatedboolean
This is true if this prompts endpoint is deprecated.