openapi: 3.1.0 info: title: Airflow Asset Event Log API description: Airflow API. All endpoints located under ``/api/v2`` can be used safely, are stable and backward compatible. Endpoints located under ``/ui`` are dedicated to the UI and are subject to breaking change depending on the need of the frontend. Users should not rely on those but use the public ones instead. version: '2' tags: - name: Event Log paths: /api/v2/eventLogs/{event_log_id}: get: tags: - Event Log summary: Airflow Get Event Log operationId: get_event_log security: - OAuth2PasswordBearer: [] - HTTPBearer: [] parameters: - name: event_log_id in: path required: true schema: type: integer title: Event Log Id responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/EventLogResponse' '401': content: application/json: schema: $ref: '#/components/schemas/HTTPExceptionResponse' description: Unauthorized '403': content: application/json: schema: $ref: '#/components/schemas/HTTPExceptionResponse' description: Forbidden '404': content: application/json: schema: $ref: '#/components/schemas/HTTPExceptionResponse' description: Not Found '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' x-microcks-operation: delay: 0 dispatcher: FALLBACK /api/v2/eventLogs: get: tags: - Event Log summary: Airflow Get Event Logs description: Get all Event Logs. operationId: get_event_logs security: - OAuth2PasswordBearer: [] - HTTPBearer: [] parameters: - name: limit in: query required: false schema: type: integer minimum: 0 default: 50 title: Limit - name: offset in: query required: false schema: type: integer minimum: 0 default: 0 title: Offset - name: order_by in: query required: false schema: type: array items: type: string description: 'Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, dttm, dag_id, task_id, run_id, event, logical_date, owner, extra, when, event_log_id`' default: - id title: Order By description: 'Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, dttm, dag_id, task_id, run_id, event, logical_date, owner, extra, when, event_log_id`' - name: dag_id in: query required: false schema: anyOf: - type: string - type: 'null' title: Dag Id - name: task_id in: query required: false schema: anyOf: - type: string - type: 'null' title: Task Id - name: run_id in: query required: false schema: anyOf: - type: string - type: 'null' title: Run Id - name: map_index in: query required: false schema: anyOf: - type: integer - type: 'null' title: Map Index - name: try_number in: query required: false schema: anyOf: - type: integer - type: 'null' title: Try Number - name: owner in: query required: false schema: anyOf: - type: string - type: 'null' title: Owner - name: event in: query required: false schema: anyOf: - type: string - type: 'null' title: Event - name: excluded_events in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' title: Excluded Events - name: included_events in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' title: Included Events - name: before in: query required: false schema: anyOf: - type: string format: date-time - type: 'null' title: Before - name: after in: query required: false schema: anyOf: - type: string format: date-time - type: 'null' title: After - name: dag_id_pattern in: query required: false schema: anyOf: - type: string - type: 'null' description: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. title: Dag Id Pattern description: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. - name: task_id_pattern in: query required: false schema: anyOf: - type: string - type: 'null' description: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. title: Task Id Pattern description: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. - name: run_id_pattern in: query required: false schema: anyOf: - type: string - type: 'null' description: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. title: Run Id Pattern description: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. - name: owner_pattern in: query required: false schema: anyOf: - type: string - type: 'null' description: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. title: Owner Pattern description: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. - name: event_pattern in: query required: false schema: anyOf: - type: string - type: 'null' description: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. title: Event Pattern description: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/EventLogCollectionResponse' '401': content: application/json: schema: $ref: '#/components/schemas/HTTPExceptionResponse' description: Unauthorized '403': content: application/json: schema: $ref: '#/components/schemas/HTTPExceptionResponse' description: Forbidden '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' x-microcks-operation: delay: 0 dispatcher: FALLBACK components: schemas: EventLogResponse: properties: event_log_id: type: integer title: Event Log Id when: type: string format: date-time title: When dag_id: anyOf: - type: string - type: 'null' title: Dag Id task_id: anyOf: - type: string - type: 'null' title: Task Id run_id: anyOf: - type: string - type: 'null' title: Run Id map_index: anyOf: - type: integer - type: 'null' title: Map Index try_number: anyOf: - type: integer - type: 'null' title: Try Number event: type: string title: Event logical_date: anyOf: - type: string format: date-time - type: 'null' title: Logical Date owner: anyOf: - type: string - type: 'null' title: Owner extra: anyOf: - type: string - type: 'null' title: Extra dag_display_name: anyOf: - type: string - type: 'null' title: Dag Display Name task_display_name: anyOf: - type: string - type: 'null' title: Task Display Name type: object required: - event_log_id - when - dag_id - task_id - run_id - map_index - try_number - event - logical_date - owner - extra title: EventLogResponse description: Event Log Response. HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type input: title: Input ctx: type: object title: Context type: object required: - loc - msg - type title: ValidationError HTTPExceptionResponse: properties: detail: anyOf: - type: string - additionalProperties: true type: object title: Detail type: object required: - detail title: HTTPExceptionResponse description: HTTPException Model used for error response. EventLogCollectionResponse: properties: event_logs: items: $ref: '#/components/schemas/EventLogResponse' type: array title: Event Logs total_entries: type: integer title: Total Entries type: object required: - event_logs - total_entries title: EventLogCollectionResponse description: Event Log Collection Response. securitySchemes: OAuth2PasswordBearer: type: oauth2 description: To authenticate Airflow API requests, clients must include a JWT (JSON Web Token) in the Authorization header of each request. This token is used to verify the identity of the client and ensure that they have the appropriate permissions to access the requested resources. You can use the endpoint ``POST /auth/token`` in order to generate a JWT token. Upon successful authentication, the server will issue a JWT token that contains the necessary information (such as user identity and scope) to authenticate subsequent requests. To learn more about Airflow public API authentication, please read https://airflow.apache.org/docs/apache-airflow/stable/security/api.html. flows: password: scopes: {} tokenUrl: /auth/token HTTPBearer: type: http scheme: bearer