Documentation Index
Fetch the complete documentation index at: https://docs.lemondata.cc/llms.txt
Use this file to discover all available pages before exploring further.
概述
此端点主要服务于 LemonData 的 OpenAI 兼容 Batch API 文件内容检索。 当请求选择 Anthropic Files 兼容模式时,同一路由也可以代理绑定工作区中存储的原始文件内容。注意事项
- 批处理输入文件必须使用
purpose=batch。 - 使用
purpose=batch_output以聚焦生成的输出文件。 completion_window当前为24h。- 输出顺序不保证;始终通过
custom_id匹配。 - 批处理项内不支持流式传输。
示例
请求 / 响应
使用上面的交互式 OpenAPI 面板获取确切的模式。操作提示
- 使用
custom_id进行幂等的下游对账。 - 仅在工作者完成批处理后,期待
output_file_id和error_file_id。 - 批处理定价可能与同步定价不同,因为适用
isBatchRequest=true的折扣规则。