Accelerate the Value of Data

Get pipeline run

Learn about the Delta Lake API endpoint to get the pipeline run.

Use this endpoint to get the pipeline run in Databricks.

You need to have a role with Tenant admin and Datapipeline tenant admin to run the endpoint.

Request

POST 
{{hub-url}}/api/tenants/{{tenantID}}/adapters/deltalake/actions/get_pipeline_run

where {{hub-url}} is https://{{env}}-data-pipeline-hub.reltio.com.

Table 1. Header
ParameterTypeRequiredDescription
AuthorizationstringYesThe bearer token URL returned by the Authentication.For information on obtaining an authorization token to run Reltio REST APIs using the Security OAuth 2.0 security method, see topic Authentication API.
Content-type stringYesThe format to use to transmit data:
application/json
Reltio APIs transmit data in the JavaScript Object Notation (JSON) standard text-based format.
Table 2. Parameters - Path
ParameterTypeRequiredDescription
tenantId stringYesThe unique identification number for the Reltio tenant, for example:
AbCdEfGH12i3jK4
.
Table 3. Parameters - Body
ParameterTypeRequiredDescription
NonestructNoEmpty body

Examples

Table 4. Request example
POST 
https://dev-data-pipeline-hub.reltio.com/api/tenants/AbCdEfGH12i3jK4/adapters/deltalake/actions/get_pipeline_run
This example shows how to run a request

Payload:<Empty>

Table 5. Response examples
Success example:
{ 
"status": "SUCCESS", 
"errors": [], 
"adapter-response": { 
  "last_pipeline_run": { 
    "updateId": "3d4654cc-77a8-4e7c-8b71-edaf03062c6a", 
    "requestId": "3d4654cc-77a8-4e7c-8b71-edaf03062c6a", 
    "state": "WAITING_FOR_RESOURCES", 
    "creationTime": 1708078840208, 
    "startTime": "2024-02-16T10:20:40.208Z", 
    "endTime": null, 
    "fullRefresh": false, 
    "validateOnly": false, 
    "fullRefreshSelection": null, 
    "refreshSelection": null, 
    "errors": null 
    } 
  } 
}
This example shows the response returned for the request example above.
where:
%status;
Result of the request
%errors;
Any errors when the result is not a success.
adapter-response
Details of the request's result.
Validation error when the adapter is not enabled for the tenant:
{ 
"severity": "Error", 
"errorMessage": "Adapter not enabled for deltalake.", 
"errorCode": 8004, 
"errorDetailMessage": "Adapter not enabled for deltalake.", 
"foundErrors": null, 
"innerErrorData": null, 
"causedBy": null, 
"asJSON": "{\"severity\":\"Error\",\"errorMessage\":\"Adapter not enabled for deltalake.\",\"errorCode\":8004,\"errorDetailMessage\":\"Adapter not enabled for 
deltalake.\",\"foundErrors\":null,\"innerErrorData\":null,\"exception\":null,\" stack\":null,\"causedBy\":null}" 
}