---
title: "Returns a pending ludo CLI login request for the approval page (Roles: user)"
method: GET
path: "/cli/auth/requests/{user_code}"
tags: ["CLI"]
---

# Returns a pending ludo CLI login request for the approval page (Roles: user)

`GET /cli/auth/requests/{user_code}`

## Path parameters

- `user_code` string, required

## Response `200`

Success

- CliAuthRequest
  - `user_code` string
  - `status` 'pending' | 'approved' | 'denied'
  - `platform` string
  - `client_version` string
  - `requested_at` integer
  - `requester_ip` string
  - `same_ip` boolean — Whether the CLI asked from the same IP address as this browser.
  - `api_access` boolean — Whether the signed-in user's plan includes API access right now.
  - `plan_name` string

## Other responses

- `404` — Unknown or expired code

## Changes

- **2026-09-26** `9fb1b21a5bec` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ludo/apis/ludo-ai-api/changes/cli/auth/requests/:user_code/get.md)

---

[API](https://skmtc.dev/ludo/apis/ludo-ai-api.md) · [All operations](https://skmtc.dev/ludo/apis/ludo-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ludo/apis/ludo-ai-api/revisions/a6d8dcc39b12?raw)
