---
title: "Get function logs"
method: GET
path: "/whatsapp/flows/{flow_id}/function_logs"
tags: ["WhatsApp Flows"]
---

# Get function logs

`GET /whatsapp/flows/{flow_id}/function_logs`

Get logs from the data endpoint function.

## Query parameters

- `limit` integer

## Response `200`

Success

- WhatsappFlowFunctionLogsResponse
  - `data` object, required
    - `function_id` string, uuid, required
    - `function_name` string, required
    - `logs` WhatsappFlowFunctionLog[], required
      - `level` string
      - `message` string
      - `logged_at` string, date-time
      - `stack` string, nullable
      - `cf_ray` string, nullable
      - `outcome` string, nullable

## Other responses

- `401` — Missing or invalid API key
- `404` — Resource not found
- `422` — No data endpoint configured

---

[API](https://skmtc.net/kapso/apis/kapso-platform-api.md) · [All operations](https://skmtc.net/kapso/apis/kapso-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kapso/kapso-platform-api/versions/18ff5548a33f/schema)
