For the complete documentation index, see llms.txt. This page is also available as Markdown.

Proxies

List stored proxies

get

Proxies saved in the launcher store. Credentials (username/password) are never returned.

授权
Authorizationstring必填

Permanent JWT from Settings → Automation API.

响应
200

Proxy summaries.

application/json

Stored proxy without credentials.

idstring可选
namestring可选
kindstring · enum可选可能的值:
hoststring可选
portinteger可选
countrystring可选

Informational tag (e.g. "US").

get/proxies
GET /proxies HTTP/1.1
Host: 127.0.0.1:40325
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "id": "text",
    "name": "text",
    "kind": "socks5",
    "host": "text",
    "port": 1,
    "country": "text"
  }
]

Add a proxy

post

Adds a proxy to the store (deduped by endpoint). Pass proxy as a string, or explicit host/port (+ kind/username/password).

授权
Authorizationstring必填

Permanent JWT from Settings → Automation API.

请求体

A proxy string OR explicit fields (string wins).

proxystring可选

scheme://user:pass@host:port or host:port:user:pass.

kindstring · enum可选可能的值:
hoststring可选
portinteger可选
usernamestring可选
passwordstring可选
namestring可选
countrystring可选
notesstring可选
响应
200

Stored proxy summary.

application/json

Stored proxy without credentials.

idstring可选
namestring可选
kindstring · enum可选可能的值:
hoststring可选
portinteger可选
countrystring可选

Informational tag (e.g. "US").

post/proxies
POST /proxies HTTP/1.1
Host: 127.0.0.1:40325
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 137

{
  "proxy": "text",
  "kind": "socks5",
  "host": "text",
  "port": 1,
  "username": "text",
  "password": "text",
  "name": "text",
  "country": "text",
  "notes": "text"
}
{
  "id": "text",
  "name": "text",
  "kind": "socks5",
  "host": "text",
  "port": 1,
  "country": "text"
}

Delete a proxy

delete
授权
Authorizationstring必填

Permanent JWT from Settings → Automation API.

路径参数
idstring必填
响应
200

Deleted.

application/json
deletedboolean可选Example: true
idstring可选
delete/proxies/{id}
DELETE /proxies/{id} HTTP/1.1
Host: 127.0.0.1:40325
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "deleted": true,
  "id": "text"
}

最后更新于

这有帮助吗?