| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- # 由 openapi/scripts/generate.php 生成,请勿手改;补充写到 overrides/v3-admin-agent-runs-run.yaml
- get:
- summary: 查看一次提问的研究过程
- tags:
- - admin
- operationId: get_api_v3_admin_agent_runs_run_
- description: |-
- 带回答、给作答 LLM 的证据全文、计划、引用与全部步骤(LLM / 工具调用、节点事件)。
- 实现:`V3\AdminAgentRunController@show`
- security:
- -
- bearerAuth: []
- parameters:
- -
- name: run
- in: path
- required: true
- schema:
- type: string
- description: 'AG-UI runId(uuid)'
- responses:
- 200:
- description: 成功
- content:
- application/json:
- schema:
- type: object
- properties:
- data:
- type: object
- properties:
- run_id:
- type: string
- thread_id:
- type: string
- nullable: true
- thread_title:
- type: string
- nullable: true
- account_type:
- type: string
- enum:
- - user
- - guest
- user:
- type: object
- properties:
- id: { type: string }
- nickName: { type: string }
- userName: { type: string }
- realName: { type: string }
- sn: { type: integer }
- avatar: { type: string }
- roles: { type: array, items: { type: string } }
- nullable: true
- device_id:
- type: string
- nullable: true
- client_ip:
- type: string
- nullable: true
- client:
- type: string
- nullable: true
- app_version:
- type: string
- nullable: true
- question:
- type: string
- route:
- type: string
- enum:
- - question
- - term
- - passage
- - chat
- nullable: true
- deep:
- type: boolean
- improve:
- type: boolean
- status:
- type: string
- latency_ms:
- type: integer
- nullable: true
- tokens_in:
- type: integer
- nullable: true
- tokens_out:
- type: integer
- nullable: true
- llm_calls:
- type: integer
- tool_calls:
- type: integer
- started_at:
- type: string
- nullable: true
- answer:
- type: string
- nullable: true
- description: 仅在部分查询口径下返回。
- evidence:
- type: string
- nullable: true
- description: 仅在部分查询口径下返回。
- plan:
- type: object
- nullable: true
- description: 仅在部分查询口径下返回。
- passage:
- type: object
- nullable: true
- description: 仅在部分查询口径下返回。
- citations:
- type: array
- items:
- type: object
- nullable: true
- description: 仅在部分查询口径下返回。
- error:
- type: string
- nullable: true
- description: 仅在部分查询口径下返回。
- model:
- type: string
- nullable: true
- description: 仅在部分查询口径下返回。
- prompt_version:
- type: string
- nullable: true
- description: 仅在部分查询口径下返回。
- steps:
- type: array
- items:
- type: object
- properties: { seq: { type: integer }, kind: { type: string }, name: { type: string, nullable: true }, args: { type: object, nullable: true }, result: { type: string, nullable: true }, result_chars: { type: integer, nullable: true }, tokens_in: { type: integer, nullable: true }, tokens_out: { type: integer, nullable: true }, ms: { type: integer, nullable: true }, error: { type: string, nullable: true } }
- description: 仅在部分查询口径下返回。
- 401:
- $ref: '../../main.yaml#/components/responses/ProblemUnauthorized'
- 422:
- $ref: '../../main.yaml#/components/responses/ProblemValidation'
|