(
data: Record<string, unknown>[],
allLocalAgentIds?: string[],
)
| 523 | }, |
| 524 | |
| 525 | publish( |
| 526 | data: Record<string, unknown>[], |
| 527 | allLocalAgentIds?: string[], |
| 528 | ): Promise<ApiResponse<PublishAgentsResponse>> { |
| 529 | // Auth is sent via Authorization header (includeAuth defaults to true) |
| 530 | return request<PublishAgentsResponse>('POST', '/api/agents/publish', { |
| 531 | data, |
| 532 | allLocalAgentIds, |
| 533 | }) |
| 534 | }, |
| 535 | |
| 536 | logout(req: LogoutRequest = {}): Promise<ApiResponse<void>> { |
| 537 | // Auth is sent via Authorization header (includeAuth defaults to true) |