01
身份验证
请在 Authorization 头中以 Bearer 令牌方式发送 API 密钥。
此协议与线上 API 一致。API 密钥只能保存在服务器端,并为每次操作发送唯一的 Idempotency-Key。
请在 Authorization 头中以 Bearer 令牌方式发送 API 密钥。
优化 Context;返回 data.compressed 和详细的使用信息。
通过 Context 优化,将所选模型的生成合并为一次调用。
HTTP 状态码、机器可读的错误代码、消息和 requestId 字段。
POST https://api.aether.tr/v1/compress
Authorization: Bearer <API_KEY>
Idempotency-Key: <UNIQUE_OPERATION_KEY>
Content-Type: application/json
{
"context": [{ "role": "user", "content": "..." }],
"query": "Current user query",
"level": "auto"
}联系团队,将Aether Compress添加到您现有的LLM流程中。