Skip to main content
Applies to:
  • Plan -
  • Deployment -
Summary The list_prompts API endpoint returns only project_id values, not project names. To retrieve project names alongside prompts, you need to call both the list_projects and list_prompts endpoints, then join the responses client-side by matching project IDs to names.

Configuration Steps

Step 1: Fetch all projects

Call the list projects endpoint to retrieve project IDs and names.

Step 2: Fetch all prompts

Call the list prompts endpoint to retrieve prompts with project IDs.

Step 3: Match project IDs to names

Join the responses client-side by matching project_id fields. Here’s a complete Python script example:
The output of the script will look like so: