Logs

Create Logs

Create new logs from the provided schema.

post/api/logs/

Headers

x-prefect-api-versionstring

Request body

namestring

The logger name.

levelinteger

The log level.

messagestring

The log message.

timestampstring date-time

The log timestamp.

flow_run_idstring uuid

The flow run ID associated with the log.

task_run_idstring uuid

The task run ID associated with the log.

Response

Successful Response

{"stackTrail":"paths:/api/logs/:post:responses:201:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes