Data
Read imported records.
Retrieves the distinct target types that currently hold imported records.
- : Needed to trigger, schedule, monitor, and cancel import runs; to manage a file-based stream's file queue; and to read configurations, streams, schedules, runs, and imported data.
The tenant you want to access.
mytenantThe request was successful. The types are returned.
productGiven request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
An unexpected error occurred in the service. The body is the framework's default error body, not the error schema of the other responses.
GET /importtool/{tenant}/data/types HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
"product",
"category"
]Searches imported records of a given type with an optional search filter on the natural key or Emporix identifier, paginated.
- : Needed to trigger, schedule, monitor, and cancel import runs; to manage a file-based stream's file queue; and to read configurations, streams, schedules, runs, and imported data.
The tenant you want to access.
mytenantThe target type to search.
productOptional filter. Returns the records whose natural key or Emporix identifier starts with the given text. The natural key can be given with its key name (ID:SKU-1001) or as the source value alone (SKU-1001). The match is case-sensitive and matches from the start only: text from the middle of a key matches nothing. Emporix identifiers are lower case, so the identifier is also matched with the text converted to lower case: 3FA85F64 finds 3fa85f64-…. This is not the Emporix query language, so field selectors and operators are not supported.
""Example: SKU-1001Optional filter by import outcome. Omit to return records of all outcomes. The value must match exactly, in upper case. Any other value returns no records. Possible values:
UPSERTED– created or updated.DELETED– removed at the source.FAILED– the record could not be imported.DRY_RUN– produced by a dry run.
The zero-based page number. A negative value returns HTTP 400.
0Example: 0The page size. Defaults to 20 for run history, 50 for run errors, and 25 for imported records. A value below 1 returns HTTP 400.
20The request was successful. The records are returned.
Pagination metadata for a page of results.
The total number of elements across all pages.
1250The total number of pages.
63The current zero-based page number.
0The page size.
20The page or size query parameter is out of range. The message names the parameter.
Given request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
An unexpected error occurred in the service. The body is the framework's default error body, not the error schema of the other responses.
GET /importtool/{tenant}/data/records?type=product HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"totalElements": 1250,
"totalPages": 50,
"number": 0,
"size": 25,
"content": [
{
"id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
"configId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"streamId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"runId": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"targetEntity": "emporix.customEntity",
"targetType": "product",
"naturalKey": "SKU-1001",
"fields": {
"name": "Pipe cutter",
"sku": "SKU-1001",
"active": true
},
"outcome": "UPSERTED",
"importedAt": "2026-07-27T02:03:55.000Z"
}
]
}Searches the imported records produced by a specific stream with an optional search filter on the natural key or Emporix identifier, paginated.
- : Needed to trigger, schedule, monitor, and cancel import runs; to manage a file-based stream's file queue; and to read configurations, streams, schedules, runs, and imported data.
The tenant you want to access.
mytenantThe stream identifier.
3fa85f64-5717-4562-b3fc-2c963f66afa6Optional filter. Returns the records whose natural key or Emporix identifier starts with the given text. The natural key can be given with its key name (ID:SKU-1001) or as the source value alone (SKU-1001). The match is case-sensitive and matches from the start only: text from the middle of a key matches nothing. Emporix identifiers are lower case, so the identifier is also matched with the text converted to lower case: 3FA85F64 finds 3fa85f64-…. This is not the Emporix query language, so field selectors and operators are not supported.
""Example: SKU-1001Optional filter by import outcome. Omit to return records of all outcomes. The value must match exactly, in upper case. Any other value returns no records. Possible values:
UPSERTED– created or updated.DELETED– removed at the source.FAILED– the record could not be imported.DRY_RUN– produced by a dry run.
The zero-based page number. A negative value returns HTTP 400.
0Example: 0The page size. Defaults to 20 for run history, 50 for run errors, and 25 for imported records. A value below 1 returns HTTP 400.
20The request was successful. The records are returned.
Pagination metadata for a page of results.
The total number of elements across all pages.
1250The total number of pages.
63The current zero-based page number.
0The page size.
20The page or size query parameter is out of range. The message names the parameter.
Given request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
An unexpected error occurred in the service. The body is the framework's default error body, not the error schema of the other responses.
GET /importtool/{tenant}/data/streams/{streamId}/records HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"totalElements": 1250,
"totalPages": 50,
"number": 0,
"size": 25,
"content": [
{
"id": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed",
"configId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"streamId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"runId": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"targetEntity": "emporix.customEntity",
"targetType": "product",
"naturalKey": "SKU-1001",
"fields": {
"name": "Pipe cutter",
"sku": "SKU-1001",
"active": true
},
"outcome": "UPSERTED",
"importedAt": "2026-07-27T02:03:55.000Z"
}
]
}Last updated
Was this helpful?

