Ingests a batch of runs in a single JSON payload.
func (
r *RunService) IngestBatch(ctx context.Context,
body RunIngestBatchParams,
opts ...option.RequestOption) (res *RunIngestBatchResponse,
err error
)Ingests a batch of runs in a single JSON payload. The payload must have post
and/or patch arrays containing run objects. Prefer this endpoint over
single‑run ingestion when submitting hundreds of runs, but /runs/multipart
offers better handling for very large fields and attachments.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
body* | RunIngestBatchParams | |
opts* | ...option.RequestOption |