v1

latestOpenAPI 3.1.0raw.githubusercontent.com2024-11-08170291390.5 KB
Logs

Create Logs

Create new logs from the provided schema.

post/api/logs/

Headers

x-prefect-api-versionstring

Request body

namestring required

The logger name.

levelinteger required

The log level.

messagestring required

The log message.

timestampstring date-time required

The log timestamp.

flow_run_idstring uuid
task_run_idstring uuid

Response

Successful Response

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