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 Prepare to call an API.
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¶
What you need to do |
API operation |
Use it when |
|---|---|---|
Query resource bindings |
Confirm agent resource bindings before or after an update. |
|
Update resource bindings |
You identified target resources and need to adjust bindings. |
Manage agent knowledge bases¶
What you need to do |
API operation |
Use it when |
|---|---|---|
Create an agent knowledge base |
Create an agent knowledge base. |
|
Query agent knowledge bases |
Select or confirm an agent knowledge base. |
|
Query agent knowledge base details |
Confirm a target agent knowledge base before updating. |
|
Update an agent knowledge base |
You have the target ID and need to modify it. |
Manage agent workflow bindings¶
What you need to do |
API operation |
Use it when |
|---|---|---|
Create an agent workflow binding |
You identified an agent and workflow and need to create a binding. |
|
Query agent workflow bindings |
Select or confirm a workflow binding. |
|
Query agent workflow binding details |
Confirm a target binding before updating. |
|
Update an agent workflow binding |
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.