This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true
to the request query parameters.
Get details for an AIP Agent.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:aip-agents-read
.
string
An RID identifying an AIP Agent created in AIP Agent Studio.
string
The version of the Agent to retrieve. If not specified, the latest published version will be returned.
boolean
Enables the use of preview functionality.
object
string
An RID identifying an AIP Agent created in AIP Agent Studio.
string
The version of this instance of the Agent.
object
Metadata for an Agent.
map<ParameterId, Parameter>
The types and names of parameters configured for the Agent in AIP Agent Studio. Parameters are variables in the prompt sent to an Agent that can be used to customize and control the behavior of the Agent.
1
2
3
curl \
-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/aipAgents/agents/ri.aip-agents..agent.732cd5b4-7ca7-4219-aabb-6e976faf63b1?preview=true"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"metadata": {
"displayName": "Supply Chain Support Agent",
"suggestedPrompts": [
"What is the status of my order?",
"How do I track my shipment?"
],
"description": "An intelligent assistant to help answer questions about supply chain operations.",
"inputPlaceholder": "Ask about supply chain operations..."
},
"rid": "ri.aip-agents..agent.732cd5b4-7ca7-4219-aabb-6e976faf63b1",
"version": "1.0",
"parameters": {
"customerName": {
"access": "READ_ONLY",
"description": "The name of the customer to answer supply chain-related questions for."
}
}
}