configure
Configure API key and query settings for CyberQuant data access. View current config or set apiKey, endpoint, and page size.
Instructions
配置 API Key 以访问数据服务,配置文件位于 /.cyberquant/config.json。不传任何参数时为「查询配置状态」(只读,返回是否已配置/endpoint/pageSize,不回显密钥、不写文件);传入任意参数则为「写入配置」——apiKey 首次必填,配置文件已有 apiKey 时可省略(保留现有值);endpoint 默认 https://api.cyberspace2077.com,通常无需传入;pageSize 可选(11000),省略则保留现有配置值。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | API Key,格式为 sk_live_xxx。首次配置必填;配置文件已有 apiKey 时可省略,保留现有值。 | |
| endpoint | No | API Gateway 地址,默认 https://api.cyberspace2077.com | |
| pageSize | No | 单次查询返回条数,默认 200,上限 1000。省略则保留现有配置值。 |