Documentation Index
Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
OneCLI injects your OpenAI API key into requests toapi.openai.com automatically. Agents make standard HTTP requests to the OpenAI API; the gateway adds the Authorization: Bearer header before forwarding.
This lets agents use GPT models, DALL-E, embeddings, and other OpenAI services without ever seeing or handling your API key directly.
Setup
How it works
- Your API key is encrypted and stored by OneCLI (AES-256-GCM at rest)
- When an agent sends a request to
api.openai.com, the gateway intercepts it - The gateway injects an
Authorization: Bearer {key}header - The request is forwarded to OpenAI