Skip to main content
POST
Check and run an unsaved report

Authorizations

Authorization
string
header
required

Supabase JWT — Authorization: Bearer <token>.

Body

application/json
merchant_id
string<uuid>

Optional merchant to act on. Admins and sub-merchant operators only; other callers always use their token's merchant.

definition
object

A custom report: report-wide filters and up to 12 blocks. Read report-catalog first for the dataset, field and measure ids (every block needs an id and a type; measures are measure ids as strings, at least one). Format, rules and examples: https://developer.jobmojito.com/api-reference/reports/create-a-custom-report.md

Example:
report_id
string

Instead of definition: run a saved custom report (its uuid; your saved filters, then filters, apply) or a built-in report id (builtin:, from list_reports scope builtin).

Example:

"builtin:recruiter_workload"

version
integer

With a custom report_id: the version you read; a newer one is refused with 409.

Required range: x >= 1
filters
object

Applied on top of definition.filters (custom reports only).

block_id
string

Run only this block (custom reports only; built-in reports take section).

section
string

Built-in reports only: run only this section (ids in list_reports). Default: every section.

Pattern: ^[a-z][a-z0-9_]{0,40}$
Example:

"positions"

from
string

Built-in reports only: first day of the period (YYYY-MM-DD, UTC, inclusive). Default: 30 days before to (90 for fairness).

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-10-01"

to
string

Built-in reports only: last day of the period (YYYY-MM-DD, UTC, inclusive). Default: today. At most 400 days after from.

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-10-31"

position_id
string<uuid>

Built-in reports only: one position (position_def_set.id), for the sections that take it (filters in list_reports).

interview_id
string<uuid>

Built-in reports only: one interview (interview_def_set.id), for the sections that take it. Not with position_id.

include_candidates
boolean

Built-in reports only: also run the sections that list candidates by name (candidates true in list_reports). Default false. Every such read is recorded in the audit log.

limit
integer

Built-in reports only: rows per section (1 to 500). Default 50, or 20 for a section of large rows (ATS jobs).

Required range: 1 <= x <= 500
offset
integer

Built-in reports only: rows to skip in each section (default 0); see each block's pagination.

Required range: x >= 0
stage
enum<string>

builtin:fairness_monitoring only: pre_screening, ai_interview (default) or final.

Available options:
pre_screening,
ai_interview,
final

Response

Block results.

filters
object
required

The filters the blocks ran with (custom: report defaults, then your saved filters, then the ones you passed; built-in: period, position_id or interview_id, stage, include_candidates, limit, offset).

blocks
object[]
required

One result per block. A built-in report returns one per section: block_id is the section id, plus title, candidates (lists candidates by name), columns, rows and pagination {limit, offset, total (null when unknown), has_more}. A section that cannot run for you is ok=false with the reason.

report_id
string<uuid>

The custom report that ran.

builtin_id
string

The built-in report that ran (instead of report_id).

kind
enum<string>

builtin for a built-in report; absent for a custom report.

Available options:
builtin
title
string
description
string

Built-in reports: what the report shows.

admin_url
string

Built-in reports: the report in the JobMojito admin.

version
integer
{key}
unknown