Skip to main content
GET
/
v1
/
system-prompts
List System Prompts
curl --request GET \
  --url https://api.cuadra.ai/v1/system-prompts \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "name": "<string>",
      "enabled": true,
      "isSystem": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "description": "System prompt for customer support interactions",
      "totalTokenCount": 150,
      "particleCount": 3,
      "particles": [
        {
          "id": "<string>",
          "particleId": "<string>",
          "order": 123,
          "particleName": "Professional Tone",
          "particleCategory": "tone",
          "particleVersionId": "pv_abc123",
          "pinnedVersion": 2,
          "tokenCount": 25
        }
      ]
    }
  ],
  "hasMore": true,
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

JWT token from Stytch B2B authentication (magic link, SSO, or M2M)

Query Parameters

enabled
boolean
default:true

Filter to enabled system prompts only

isSystem
boolean | null

Filter by system status: true = system templates only, false = user-created only, omit = user-created only (default)

expand[]
string[] | null

Fields to expand (e.g., particles)

limit
integer
default:20

Maximum results to return

Required range: 1 <= x <= 100
cursor
string | null

Pagination cursor

Response

Successful Response

Paginated response for system prompt listings.

items
SystemPromptOut · object[]
required

List of system prompts

hasMore
boolean
required

Whether more results exist

nextCursor
string | null

Cursor for next page