Sign in

Push data payload to insight

documented

Send a JSON payload to the per-insight URL to update the chart with new metric data.

POST {per_insight_push_url}Insightsno implementation yet0 runs
No 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://api.dasheroo.com/v1{{$per_insight_push_url}}" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d '{"data": {"{{$metric_1_key}}": {"type": "{{$metric_1_type}}", "strategy": "{{$metric_1_strategy}}", "label": "{{$metric_1_label}}", "value": {{$metric_1_value}}}}, "date": "{{$date}}" }' 
Push data payload to insight · Dasheroo · OpenIntegrations