Bind knowledge bases, workflows, and resources¶
View or update agent resource bindings, and create, query, and maintain agent knowledge bases and workflow bindings. This page does not create source resources such as knowledge bases or workflows themselves.
Prerequisites¶
Prepare credentials that can access the target workspace, the target agent ID, and the IDs of knowledge bases, workflows, or resources to bind. For service endpoints, authentication, and general request formats, see Make your first AI Studio API call.
First confirm that source resources exist. Binding operations on this page use only the input defined by the corresponding Reference action pages.
Call sequence¶
First get resource bindings to confirm existing bindings for the target agent.
To adjust general resources, update resource bindings and query them to confirm the current result.
To manage agent knowledge bases or workflow bindings, query existing bindings first, then create or update the target binding.
Query the corresponding bindings again after a change to confirm that the target object appears in the result.
API operations¶
Manage agent resource bindings¶
Task |
Use it when |
|---|---|
Confirm agent resource bindings before or after an update. |
|
You identified target resources and need to adjust bindings. |
Manage agent knowledge bases¶
Task |
Use it when |
|---|---|
Create an agent knowledge base. |
|
Select or confirm an agent knowledge base. |
|
Confirm a target agent knowledge base before updating. |
|
You have the target ID and need to modify it. |
Manage agent workflow bindings¶
Task |
Use it when |
|---|---|
You identified an agent and workflow and need to create a binding. |
|
Select or confirm a workflow binding. |
|
Confirm a target binding before updating. |
|
You have the binding ID and need to modify it. |
Confirm the result¶
After updating a resource, use Get resource bindings to confirm it. Confirm knowledge base and workflow bindings with their respective detail or list actions.