GET /mltk/agents
GET /mltk/agents
List all agents the caller is permitted to read.
AGENT_RUN_CAPABILITIES
Description. List all agents the caller is permitted to read.
Response (200).
{
"agents": [
{
"agent_name": "demo",
"runtime_type": "AWS_AGENT_CORE",
"tracking_job_id": null,
"versions": [
{
"version": 0,
"state": "Active",
"created_at": 1715425200.0,
"last_updated_at": 1715425200.0,
"created_by": "admin",
"last_updated_by": "admin",
"system_prompt": "You are a helpful assistant.",
"task_prompt": "Answer concisely.",
"description": "...",
"is_enabled": true,
"runtime_params": { "runtime_id": "...", "version": "1" },
"tools": { "mcps": [], "knowledge_bases": [] },
"llm": { "provider": "OpenAI", "model": "gpt-4o-mini" },
"acl": { "sharing": "owner", "perms": { "read": [], "write": [] } },
"agent_timeout": 450
}
]
}
],
"count": 1
}
Example.
curl -sk -u "$SPLUNK_USER:$SPLUNK_PASSWORD"
"$SPLUNK_HOST/servicesNS/-/Splunk_ML_Toolkit/mltk/agents?output_mode=json"