List unified import history
curl --request GET \
--url http://api.gu1.ai/batch-import/unified-history \
--header 'Authorization: Bearer <token>'import requests
url = "http://api.gu1.ai/batch-import/unified-history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://api.gu1.ai/batch-import/unified-history', 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 => "http://api.gu1.ai/batch-import/unified-history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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 := "http://api.gu1.ai/batch-import/unified-history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://api.gu1.ai/batch-import/unified-history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.gu1.ai/batch-import/unified-history")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyAPI Reference
List unified import history
Paginated history of batch import jobs across kinds β via the gu1 batch import API for high-volume data loading, with examples for list unified history use.
GET
/
batch-import
/
unified-history
List unified import history
curl --request GET \
--url http://api.gu1.ai/batch-import/unified-history \
--header 'Authorization: Bearer <token>'import requests
url = "http://api.gu1.ai/batch-import/unified-history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://api.gu1.ai/batch-import/unified-history', 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 => "http://api.gu1.ai/batch-import/unified-history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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 := "http://api.gu1.ai/batch-import/unified-history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://api.gu1.ai/batch-import/unified-history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.gu1.ai/batch-import/unified-history")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyEndpoint
GET https://api.gu1.ai/batch-import/unified-history
Overview
Lists batch import jobs for the current organization, newest first. Use this for dashboard-style listing of recent imports. For polling a single job after upload, prefer Get batch job status β direct lookup byjobId, no pagination scan.
Response: { success: true, jobs: [...], total, limit, offset }.
Authentication
Authorization: Bearer YOUR_API_KEY
transactions:create, entities:bulk_import, events:create.
Query parameters
| Parameter | Default | Description |
|---|---|---|
limit | 50 | Page size (max 100) |
offset | 0 | Pagination offset |
kinds | all | Comma-separated: entity_batch (alias: entity_automatic), transaction_batch, user_event_batch |
importStatus or status | all | Comma-separated: queued, running, completed, failed, cancelled, interrupted, cancelling |
fileName | β | Partial match on file name in job metadata |
jobId | β | Exact match on job id (returns 0 or 1 row) |
Job object fields
Each entry injobs[]:
| Field | Description |
|---|---|
id | Internal row id |
jobId | Batch job id (use for Get batch job status) |
kind | entity_batch (alias entity_automatic), transaction_batch, or user_event_batch |
status | Current job status |
totalItems | Total rows/items |
succeeded | Success count |
failed | Failure count |
skipped | Skipped count |
metadata | Job metadata (e.g. fileName) |
heartbeatAt | Last worker heartbeat (ISO 8601) |
leaseExpiresAt | Worker lease expiry (ISO 8601) |
workerError | Truncated worker error when failed |
createdByUserId | Id of the user who submitted the import; null when the job was not started by a user |
createdAt | Creation time (ISO 8601) |
completedAt | Completion time when terminal (ISO 8601) |
Was this page helpful?