Skip to main content
GET
/
v1
/
models
/
{modelId}
/
ai-agent-actions
Get model AI agent actions
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.

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

modelId
string<uuid>
required

The unique identifier of the model.

Response

AI agent actions retrieved successfully

success
boolean

Indicates the request was successful

records
object[]

List of AI agent actions (sample queries and skills) configured for the model.