dashboards

Preview Widget

Run a widget config without saving it (Agent-Native PR 3).

The metric layer has had POST /metrics/preview since the Metrics Composition program; an assembled widget had no equivalent, so the only way to learn whether a report produced numbers was to persist it and look. For an agent that is the wrong order — it should verify before a human sees anything.

The config is validated with the same gate the write path uses, then composed and executed through run_widget_query. There is no second execution path, and nothing is persisted.

post/api/v1/dashboards/widgets/preview

Request body

viz_type'line' | 'bar' | 'pie' | 'number' | 'pivot' | 'logs_table' | 'heatmap' required
start_datestring date required
end_datestring date required
category_idstring uuid nullable
property_idsstring[] nullable
property_ids_excludestring[] nullable

Response

Successful Response

Changes

Changed in 9 of the 28 revisions of this API.11971

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

  • 4df7b22a7dae1161See the full diff
    • ▲

      removed the enum value transfer_target of the request property //

      request-property-enum-value-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ///// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ///// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ///// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ///// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property // from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property // from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property // from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property // from the response with the status

      response-optional-property-removed

    • ○

      removed the transfer_target enum value from the // response property for the response status

      response-property-enum-value-removed

  • ae7627cd46da133See the full diff
    • ●

      added the new transfer_desk enum value to the // response property for the response status

      response-property-enum-value-added

    • ○

      added the new optional request property ///

      new-optional-request-property

    • ○

      added the new optional request property ///

      new-optional-request-property

    • ○

      added the new optional request property ///

      new-optional-request-property

    • ○

      added the new optional request property /

      new-optional-request-property

    • ○

      added the new booking enum value to the request property ///

      request-property-enum-value-added

    • ○

      added the new transfer_desk enum value to the request property //

      request-property-enum-value-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

  • 202b7d85683e214See the full diff
    • ●

      added the new language enum value to the // response property for the response status

      response-property-enum-value-added

    • ●

      added the new language_choice enum value to the // response property for the response status

      response-property-enum-value-added

    • ○

      added the new optional request property ///

      new-optional-request-property

    • ○

      added the new optional request property ///

      new-optional-request-property

    • ○

      added the new language enum value to the request property //

      request-property-enum-value-added

    • ○

      added the new language_choice enum value to the request property //

      request-property-enum-value-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the new optional request property /

      new-optional-request-property

    • ○

      added the new optional request property ///

      new-optional-request-property

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property ///// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      the //////// response's property pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ was added for the status

      response-property-pattern-added

    • ○

      the ///// response's property pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ was added for the status

      response-property-pattern-added

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 28 revisions, 1 has no diff computed.