- Visão geral
- Introdução
- Conceitos
- Usando o UiPath CLI
- Guias de instruções
- Receitas de CI/CD
- Referência de comando
- Visão geral
- Códigos de saída
- Opções globais
- Agente de código uip
- uip coder
- uip context-grounding
- Documento da UIP
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- adicionar-tipo-dados-de-teste
- adicionar-dados-de-teste-fila
- adicionar-teste-variação de dados
- Analisar
- Criar
- criar projeto
- Comparação
- encontrar atividades
- obter-analisador-regras
- obter-padrão-atividade-xaml
- obter-erros
- obter-casos-de-teste-manuais
- obter-etapas-de-teste-manual
- get-library-object-repository
- get-object-repository
- Obter versões
- obter-fluxo-de-trabalho-exemplo
- indicar aplicativo
- indicar elemento
- inspecionar pacote
- instalar-data-fabric-entities
- instalar-ou-atualizar pacotes
- listar-data-fabric-entities
- list-instances
- listar-exemplos-de-fluxo-de-trabalho
- Empacotar
- Publicar
- remote
- restore
- run, debug & execution
- arquivo de execução
- modelos-pesquisar
- Iniciar Studio
- interromper a execução
- tm
- UIA
- uip tasks
- Traces da UIP
- uip traces feedback
- Migração
- Referência e suporte
List guardrail definitions, BYOG guardrails, LLM-as-judge models, and the guardrail catalog with `uip agent guardrails`.
uip agent guardrails is a read-only discovery group for the guardrails an agent project can reference — built-in validators and bring-your-own-guardrail (BYOG) connections — plus the models available for the LLM-as-judge guardrail and the authored catalog metadata (descriptions, use cases, examples) for each validator. It does not attach a guardrail to a project; that's done by hand-editing agent.json.
Resumo
uip agent guardrails list [--byo]
uip agent guardrails llm-as-judge-models
uip agent guardrails catalog [--validator <id>]
uip agent guardrails list [--byo]
uip agent guardrails llm-as-judge-models
uip agent guardrails catalog [--validator <id>]
All invocations honor the global options (--output, --output-filter, --log-level, --log-file). Exit codes follow the standard contract.
uip agent guardrails list
List available guardrail definitions, including disabled ones (a disabled BYOG configuration is worth showing — otherwise it's indistinguishable from one that was never set up).
Opções
| Bandeira | Finalidade |
|---|---|
--byo | Filter to bring-your-own (BYOG) guardrails only. |
Exemplos
uip agent guardrails list
uip agent guardrails list --byo
uip agent guardrails list
uip agent guardrails list --byo
Formato dos dados (--output json)
{
"Code": "GuardrailDefinitionsList",
"Data": [
{
"Validator": "pii_detection",
"IsByo": false,
"Status": "Available",
"AllowedScopes": ["Agent", "Llm", "Tool"],
"GuardrailStages": { "Agent": ["PreExecution", "PostExecution"], "Llm": ["PreExecution", "PostExecution"], "Tool": ["PreExecution", "PostExecution"] },
"Parameters": [
{ "Type": "enum-list", "Id": "entities", "Required": true, "DefaultValue": ["Email", "Address"], "Options": ["Person", "Address", "Email", "..."] }
]
}
]
}
{
"Code": "GuardrailDefinitionsList",
"Data": [
{
"Validator": "pii_detection",
"IsByo": false,
"Status": "Available",
"AllowedScopes": ["Agent", "Llm", "Tool"],
"GuardrailStages": { "Agent": ["PreExecution", "PostExecution"], "Llm": ["PreExecution", "PostExecution"], "Tool": ["PreExecution", "PostExecution"] },
"Parameters": [
{ "Type": "enum-list", "Id": "entities", "Required": true, "DefaultValue": ["Email", "Address"], "Options": ["Person", "Address", "Email", "..."] }
]
}
]
}
Validator is not unique — a BYOG definition can share a built-in's name (a tenant can have two harmful_content entries). Use IsByo plus the Byo* fields (ByoValidatorName, ByoConnectionId, ByoConfigurationId, ByoConnectorName, ByoConnectorKey, FolderKey) to tell them apart — ByoValidatorName and ByoConnectionId are the two values a coded agent passes to ByoValidator(...).
uip agent guardrails llm-as-judge-models
List LLM models available for the LLM-as-judge guardrail. Requires login.
Exemplo
uip agent guardrails llm-as-judge-models
uip agent guardrails llm-as-judge-models
Formato dos dados (--output json)
{
"Code": "LlmGatewayModelsList",
"Data": [
{ "ModelId": "anthropic.claude-haiku-4-5-20251001-v1:0", "DisplayName": "Claude Haiku 4.5", "Vendor": "AwsBedrock", "ModelFamily": "AnthropicClaude", "SubscriptionType": "UiPathOwned", "IsByo": false, "IsPreview": false, "IsBlockedByPolicy": false }
]
}
{
"Code": "LlmGatewayModelsList",
"Data": [
{ "ModelId": "anthropic.claude-haiku-4-5-20251001-v1:0", "DisplayName": "Claude Haiku 4.5", "Vendor": "AwsBedrock", "ModelFamily": "AnthropicClaude", "SubscriptionType": "UiPathOwned", "IsByo": false, "IsPreview": false, "IsBlockedByPolicy": false }
]
}
Models blocked by tenant policy are filtered out before the list is returned.
uip agent guardrails catalog
Fetch authored catalog metadata (descriptions, use cases, examples) for guardrail validators.
Opções
| Bandeira | Finalidade |
|---|---|
--validator <id> | Filter to a single validator by its snake_case ID (e.g. pii_detection). |
Exemplos
uip agent guardrails catalog
uip agent guardrails catalog --validator pii_detection
uip agent guardrails catalog
uip agent guardrails catalog --validator pii_detection
Formato dos dados (--output json)
{
"Code": "GuardrailCatalog",
"Data": {
"schema_version": "1.0.0",
"guardrails": [
{ "validator_id": "pii_detection", "display_name": "PII Detection", "type": "BuiltIn", "status": "Available", "description": "...", "use_cases": ["..."], "examples": [] }
]
}
}
{
"Code": "GuardrailCatalog",
"Data": {
"schema_version": "1.0.0",
"guardrails": [
{ "validator_id": "pii_detection", "display_name": "PII Detection", "type": "BuiltIn", "status": "Available", "description": "...", "use_cases": ["..."], "examples": [] }
]
}
}
If the catalog feature isn't yet enabled for the tenant, this fails with Code: "GuardrailCatalogUnavailable".
Relacionado
uip agent review— one of its rule categories isguardrails.
Veja também
- Authentication — required for
llm-as-judge-models. - Opções globais, Códigos de saída.