Secrets
Create a secret
Changed onCreate a secret. The value is encrypted at rest and never returned — the response contains only the name. Reference it by name from a tool's auth.
post/secret
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/secret
- AuthHTTP bearer
Request body
Example request
{
"name": "ORDER_API_TOKEN",
"value": "sk_live_xxxxxxxxxxxx"
}Response
Secret created (name only).
Example response
{
"status": true,
"data": {
"_id": "6a85323f98ca88de9272bb70",
"name": "ORDER_API_TOKEN"
}
}Changes
- info
endpoint added
- info