List recent background jobs
GET
/admin/jobs
curl --request GET \ --url http://localhost:3001/admin/jobs \ --header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/admin/jobs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.json())use reqwest;
#[tokio::main]pub async fn main() { let url = "http://localhost:3001/admin/jobs";
let mut headers = reqwest::header::HeaderMap::new(); headers.insert("Authorization", "Bearer <token>".parse().unwrap());
let client = reqwest::Client::new(); let response = client.get(url) .headers(headers) .send() .await;
let results = response.unwrap() .json::<serde_json::Value>() .await .unwrap();
dbg!(results);}Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”limit
required
integer format: int64
How many, newest first: default 50, at most 200.
Responses
Section titled “Responses”Newest first
Media typeapplication/json
Array<object>
object
created_at
required
string format: date-time
error
string
finished_at
string format: date-time
id
required
string format: uuid
kind
required
universe_load, enrichment, symbology_backfill or expiry_sweep.
string
params
required
progress_done
integer format: int64
progress_total
integer format: int64
result
started_at
string format: date-time
started_by
required
system for work the OMS started itself, else the admin action.
string
status
required
string
subject
What the job is about, e.g. a broker connection code.
string
Example
[ { "status": "queued" }]