# /v0/repositories is deprecated

Cursor API deprecated /v0/repositories without giving a shutdown date yet.

Cursor API deprecated the /v0/repositories endpoint without a shutdown date. Calls to this endpoint will eventually fail once the legacy version is removed. The endpoint remains available during the migration window.

## What to use instead

Use GET /v1/repositories, which answers items[].url instead of repositories[].owner, name and repository. Because v0 remains available with no end date and v1 is a public beta, moving off v0 is the team's call.

v0 remains available with no end date, and v1 is a public beta: moving off v0 is the team’s call.

- API: Cursor API (api.cursor.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/v0/repositories`
- Source: [Announcement](https://cursor.com/docs/cloud-agent/api/v0)
- Verified: November 6, 2026, against Cursor API's own pages
- Page: https://www.okapi.bot/providers/cursor/breaking-changes/v0-repositories-is-deprecated/

## Cursor API's words

> This page documents the legacy v0 API. New integrations should use the current Cloud Agents API, which reorganizes resources around a durable agent and per-prompt runs. v0 remains available during the migration window.

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