Transformations

List Transformation errors

Lists all errors encountered while attempting to transform data, with either pagination or specific reference IDs.

GET
/v1-beta/transformations/errors
x-api-key<token>

Authenticate using API Key in request header

In: header

Query Parameters

limit?integer

This specifies a limit on the number of objects to return, ranging between 1 and 100.

Default50
Range1 <= value <= 100
sortOrder?string

Specifies sorting behavior. The two options are asc and desc to sort ascending and descending respectively, with default sort being ascending. Paging works in both directions.

Default"asc"
Value in"asc" | "desc"
startingAfter?string

A cursor to use in pagination. startingAfter is a transform ID that defines your place in the list. For example, if you make a list request and receive 50 objects, ending with tr_2bxoJPNdSD4LgRT4YVC4gt72hlI, your subsequent call can include startingAfter=tr_2bxoJPNdSD4LgRT4YVC4gt72hlI to fetch the next page of the list.

endingBefore?string

A cursor to use in pagination. endingBefore is a transform ID that defines your place in the list. For example, if you make a list request and receive 50 objects, starting with tr_2bxoJPNdSD4LgRT4YVC4gt72hlI, your subsequent call can include endingBefore=tr_2bxoJPNdSD4LgRT4YVC4gt72hlI to fetch the previous page of the list.

pipelineID?string

The unique ID for a given pipeline. Will filter to just the transformations processed by the given pipeline. If left out, will query over ALL transformations for your account.

referenceIDsarray<string>

Array with the reference IDs of the transformed data points. Formatted as a CSV array.

functionIDs?array<string>

Array with the function IDs to filter transformation errors by. Formatted as a CSV array.

functionNames?array<string>

Array with the function names to filter transformation errors by. Formatted as a CSV array.

eventIDs?array<string>

Array with the event IDs to filter transformation errors by. Formatted as a CSV array.

taskIDs?array<string>

Array with task IDs to filter transformation errors by. Formatted as a CSV array.

Response Body

curl -X GET "https://api.bem.ai/v1-beta/transformations/errors?limit=50&sortOrder=asc&startingAfter=string&endingBefore=string&pipelineID=string&referenceIDs=string&functionIDs=string&functionNames=string&eventIDs=string&taskIDs=string"
{
  "totalCount": 0,
  "transformationErrors": [
    {
      "transformationErrorID": "string",
      "pipelineID": "string",
      "referenceID": "string",
      "timestamp": "2019-08-24T14:15:22Z",
      "message": "string",
      "eventID": "evt_2bxoJPNdSD4LgRT4YVC4gt72hlI",
      "functionID": "f_2bxoUSASD7LPqz4YVC9jt38ZtZ",
      "functionName": "transform_invoice",
      "taskID": "string"
    }
  ]
}