Hi Aiko,
Here is an API request which should work for your use case - a few notes:
- you need to replace the comments in my example with your actual values (cutoff date and project id)
- the user id’s returned by the API need to be resolved separately to names (see below)
POST to /api/v1/data-batch
{
    "steps": [
        {
            "op": "analyze",
            "as": "tcs_created",
            "params": {
                "tables": { "tc": "testcases" },
                "aggr": { "tc": { "id": "count" } },
                "filter": { "tc.created_at": { "op": "gt", "value": /* your cutoff date e.g. "2024-04-01T00:00:00.000Z" */ } },
                "projectId": /* your project id e.g. 1 */
            }
        },
        {
            "op": "analyze",
            "as": "tcs_created_by_user",
            "params": {
                "tables": { "tc": "testcases" },
                "aggr": { "tc": { "id": "count" } },
                "group": { "tc": "created_by" },
                "filter": { "tc.created_at": { "op": "gt", "value": /* your cutoff date e.g. "2024-04-01T00:00:00.000Z" */} },
                "projectId": /* your project id e.g. 1 */
            }
        },
        {
            "op": "analyze",
            "as": "tcs_modified",
            "params": {
                "tables": { "tc": "testcases" },
                "aggr": { "tc": { "id": "count" } },
                "filter": { "tc.modified_at": { "op": "gt", "value": /* your cutoff date e.g. "2024-04-01T00:00:00.000Z" */} },
                "projectId": /* your project id e.g. 1 */
            }
        },
        {
            "op": "analyze",
            "as": "tcs_modified_by",
            "params": {
                "tables": { "tc": "testcases" },
                "aggr": { "tc": { "id": "count" } },
                "group": { "tc": "modified_by" },
                "filter": { "tc.modified_at": { "op": "gt", "value": /* your cutoff date e.g. "2024-04-01T00:00:00.000Z" */} },
                "projectId": /* your project id e.g. 1 */
            }
        },
        {
            "op": "analyze",
            "as": "tcs_deleted",
            "params": {
                "tables": { "tc": "testcases" },
                "aggr": { "tc": { "id": "count" } },
                "filter": { "tc.deleted_at": { "op": "gt", "value": /* your cutoff date e.g. "2024-04-01T00:00:00.000Z" */} },
                "projectId": /* your project id e.g. 1 */,
                "includeDeleted": true
            }
        },
        {
            "op": "analyze",
            "as": "tcs_deleted_by",
            "params": {
                "tables": { "tc": "testcases" },
                "aggr": { "tc": { "id": "count" } },
                "group": { "tc": "deleted_by" },
                "filter": { "tc.deleted_at": { "op": "gt", "value": /* your cutoff date e.g. "2024-04-01T00:00:00.000Z" */} },
                "projectId": /* your project id e.g. 1 */,
                "includeDeleted": true
            }
        },
        {
            "op": "analyze",
            "as": "results",
            "params": {
                "tables": { "trtc": "testcase_testrun_map" },
                "aggr": { "trtc": { "testcase_id": "count" } },
                "filter": { "trtc.result_at": { "op": "gt", "value": /* your cutoff date e.g. "2024-04-01T00:00:00.000Z" */} },
                "projectId": /* your project id e.g. 1 */
            }
        },
        {
            "op": "analyze",
            "as": "results_by_user_and_status",
            "params": {
                "tables": { "trtc": "testcase_testrun_map" },
                "aggr": { "trtc": { "testcase_id": "count" } },
                "group": { "trtc": ["result_by", "result_status"] },
                "filter": { "trtc.result_at": { "op": "gt", "value": /* your cutoff date e.g. "2024-04-01T00:00:00.000Z" */} },
                "projectId": /* your project id e.g. 1 */
            }
        }
    ]
}
to resolve user ids:
(insert the ids you need to resolve below)
POST to /api/v1/user-profile/find
{
    "filter": {"user_id": [1234, 12345, ...]}
}
Regards,
Michael