Create a gateway policy
One step with LangSmith. We can help you get access.
Get something done
Create a gateway policy
with LangSmith
Use LangSmith: its LangSmith Gateway Policies API lets you create a gateway policy in a single step (POST /v1/platform/gateway-policies). capabilities.work can help you get signed up and connected.
- How do I cap spend for certain users through the LLM Gateway?
- Can I create a default spend-cap policy that rolls out to many users?
Say it to your AI assistant
- Create a {policy_type} policy named {name} with matchers {subject_matchers}.
- Create a spend-cap policy {name} with action {action} and config {config}.
For your developer
POST /v1/platform/gateway-policies in LangSmith Gateway Policies API. Full spec on APIs.io.