Use this API to retrieve information about the current state of Sidekiq, including its jobs, queues, and processes, and to delete jobs from a queue.

Get a Sidekiq worker concurrency limit

GET /api/v4/admin/sidekiq/concurrency_limits/{worker_class}

Returns concurrency limits, override expiry and job counts.

Parameters

NameTypeDescription
worker_class
Path, required
StringRegistered Sidekiq worker class name

Responses

CodeDescriptionSchema
200OKAPIEntitiesSidekiqConcurrencyLimit
400Bad Request—
401Unauthorized—
403Administrator access required—
404Worker not found—

Update a Sidekiq worker concurrency limit override

PUT /api/v4/admin/sidekiq/concurrency_limits/{worker_class}

Overrides adaptive throttling until the TTL expires or the override is deleted.

Parameters

NameTypeDescription
worker_class
Path, required
StringRegistered Sidekiq worker class name

Request body (application/json)

PropertyTypeDescription
limit
Required
IntegerPositive concurrency limit
ttlIntegerOverride lifetime in seconds
Default: 1800
Maximum: 86400
Minimum: 1

Responses

CodeDescriptionSchema
200OKAPIEntitiesSidekiqConcurrencyLimit
400Invalid override—
401Unauthorized—
403Administrator access required—
404Worker not found—

Delete a Sidekiq worker concurrency limit override

DELETE /api/v4/admin/sidekiq/concurrency_limits/{worker_class}

Restores the adaptive limit if present, otherwise the worker default.

Parameters

NameTypeDescription
worker_class
Path, required
StringRegistered Sidekiq worker class name

Responses

CodeDescriptionSchema
200OKAPIEntitiesSidekiqConcurrencyLimit
400Bad Request—
401Unauthorized—
403Administrator access required—
404Worker not found—

Delete jobs from a Sidekiq queue

DELETE /api/v4/admin/sidekiq/queues/{queue_name}

Deletes jobs from a Sidekiq queue that match the specified metadata.

Parameters

NameTypeDescription
queue_name
Path, required
StringName of the queue to delete jobs from
organization_id
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
user
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
user_id
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
gl_user_id
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
scoped_user
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
scoped_user_id
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
project
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
root_namespace
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
gl_root_namespace_id
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
client_id
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
caller_id
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
remote_ip
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
job_id
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
pipeline_id
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
related_class
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
feature_category
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
artifact_size
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
artifact_used_cdn
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
artifacts_dependencies_size
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
artifacts_dependencies_count
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
root_caller_id
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
merge_action_status
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
bulk_import_entity_id
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
sidekiq_destination_shard_redis
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
kubernetes_agent_id
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
mvcc_manifest
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
client_type
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
client_name
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
client_version
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided
worker_class
Query
StringMetadata key to match. At least one of organization_id, user, user_id, gl_user_id, scoped_user, scoped_user_id, project, root_namespace, gl_root_namespace_id, client_id, caller_id, remote_ip, job_id, pipeline_id, related_class, feature_category, artifact_size, artifact_used_cdn, artifacts_dependencies_size, artifacts_dependencies_count, root_caller_id, merge_action_status, bulk_import_entity_id, sidekiq_destination_shard_redis, kubernetes_agent_id, mvcc_manifest, client_type, client_name, client_version, worker_class must be provided

Responses

CodeDescriptionSchema
204No Content—
400Bad Request—
404Not Found—

List all Sidekiq metrics

GET /api/v4/sidekiq/compound_metrics

Lists all Sidekiq metrics. Includes queue, process, and job completion metrics.

Responses

CodeDescriptionSchema
200OK—
401Unauthorized—
403Forbidden—

Retrieve job completion metrics

GET /api/v4/sidekiq/job_stats

Retrieves statistics on the completion status of all Sidekiq jobs.

Responses

CodeDescriptionSchema
200OK—
401Unauthorized—
403Forbidden—

List all Sidekiq processes

GET /api/v4/sidekiq/process_metrics

Lists all details about all registered Sidekiq worker processes, including hostname, process ID, queues, and concurrency settings.

Responses

CodeDescriptionSchema
200OK—
401Unauthorized—
403Forbidden—

List all job queue metrics

GET /api/v4/sidekiq/queue_metrics

Lists all details about all Sidekiq job queues, including backlog size and latency.

Responses

CodeDescriptionSchema
200OK—
401Unauthorized—
403Forbidden—

Schemas

Objects returned by the operations above and objects nested in their request bodies.

APIEntitiesSidekiqConcurrencyLimit

PropertyTypeDescription
adaptive_limitIntegerStored adaptive limit, or null when absent
Example: 5
class_limitIntegerExplicit class limit. null when the worker has no explicit limit
Example: 10
default_limit_requires_shard_contextBooleanExample: false
deferred_jobsIntegerExample: 1000
disabled_for_workerBooleanExample: false
effective_limitIntegerEffective limit. Zero means unlimited. Negative values mean paused. null means unknown without shard context
Example: 20
middleware_enabledBooleanExample: true
override_limitIntegerTemporary override, or null when absent
Example: 20
override_ttlIntegerRemaining override lifetime in seconds, or null when absent
Example: 1800
running_jobsIntegerExample: 8
worker_classStringExample: AuthorizedProjectsWorker