Configure models, runtimes, and policies¶
Create and maintain model configurations, runtime policies, and runtime bindings, then apply them to a target agent. This page does not create or invoke agents.
Prerequisites¶
Prepare credentials that can access the target workspace and the target agent ID. For service endpoints, authentication, and general request formats, see Make your first AI Studio API call.
Before configuration, list available runtime providers, existing model configurations, and runtime policies to obtain IDs required by later actions.
Call sequence¶
Query runtime providers, model configurations, and runtime policies, then select existing objects or create new ones.
After creating or updating model configurations and runtime policies, retain their IDs.
Bind the model and runtime to the target agent, then update runtime policies.
Query the agent’s runtime policies. To realign the runtime, use the reconcile action and confirm again.
API operations¶
Manage model configurations and runtime providers¶
Task |
Use it when |
|---|---|
Learn available providers before configuration. |
|
You selected a provider and need its information. |
|
You need a new model configuration. |
|
Select or confirm a model configuration. |
|
Confirm the target model configuration before updating or binding. |
|
You have the model-configuration ID and need to modify it. |
Manage runtime policies¶
Task |
Use it when |
|---|---|
You need a new runtime policy. |
|
Select or confirm a runtime policy. |
|
Confirm a target runtime policy before updating. |
|
You have the runtime-policy ID and need to modify it. |
Apply configuration to an agent¶
Task |
Use it when |
|---|---|
You selected a model configuration and need to apply it to an agent. |
|
You selected a runtime and need to bind it to an agent. |
|
Adjust the agent’s current runtime policies. |
|
Confirm the agent’s current policies after applying them. |
|
Realign the target agent’s runtime. |
Confirm the result¶
Use Get runtime policies to confirm current agent policies. Confirm model-configuration and runtime-policy objects with their respective detail or list actions.