Skip to main content
POST
/
batch-import
/
jobs
/
{jobId}
/
control
Control batch job
curl --request POST \
  --url http://api.gu1.ai/batch-import/jobs/{jobId}/control \
  --header 'Authorization: Bearer <token>'

Documentation Index

Fetch the complete documentation index at: https://docs.gu1.ai/llms.txt

Use this file to discover all available pages before exploring further.

Endpoint

POST https://api.gu1.ai/batch-import/jobs/{jobId}/control

Overview

Cooperative pause / resume / cancel for a single job. Permissions depend on kind.

Authentication

Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Path parameters

ParameterDescription
jobIdJob identifier

Request body

{
  "kind": "transaction_batch" | "user_event_batch" | "entity_automatic",
  "action": "pause" | "resume" | "cancel"
}
  • transaction_batch β†’ requires transactions:create
  • user_event_batch β†’ requires events:create
  • entity_automatic β†’ requires entities:bulk_import
See also: Bulk imports overview.