# Gateway agent controls

Source: https://ask.eliteaiempire.com/gateway-controls

[API pricing](/pricing#api)

# Gateway agent controls

Get an API key from [your account](/account). Free accounts can make 100 requests a day. To use a model on your OpenAI account, post to `/v1/chat/completions` with `model` set to `byok/` followed by its model ID. Send your provider key in `X-Provider-Key` and your gateway key in the Authorization bearer header.

Hosted requests use your plan or our listed metered rate. We add no percentage fee on top of the listed price. With your own OpenAI key, OpenAI bills you directly. We charge nothing per request within your daily allowance.

## Give an agent a daily budget

POST to `/v1/gateway/agents` using your account bearer key. Send a name and a limit, for example `{"name":"Support","daily_requests":50}`. Copy the returned agent key. Use it for chat requests. To change a budget, include the agent ID in the same request. DELETE `/v1/gateway/agents/ID` to revoke its key.

## Gateway Team

GET `/v1/gateway/logs` for the last 200 request records within 30 days. Records contain the agent, time, model and outcome. PUT `{"blocked_phrases":["private project"]}` to `/v1/gateway/guardrails` to block those words in requests and replies. Set `cache` to `true` in a chat request to reuse an identical answer for ten minutes. Stored answers are scoped to the account, agent and provider key.
[← Lumen home](https://lumen.eliteaiempire.com)

[Trust centre: security, privacy, refunds, status](https://eliteaiempire.com/trust/)
[Become an affiliate](https://partners.eliteagenticsolutions.com/?utm_source=lumen&utm_medium=affiliate)
