What is an application programming interface key?

Definition

An application programming interface key lets a service associate programmatic requests with a customer, project or account. Providers use it to apply permissions, usage limits, billing and audit records to calls made by software rather than a person using an interactive login.

Keys should be treated as secrets. They belong in protected configuration or a secret manager, should receive only the access required and must never be exposed in public source code, browser content or logs.

Acronyms and aliases

API key acronym

Frequently asked questions

What does an application programming interface key do?

It identifies and authorizes a software client so a provider can apply access, quotas, billing and audit records to its requests.

Can users connect their own model provider with an API key?

Yes. A compatible application can accept a user's provider key and use that credential for authorized model requests, subject to secure storage and handling.

Videos explaining application programming interface key

  1. Why OpenAI Is Cutting Cursor Model Access
    Theo27:051 VIEW