v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
Background Jobs

Queues a Background Job

Queue a Background Job

post/v1/admin/background_job/queue

Request body

executor'AI' | 'AI_AGENT' | 'AI_BG' | 'BROKER' | 'COMPLIANCE' | 'COST' | 'COST_BG' | 'COST_BG_CLOUD_BILLING' | 'COST_BG_K8S_BILLING' | 'FEATURE_FLAGS' | 'GOVERNANCE' | 'HEATSTACK' | 'HEATSTACK_BG' | 'IDENTITY' | 'IDENTITY_BG' | 'OPERATIONS' | 'REPORT_GENERATION' | 'RESOURCE_INVENTORY' | 'RESOURCE_INVENTORY_BG' | 'SECURITY'

Target Executor for the job

priorityinteger

Priority of the Background Job

next_activationstring date-time

When the Background Job will execute

synchronize_federationboolean

Ensure all the federation updates are sent

check_for_queued_jobboolean

Only queue if no other job is already queued. Queue if other job is already running

check_for_running_jobboolean

Only queue if no matching job is found

queue_after_running_jobboolean

Queue to run after any matching job

auto_retriesinteger

Number of auto retries left for this Background Job

auto_retry_delaynumber

Number of seconds to wait before a retry for this Background Job

Example request

{
  "executor": "AI"
}

Response

Queue outcome