Let's assume we have a time range of day - 00:00 - 23:59 and HTTP endpoint(which is being probed by Blackbox-exporter) returns status codes:
Can I reflect it somehow in Prometheus, i.e. when one code ends up being returned and another one started? And maybe it's possible to output somehow in Grafana on a time-range plot?
If all you want is just to visualize status code, you don't need some clever promQL query for this.
You can simply create "State timeline" panel with probe_http_status_code
query.
To make this panel show data in understandable way:
{{instance}}
into it.