Skip to main content

List prompt templates

List saved prompt templates for the current user (private) and team (shared). Optionally filter by mode.

GET/api/enrichments/prompt-templates
HTTP referenceScope prompts:readUpdated September 27, 2026

This page documents the canonical HTTP contract for this endpoint.

Returns all prompt templates visible to the caller: templates they created (scope user) and templates shared with the organization (scope team).

Results are sorted by updated_at descending. Archived templates are excluded. The optional mode query accepts basic or agent; either filter also includes stored mode any. Developer keys use their owning user/org and require prompts:read.

Query parameters

  • mode · optional

    string

    Filter by mode: <code>basic</code> (Quick LLM), <code>agent</code> (Deep Research). Omit to return all.

Errors

StatusMeaning
401Invalid API key or missing auth.
403Missing prompts:read scope.
422mode must be basic or agent.

Docs