• id: A unique UUID for the query

  • error: error string (required)

Log an error so that CoCalc support can look at it.

In the following example, an explicit message id is provided for future reference.

curl -u sk_abcdefQWERTY090900000000: \
  -d id=34a424dc-1731-4b31-ba3d-fc8a484980d9 \
  -d "error=cannot load library xyz" \
==> {"event":"success",

Note: the above API call will create the following record in the client_error_log database table. This table is not readable via the API and is intended for use by CoCalc support only:

  "error":"cannot load library xyz",