agentrouter.policy.v1.PolicyService
Introduction
CreateFallbackChainPolicy
CreateFallbackChainPolicy
UpdateFallbackChainPolicy
UpdateFallbackChainPolicy updates mutable fallback chain policy fields.
UpsertFallbackPolicy
UpsertFallbackPolicy replaces the complete set of fallback entries for
DeleteFallbackChainPolicy
DeleteFallbackChainPolicy deletes a fallback chain policy.
SetFallbackChainPolicyStatus
SetFallbackChainPolicyStatus toggles a fallback chain policy's
CreateFallbackChainPolicy
CreateFallbackChainPolicy
UpdateFallbackChainPolicy
UpdateFallbackChainPolicy updates mutable fallback chain policy fields.
DeleteFallbackChainPolicy
DeleteFallbackChainPolicy deletes a fallback chain policy.
SetFallbackChainPolicyStatus
SetFallbackChainPolicyStatus toggles a fallback chain policy's
UpsertFallbackPolicy
UpsertFallbackPolicy replaces the complete set of fallback entries for
CreateModelTier
CreateModelTier adds a model tier to the Organization. Efficient and
DeleteModelTier
DeleteModelTier removes a tier an Admin added. Efficient and Capable, and
UpdateModelTier
UpdateModelTier applies a partial update to a tier's name and description.
CreateRoutingProfile
CreateRoutingProfile saves a set of models, each in a model tier, and an
DeleteRoutingProfile
DeleteRoutingProfile removes a routing profile. A profile that a routing
UpdateRoutingProfile
UpdateRoutingProfile applies a partial update. A non-empty models list
CreateRoutingStrategy
CreateRoutingStrategy saves how the data plane picks, with one routing
DeleteRoutingStrategy
DeleteRoutingStrategy removes a routing strategy. The virtual models
UpdateRoutingStrategy
UpdateRoutingStrategy applies a partial update. Editing a strategy never
CreateTrafficSplitPolicy
CreateTrafficSplitPolicy creates a new traffic-split policy scoped to a
DeleteTrafficSplitPolicy
DeleteTrafficSplitPolicy deletes a traffic split policy.
SetTrafficSplitPolicyStatus
SetTrafficSplitPolicyStatus toggles a traffic split policy's
UpdateTrafficSplitPolicy
UpdateTrafficSplitPolicy updates mutable traffic split policy fields.
AddApiKeyTag
AddApiKeyTag attaches a (tag_key, tag_value) pair to an API key. Both
RemoveApiKeyTag
RemoveApiKeyTag detaches a tag from an API key.
CreateAttributeRoutingPolicy
CreateAttributeRoutingPolicy creates an ordered rule list bound to a
UpdateAttributeRoutingPolicy
UpdateAttributeRoutingPolicy applies a partial update. A present `rules`
DeleteAttributeRoutingPolicy
DeleteAttributeRoutingPolicy removes a policy; its rules and conditions
SetAttributeRoutingPolicyMode
SetAttributeRoutingPolicyMode flips a policy between monitoring and
SetAttributeRoutingPolicyStatus
SetAttributeRoutingPolicyStatus switches a policy on or off. Independent
CreateBudgetPolicy
CreateBudgetPolicy creates a new budget policy. For API_KEY scope, the
UpdateBudgetPolicy
UpdateBudgetPolicy updates mutable budget policy fields. Omitted/empty
DeleteBudgetPolicy
DeleteBudgetPolicy deactivates a budget policy (is_active = false); the
PurgeBudgetPolicy
PurgeBudgetPolicy permanently removes an INACTIVE budget policy.
SetBudgetPolicyStatus
SetBudgetPolicyStatus toggles a budget policy's active/inactive state
CreateFallbackChainPolicy
CreateFallbackChainPolicy
UpdateFallbackChainPolicy
UpdateFallbackChainPolicy updates mutable fallback chain policy fields.
DeleteFallbackChainPolicy
DeleteFallbackChainPolicy deletes a fallback chain policy.
SetFallbackChainPolicyStatus
SetFallbackChainPolicyStatus toggles a fallback chain policy's
UpsertFallbackPolicy
UpsertFallbackPolicy replaces the complete set of fallback entries for
CreateRateLimitPolicy
CreateRateLimitPolicy creates a new rate-limit policy.
DeleteRateLimitPolicy
DeleteRateLimitPolicy deletes a rate-limit policy.
SetRateLimitPolicyStatus
SetRateLimitPolicyStatus toggles a rate-limit policy's active/inactive
UpdateRateLimitPolicy
UpdateRateLimitPolicy updates mutable rate-limit policy fields.
CreateRequestAttribute
CreateRequestAttribute adds one entry to the customer's org-wide routing
DeleteRequestAttribute
DeleteRequestAttribute removes a vocabulary entry. Refused with
UpdateRequestAttribute
UpdateRequestAttribute replaces a vocabulary entry's name, value type and
CreateTagSchemaEntry
CreateTagSchemaEntry adds an allowed (tag_key, tag_value) pair to the
DeleteTagSchemaEntry
DeleteTagSchemaEntry removes an allowed (tag_key, tag_value) pair from
UpdateTagSchemaEntry
UpdateTagSchemaEntry replaces a tag catalog entry's description. The
CreateTrafficSplitPolicy
CreateTrafficSplitPolicy creates a new traffic-split policy scoped to a
DeleteTrafficSplitPolicy
DeleteTrafficSplitPolicy deletes a traffic split policy.
SetTrafficSplitPolicyStatus
SetTrafficSplitPolicyStatus toggles a traffic split policy's
UpdateTrafficSplitPolicy
UpdateTrafficSplitPolicy updates mutable traffic split policy fields.
CreateUserGroup
CreateUserGroup creates a new user group (team).
DeleteUserGroup
DeleteUserGroup deletes a user group. The group must be empty and
UpdateUserGroup
UpdateUserGroup updates mutable user group fields. Omitted/empty scalar
AddUserGroupMembers
AddUserGroupMembers puts users into a group. A user already in another
RemoveUserGroupMembers
RemoveUserGroupMembers takes users out of a group. Removal is idempotent:
CreateVirtualModel
CreateVirtualModel adds a virtual model to a project, from a routing
DeleteVirtualModel
DeleteVirtualModel removes a virtual model. Requests for its name then
SetVirtualModelStatus
SetVirtualModelStatus turns a virtual model on or off. While it is off,
UpdateVirtualModel
UpdateVirtualModel applies a partial update. A non-empty models list
ListApiKeyIdsByTag
ListApiKeyIdsByTag returns the IDs of the caller's API keys that carry a
BatchListApiKeyTags
BatchListApiKeyTags returns the tags on each of a set of API keys in one
ListApiKeyTags
ListApiKeyTags returns tags attached to an API key.
ListAttributeRoutingPolicies
ListAttributeRoutingPolicies returns policies matching the filters,
GetAttributeRoutingPolicy
GetAttributeRoutingPolicy returns a single policy with its ordered rules
GetAttributeRoutingPolicyAnalytics
GetAttributeRoutingPolicyAnalytics returns the monitor/enforce readout
ListBudgetAlerts
ListBudgetAlerts returns system-fired budget alerts matching the
GetBudgetAlert
GetBudgetAlert returns a single budget alert by id.
GetBudgetConsumption
GetBudgetConsumption reports what an organization, or the projects inside
ListBudgetPolicies
ListBudgetPolicies returns budget policies matching the specified
GetBudgetSpendHistory
GetBudgetSpendHistory returns monthly billable spend for a target, even
GetBudgetPolicy
GetBudgetPolicy returns a single budget policy by id.
GetPolicyCoverage
GetPolicyCoverage reports whether a scope reference has at least one
GetEffectivePolicy
GetEffectivePolicy resolves every BudgetPolicy applicable to a
ListFallbackChainPolicies
ListFallbackChainPolicies returns fallback chain policies matching the
GetFallbackChainPolicy
GetFallbackChainPolicy returns a single fallback chain policy by id.
ListModelTiers
ListModelTiers returns the Organization's model tiers, including the
ListPolicies
ListPolicies returns a read-only, paginated list for the caller's tenant.
ListRateLimitPolicies
ListRateLimitPolicies returns rate-limit policies matching the specified
GetRateLimitPolicy
GetRateLimitPolicy returns a single rate-limit policy by id. The period
GetRateLimitPolicyAnalytics
GetRateLimitPolicyAnalytics computes a 'would-have-limited' analytics
ListRequestAttributes
ListRequestAttributes returns the customer's routing vocabulary, ordered
GetRequestAttribute
GetRequestAttribute returns a single vocabulary entry by id, including
ListRoutingProfiles
ListRoutingProfiles returns the Organization's routing profiles.
GetRoutingProfile
GetRoutingProfile returns one routing profile with its models and judge.
ListRoutingStrategies
ListRoutingStrategies returns the Organization's routing strategies.
GetRoutingStrategy
GetRoutingStrategy returns one routing strategy.
ListTagSchema
ListTagSchema returns allowed tag key/value pairs matching the specified
ListTrafficSplitPolicies
ListTrafficSplitPolicies returns traffic split policies matching the
GetTrafficSplitPolicy
GetTrafficSplitPolicy returns a single traffic split policy by id.
ListUserGroups
ListUserGroups returns user groups matching the specified filters.
GetUserGroup
GetUserGroup returns a single user group by id.
ListUserGroupMembers
ListUserGroupMembers returns the users who belong to a group, ordered by
ListVirtualModels
ListVirtualModels returns the virtual models matching the filters.
GetVirtualModel
GetVirtualModel returns one virtual model with its models and strategy.