Need help? Get answers from the docs with Omni's in-app AI! Log in to your Omni instance and open the Omni Agent in the sidebar.
curl --request GET \
--url https://{instance}.omniapp.co/api/v1/models/{modelId}/ai-agent-actions \
--header 'Authorization: Bearer <token>'{
"success": true,
"records": [
{
"type": "sample_query",
"id": "revenue_by_region",
"label": "Revenue by region",
"description": "Show total revenue grouped by region",
"prompt": "Show me revenue by region"
},
{
"type": "skill",
"id": "analyze_trends",
"label": "Analyze trends",
"description": "Analyze trends in the data",
"prompt": "Skill: analyze_trends\nAnalyze trends in revenue over time"
}
]
}Return AI agent actions configured for a model — a unified list of sample queries and skills suitable for surfacing as suggested prompts in AI interfaces.
Sample queries come from both model.sample_queries and each topic’s sample_queries. Skills come from model.skills and each topic’s skills, deduped by ID with topic skills overriding model skills.
When no actions are configured at the model or topic level, records returns an empty array.
curl --request GET \
--url https://{instance}.omniapp.co/api/v1/models/{modelId}/ai-agent-actions \
--header 'Authorization: Bearer <token>'{
"success": true,
"records": [
{
"type": "sample_query",
"id": "revenue_by_region",
"label": "Revenue by region",
"description": "Show total revenue grouped by region",
"prompt": "Show me revenue by region"
},
{
"type": "skill",
"id": "analyze_trends",
"label": "Analyze trends",
"description": "Analyze trends in the data",
"prompt": "Skill: analyze_trends\nAnalyze trends in revenue over time"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
The unique identifier of the model.
Was this page helpful?