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
Must have permission to read at least one job type returned by this call.
When no job_type query parameter is set, the server only includes job types your session may read; required permission depends on the job type:
read_data_retention_job—data_retentionread_compliance_export_job—message_exportread_elasticsearch_post_indexing_job—elasticsearch_post_indexingread_elasticsearch_post_aggregation_job—elasticsearch_post_aggregationread_ldap_sync_job—ldap_syncread_jobs—migrations,plugins,product_notices,expiry_notify,active_users,import_process,import_delete,export_process,export_delete,cloud,mobile_session_metadata,extract_contentmanage_system—access_control_sync
When job_type is set, you must have the permission that matches that type (same mapping as above).
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
- 200
- 400
- 401
- 403
Job list retrieval successful
Invalid or missing parameters in URL or request body
No access token provided
Do not have appropriate permissions