Skip to main content
GET
/
v1
/
system-prompts
/
{system_prompt_id}
/
compose
Compose System Prompt
curl --request GET \
  --url https://api.cuadra.ai/v1/system-prompts/{system_prompt_id}/compose \
  --header 'Authorization: Bearer <token>'
{
  "systemPromptId": "<string>",
  "composedContent": "<string>",
  "totalTokenCount": 123,
  "particleCount": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

system_prompt_id
string
required

System Prompt ID

Response

Successful Response

Response schema for composed system prompt content.

systemPromptId
string
required

System prompt ID

Example:

"sp_abc123"

composedContent
string
required

The fully composed prompt text

Example:

"You are a helpful customer support assistant. Be professional."

totalTokenCount
integer
required

Total token count

Example:

150

particleCount
integer
required

Number of particles used

Example:

3