import { AxiosInstance, AxiosRequestConfig } from 'axios'; import * as Models from './models/agent-studio'; /** * AgentStudio Service * Documentation for Agent Studio APIs */ export declare class AgentStudio { private client; constructor(httpClient: AxiosInstance); /** * Create Agent * Creates a new agent with staging version. The agent will be created with an initial staging version that can later be promoted to production. */ createAgent(params: { source?: string; }, requestBody: Models.CreatePublicAgentDTO, options?: AxiosRequestConfig): Promise; /** * List Agents * Lists all active agents for the specified location. locationId is required parameter to ensure optimal performance. Supports pagination using limit and offset. Optionally filter by isPublished=true to return only agents with a published production version. */ getAgents(params: { locationId: string; isPublished?: string; limit: string; offset: string; source?: string; }, options?: AxiosRequestConfig): Promise; /** * Update Agent * Updates a specific agent version by versionId. Supports updating nodes, edges, variables, and configuration. */ updateAgentVersion(params: { versionId: string; source?: string; }, requestBody: Models.UpdatePublicAgentVersionDTO, options?: AxiosRequestConfig): Promise; /** * Update Agent Metadata * Updates agent metadata such as name, description, and status. */ updateAgentMetadata(params: { agentId: string; source?: string; }, requestBody: Models.UpdatePublicAgentMetadataDTO, options?: AxiosRequestConfig): Promise; /** * Delete Agent * Deletes an agent and all its versions. */ deleteAgent(params: { agentId: string; locationId: string; source?: string; }, options?: AxiosRequestConfig): Promise; /** * Get Agent * Gets a specific agent by its ID for the specified location with all its versions. Returns complete agent metadata and all non-deleted versions (draft, staging, production). locationId is required parameter. The agent must have active status. */ getAgentById(params: { agentId: string; locationId: string; source?: string; }, options?: AxiosRequestConfig): Promise; /** * Promote to Production * Promotes a draft version to production. */ promoteAndPublish(params: { versionId: string; source?: string; }, requestBody: Models.PromoteAndPublishDTO, options?: AxiosRequestConfig): Promise; /** * Execute Agent * Executes the specified agent and returns a non-streaming JSON response with the complete agent output. The agent must be in active status and belong to the specified location. locationId is required in the request body. **Session Management:** - For the first message in a new session, do not include the `executionId` in the request payload. - The API will return an `executionId` along with the agent response, which uniquely identifies this conversation session. - To continue the conversation within the same session, include the `executionId` from the previous response in subsequent requests. This allows the agent to maintain conversation context and history across multiple interactions. */ executeAgent(params: { agentId: string; source?: string; }, requestBody: Models.ExecutePublicAgentDTO, options?: AxiosRequestConfig): Promise; /** * List Agents (Deprecated) * **Deprecated endpoint - use GET /agent instead.** Lists all active agents that have a published production version for the specified location. locationId is required parameter. Supports pagination using limit and offset. * @deprecated Deprecated endpoint - use GET /agent instead. Use GET /agent instead instead. */ getAgentsDeprecated(params: { locationId: string; limit: string; offset: string; source?: string; }, options?: AxiosRequestConfig): Promise; /** * Get Agent (Deprecated) * **Deprecated endpoint - use GET /agent/:agentId instead.** Gets a specific agent by its ID for the specified location with all its versions. locationId is required parameter. The agent must have active status. * @deprecated Deprecated endpoint - use GET /agent/:agentId instead. Use GET /agent/:agentId instead instead. */ getAgentByIdDeprecated(params: { agentId: string; locationId: string; source?: string; }, options?: AxiosRequestConfig): Promise; /** * Execute Agent (Deprecated) * **Deprecated endpoint - use POST /agent/:agentId/execute instead.** Executes the specified agent and returns a non-streaming JSON response with the complete agent output. The agent must be in active status and belong to the specified location. locationId is required in the request body. **Session Management:** - For the first message in a new session, do not include the `executionId` in the request payload. - The API will return an `executionId` along with the agent response, which uniquely identifies this conversation session. - To continue the conversation within the same session, include the `executionId` from the previous response in subsequent requests. * @deprecated Deprecated endpoint - use POST /agent/:agentId/execute instead. Use POST /agent/:agentId/execute instead instead. */ executeAgentDeprecated(params: { agentId: string; source?: string; }, requestBody: Models.ExecutePublicAgentDTO, options?: AxiosRequestConfig): Promise; } export default AgentStudio; //# sourceMappingURL=agent-studio.d.ts.map