{"type":"model","meta":{"id":"/apps/pubhub/media/000-v7-apis/5b3454a4300b838cc17f7b2cdc0690fdd15058d5/0e4c66ca-115a-3769-be5b-c6944add743f","info":{"description":"Manage ThousandEyes Dashboards.","title":"Dashboards API","version":"7.0.34"},"security":[{"BearerAuth":[]}],"tags":[{"description":"Dashboards and Widgets operations","name":"Dashboards"},{"description":"Dashboard Snapshots CRUD operations","name":"Dashboard Snapshots"},{"name":"Dashboards Filters"}],"openapi":"3.0.1","servers":[{"description":"ThousandEyes API production URL","url":"https://api.thousandeyes.com/v7"}],"securitySchemes":{"BearerAuth":{"description":"Bearer authentication token","scheme":"bearer","type":"http"}}},"spec":{"description":"Request containing dashboard filter name, description and context details.","properties":{"context":{"description":"List of filters to be applied to a dashboard.","items":{"description":"List of different datasource filters.","properties":{"dataSourceId":{"description":"Types of data source.","example":"VIRTUAL_AGENT","type":"string"},"filters":{"description":"List of different filter properties.","items":{"description":"List of different filter properties for a single datasource.","properties":{"filterId":{"description":"Data source property to filter by.","example":"TEST_LABEL","type":"string"},"values":{"description":"Values to filter by based on the specified `filterId`.","example":["45862","59749"],"items":{"type":"string"},"type":"array","uniqueItems":true},"metricIds":{"description":"Dashboard metric associated with the filter property.","example":["WEB_PAGE_LOAD_COMPLETION_RATE","WEB_TTFB","WEB_AVAILABILITY"],"items":{"type":"string"},"type":"array","uniqueItems":true}},"required":["filterId","metricIds","values"],"type":"object","$$ref":"#/components/schemas/ApiDataSourceFilter"},"type":"array","uniqueItems":true}},"required":["dataSourceId","filters"],"type":"object","$$ref":"#/components/schemas/ApiDataSourceFilters"},"type":"array","uniqueItems":true},"name":{"description":"The name of the dashboard filter, this must be unique.","example":"cea-filter","type":"string"},"description":{"description":"An optional description of the filter.","example":"Global filter for CEA widgets","type":"string"}},"required":["context","name"],"type":"object","$$ref":"#/components/schemas/ApiContextFilterRequest","title":"ApiContextFilterRequest"}}