| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- # 由 openapi/scripts/generate.php 生成,请勿手改;补充写到 overrides/v3-agent-events.yaml
- post:
- summary: 上报一条隐式信号
- tags:
- - agent-events
- operationId: post_api_v3_agent_events
- description: 实现:`V3\AgentEventController@store`
- security:
- - { }
- -
- bearerAuth: []
- requestBody:
- required: true
- content:
- application/json:
- schema:
- type: object
- properties:
- message_id:
- type: string
- description: 'AG-UI 回答消息 id'
- kind:
- type: string
- description: 信号
- enum:
- - copy
- - citation_open
- - regenerate
- - ask_shown
- device_id:
- type: string
- description: '设备匿名 id(uuid)。未登录时必填'
- client:
- type: string
- description: 客户端
- enum:
- - mobile
- - web
- required:
- - message_id
- - kind
- responses:
- 200:
- description: 成功
- content:
- application/json:
- schema:
- type: object
- properties:
- data:
- type: object
- properties:
- message_id:
- type: string
- kind:
- type: string
- created_at:
- type: string
- 422:
- $ref: '../../main.yaml#/components/responses/ProblemValidation'
|