Skip to main content
In five minutes you will send a request through Altrum and see it in the request log. You need the Owner or Admin role, and an API key from a model provider such as OpenAI.
1

Add a provider credential

Open AI Gateway, Provider credentials, and add your OpenAI API key. Altrum stores it encrypted and never shows it again. See Provider credentials.
2

Create a virtual key

Open Virtual keys and create an organization key. Copy it now: it starts with sk-alt- and is shown only once. Save it in an environment variable:
3

Send a request

Use the OpenAI SDK as you would anyway, with Altrum’s address as the base URL and the virtual key as the API key:
AI Gateway, Overview has the same code for the Anthropic and Google SDKs and for curl, with your address filled in.
4

Find it in the request log

Open AI Gateway, Request log. Your request is there with its model, tokens, cost, time taken and the guardrails that checked it.

Next