thanks for the explanation.
I did what you indicated above and got the following messages in the log:
2021-07-15T12:42:55 [I|app|1d512c24] Started GET "/api/v2/report_templates/126-User%20-%20Registered%20Users/report_data/8c1cfd0a-b94c-44ad-ae30-e4bda2f2de75" for 127.0.0.1 at 2021-07-15 12:42:55 +0300
2021-07-15T12:42:55 [I|app|1d512c24] Processing by Api::V2::ReportTemplatesController#report_data as JSON
2021-07-15T12:42:55 [I|app|1d512c24] Parameters: {"apiv"=>"v2", "id"=>"126-User - Registered Users", "job_id"=>"8c1cfd0a-b94c-44ad-ae30-e4bda2f2de75"}
2021-07-15T12:42:55 [D|sql|1d512c24] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]]
2021-07-15T12:42:55 [D|sql|1d512c24] AuthSource Load (0.2ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
2021-07-15T12:42:55 [D|tax|1d512c24] Current location set to none
2021-07-15T12:42:55 [D|sql|1d512c24] Organization Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" = $1 AND "taxonomies"."id" = $2 ORDER BY "taxonomies"."title" ASC LIMIT $3 [["type", "Organization"], ["id", 67], ["LIMIT", 1]]
2021-07-15T12:42:55 [D|tax|1d512c24] Current organization set to PC
2021-07-15T12:42:55 [D|sql|1d512c24] Location Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" = $1 ORDER BY "taxonomies"."title" ASC [["type", "Location"]]
2021-07-15T12:42:55 [D|sql|1d512c24] (0.2ms) SELECT templates.id FROM "templates"
2021-07-15T12:42:55 [D|sql|1d512c24] (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (("taxonomies"."ancestry" LIKE '67/%' OR "taxonomies"."ancestry" = '67') OR "taxonomies"."id" = 67) ORDER BY "taxonomies"."title" ASC
2021-07-15T12:42:55 [D|sql|1d512c24] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = $2 [["taxable_type", "ReportTemplate"], ["taxonomy_id", 67]]
2021-07-15T12:42:55 [D|sql|1d512c24] CACHE Location Load (0.0ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" = $1 ORDER BY "taxonomies"."title" ASC [["type", "Location"]]
2021-07-15T12:42:55 [D|sql|1d512c24] CACHE (0.0ms) SELECT templates.id FROM "templates"
2021-07-15T12:42:55 [D|sql|1d512c24] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (("taxonomies"."ancestry" LIKE '67/%' OR "taxonomies"."ancestry" = '67') OR "taxonomies"."id" = 67) ORDER BY "taxonomies"."title" ASC
2021-07-15T12:42:55 [D|sql|1d512c24] CACHE (0.0ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = $2 [["taxable_type", "ReportTemplate"], ["taxonomy_id", 67]]
2021-07-15T12:42:55 [D|sql|1d512c24] ReportTemplate Exists? (0.3ms) SELECT 1 AS one FROM "templates" WHERE (templates.id IN (124,125,126,128)) AND "templates"."type" = $1 AND (templates.id IN (124,125,126,128)) LIMIT $2 [["type", "ReportTemplate"], ["LIMIT", 1]]
2021-07-15T12:42:55 [D|sql|1d512c24] ReportTemplate Load (0.4ms) SELECT "templates".* FROM "templates" WHERE (templates.id IN (124,125,126,128)) AND "templates"."type" = $1 AND (templates.id IN (124,125,126,128)) AND "templates"."id" = $2 ORDER BY templates.name LIMIT $3 [["type", "ReportTemplate"], ["id", 126], ["LIMIT", 1]]
2021-07-15T12:42:55 [D|app|1d512c24] Body:
2021-07-15T12:42:55 [I|app|1d512c24] Completed 204 No Content in 17ms (ActiveRecord: 2.7ms | Allocations: 6815)
2021-07-15T12:42:55 [D|sql|1d512c24] (0.1ms) BEGIN
2021-07-15T12:42:55 [D|sql|1d512c24] ActiveRecord::SessionStore::Session Update (0.3ms) UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3 [["data", "BAh7DkkiCXVzZXIGOgZFRmkJSSIUb3JnYW5pemF0aW9uX2lkBjsAVGlISSIQ\nbG9jYXRpb25faWQGOwBUSSIABjsAVEkiD2V4cGlyZXNfYXQGOwBGbCsHLxHw\nYEkiEmxvZ2dpbmdfdG9rZW4GOwBUSSIpMzRiYjE0NzctNmMzNi00NmI4LThh\nYTYtN2FmMzQ2OWU2MjNjBjsARkkiC2xvY2FsZQY7AEYiB3J1SSIQX2NzcmZf\ndG9rZW4GOwBGSSIxenlhL2FGS1Nka2dGN0dsNzVsQmhGM1oxeE5NZkVZd0F4\nQ1MyNlRHd09lcz0GOwBGSSIecmVkaXJlY3RfdG9fdXJsX2xvY2F0aW9ucwY7\nAFQiI2h0dHBzOi8vdXByLW1haW4uY3JwLnJ6ZC9ob3N0c0kiInJlZGlyZWN0\nX3RvX3VybF9vcmdhbml6YXRpb25zBjsAVCIjaHR0cHM6Ly91cHItbWFpbi5j\ncnAucnpkL2hvc3Rz\n"], ["updated_at", "2021-07-15 09:42:55.468502"], ["id", 14011385]]
2021-07-15T12:42:55 [D|sql|1d512c24] (0.7ms) COMMIT
at the same time, the “job-id” filter produces a bunch of records of the form:
2021-07-15T13:00:58 [I|app|741cd5ae] Started GET "/api/v2/report_templates/126-User%20-%20Registered%20Users/report_data/8c1cfd0a-b94c-44ad-ae30-e4bda2f2de75" for 127.0.0.1 at 2021-07-15 13:00:58 +0300
2021-07-15T13:00:58 [I|app|741cd5ae] Parameters: {"apiv"=>"v2", "id"=>"126-User - Registered Users", "job_id"=>"8c1cfd0a-b94c-44ad-ae30-e4bda2f2de75"}
where to look next?