docs: def api_run_get(run_id):
      """Return a single run as a JSON object."""
      data = current_app.config["data"]
      run = data.get_run_dao().get(run_id)
      records_total = 1 if run is not None else 0
      if records_total == 0:
          return Response(
              render_template(
                  "api/error.js",
                  error_code=404,
                  error_message="Run %s not found." % run_id),
              status=404,
              mimetype="application/json")
      records_filtered = records_total
      return Response(render_template("api/runs.js", runs=[run], draw=1,
                                      recordsTotal=records_total,
                                      recordsFiltered=records_filtered,
                                      full_object=True),
                      mimetype="application/json")