Download the flow log API
Etlworks Integrator creates a unique log file for each executed flow. Use this API endpoint to download the log file.
Step 1. Use any user with the
Administratorrole to call an Integrator authentication endpoint and receive an access token.
Step 2. Use the access token, received in Step 1, to call Integrator API endpoints. The access token must be submitted as a header parameter, as in:
Authorization:Bearer access-token, or query parameter, as in:
Access tokens in Integrator are short-lived and self-expiring. An access token gives you access to the APIs for approximately 10 minutes. It is recommended that you refresh the access token before each call to the API.
The API endpoint parameters
- LEGACY PATH (we keep it for backward compatibility):
flowId=long. The flow ID can be found in the Flows.
- Authorization=string. Authorization token can be received from authentication API endpoint.
- REQUEST BODY: none
The response if a file - Content-Disposition: attachment
200 for success, 401 and 403 for not authorized, and 500 for an internal error.