---
title: "Cursor Proxy Route"
method: POST
path: "/cursor/{endpoint}"
tags: ["Cursor Pass-through", "pass-through"]
---

# Cursor Proxy Route

`POST /cursor/{endpoint}`

Pass-through endpoint for the Cursor Cloud Agents API.

Supports all Cursor Cloud Agents endpoints:
- GET    /v0/agents         — List agents
- POST   /v0/agents         — Launch an agent
- GET    /v0/agents/{id}    — Agent status
- GET    /v0/agents/{id}/conversation — Agent conversation
- POST   /v0/agents/{id}/followup    — Add follow-up
- POST   /v0/agents/{id}/stop        — Stop an agent
- DELETE /v0/agents/{id}    — Delete an agent
- GET    /v0/me             — API key info
- GET    /v0/models         — List models
- GET    /v0/repositories   — List GitHub repositories

Uses Basic Authentication (base64-encoded `API_KEY:`).

Credential lookup order:
1. passthrough_endpoint_router (config.yaml deployments with use_in_pass_through)
2. litellm.credential_list (credentials added via UI)
3. CURSOR_API_KEY environment variable

## Path parameters

- `endpoint` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/flock/apis/litellm-api.md) · [All operations](https://skmtc.net/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flock/litellm-api/revisions/8fbaab4fc7c5/schema)
