Log

Send a log to Minilog

POST https://api.minilog.dev/v1/logs/<project-name>

Headers

NameTypeDescription

Authorization *

string

Bearer <project-token>

Content-Type *

string

application/json

Request Body

NameTypeDescription

application *

string

The name of the application creating this log

severity *

string

'DEBUG' | 'INFO' | 'WARNING' | 'ERROR' | 'CRITICAL'

data *

string

The main content or message of the log

metadata

object

Additional JSON structured object to provide context for the log

created_at

number

unix timestamp (in seconds)

Important: Fields ending with an * are required in your request!

Last updated