curl --request GET \
--url https://api.vogent.ai/api/agents/{agentId}/versioned_prompts
{
"data": [
{
"id": "<string>",
"name": "<string>",
"agentType": "STANDARD",
"prompt": "<string>",
"flowDefinition": {
"nodes": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"transitionRules": [
{
"conditionType": "always",
"arrayConditionType": "any",
"field": "<string>",
"value": "<string>",
"values": [
"<string>"
],
"transitionNodeId": "<string>"
}
],
"outputSchema": "<string>",
"nodeData": {}
}
],
"globalContext": "<string>",
"aiOpen": true,
"openingLineType": "INBOUND_ONLY"
},
"aiModelId": "<string>",
"modelOptionValues": [
{
"optionId": "<string>",
"value": "<string>"
}
]
}
],
"cursor": "<string>"
}
Lists versioned prompts for a given agent.
curl --request GET \
--url https://api.vogent.ai/api/agents/{agentId}/versioned_prompts
{
"data": [
{
"id": "<string>",
"name": "<string>",
"agentType": "STANDARD",
"prompt": "<string>",
"flowDefinition": {
"nodes": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"transitionRules": [
{
"conditionType": "always",
"arrayConditionType": "any",
"field": "<string>",
"value": "<string>",
"values": [
"<string>"
],
"transitionNodeId": "<string>"
}
],
"outputSchema": "<string>",
"nodeData": {}
}
],
"globalContext": "<string>",
"aiOpen": true,
"openingLineType": "INBOUND_ONLY"
},
"aiModelId": "<string>",
"modelOptionValues": [
{
"optionId": "<string>",
"value": "<string>"
}
]
}
],
"cursor": "<string>"
}
ID of the agent.
The maximum number of prompts to list.
The pagination cursor returned by the previous request. Feed the result provided by vogent verbatim.
Successful operation
The response is of type object
.