Generate a query
documentedGenerate a structured Omni AI query from natural language for a given model.
POST /api/v1/ai/generate-queryAIno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$instance}}.omniapp.co/api/v1/ai/generate-query" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-API-Key: {{OMNIGROUP_API_KEY}}" \
-d '{"modelId": "{{$modelId}}", "currentTopicName": "{{$currentTopicName}}", "prompt": "{{$prompt}}"}'