curl --request GET \
--url https://api.merchantops.ai/api/jobs/import requests
url = "https://api.merchantops.ai/api/jobs/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.merchantops.ai/api/jobs/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.merchantops.ai/api/jobs/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.merchantops.ai/api/jobs/"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.merchantops.ai/api/jobs/")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.merchantops.ai/api/jobs/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"items": [
{
"failed_items": 123,
"job_id": "<string>",
"job_type": "<string>",
"processed_items": 123,
"progress_percentage": 123,
"status": "<string>",
"success_rate": 123,
"total_items": 123,
"archived_at": "<string>",
"cancelled_items": 0,
"completed_at": "<string>",
"created_at": "<string>",
"description": "<string>",
"duration_seconds": 123,
"error_message": "<string>",
"errors": [
{
"entity_key": "<string>",
"entity_type": "<string>",
"error_type": "<string>",
"message": "<string>",
"timestamp": "<string>",
"details": {},
"step": "<string>"
}
],
"metadata": {},
"needs_review_items": 0,
"started_at": "<string>",
"triggered_by": "<string>",
"warned_items": 0,
"warnings": [
{
"entity_key": "<string>",
"entity_type": "<string>",
"error_type": "<string>",
"message": "<string>",
"timestamp": "<string>",
"details": {},
"step": "<string>"
}
]
}
],
"limit": 123,
"skip": 123,
"total": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}List Jobs
List jobs with optional filtering and pagination.
Authentication Required: Requires job:read permission.
Supports filtering by job_type and status, with pagination.
curl --request GET \
--url https://api.merchantops.ai/api/jobs/import requests
url = "https://api.merchantops.ai/api/jobs/"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.merchantops.ai/api/jobs/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.merchantops.ai/api/jobs/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.merchantops.ai/api/jobs/"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.merchantops.ai/api/jobs/")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.merchantops.ai/api/jobs/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"items": [
{
"failed_items": 123,
"job_id": "<string>",
"job_type": "<string>",
"processed_items": 123,
"progress_percentage": 123,
"status": "<string>",
"success_rate": 123,
"total_items": 123,
"archived_at": "<string>",
"cancelled_items": 0,
"completed_at": "<string>",
"created_at": "<string>",
"description": "<string>",
"duration_seconds": 123,
"error_message": "<string>",
"errors": [
{
"entity_key": "<string>",
"entity_type": "<string>",
"error_type": "<string>",
"message": "<string>",
"timestamp": "<string>",
"details": {},
"step": "<string>"
}
],
"metadata": {},
"needs_review_items": 0,
"started_at": "<string>",
"triggered_by": "<string>",
"warned_items": 0,
"warnings": [
{
"entity_key": "<string>",
"entity_type": "<string>",
"error_type": "<string>",
"message": "<string>",
"timestamp": "<string>",
"details": {},
"step": "<string>"
}
]
}
],
"limit": 123,
"skip": 123,
"total": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Query Parameters
Filter by job type (enrichment or crawl)
Filter by status
Filter by user who triggered the job
Maximum results
1 <= x <= 100Number of items to skip
x >= 0false (default): only non-archived jobs; true: only archived jobs
Inclusive lower bound on job creation time (createdAt). Accepts EITHER a strict zero-padded YYYY-MM-DD calendar date OR a full ISO 8601 instant; any other format returns 422. A bare date is interpreted as the START of that calendar date in the organization's publishing timezone (Settings > Pricing; defaults to America/New_York) — NOT UTC midnight, so a US org's 'today' filter matches what the UI shows as today.
Inclusive upper bound on job creation time (createdAt). Accepts EITHER a strict zero-padded YYYY-MM-DD calendar date OR a full ISO 8601 instant; any other format returns 422. A bare date is interpreted as the END of that calendar date (23:59:59.999999) in the organization's publishing timezone, so created_to=today includes jobs created any time today, even ones whose UTC createdAt already rolled to tomorrow.
Case-insensitive contains-match on the job id, file names, batch name or key, product keys, site URL, or shop domain. The list response omits per-item metadata logs (published_prices, errors, urls_to_import, shopify_sync); fetch GET /api/jobs/{job_id} for those.
200