Skip to navigation

Retrieve average time per interview plan stage

Beta

Returns the average time applications spent in each interview plan stage across the selected jobs, not counting time the job was paused. Use it to find where the hiring process slows down, with results that match the ATS insights dashboard for the same filters.

Token scopes: ats:read, worker:read

Beta: this version requires the X-Beta: true request header and its contract may change before it is promoted to stable. It is scheduled to become stable on 2027-01-28.

Authentication

AuthorizationBearer

Authentication

The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.

curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \
  -H 'Authorization: Bearer YOUR-TOKEN-HERE'

Learn more about authentication

OR
AuthorizationBearer

Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

Headers

X-BetaenumRequiredDefaults to true

Opts in to the beta version of this endpoint. Must be true.

Allowed values:

Query parameters

job_idslist of stringsOptional
Only count these jobs. Jobs the caller cannot access are left out silently.
hiring_member_hou_idslist of stringsOptional

Only count jobs on whose hiring team one of these HRIS organization users sits — a person’s portfolio. Only narrows the jobs the caller can already see.

interview_plan_idslist of stringsOptional
Only count stages of these interview plans.
department_idslist of stringsOptional
Only count jobs in these departments.
team_idslist of stringsOptional
Only count jobs of these teams.
employment_type_idslist of stringsOptional
Only count jobs with these employment types.
location_idslist of stringsOptional
Only count jobs in these locations.
candidate_tag_idslist of stringsOptional
Only count applications whose candidate carries these tags.
candidate_tag_ids_operatorenumOptional

ANY (default) matches candidates with at least one of candidate_tag_ids; ALL requires every tag.

Allowed values:
source_slugslist of stringsOptional

Only count applications from these sources (slugs from the application sources endpoint).

job_statuseslist of enumsOptional
Only count jobs in these statuses. Defaults to every status except ARCHIVED.
work_arrangementslist of enumsOptional
Only count jobs with these work arrangements.
Allowed values:
date_range_startstringOptionalformat: "date-time"

Lower bound (ISO 8601): stage counts only include applications created at or after it; stage durations only include stage entries that started at or after it.

date_range_endstringOptionalformat: "date-time"

Upper bound (ISO 8601): stage counts only include applications created at or before it; stage durations only include stage entries that started at or before it.

workspace_idslist of stringsOptional
Only count jobs in these workspaces. The caller must collaborate on every workspace passed.

Response

Average time per stage
datalist of objects
Average time applications spent in each interview plan stage.
has_moreboolean

Always false: the result is a single aggregate page.

next_cursorstring or null

Always null: the result is a single aggregate page.

total_countinteger
Number of rows in data.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error