path agntcy/identity/service/v1alpha1/policy_service.proto
package agntcy.identity.service.v1alpha1
Messages
CreatePolicyRequest
| Name | Type | Description |
|---|
name | string | A human-readable name for the Policy. |
description | optional string | A human-readable description for the Policy. |
assigned_to | string | The requester application that this policy applies to. |
CreateRuleRequest
| Name | Type | Description |
|---|
policy_id | string | The Policy Id to which these Rules belong. |
name | string | A human-readable name for the Rule. |
description | optional string | A human-readable description for the Rule. |
tasks | repeated string | The tasks that this Rule applies to. |
needs_approval | optional bool | Need User Approval for this Rule. |
action | RuleAction | The action applied for the rule when calling the tasks |
DeletePolicyRequest
| Name | Type | Description |
|---|
policy_id | string | Policy Id to delete. |
DeleteRuleRequest
| Name | Type | Description |
|---|
policy_id | string | The Policy Id to which these Rules belong. |
rule_id | string | Rule Id to delete. |
GetPoliciesCountRequest
GetPoliciesCountResponse
| Name | Type | Description |
|---|
total | int64 | The total count |
GetPolicyRequest
| Name | Type | Description |
|---|
policy_id | string | Policy Id to get. |
GetRuleRequest
| Name | Type | Description |
|---|
policy_id | string | The Policy Id to which these Rules belong. |
rule_id | string | Rule Id to get. |
ListPoliciesRequest
| Name | Type | Description |
|---|
page | optional int32 | The current page of the pagination |
size | optional int32 | The page size of the pagination |
query | optional string | The search query |
app_ids | repeated string | A filter used to fetch policies only for the specified Agentic Services |
rules_for_app_ids | repeated string | A filter used to fetch policies where the rules applies for the specified Agentic Services |
ListPoliciesResponse
ListRulesRequest
| Name | Type | Description |
|---|
policy_id | string | The Policy Id to which these Rules belong. |
page | optional int32 | The current page of the pagination |
size | optional int32 | The page size of the pagination |
query | optional string | The search query |
ListRulesResponse
UpdatePolicyRequest
| Name | Type | Description |
|---|
policy_id | string | Policy Id to update. |
name | string | A human-readable name for the Policy. |
description | optional string | A human-readable description for the Policy. |
assigned_to | string | The requester application that this policy applies to. |
UpdateRuleRequest
| Name | Type | Description |
|---|
policy_id | string | The Policy Id to which these Rules belong. |
rule_id | string | Rule Id to update. |
name | string | A human-readable name for the Rule. |
description | optional string | A human-readable description for the Rule. |
tasks | repeated string | The tasks that this Rule applies to. |
needs_approval | optional bool | Need User Approval for this Rule. |
action | RuleAction | The action applied for the rule when calling the tasks |
Services
PolicyService
PolicyService manages policy.
ListPolicies
GetPoliciesCount
GetPolicy
CreatePolicy
UpdatePolicy
DeletePolicy
ListRules
GetRule
CreateRule
UpdateRule
DeleteRule