Skip to main content
GET
List Ingest Job Items
← How Bulk Ingestion Works One item per submitted record, in the order the records were sent. Use it to find which records failed to calculate and why, and to map each record (by source_row_index or your client_row_id) to the entity that was created or, in the reuse stage, matched (entity_id).
Beta. Part of the bulk ingest API, in beta. The contract may still change before general availability.

Request

Headers

string
required
Your API key (see Authentication).Example: ${DCYCLE_API_KEY}
string
required
UUID of the organization that created the job, or of one of its parent organizations.Example: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Path Parameters

uuid
required
The job id.Example: 2d4b90c1-7c1e-4b6f-9a55-3f2b8e61d0aa

Query Parameters

string
Only items with this outcome.Available values: pending, succeeded, failed (skipped is reserved)Example: failed
string
Only items at this stage.Available values: persist, reuse, calculate, deleteExample: calculate
integer
default:"1"
Page number, starting at 1.
integer
default:"10"
Items per page, between 1 and 500.

Response

array[object]
integer
Number of items matching the filters.
integer
Current page.
integer
Page size.

Example

Successful Response

A failed item of a create job still has an entity_id: the record was stored, it just has no emissions.
  • A waste: read it with Get Waste. status: "error" when no factor covers its LER/R/D codes, status: "review" when its description matched no factor.
  • An invoice: it stays with status: "error"; find it with List Invoices, fix it with Update Invoice or delete it and send it again.

Common Errors

401 Unauthorized

Missing or invalid API key.

404 Not Found

The job does not exist, or it belongs to an organization outside the one in x-organization-id.

422 Validation Error

An unknown status or stage value, or size outside 1 to 500.

Get Ingest Job

Status and progress of the job

Create Wastes (v2)

Create one or up to 5,000 wastes in one request

Invoices API

Create up to 5,000 invoices of a category in one request