gateway-policies
Get a gateway policy
Changed onReturns a single gateway policy by id. Cross-org access is rejected with 404
Spend tracking: spend-cap policies include current_spend_usd for the active window so callers can read per-policy cost without hitting a separate endpoint. Guard policies leave it null.
get/api/v1/platform/gateway-policies/{id}
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v1/platform/gateway-policies/{id}
- Auth
- API key in header X-API-Key
- or HTTP bearer
Path parameters
idstring uuid required
Policy ID
Response
OK
Changes
- info
endpoint added
- info