Hướng dẫn AgentFlow

compute_dashboard

POST/dashboards/{dashboard_id}/compute
AuthorizationBearer <token>

A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.

In: header

Path Parameters

dashboard_id*string

Dashboard id

Formatuuid

Request Body

application/json

Optional filter_values for the page's controls

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/dashboards/497f6eca-6276-4993-bfeb-53cbbbba6f08/compute"
{  "tiles": [    {      "computed_at": "2019-08-24T14:15:22Z",      "coverage": {        "declined_dashboard_filter": true,        "emptied_by_filter_intersection": true,        "partial": true,        "targets_withheld": true,        "unfiltered_by_dashboard_filter": true      },      "list": null,      "measures": {        "property1": {          "advisory": "string",          "buckets": [            {              "comparison": null,              "count": 0,              "derived": 0,              "drill": null,              "filled": true,              "key": "string",              "label": "string",              "other": true,              "segments": [                {}              ],              "target": 0,              "unmatched": true,              "value": 0            }          ],          "cap_bound": null,          "comparison": null,          "metric": null,          "population": 0,          "target": 0,          "value": 0        },        "property2": {          "advisory": "string",          "buckets": [            {              "comparison": null,              "count": 0,              "derived": 0,              "drill": null,              "filled": true,              "key": "string",              "label": "string",              "other": true,              "segments": [                {}              ],              "target": 0,              "unmatched": true,              "value": 0            }          ],          "cap_bound": null,          "comparison": null,          "metric": null,          "population": 0,          "target": 0,          "value": 0        }      },      "outcome": "ok",      "population": null,      "problem": null,      "tile_id": "83ef4648-661c-40f9-873c-cde9cb5286a4",      "verdict": null    }  ]}