Run query
documentedExecute a saved or inline query.
GET /api/v1/query/runQueriesno 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://{{OMNI_INSTANCE}}.omniapp.co/api/v1/query/run" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"query": {"modelId": "{{$modelId}}", "table": "{{$table}}", "fields": ["{{$field1}}", "{{$field2}}"], "limit": {{$limit}}, "sorts": [{"column_name": "{{$sort_column}}", "sort_descending": {{$sortDescending}}}], "join_paths_from_topic_name": "{{$topicName}}"}}'