- Vue d'ensemble (Overview)
- Démarrer
- Concepts
- Utilisation de la UiPath CLI
- Guides pratiques
- Revenus CI/CD
- Référence de commande
- Vue d'ensemble (Overview)
- Codes de sortie
- Options globales
- agent codé uip
- uip coder
- uip context-grounding
- UiPath Docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- Tâches (Jobs)
- Dossiers
- Processus
- Paquets
- Machines
- Utilisateurs
- Rôles
- Licences
- Flux
- Pièces jointes (Attachments)
- Sessions
- Calendriers
- magasins d'informations d’identification
- journaux-audit
- paramètres
- Actifs
- Compartiments
- Compartiment-fichiers
- Bibliothèques
- Files d'attente (Queues)
- éléments de la file d'attente
- Déclencheurs (Triggers)
- Webhooks
- add-test-data-entity
- ajouter une file d'attente de données de test
- add-test-data-variation
- Analyser
- Construire
- créer-projet
- Différence
- recherche-activités
- Obtenir les règles de l'analyse
- récupérer-activité-xaml par défaut
- Récupérer les erreurs
- obtenir des cas de test manuels
- Obtenir les étapes de test manuelles
- get-library-object-repository
- get-object-repository
- Obtenir les versions
- exemple de workflow
- indiquer l'application
- indiquer l'élément
- inspecter-package
- install-data-fabric-entities
- installer-ou-Update-packages
- list-data-fabric-entités
- list-instances
- listes-exemples-workflow
- Créer un package
- Publier
- remote
- restore
- run, debug & execution
- Exécuter le fichier
- modèles-recherche
- Démarrer-Studio
- arrêter l'exécution
- tm
- UIA
- uip tasks
- Traçages UIP
- uip traces feedback
- Migration
- Référence et assistance
Apply pending schema migrations and regenerate derived files with `uip agent refresh`.
uip agent refresh applies pending schema migrations and regenerates the derived files (entry-points.json, bindings_v2.json) from agent.json. It always regenerates these artifacts, even when the storage schema is already at the latest version. Run it after every edit to agent.json, before uip agent validate.
Unlike validate, refresh writes files: it repairs drifted contentTokens, bumps an outdated agent.version, applies the migration pipeline in-memory then writes the migrated files back, regenerates entry-points.json / bindings_v2.json, and — for --inline-in-flow agents — generates resources/<id>/resource.json for any wired Integration Service connector tools and strips this agent's stale embedded config out of the parent .flow file (best-effort; never fails the command).
Synthèse
uip agent refresh [path] [--path <path>] [--bindings-target <path>] [--inline-in-flow]
uip agent refresh [path] [--path <path>] [--bindings-target <path>] [--inline-in-flow]
[path] and --path are mutually exclusive — passing both throws AgentRefreshConflictingPath.
All invocations honor the global options (--output, --output-filter, --log-level, --log-file). Exit codes follow the standard contract.
Arguments
[path](optional, default.) — Agent project directory. Cannot be combined with--path.
Options
| Drapeau | Default | Objectif |
|---|---|---|
--path <path> | — | Alternative to the positional [path] argument. Cannot be combined with it. |
--bindings-target <path> | <projectDir>/bindings_v2.json; for --inline-in-flow, the immediate parent directory's bindings_v2.json when it contains a .flow file | Path to write/merge agent tool bindings into. |
--inline-in-flow | désactivé | Refresh an inline agent inside a flow project. Skips entry-points.json / project.uiproj checks; bindings are merged into the parent flow project's bindings_v2.json. |
Exemples
# Refresh the current directory after editing agent.json
uip agent refresh
# Refresh a specific standalone project
uip agent refresh ./my-agent
# Refresh an inline agent, merging bindings into the parent flow
uip agent refresh ./my-flow/<uuid> --inline-in-flow
# Refresh the current directory after editing agent.json
uip agent refresh
# Refresh a specific standalone project
uip agent refresh ./my-agent
# Refresh an inline agent, merging bindings into the parent flow
uip agent refresh ./my-flow/<uuid> --inline-in-flow
Format des données (--sortie json)
{
"Code": "AgentRefresh",
"Data": {
"Status": "Refreshed — storage schema migrated to 47.0.0; artifacts regenerated",
"ProjectDir": "/abs/path/my-agent",
"Model": "gpt-5.4",
"StorageVersion": "47.0.0",
"MigrationApplied": true,
"Validated": { "agent": true, "resources": 2, "evalSets": 0, "evaluators": 0 },
"AgentVersionBumped": true,
"MigratedFiles": 1,
"ConnectorToolsGenerated": [
{ "nodeId": "n1", "name": "SlackSender", "connectorKey": "uipath-slack", "resourceId": "a1b2c3d4-0000-0000-0000-000000000605" }
],
"DerivedFilesGenerated": true,
"DerivedFiles": 2,
"FlowShellified": true,
"FlowResourceNodesStripped": 1,
"Warnings": ["..."]
}
}
{
"Code": "AgentRefresh",
"Data": {
"Status": "Refreshed — storage schema migrated to 47.0.0; artifacts regenerated",
"ProjectDir": "/abs/path/my-agent",
"Model": "gpt-5.4",
"StorageVersion": "47.0.0",
"MigrationApplied": true,
"Validated": { "agent": true, "resources": 2, "evalSets": 0, "evaluators": 0 },
"AgentVersionBumped": true,
"MigratedFiles": 1,
"ConnectorToolsGenerated": [
{ "nodeId": "n1", "name": "SlackSender", "connectorKey": "uipath-slack", "resourceId": "a1b2c3d4-0000-0000-0000-000000000605" }
],
"DerivedFilesGenerated": true,
"DerivedFiles": 2,
"FlowShellified": true,
"FlowResourceNodesStripped": 1,
"Warnings": ["..."]
}
}
Status reads "already at <version>" instead of "migrated to" when no migration was applied. Every field after Validated is optional and present only when that step produced something: AgentVersionBumped only if agent.version itself was bumped; MigratedFiles only when MigrationApplied is true; ConnectorToolsGenerated only for --inline-in-flow runs that generated new connector-tool resource files; FlowShellified/FlowResourceNodesStripped only for --inline-in-flow runs where the parent .flow's embedded config was stripped; Warnings only when non-fatal warnings occurred. InlineInFlow: true is added for --inline-in-flow runs.
Failure uses Code: "AgentRefreshFailed" with the same Data.Errors array shape as uip agent validate.
Associé
uip agent validate— the strict, read-only check to run after refresh.uip agent init— scaffolds the project refresh operates on.