Portkey-AI / gateway

A Blazing Fast AI Gateway with integrated Guardrails. Route to 200+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.
https://portkey.ai/features/ai-gateway
MIT License
6k stars 410 forks source link

API for keys management #183

Open alexander-potemkin opened 8 months ago

alexander-potemkin commented 8 months ago

I would really need API for the keys management - working code example (JS/TS) and probably some docs, if possible!

alexander-potemkin commented 8 months ago

Could you, please, advice what is the best place for the pre-request and post-request hooks?

I'm looking for the way to connect the gateway with my per user limits system:

roh26it commented 8 months ago

This thread is continuing on Discord - https://discord.com/channels/1143393887742861333/1196961506240245830