Logs
Token saving capabilities and recommendations
Usage
After a function is initialized you can run /logs to access the message of the server at any moment
POST /function/run/logs
Calling /logs will return
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Required
Description
run_id
string
Unique identifier of the running process.
Response
{
  "logs": {
    "messages" : [
      "message example"
    ],
  },
  "error": null
}{
  "error": "Invalid request"
}Last updated
Was this helpful?