API security
If you use the STYD API, your API keys are sensitive credentials. Handling them carefully is an important part of security.
Keys belong to a workspace
API keys are created per workspace, by an owner or admin, and let external tools call the STYD API on that workspace's behalf. The key is sent in the x-api-key request header. A workspace can hold up to 5 active keys.
What a key can do
Treat keys like passwords
Rotate and revoke
Limits that protect the service
Questions through the API and AI apps are limited in number per minute and in length, and a person or key whose questions keep failing is paused for the rest of the hour. The forms on the public site have a submission limit, and invitation emails are limited per workspace, per person and per address. If STYD's total AI use over a day becomes unusually high, new questions can be paused for a while, free ones first, with the message “STYD is busy right now”. Nothing is charged for a paused question. The request limits are listed in Billing & Limits.