curl --request GET \ --url https://api.withampersand.com/v1/projects/{projectIdOrName}/operations/{operationId}/logs \ --header 'X-Api-Key: <api-key>'
[ { "timestamp": "2023-07-13T21:34:44.816Z", "message": { "msg": "This is a log message", "error": "<string>", "operation_id": "<string>" }, "severity": "DEBUG" } ]
The time the log was created.
"2023-07-13T21:34:44.816Z"
The log message object.
Show child attributes
The use-readable message.
"This is a log message"
The error message, if there has been an error.
The operation ID.
The severity of the log.
"DEBUG"
Was this page helpful?