Create Secret
Secrets
Create Secret
Create a new global secret.
The secret will be encrypted and stored securely. If teamId is provided, the secret will be associated with that team (requires team membership).
POST
Create Secret
Documentation Index
Fetch the complete documentation index at: https://docs.primeintellect.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Name of the secret (must start with uppercase, only uppercase, numbers, underscores)
Required string length:
1 - 255Pattern:
^[A-Z][A-Z0-9_]*$The secret value to store (will be encrypted)
Minimum string length:
1Optional description of the secret
Maximum string length:
500Optional team ID for team-level secrets
Whether this secret represents a file (max 64KB base64 encoded)