System Prompts
Add Particle to System Prompt
Add a particle to a system prompt composition.
POST
Add Particle to System Prompt
Authorizations
JWT token from Stytch B2B authentication (magic link, SSO, or M2M)
Headers
Path Parameters
System Prompt ID
Body
application/json
Request schema for adding a particle to a system prompt.
Response
Successful Response
Response schema for a particle within a system prompt.
Association ID
Example:
"spa_abc123"
Particle ID
Example:
"part_xyz789"
Order in composition
Example:
0
Particle name (derived)
Example:
"Professional Tone"
Particle category (derived)
Available options:
role, tone, guardrails, constraints, format Example:
"tone"
Pinned version ID (NULL = current)
Example:
"pv_abc123"
Pinned version number (derived)
Example:
2
Token count of the particle content
Example:
25
Add Particle to System Prompt