Status

Token saving capabilities and recommendations

Usage

After a function is initialized you can run /function/run/status to access the current status of the function

POST /function/run/status

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

{
  "status" : {
    "code" : 1,
    "status" : "waiting for user",
    "error": null
  },
  "error": null
}

Possible Status

{
  "status" : "waiting for user",
  "error": null
}

Last updated

Was this helpful?