API key
Also: API keys
A secret password that proves a program is allowed to use a service. Keep it private.
The fuller definition
An API key is a credential used to identify or authorize a program's access to a service. It should be handled as a secret when it grants privileged or billable access.
- Protected storage
Keep the credential
- Server request
Attach securely
- Service
Check authorized use
A simplified relationship, not a screenshot or a complete design.
A concrete example
A server reads its key from protected configuration when calling a model API.
The distinction that matters
Do not embed a secret key in a public webpage, prompt example, or repository.
Related terms
Authentication
Proving who you are, for example by logging in.
Reliability & securityPermission
What an AI system is allowed to see or do, set by the people who run it.
APIs & softwareAPI — Application Programming Interface
A doorway that lets one program talk to another. Apps use an API to send your request to the model and get the answer back.
Where it is taught
APIs and JSON: connect a model to a small programSource and further reading
MDN · Web technology glossaryThe definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.