# GET /functions/v1beta1/regions/{}/functions/{}/logs stops working

Calls to GET /functions/v1beta1/regions/{}/functions/{}/logs on Scaleway API stopped working on March 12, 2024.

- API: Scaleway API (api.scaleway.com)
- Kind: Endpoint removal
- Announced: February 12, 2024
- Takes effect: March 12, 2024
- Calls after that day: fail
- Calls it hits: `GET /functions/v1beta1/regions/{}/functions/{}/logs`
- Source: [Announcement](https://raw.githubusercontent.com/scaleway/docs-content/main/changelog/february2024/2024-02-12-functions-deprecated-deprecation-of-logs-endpoint.mdx)
- Page: https://www.okapi.bot/providers/scaleway-api/breaking-changes/get-functions-v1beta1-regions-functions-logs-stops-working/

## What to use instead

Read function logs from Cockpit (the Serverless Functions Logs dashboard, or Cockpit's Loki query endpoint) instead of the /logs endpoint.

## Scaleway API's words

> Note, the `/logs` endpoint will be fully deprecated in one month, effective March 12, 2024.
