Prompt Buddy logoPrompt Buddy

openai · OpenAI Platform Docs

Authentication API Overview | OpenAI API Reference

Explains how to authenticate requests to the OpenAI API using API keys.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Authentication API Overview | OpenAI API Reference

Explains how to authenticate requests to the OpenAI API using API keys.

When To Use

Use when you need to implement secure authentication for API requests or resolve authorization errors when calling OpenAI endpoints.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/api-reference-authentication-overview-openai-workflow-guide.mdAn overview of authentication methods and request debugging for the OpenAI RESTful, streaming, and realtime APIs.Questions about an overview of authentication methods and request debugging for the OpenAI RESTful, streaming, and realtime APIs.
examples/api-reference-authentication-overview-openai-openai-api-authentication-b.textA text representation of the HTTP Authorization header format using a Bearer token for OpenAI API authentication.Exact payloads, commands, or snippets shown in A text representation of the HTTP Authorization header format using a Bearer token for OpenAI API authentication.
examples/api-reference-authentication-overview-openai-openai-api-authentication-c.textCurl commands demonstrating how to authenticate requests using Bearer tokens, Organization IDs, and Project IDs.Exact payloads, commands, or snippets shown in Curl commands demonstrating how to authenticate requests using Bearer tokens, Organization IDs, and Project IDs.
examples/api-reference-authentication-overview-openai-openai-api-authentication-c-2.textA curl command demonstrating how to include a Bearer token and client request ID in an OpenAI API request header.Exact payloads, commands, or snippets shown in A curl command demonstrating how to include a Bearer token and client request ID in an OpenAI API request header.

What This Skill Covers

  • This API reference describes the RESTful, streaming, and realtime APIs you can use to interact with the OpenAI platform. REST APIs are usable via HTTP in any...
  • Main sections: Introduction, Authentication, Debugging requests, Supplying your own request ID with X-Client-Request-Id, Backwards compatibility.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.openai.com/api/docs/api-reference/authentication