---
title: "获取基本配置"
method: GET
path: "/configs"
tags: ["运行配置"]
---

# 获取基本配置

`GET /configs`

获取基本配置。返回当前运行配置 JSON，包含 port、socks-port、mixed-port、mode、log-level、allow-lan、ipv6、tun 等字段。

## Response `200`

当前运行配置。

---

[API](https://skmtc.net/oom-wg/apis/mihomo-api.md) · [All operations](https://skmtc.net/oom-wg/apis/mihomo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oom-wg/mihomo-api/versions/d1b285042ccc/schema)
