# The Looker API 3.1 stops working

Calls to /api/3.1/* on Looker API stopped working on August 14, 2023.

## What to use instead

Call the API 4.0 (/api/4.0/...); some ids are strings in 4.0, and homepage endpoints are replaced by boards.

- API: Looker API (*.cloud.looker.com)
- Kind: Version retirement
- Announced: June 1, 2022
- Takes effect: August 14, 2023
- Calls after that day: fail
- Calls it hits: `/api/3.1/*`
- Source: [Announcement](https://cloud.google.com/looker/docs/api-3x-deprecation)
- Verified: November 6, 2026, against Looker API's own pages
- Page: https://www.okapi.bot/providers/looker-api/breaking-changes/the-looker-api-3-1-stops-working/

## Looker API's words

> all Looker-hosted instances must upgrade their applications to use 4.0 API endpoints instead of 3.x API endpoints before August 14, 2023. Any functionality relying on 3.x endpoints will cease to work after this change.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
