Last updated
Last updated
URL:
You can access the API using one of the following methods:
Include the Authorization
header with your API key.
Include the apiKey
as a query parameter in the URL.
The request body should be a JSON object containing the following keys:
level (required): A string. Recommended values include:
info
warn
error
fatal
debug
message (required): A string.
resource (optional): A string.
metadata (optional): A JSON object of any shape.
To create a log using the Logs API, send a POST request to the API endpoint.