Skip to main content
GET
/
whatsapp
/
flows
/
{flow_id}
/
function_logs
Get function logs
curl --request GET \
  --url https://api.kapso.ai/platform/v1/whatsapp/flows/{flow_id}/function_logs \
  --header 'X-API-Key: <api-key>'
{
  "data": {
    "function_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "function_name": "<string>",
    "logs": [
      {
        "level": "<string>",
        "message": "<string>",
        "logged_at": "2023-11-07T05:31:56Z",
        "stack": "<string>",
        "cf_ray": "<string>",
        "outcome": "<string>"
      }
    ]
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

flow_id
string<uuid>
required

Query Parameters

limit
integer
default:20

Max logs to return (default 20, max 50)

Required range: 1 <= x <= 50

Response

Success

data
object
required