-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Closed
Labels
Description
Description
Hello,
We need to prepare an endpoint that will read the logs for the task. Logs are already available in Web UI, so abstractions should be created and used in both places. The code responsible for reading the log in the Web UI is in the file airflow/www/views.py (method get_logs_with_metadata)
The token is metadata data serialized to JSON and encoded with base64. This prevents user from building clients based on a specific metadata structure. We cannot guarantee their permanent structure because it use external plugins.
- GET /dags/{dag_id}/taskInstances/{task_id}/{execution_date}/logs/{task_try_number}
More details about API Endpoints:
#8118
Use case / motivation
N/A
Related Issues
N/A
ad-m