API 文档
执行工作流。未发布的工作流无法执行。
Error
basic_execution
{ "workflow_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "running", "created_at": 123, "finished_at": 123, "outputs": {}, "error": "<string>", "elapsed_time": 123, "total_tokens": 123, "total_steps": 0 } }
API 密钥认证。
工作流变量的键/值对。文件数组类型变量的值应为 InputFileObjectWorkflow 列表。
显示 子属性
{ "user_query": "Translate this for me.", "target_language": "French" }
响应模式。Cloudflare 阻塞模式超时时间为 100 秒。
streaming
blocking
用户标识符。
工作流执行成功。返回结构取决于 response_mode。
response_mode
application/json
WorkflowCompletionResponse
text/event-stream
ChunkWorkflowEvent
阻塞模式工作流执行的响应。
此页面对您有帮助吗?