Skip to content

Content Export

GET
View MD

Use this endpoint to export the current contents of your Luigi’s Box catalog for batch processing, backups, migrations, or downstream synchronization.

Each response returns indexed objects together with their record fields, nested objects, and type metadata. Objects of type query are not included in the export.

The export is split into pages. Pagination information is returned in the links array. When another page is available, one of the objects in links has rel set to next. Use the corresponding href value exactly as returned to load the next page.

Use query parameters to control page size, exported fields, object types, and pagination state.

ParameterTypeRequiredDescription
sizeIntegerNumber of records returned in one response page. Defaults to 300. Values above 500 are reduced to 500.
hit_fieldsStringComma-separated list of object fields to include in attributes, for example title,web_url,price.
requested_typesStringComma-separated list of object types to export, for example item,category,brand.

The export response is a paginated JSON document.

FieldTypeDescription
totalIntegerTotal number of records available in the full export, not just in the current page.
objectsArrayRecords returned in the current response page.
linksArrayPagination objects returned by the API.

Each entry in objects contains the following fields:

FieldTypeDescription
urlStringObject identity of the exported record.
attributesObjectExported object fields, such as title, web_url, or price.
nestedArrayNested objects attached to the main record, such as categories, brands, or variants.
typeStringType of the exported record, for example item, category, or article.
exactBooleanInternal export flag returned by Luigi’s Box together with the record data.

These examples export a small page of item and category records and request only selected fields so the response stays compact.

Authentication is required for all requests. The examples show how to create the required Date and Authorization headers for an HMAC-signed request.

HTTP StatusDescription
400 Bad RequestThe request is malformed, contains invalid parameters, or uses an expired or invalid cursor. Check the response body for details.
403 ForbiddenThe request is not allowed for your site in Luigi’s Box.
429 Too Many RequestsThe rate limit has been exceeded. Check the Retry-After header and see the Throttling docs.
  • Use hit_fields whenever possible to reduce payload size and speed up export jobs.
  • To continue the export, look for the object in links where rel is next, then request its href exactly as returned.
  • Do not depend on response ordering. If ordering matters in your downstream system, sort the exported data after retrieval.