import type { PaginatedAgentList } from "../models/PaginatedAgentList"; import type { WrappedAgent } from "../models/WrappedAgent"; import type { WrappedAgentCreate } from "../models/WrappedAgentCreate"; import type { WrappedAgentUpdate } from "../models/WrappedAgentUpdate"; import type { CancelablePromise } from "../core/CancelablePromise"; export declare class AgentService { /** * Create a new agent * Create a new agent in the workspace with a name and optional description or instructions. * @param requestBody * @returns WrappedAgent Success, including the created agent * @throws ApiError */ static createAgent(requestBody: WrappedAgentCreate): CancelablePromise; /** * Retrieve an existing agent * Retrieve an existing agent by its ID, including its name and current description or instructions. * @param id * @returns WrappedAgent Success, including the retrieved agent * @throws ApiError */ static getAgent(id: string): CancelablePromise; /** * Update an agent * Update an agent's name and/or description. Only the fields provided will be changed. The agent is identified by its ID in the URL. * @param id * @param requestBody * @returns WrappedAgent Success, including the updated agent * @throws ApiError */ static updateAgent(id: string, requestBody: WrappedAgentUpdate): CancelablePromise; /** * Delete an agent * Delete an agent by its ID. * @param id * @returns WrappedAgent Success, including the deleted agent * @throws ApiError */ static deleteAgent(id: string): CancelablePromise; /** * List all agents * List all agents in the workspace. Agents are AI assistants that can be assigned tasks and have customizable instructions. * @param limit Number of results to return per page. * @param offset The initial index from which to return the results. * @returns PaginatedAgentList Success, including a list of agents * @throws ApiError */ static listAgents(limit?: number, offset?: number): CancelablePromise; }