Download OpenAPI specification:
CISO Assistant - API Documentation for automating all your GRC needs
Override the list method to inject optimized data into the serializer context.
| content_type | Array of integers |
| date | string <date> |
| id | Array of strings <uuid> [ items <uuid > ] Multiple values may be separated by commas. |
| limit | integer Number of results to return per page. |
| object_id | string <uuid> |
| offset | integer The initial index from which to return the results. |
| ordering | string Which field to use when ordering the results. |
| search | string A search term. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "content_type": 0,
- "content_type_display": "string",
- "object_id": "463a83d0-a816-4902-abba-2486e0c0a0bb",
- "object_name": "string",
- "date": "2019-08-24",
- "metrics": null,
- "available_metrics": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}API endpoint that allows builtin metric samples to be viewed. These are system-computed metrics for objects like ComplianceAssessment, RiskAssessment, FindingsAssessment, and Folder.
| is_published | boolean (Published) |
| object_id required | string <uuid> The ID of the object this metric is computed for |
| date required | string <date> The date this snapshot was recorded |
| metrics | any All computed metrics for this object. Format depends on object type (e.g., progress, result_breakdown, etc.) |
| content_type required | integer The type of object this metric is computed for |
{- "is_published": true,
- "object_id": "463a83d0-a816-4902-abba-2486e0c0a0bb",
- "date": "2019-08-24",
- "metrics": null,
- "content_type": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "object_id": "463a83d0-a816-4902-abba-2486e0c0a0bb",
- "date": "2019-08-24",
- "metrics": null,
- "content_type": 0
}Return a single object with unauthorized related fields masked.
| id required | string <uuid> A UUID string identifying this Builtin metric sample. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "content_type": 0,
- "content_type_display": "string",
- "object_id": "463a83d0-a816-4902-abba-2486e0c0a0bb",
- "object_name": "string",
- "date": "2019-08-24",
- "metrics": null,
- "available_metrics": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}API endpoint that allows builtin metric samples to be viewed. These are system-computed metrics for objects like ComplianceAssessment, RiskAssessment, FindingsAssessment, and Folder.
| id required | string <uuid> A UUID string identifying this Builtin metric sample. |
| is_published | boolean (Published) |
| object_id required | string <uuid> The ID of the object this metric is computed for |
| date required | string <date> The date this snapshot was recorded |
| metrics | any All computed metrics for this object. Format depends on object type (e.g., progress, result_breakdown, etc.) |
| content_type required | integer The type of object this metric is computed for |
{- "is_published": true,
- "object_id": "463a83d0-a816-4902-abba-2486e0c0a0bb",
- "date": "2019-08-24",
- "metrics": null,
- "content_type": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "object_id": "463a83d0-a816-4902-abba-2486e0c0a0bb",
- "date": "2019-08-24",
- "metrics": null,
- "content_type": 0
}API endpoint that allows builtin metric samples to be viewed. These are system-computed metrics for objects like ComplianceAssessment, RiskAssessment, FindingsAssessment, and Folder.
| id required | string <uuid> A UUID string identifying this Builtin metric sample. |
| is_published | boolean (Published) |
| object_id | string <uuid> The ID of the object this metric is computed for |
| date | string <date> The date this snapshot was recorded |
| metrics | any All computed metrics for this object. Format depends on object type (e.g., progress, result_breakdown, etc.) |
| content_type | integer The type of object this metric is computed for |
{- "is_published": true,
- "object_id": "463a83d0-a816-4902-abba-2486e0c0a0bb",
- "date": "2019-08-24",
- "metrics": null,
- "content_type": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "object_id": "463a83d0-a816-4902-abba-2486e0c0a0bb",
- "date": "2019-08-24",
- "metrics": null,
- "content_type": 0
}API endpoint that allows builtin metric samples to be viewed. These are system-computed metrics for objects like ComplianceAssessment, RiskAssessment, FindingsAssessment, and Folder.
| id required | string <uuid> A UUID string identifying this Builtin metric sample. |
Cascade preview:
| id required | string <uuid> A UUID string identifying this Builtin metric sample. |
API endpoint that allows builtin metric samples to be viewed. These are system-computed metrics for objects like ComplianceAssessment, RiskAssessment, FindingsAssessment, and Folder.
| id required | string <uuid> A UUID string identifying this Builtin metric sample. |
Perform a batch action on multiple objects. Uses the IAM-filtered queryset and serializers to respect permissions and validation, mirroring the standard partial_update / destroy flows.
Payload: { "action": "delete"|"change_field"|"change_m2m"|"change_folder",
"ids": [...], "field": "
Override the list method to inject optimized data into the serializer context.
| evidence_revision | Array of strings <uuid> [ items <uuid > ] |
| folder | Array of strings <uuid> [ items <uuid > ] |
| id | Array of strings <uuid> [ items <uuid > ] Multiple values may be separated by commas. |
| limit | integer Number of results to return per page. |
| metric_instance | Array of strings <uuid> [ items <uuid > ] |
| offset | integer The initial index from which to return the results. |
| ordering | string Which field to use when ordering the results. |
| search | string A search term. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "folder": "string",
- "metric_instance": "string",
- "evidence_revision": "string",
- "display_value": "string",
- "raw_value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "timestamp": "2019-08-24T14:15:22Z",
- "value": null,
- "observation": "string"
}
]
}API endpoint that allows custom metric samples to be viewed or edited.
| is_published | boolean (Published) |
| timestamp required | string <date-time> When the metric sample was recorded |
| value | any The metric value (format depends on metric definition category) |
| observation | string or null |
| metric_instance required | string <uuid> |
| evidence_revision | string or null <uuid> |
{- "is_published": true,
- "timestamp": "2019-08-24T14:15:22Z",
- "value": null,
- "observation": "string",
- "metric_instance": "60ce83f7-5b0b-4212-be73-89c6dbde529a",
- "evidence_revision": "e0bad448-6006-42c2-961b-3d2f3042ffb5"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "timestamp": "2019-08-24T14:15:22Z",
- "value": null,
- "observation": "string",
- "metric_instance": "60ce83f7-5b0b-4212-be73-89c6dbde529a",
- "evidence_revision": "e0bad448-6006-42c2-961b-3d2f3042ffb5"
}Return a single object with unauthorized related fields masked.
| id required | string <uuid> A UUID string identifying this Custom metric sample. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "folder": "string",
- "metric_instance": "string",
- "evidence_revision": "string",
- "display_value": "string",
- "raw_value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "timestamp": "2019-08-24T14:15:22Z",
- "value": null,
- "observation": "string"
}API endpoint that allows custom metric samples to be viewed or edited.
| id required | string <uuid> A UUID string identifying this Custom metric sample. |
| is_published | boolean (Published) |
| timestamp required | string <date-time> When the metric sample was recorded |
| value | any The metric value (format depends on metric definition category) |
| observation | string or null |
| metric_instance required | string <uuid> |
| evidence_revision | string or null <uuid> |
{- "is_published": true,
- "timestamp": "2019-08-24T14:15:22Z",
- "value": null,
- "observation": "string",
- "metric_instance": "60ce83f7-5b0b-4212-be73-89c6dbde529a",
- "evidence_revision": "e0bad448-6006-42c2-961b-3d2f3042ffb5"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "timestamp": "2019-08-24T14:15:22Z",
- "value": null,
- "observation": "string",
- "metric_instance": "60ce83f7-5b0b-4212-be73-89c6dbde529a",
- "evidence_revision": "e0bad448-6006-42c2-961b-3d2f3042ffb5"
}API endpoint that allows custom metric samples to be viewed or edited.
| id required | string <uuid> A UUID string identifying this Custom metric sample. |
| is_published | boolean (Published) |
| timestamp | string <date-time> When the metric sample was recorded |
| value | any The metric value (format depends on metric definition category) |
| observation | string or null |
| metric_instance | string <uuid> |
| evidence_revision | string or null <uuid> |
{- "is_published": true,
- "timestamp": "2019-08-24T14:15:22Z",
- "value": null,
- "observation": "string",
- "metric_instance": "60ce83f7-5b0b-4212-be73-89c6dbde529a",
- "evidence_revision": "e0bad448-6006-42c2-961b-3d2f3042ffb5"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "timestamp": "2019-08-24T14:15:22Z",
- "value": null,
- "observation": "string",
- "metric_instance": "60ce83f7-5b0b-4212-be73-89c6dbde529a",
- "evidence_revision": "e0bad448-6006-42c2-961b-3d2f3042ffb5"
}Cascade preview:
| id required | string <uuid> A UUID string identifying this Custom metric sample. |
Perform a batch action on multiple objects. Uses the IAM-filtered queryset and serializers to respect permissions and validation, mirroring the standard partial_update / destroy flows.
Payload: { "action": "delete"|"change_field"|"change_m2m"|"change_folder",
"ids": [...], "field": "
Override the list method to inject optimized data into the serializer context.
| aggregation | Array of strings Items Enum: "avg" "count" "last" "max" "min" "none" "sum"
|
| chart_type | Array of strings Items Enum: "area" "bar" "donut" "gauge" "kpi_card" "line" "pie" "sparkline" "table" "text"
|
| dashboard | Array of strings <uuid> [ items <uuid > ] |
| folder | Array of strings <uuid> [ items <uuid > ] |
| id | Array of strings <uuid> [ items <uuid > ] Multiple values may be separated by commas. |
| limit | integer Number of results to return per page. |
| metric_instance | Array of strings <uuid> [ items <uuid > ] |
| offset | integer The initial index from which to return the results. |
| ordering | string Which field to use when ordering the results. |
| search | string A search term. |
| time_range | Array of strings Items Enum: "all_time" "custom" "last_24_hours" "last_30_days" "last_7_days" "last_90_days" "last_hour" "last_year"
|
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "folder": "string",
- "dashboard": "string",
- "metric_instance": "string",
- "display_title": "string",
- "chart_type_display": "string",
- "time_range_display": "string",
- "aggregation_display": "string",
- "is_builtin_metric": true,
- "is_custom_metric": true,
- "is_text_widget": true,
- "target_content_type_display": "string",
- "target_object_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "target_object_id": "9335a12d-0588-479c-8950-e154cce94188",
- "metric_key": "string",
- "title": "string",
- "text_content": "string",
- "position_x": 9223372036854776000,
- "position_y": 9223372036854776000,
- "width": 9223372036854776000,
- "height": 9223372036854776000,
- "chart_type": "kpi_card",
- "time_range": "last_hour",
- "aggregation": "none",
- "show_target": true,
- "show_legend": true,
- "widget_config": null,
- "target_content_type": 0
}
]
}API endpoint that allows dashboard widgets to be viewed or edited.
| target_model | string or null |
| is_published | boolean (Published) |
| target_object_id | string or null <uuid> For builtin metrics: the ID of the specific object |
| metric_key | string or null <= 100 characters For builtin metrics: which metric to display (e.g., 'progress', 'result_breakdown') |
| title | string or null <= 200 characters Custom title for the widget. If empty, uses metric instance name or metric key. |
| text_content | string or null Markdown content for text widgets |
| position_x | integer <int64> [ 0 .. 9223372036854776000 ] Horizontal position in grid (0-11) |
| position_y | integer <int64> [ 0 .. 9223372036854776000 ] Vertical position in grid (row number) |
| width | integer <int64> [ 0 .. 9223372036854776000 ] Width in grid columns (1-12) |
| height | integer <int64> [ 0 .. 9223372036854776000 ] Height in grid rows |
| chart_type | string (ChartTypeEnum) Enum: "kpi_card" "donut" "pie" "bar" "line" "area" "gauge" "sparkline" "table" "text"
|
| time_range | string (TimeRangeEnum) Enum: "last_hour" "last_24_hours" "last_7_days" "last_30_days" "last_90_days" "last_year" "all_time" "custom"
|
| aggregation | string (AggregationEnum) Enum: "none" "avg" "sum" "min" "max" "count" "last"
|
| show_target | boolean Display target value line if defined on metric instance |
| show_legend | boolean (Show title and legend) Display widget title bar and legend (for charts) |
| widget_config | any Additional widget configuration. Format: {'color_scheme': 'default', 'threshold_colors': {...}, 'custom_options': {...}} |
| folder | string <uuid> |
| dashboard required | string <uuid> |
| metric_instance | string or null <uuid> For custom metrics: the metric instance to display |
| target_content_type | integer or null For builtin metrics: the type of object (e.g., ComplianceAssessment) |
{- "target_model": "string",
- "is_published": true,
- "target_object_id": "9335a12d-0588-479c-8950-e154cce94188",
- "metric_key": "string",
- "title": "string",
- "text_content": "string",
- "position_x": 9223372036854776000,
- "position_y": 9223372036854776000,
- "width": 9223372036854776000,
- "height": 9223372036854776000,
- "chart_type": "kpi_card",
- "time_range": "last_hour",
- "aggregation": "none",
- "show_target": true,
- "show_legend": true,
- "widget_config": null,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "dashboard": "3433706f-318c-4403-80ab-a3125b1dbb42",
- "metric_instance": "60ce83f7-5b0b-4212-be73-89c6dbde529a",
- "target_content_type": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "target_content_type_display": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "target_object_id": "9335a12d-0588-479c-8950-e154cce94188",
- "metric_key": "string",
- "title": "string",
- "text_content": "string",
- "position_x": 9223372036854776000,
- "position_y": 9223372036854776000,
- "width": 9223372036854776000,
- "height": 9223372036854776000,
- "chart_type": "kpi_card",
- "time_range": "last_hour",
- "aggregation": "none",
- "show_target": true,
- "show_legend": true,
- "widget_config": null,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "dashboard": "3433706f-318c-4403-80ab-a3125b1dbb42",
- "metric_instance": "60ce83f7-5b0b-4212-be73-89c6dbde529a",
- "target_content_type": 0
}Return a single object with unauthorized related fields masked.
| id required | string <uuid> A UUID string identifying this Dashboard widget. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "folder": "string",
- "dashboard": "string",
- "metric_instance": "string",
- "display_title": "string",
- "chart_type_display": "string",
- "time_range_display": "string",
- "aggregation_display": "string",
- "is_builtin_metric": true,
- "is_custom_metric": true,
- "is_text_widget": true,
- "target_content_type_display": "string",
- "target_object_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "target_object_id": "9335a12d-0588-479c-8950-e154cce94188",
- "metric_key": "string",
- "title": "string",
- "text_content": "string",
- "position_x": 9223372036854776000,
- "position_y": 9223372036854776000,
- "width": 9223372036854776000,
- "height": 9223372036854776000,
- "chart_type": "kpi_card",
- "time_range": "last_hour",
- "aggregation": "none",
- "show_target": true,
- "show_legend": true,
- "widget_config": null,
- "target_content_type": 0
}API endpoint that allows dashboard widgets to be viewed or edited.
| id required | string <uuid> A UUID string identifying this Dashboard widget. |
| target_model | string or null |
| is_published | boolean (Published) |
| target_object_id | string or null <uuid> For builtin metrics: the ID of the specific object |
| metric_key | string or null <= 100 characters For builtin metrics: which metric to display (e.g., 'progress', 'result_breakdown') |
| title | string or null <= 200 characters Custom title for the widget. If empty, uses metric instance name or metric key. |
| text_content | string or null Markdown content for text widgets |
| position_x | integer <int64> [ 0 .. 9223372036854776000 ] Horizontal position in grid (0-11) |
| position_y | integer <int64> [ 0 .. 9223372036854776000 ] Vertical position in grid (row number) |
| width | integer <int64> [ 0 .. 9223372036854776000 ] Width in grid columns (1-12) |
| height | integer <int64> [ 0 .. 9223372036854776000 ] Height in grid rows |
| chart_type | string (ChartTypeEnum) Enum: "kpi_card" "donut" "pie" "bar" "line" "area" "gauge" "sparkline" "table" "text"
|
| time_range | string (TimeRangeEnum) Enum: "last_hour" "last_24_hours" "last_7_days" "last_30_days" "last_90_days" "last_year" "all_time" "custom"
|
| aggregation | string (AggregationEnum) Enum: "none" "avg" "sum" "min" "max" "count" "last"
|
| show_target | boolean Display target value line if defined on metric instance |
| show_legend | boolean (Show title and legend) Display widget title bar and legend (for charts) |
| widget_config | any Additional widget configuration. Format: {'color_scheme': 'default', 'threshold_colors': {...}, 'custom_options': {...}} |
| folder | string <uuid> |
| dashboard required | string <uuid> |
| metric_instance | string or null <uuid> For custom metrics: the metric instance to display |
| target_content_type | integer or null For builtin metrics: the type of object (e.g., ComplianceAssessment) |
{- "target_model": "string",
- "is_published": true,
- "target_object_id": "9335a12d-0588-479c-8950-e154cce94188",
- "metric_key": "string",
- "title": "string",
- "text_content": "string",
- "position_x": 9223372036854776000,
- "position_y": 9223372036854776000,
- "width": 9223372036854776000,
- "height": 9223372036854776000,
- "chart_type": "kpi_card",
- "time_range": "last_hour",
- "aggregation": "none",
- "show_target": true,
- "show_legend": true,
- "widget_config": null,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "dashboard": "3433706f-318c-4403-80ab-a3125b1dbb42",
- "metric_instance": "60ce83f7-5b0b-4212-be73-89c6dbde529a",
- "target_content_type": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "target_content_type_display": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "target_object_id": "9335a12d-0588-479c-8950-e154cce94188",
- "metric_key": "string",
- "title": "string",
- "text_content": "string",
- "position_x": 9223372036854776000,
- "position_y": 9223372036854776000,
- "width": 9223372036854776000,
- "height": 9223372036854776000,
- "chart_type": "kpi_card",
- "time_range": "last_hour",
- "aggregation": "none",
- "show_target": true,
- "show_legend": true,
- "widget_config": null,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "dashboard": "3433706f-318c-4403-80ab-a3125b1dbb42",
- "metric_instance": "60ce83f7-5b0b-4212-be73-89c6dbde529a",
- "target_content_type": 0
}API endpoint that allows dashboard widgets to be viewed or edited.
| id required | string <uuid> A UUID string identifying this Dashboard widget. |
| target_model | string or null |
| is_published | boolean (Published) |
| target_object_id | string or null <uuid> For builtin metrics: the ID of the specific object |
| metric_key | string or null <= 100 characters For builtin metrics: which metric to display (e.g., 'progress', 'result_breakdown') |
| title | string or null <= 200 characters Custom title for the widget. If empty, uses metric instance name or metric key. |
| text_content | string or null Markdown content for text widgets |
| position_x | integer <int64> [ 0 .. 9223372036854776000 ] Horizontal position in grid (0-11) |
| position_y | integer <int64> [ 0 .. 9223372036854776000 ] Vertical position in grid (row number) |
| width | integer <int64> [ 0 .. 9223372036854776000 ] Width in grid columns (1-12) |
| height | integer <int64> [ 0 .. 9223372036854776000 ] Height in grid rows |
| chart_type | string (ChartTypeEnum) Enum: "kpi_card" "donut" "pie" "bar" "line" "area" "gauge" "sparkline" "table" "text"
|
| time_range | string (TimeRangeEnum) Enum: "last_hour" "last_24_hours" "last_7_days" "last_30_days" "last_90_days" "last_year" "all_time" "custom"
|
| aggregation | string (AggregationEnum) Enum: "none" "avg" "sum" "min" "max" "count" "last"
|
| show_target | boolean Display target value line if defined on metric instance |
| show_legend | boolean (Show title and legend) Display widget title bar and legend (for charts) |
| widget_config | any Additional widget configuration. Format: {'color_scheme': 'default', 'threshold_colors': {...}, 'custom_options': {...}} |
| folder | string <uuid> |
| dashboard | string <uuid> |
| metric_instance | string or null <uuid> For custom metrics: the metric instance to display |
| target_content_type | integer or null For builtin metrics: the type of object (e.g., ComplianceAssessment) |
{- "target_model": "string",
- "is_published": true,
- "target_object_id": "9335a12d-0588-479c-8950-e154cce94188",
- "metric_key": "string",
- "title": "string",
- "text_content": "string",
- "position_x": 9223372036854776000,
- "position_y": 9223372036854776000,
- "width": 9223372036854776000,
- "height": 9223372036854776000,
- "chart_type": "kpi_card",
- "time_range": "last_hour",
- "aggregation": "none",
- "show_target": true,
- "show_legend": true,
- "widget_config": null,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "dashboard": "3433706f-318c-4403-80ab-a3125b1dbb42",
- "metric_instance": "60ce83f7-5b0b-4212-be73-89c6dbde529a",
- "target_content_type": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "target_content_type_display": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "target_object_id": "9335a12d-0588-479c-8950-e154cce94188",
- "metric_key": "string",
- "title": "string",
- "text_content": "string",
- "position_x": 9223372036854776000,
- "position_y": 9223372036854776000,
- "width": 9223372036854776000,
- "height": 9223372036854776000,
- "chart_type": "kpi_card",
- "time_range": "last_hour",
- "aggregation": "none",
- "show_target": true,
- "show_legend": true,
- "widget_config": null,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "dashboard": "3433706f-318c-4403-80ab-a3125b1dbb42",
- "metric_instance": "60ce83f7-5b0b-4212-be73-89c6dbde529a",
- "target_content_type": 0
}Cascade preview:
| id required | string <uuid> A UUID string identifying this Dashboard widget. |
Perform a batch action on multiple objects. Uses the IAM-filtered queryset and serializers to respect permissions and validation, mirroring the standard partial_update / destroy flows.
Payload: { "action": "delete"|"change_field"|"change_m2m"|"change_folder",
"ids": [...], "field": "
Override the list method to inject optimized data into the serializer context.
| filtering_labels | Array of strings <uuid> [ items <uuid > ] |
| folder | Array of strings <uuid> [ items <uuid > ] |
| id | Array of strings <uuid> [ items <uuid > ] Multiple values may be separated by commas. |
| limit | integer Number of results to return per page. |
| offset | integer The initial index from which to return the results. |
| ordering | string Which field to use when ordering the results. |
| search | string A search term. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "path": "string",
- "folder": "string",
- "filtering_labels": [
- "string"
], - "widget_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "dashboard_definition": null
}
]
}API endpoint that allows dashboards to be viewed or edited.
| is_published | boolean (Published) |
| name required | string <= 200 characters |
| description | string or null |
| ref_id | string or null (Reference id) <= 100 characters |
| dashboard_definition | any Global dashboard configuration. Format: {'layout': {'columns': 12, 'row_height': 100}, 'global_filters': {'time_range': 'last_30_days', 'refresh_interval': 300}} |
| folder | string <uuid> |
| filtering_labels | Array of strings <uuid> (Labels) [ items <uuid > ] |
{- "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "dashboard_definition": null,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "dashboard_definition": null,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Return a single object with unauthorized related fields masked.
| id required | string <uuid> A UUID string identifying this Dashboard. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "path": "string",
- "folder": "string",
- "filtering_labels": [
- "string"
], - "widget_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "dashboard_definition": null
}API endpoint that allows dashboards to be viewed or edited.
| id required | string <uuid> A UUID string identifying this Dashboard. |
| is_published | boolean (Published) |
| name required | string <= 200 characters |
| description | string or null |
| ref_id | string or null (Reference id) <= 100 characters |
| dashboard_definition | any Global dashboard configuration. Format: {'layout': {'columns': 12, 'row_height': 100}, 'global_filters': {'time_range': 'last_30_days', 'refresh_interval': 300}} |
| folder | string <uuid> |
| filtering_labels | Array of strings <uuid> (Labels) [ items <uuid > ] |
{- "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "dashboard_definition": null,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "dashboard_definition": null,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}API endpoint that allows dashboards to be viewed or edited.
| id required | string <uuid> A UUID string identifying this Dashboard. |
| is_published | boolean (Published) |
| name | string <= 200 characters |
| description | string or null |
| ref_id | string or null (Reference id) <= 100 characters |
| dashboard_definition | any Global dashboard configuration. Format: {'layout': {'columns': 12, 'row_height': 100}, 'global_filters': {'time_range': 'last_30_days', 'refresh_interval': 300}} |
| folder | string <uuid> |
| filtering_labels | Array of strings <uuid> (Labels) [ items <uuid > ] |
{- "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "dashboard_definition": null,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "dashboard_definition": null,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Cascade preview:
| id required | string <uuid> A UUID string identifying this Dashboard. |
Perform a batch action on multiple objects. Uses the IAM-filtered queryset and serializers to respect permissions and validation, mirroring the standard partial_update / destroy flows.
Payload: { "action": "delete"|"change_field"|"change_m2m"|"change_folder",
"ids": [...], "field": "
Override the list method to inject optimized data into the serializer context.
| category | Array of strings Items Enum: "qualitative" "quantitative"
|
| filtering_labels | Array of strings <uuid> [ items <uuid > ] |
| folder | Array of strings <uuid> [ items <uuid > ] |
| id | Array of strings <uuid> [ items <uuid > ] Multiple values may be separated by commas. |
| is_published | boolean |
| library | Array of strings <uuid> [ items <uuid > ] |
| limit | integer Number of results to return per page. |
| offset | integer The initial index from which to return the results. |
| ordering | string Which field to use when ordering the results. |
| provider | string |
| search | string A search term. |
| unit | Array of strings <uuid> [ items <uuid > ] |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "annotation": "string",
- "path": "string",
- "folder": "string",
- "library": "string",
- "unit": "string",
- "filtering_labels": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "urn": "string",
- "ref_id": "string",
- "provider": "string",
- "locale": "string",
- "default_locale": true,
- "category": "qualitative",
- "choices_definition": null,
- "is_published": true,
- "higher_is_better": true,
- "default_target": 0.1
}
]
}API endpoint that allows metric definitions to be viewed or edited.
| urn | string or null <= 255 characters |
| ref_id | string or null (Reference ID) <= 100 characters |
| provider | string or null <= 200 characters |
| name | string or null <= 200 characters |
| description | string or null |
| annotation | string or null |
| locale | string <= 100 characters |
| default_locale | boolean |
| category | string (CategoryD19Enum) Enum: "qualitative" "quantitative"
|
| choices_definition | any or null For qualitative metrics: ordered list of options with translations. Format: [{'name': 'Low', 'description': '', 'translations': {'fr': {'name': 'Faible', 'description': ''}}}] |
| is_published | boolean (Published) |
| higher_is_better | boolean If true, an increase in value is considered positive (e.g., compliance score). If false, a decrease is considered positive (e.g., number of vulnerabilities). |
| default_target | number or null <double> Default target value for metric instances. Can be overridden at instance level. |
| folder | string <uuid> |
| library | string or null <uuid> |
| unit | string or null <uuid> Unit of measurement (e.g., count, users, bytes, percentage, score, event_per_second) |
| filtering_labels | Array of strings <uuid> (Labels) [ items <uuid > ] |
{- "urn": "string",
- "ref_id": "string",
- "provider": "string",
- "name": "string",
- "description": "string",
- "annotation": "string",
- "locale": "string",
- "default_locale": true,
- "category": "qualitative",
- "choices_definition": null,
- "is_published": true,
- "higher_is_better": true,
- "default_target": 0.1,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "library": "797da83b-59ce-49a1-b907-6b3b0f54a6f5",
- "unit": "96a6aa1e-fb68-45e6-a443-0913abfa47dd",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "urn": "string",
- "ref_id": "string",
- "provider": "string",
- "name": "string",
- "description": "string",
- "annotation": "string",
- "locale": "string",
- "default_locale": true,
- "category": "qualitative",
- "choices_definition": null,
- "is_published": true,
- "higher_is_better": true,
- "default_target": 0.1,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "library": "797da83b-59ce-49a1-b907-6b3b0f54a6f5",
- "unit": "96a6aa1e-fb68-45e6-a443-0913abfa47dd",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Return a single object with unauthorized related fields masked.
| id required | string <uuid> A UUID string identifying this Metric definition. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "annotation": "string",
- "path": "string",
- "folder": "string",
- "library": "string",
- "unit": "string",
- "filtering_labels": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "urn": "string",
- "ref_id": "string",
- "provider": "string",
- "locale": "string",
- "default_locale": true,
- "category": "qualitative",
- "choices_definition": null,
- "is_published": true,
- "higher_is_better": true,
- "default_target": 0.1
}API endpoint that allows metric definitions to be viewed or edited.
| id required | string <uuid> A UUID string identifying this Metric definition. |
| urn | string or null <= 255 characters |
| ref_id | string or null (Reference ID) <= 100 characters |
| provider | string or null <= 200 characters |
| name | string or null <= 200 characters |
| description | string or null |
| annotation | string or null |
| locale | string <= 100 characters |
| default_locale | boolean |
| category | string (CategoryD19Enum) Enum: "qualitative" "quantitative"
|
| choices_definition | any or null For qualitative metrics: ordered list of options with translations. Format: [{'name': 'Low', 'description': '', 'translations': {'fr': {'name': 'Faible', 'description': ''}}}] |
| is_published | boolean (Published) |
| higher_is_better | boolean If true, an increase in value is considered positive (e.g., compliance score). If false, a decrease is considered positive (e.g., number of vulnerabilities). |
| default_target | number or null <double> Default target value for metric instances. Can be overridden at instance level. |
| folder | string <uuid> |
| library | string or null <uuid> |
| unit | string or null <uuid> Unit of measurement (e.g., count, users, bytes, percentage, score, event_per_second) |
| filtering_labels | Array of strings <uuid> (Labels) [ items <uuid > ] |
{- "urn": "string",
- "ref_id": "string",
- "provider": "string",
- "name": "string",
- "description": "string",
- "annotation": "string",
- "locale": "string",
- "default_locale": true,
- "category": "qualitative",
- "choices_definition": null,
- "is_published": true,
- "higher_is_better": true,
- "default_target": 0.1,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "library": "797da83b-59ce-49a1-b907-6b3b0f54a6f5",
- "unit": "96a6aa1e-fb68-45e6-a443-0913abfa47dd",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "urn": "string",
- "ref_id": "string",
- "provider": "string",
- "name": "string",
- "description": "string",
- "annotation": "string",
- "locale": "string",
- "default_locale": true,
- "category": "qualitative",
- "choices_definition": null,
- "is_published": true,
- "higher_is_better": true,
- "default_target": 0.1,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "library": "797da83b-59ce-49a1-b907-6b3b0f54a6f5",
- "unit": "96a6aa1e-fb68-45e6-a443-0913abfa47dd",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}API endpoint that allows metric definitions to be viewed or edited.
| id required | string <uuid> A UUID string identifying this Metric definition. |
| urn | string or null <= 255 characters |
| ref_id | string or null (Reference ID) <= 100 characters |
| provider | string or null <= 200 characters |
| name | string or null <= 200 characters |
| description | string or null |
| annotation | string or null |
| locale | string <= 100 characters |
| default_locale | boolean |
| category | string (CategoryD19Enum) Enum: "qualitative" "quantitative"
|
| choices_definition | any or null For qualitative metrics: ordered list of options with translations. Format: [{'name': 'Low', 'description': '', 'translations': {'fr': {'name': 'Faible', 'description': ''}}}] |
| is_published | boolean (Published) |
| higher_is_better | boolean If true, an increase in value is considered positive (e.g., compliance score). If false, a decrease is considered positive (e.g., number of vulnerabilities). |
| default_target | number or null <double> Default target value for metric instances. Can be overridden at instance level. |
| folder | string <uuid> |
| library | string or null <uuid> |
| unit | string or null <uuid> Unit of measurement (e.g., count, users, bytes, percentage, score, event_per_second) |
| filtering_labels | Array of strings <uuid> (Labels) [ items <uuid > ] |
{- "urn": "string",
- "ref_id": "string",
- "provider": "string",
- "name": "string",
- "description": "string",
- "annotation": "string",
- "locale": "string",
- "default_locale": true,
- "category": "qualitative",
- "choices_definition": null,
- "is_published": true,
- "higher_is_better": true,
- "default_target": 0.1,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "library": "797da83b-59ce-49a1-b907-6b3b0f54a6f5",
- "unit": "96a6aa1e-fb68-45e6-a443-0913abfa47dd",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "urn": "string",
- "ref_id": "string",
- "provider": "string",
- "name": "string",
- "description": "string",
- "annotation": "string",
- "locale": "string",
- "default_locale": true,
- "category": "qualitative",
- "choices_definition": null,
- "is_published": true,
- "higher_is_better": true,
- "default_target": 0.1,
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "library": "797da83b-59ce-49a1-b907-6b3b0f54a6f5",
- "unit": "96a6aa1e-fb68-45e6-a443-0913abfa47dd",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Cascade preview:
| id required | string <uuid> A UUID string identifying this Metric definition. |
Perform a batch action on multiple objects. Uses the IAM-filtered queryset and serializers to respect permissions and validation, mirroring the standard partial_update / destroy flows.
Payload: { "action": "delete"|"change_field"|"change_m2m"|"change_folder",
"ids": [...], "field": "
Override the list method to inject optimized data into the serializer context.
| collection_frequency | Array of strings or null Items Enum: "daily" "hourly" "monthly" "quarterly" "realtime" "weekly" "yearly" Expected frequency for collecting metric samples
|
| evidences | Array of strings <uuid> [ items <uuid > ] |
| filtering_labels | Array of strings <uuid> [ items <uuid > ] |
| folder | Array of strings <uuid> [ items <uuid > ] |
| id | Array of strings <uuid> [ items <uuid > ] Multiple values may be separated by commas. |
| limit | integer Number of results to return per page. |
| metric_definition | Array of strings <uuid> [ items <uuid > ] |
| offset | integer The initial index from which to return the results. |
| ordering | string Which field to use when ordering the results. |
| organisation_objectives | Array of strings <uuid> [ items <uuid > ] |
| owner | Array of strings <uuid> [ items <uuid > ] |
| search | string A search term. |
| status | Array of strings Items Enum: "active" "deprecated" "draft" "stale"
|
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "path": "string",
- "folder": "string",
- "metric_definition": "string",
- "owner": [
- "string"
], - "organisation_objectives": [
- "string"
], - "filtering_labels": [
- "string"
], - "evidences": "string",
- "status": "string",
- "collection_frequency": "string",
- "current_value": "string",
- "raw_value": "string",
- "unit": "string",
- "last_refresh": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "target_value": 0.1
}
]
}API endpoint that allows metric instances to be viewed or edited.
| organisation_objectives | Array of strings <uuid> [ items <uuid > ] |
| is_published | boolean (Published) |
| name required | string <= 200 characters |
| description | string or null |
| ref_id | string or null (Reference id) <= 100 characters |
| status | string (MetricInstanceWriteStatusEnum) Enum: "draft" "active" "stale" "deprecated"
|
| target_value | number or null <double> Target or optimal value for this metric instance |
(CollectionFrequencyEnum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null)) Expected frequency for collecting metric samples
| |
| folder | string <uuid> |
| metric_definition required | string <uuid> |
| evidences | string or null <uuid> |
| filtering_labels | Array of strings <uuid> (Labels) [ items <uuid > ] |
| owner | Array of strings <uuid> [ items <uuid > ] |
{- "organisation_objectives": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "status": "draft",
- "target_value": 0.1,
- "collection_frequency": "realtime",
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "metric_definition": "9040ffd6-cdda-47ef-9d54-025dd778e24a",
- "evidences": "703b2153-25a7-4cf6-a8e7-0e89c6175d25",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "owner": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "organisation_objectives": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "status": "draft",
- "target_value": 0.1,
- "collection_frequency": "realtime",
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "metric_definition": "9040ffd6-cdda-47ef-9d54-025dd778e24a",
- "evidences": "703b2153-25a7-4cf6-a8e7-0e89c6175d25",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "owner": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Return a single object with unauthorized related fields masked.
| id required | string <uuid> A UUID string identifying this Metric instance. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "path": "string",
- "folder": "string",
- "metric_definition": "string",
- "owner": [
- "string"
], - "organisation_objectives": [
- "string"
], - "filtering_labels": [
- "string"
], - "evidences": "string",
- "status": "string",
- "collection_frequency": "string",
- "current_value": "string",
- "raw_value": "string",
- "unit": "string",
- "last_refresh": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "target_value": 0.1
}API endpoint that allows metric instances to be viewed or edited.
| id required | string <uuid> A UUID string identifying this Metric instance. |
| organisation_objectives | Array of strings <uuid> [ items <uuid > ] |
| is_published | boolean (Published) |
| name required | string <= 200 characters |
| description | string or null |
| ref_id | string or null (Reference id) <= 100 characters |
| status | string (MetricInstanceWriteStatusEnum) Enum: "draft" "active" "stale" "deprecated"
|
| target_value | number or null <double> Target or optimal value for this metric instance |
(CollectionFrequencyEnum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null)) Expected frequency for collecting metric samples
| |
| folder | string <uuid> |
| metric_definition required | string <uuid> |
| evidences | string or null <uuid> |
| filtering_labels | Array of strings <uuid> (Labels) [ items <uuid > ] |
| owner | Array of strings <uuid> [ items <uuid > ] |
{- "organisation_objectives": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "status": "draft",
- "target_value": 0.1,
- "collection_frequency": "realtime",
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "metric_definition": "9040ffd6-cdda-47ef-9d54-025dd778e24a",
- "evidences": "703b2153-25a7-4cf6-a8e7-0e89c6175d25",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "owner": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "organisation_objectives": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "status": "draft",
- "target_value": 0.1,
- "collection_frequency": "realtime",
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "metric_definition": "9040ffd6-cdda-47ef-9d54-025dd778e24a",
- "evidences": "703b2153-25a7-4cf6-a8e7-0e89c6175d25",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "owner": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}API endpoint that allows metric instances to be viewed or edited.
| id required | string <uuid> A UUID string identifying this Metric instance. |
| organisation_objectives | Array of strings <uuid> [ items <uuid > ] |
| is_published | boolean (Published) |
| name | string <= 200 characters |
| description | string or null |
| ref_id | string or null (Reference id) <= 100 characters |
| status | string (MetricInstanceWriteStatusEnum) Enum: "draft" "active" "stale" "deprecated"
|
| target_value | number or null <double> Target or optimal value for this metric instance |
(CollectionFrequencyEnum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null)) Expected frequency for collecting metric samples
| |
| folder | string <uuid> |
| metric_definition | string <uuid> |
| evidences | string or null <uuid> |
| filtering_labels | Array of strings <uuid> (Labels) [ items <uuid > ] |
| owner | Array of strings <uuid> [ items <uuid > ] |
{- "organisation_objectives": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "status": "draft",
- "target_value": 0.1,
- "collection_frequency": "realtime",
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "metric_definition": "9040ffd6-cdda-47ef-9d54-025dd778e24a",
- "evidences": "703b2153-25a7-4cf6-a8e7-0e89c6175d25",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "owner": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "organisation_objectives": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_published": true,
- "name": "string",
- "description": "string",
- "ref_id": "string",
- "status": "draft",
- "target_value": 0.1,
- "collection_frequency": "realtime",
- "folder": "ca579eb8-24ac-44d0-a8b9-a42c500083f5",
- "metric_definition": "9040ffd6-cdda-47ef-9d54-025dd778e24a",
- "evidences": "703b2153-25a7-4cf6-a8e7-0e89c6175d25",
- "filtering_labels": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "owner": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Cascade preview:
| id required | string <uuid> A UUID string identifying this Metric instance. |
Perform a batch action on multiple objects. Uses the IAM-filtered queryset and serializers to respect permissions and validation, mirroring the standard partial_update / destroy flows.
Payload: { "action": "delete"|"change_field"|"change_m2m"|"change_folder",
"ids": [...], "field": "