apicheats.dev Cheat sheet Raw .md
POST

Try POST /organization/projects/{project_id}/service_accounts/{service_account_id}/api_keys — OpenAI API

OpenAI playground

Create an API key for a service account

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.openai.com; the proxy stores and logs nothing about them.

Path

Body application/json

3 body fields
  • name · optional · string — API key name.
  • scopes · optional · string[] — API key scopes.
  • expires_in_seconds · optional · integer — Number of seconds until the API key expires.