Status

Token saving capabilities and recommendations

Usage

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

POST /agent/status

Calling /logs will return

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Required
Description

agent

string

Agent name

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?