| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- // @ts-ignore
- /* eslint-disable */
- import request from '@repo/api-client'
- /** 获取智能体运行日志分页列表 POST /api/agent/getAgentRunnerPageList */
- export async function postAgentGetAgentRunnerPageList(
- body: {
- keyword: string
- status: string
- source: string
- pageIndex: number
- pageSize: number
- },
- options?: { [key: string]: any }
- ) {
- return request<{
- isSuccess: boolean
- code: number
- result: {
- currentPage: number
- hasNextPage: boolean
- hasPreviousPage: boolean
- model: {
- agentName?: string
- beginDate?: string
- endDate?: string
- runnerId?: string
- status?: string
- useTime?: number
- }[]
- pageSize: number
- totalCount: number
- totalPages: number
- }
- isAuthorized: boolean
- }>('/api/agent/getAgentRunnerPageList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json'
- },
- data: body,
- ...(options || {})
- })
- }
- /** 获取7天前的智能体运行状态 POST /api/agent/getBefore7DayAgentRunnerStatic */
- export async function postAgentGetBefore7DayAgentRunnerStatic(
- body: {},
- options?: { [key: string]: any }
- ) {
- return request<{
- isSuccess: boolean
- code: number
- result: {
- avg_elapsed_sec: string
- error_total: number
- process_total: number
- run_total: number
- success_total: number
- }
- isAuthorized: boolean
- }>('/api/agent/getBefore7DayAgentRunnerStatic', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json'
- },
- data: body,
- ...(options || {})
- })
- }
|