---
title: "Get the Dagu Console connection request"
method: GET
path: "/license/connect"
tags: ["system"]
---

# Get the Dagu Console connection request

`GET /license/connect`

## Request

- Base URL: `http://localhost/api/v1`
- URL: `http://localhost/api/v1/license/connect`
- Auth: one of:
  - HTTP bearer
  - HTTP basic
  - none

Returns the state of the latest request to connect this server to Dagu Console. Admin only.

## Query parameters

- `remoteNode` string

## Response `200`

Current connection request

- LicenseConnectStatus: Request to connect this server to Dagu Console
  - `state` 'idle' | 'pending' | 'granted' | 'failed' | 'expired', required: Progress of the request
  - `connectUrl` string: Dagu Console page that approves the request. Its report query parameter names what this server reports once connected, and is absent when it reports nothing
  - `code` string: Short code Dagu Console shows so the approver can confirm the request
  - `expiresAt` string: When the request expires unless approved
  - `error` string: Why the request failed

## Other responses

- `403`: Insufficient permissions
- `default`: Unexpected error

## Changes

> 208 revisions in range; 1 not diffed.

- **2026-10-09** (v1) `e2fde4da38bd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dagucloud/apis/dagu/changes/license/connect/get.md)

---

[API](https://skmtc.dev/dagucloud/apis/dagu.md) - [All operations](https://skmtc.dev/dagucloud/apis/dagu/llms.txt) - [OpenAPI document](https://skmtc.dev/dagucloud/apis/dagu/revisions/742c8ecb39ce?raw)
