Skip to main content

Get the jobs.

GET 

/api/v4/jobs

Get a page of jobs. Use the query parameters to modify the behaviour of this endpoint.

Minimum server version: 4.1

Permissions​

Required permission depends on the job type:

  • read_data_retention_job — data_retention
  • read_compliance_export_job — message_export
  • read_elasticsearch_post_indexing_job — elasticsearch_post_indexing
  • read_elasticsearch_post_aggregation_job — elasticsearch_post_aggregation
  • read_ldap_sync_job — ldap_sync
  • read_jobs — migrations, plugins, product_notices, expiry_notify, active_users, import_process, import_delete, export_process, export_delete, cloud, extract_content, mobile_session_metadata, post_persistent_notifications, delete_expired_posts
  • manage_system or manage_team_access_rules granted at the system level — access_control_team_sync
  • sysconsole_read_reporting_site_statistics — health_check
  • manage_system — all other job types

When job_type is set, you must have the permission that matches that type.

When job_type is not set, the response includes only job types that can be created through the API (see POST /api/v4/jobs) and that your session may read, so you must be able to read at least one of them. Jobs of other types are run by the server itself; request them with job_type.

This endpoint does not accept team_id. To list access_control_sync jobs scoped to a team without manage_system, use GET /api/v4/jobs/type/access_control_sync with query parameter team_id set to the team GUID (requires manage_team_access_rules on that team).

Request​

Responses​

Job list retrieval successful