v4

latestOpenAPI 3.1.02026-08-01207318738.7 KB
Models

Get model AI agent actions

Returns the AI agent actions configured for this model — a unified list of sample queries and skills suitable for surfacing as suggested prompts above an AI prompt input. 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. Each entry's prompt is ready to submit verbatim to POST /api/v1/ai/jobs.

get/api/v1/models/{modelId}/ai-agent-actions

Path parameters

modelIdstring uuid required

Model UUID

Example:123e4567-e89b-12d3-a456-426614174000

Model UUID

Response

AI agent actions in display order.

Example response

{
  "records": [
    {
      "kind": "skill",
      "label": "Revenue trends",
      "prompt": "Skill:\nShow me the recent revenue trends grouped by month…"
    }
  ]
}