import type { RequestInit, RequestInfo } from "./internal/builtin-types.mjs"; import type { PromiseOrValue, MergedRequestInit, FinalizedRequestInit } from "./internal/types.mjs"; export type { Logger, LogLevel } from "./internal/utils/log.mjs"; import * as Opts from "./internal/request-options.mjs"; import * as Errors from "./core/error.mjs"; import * as Pagination from "./core/pagination.mjs"; import { APIListPageResponse, type CursorPageByNameParams, CursorPageByNameResponse, type CursorPageParams, CursorPageResponse, type CursorPageVectorsParams, CursorPageVectorsResponse } from "./core/pagination.mjs"; import * as Uploads from "./core/uploads.mjs"; import * as API from "./resources/index.mjs"; import { APIPromise } from "./core/api-promise.mjs"; import { AgentConfigCreateParams, AgentConfigCreateResponse, AgentConfigDeleteResponse, AgentConfigListMcpToolsResponse, AgentConfigListParams, AgentConfigListResponse, AgentConfigListResponsesCursorPage, AgentConfigRetrieveResponse, AgentConfigUpdateParams, AgentConfigUpdateResponse, AgentConfigs, RepoSpec } from "./resources/agent-configs.mjs"; import { AnnotationTask, AnnotationTaskBatchUpdateParams, AnnotationTaskBatchUpdateResponse, AnnotationTasks } from "./resources/annotation-tasks.mjs"; import { AgentexCloudBuild, AgentexCloudBuildsCursorPage, Build, BuildCreateParams, BuildListParams, BuildListUndeployedResponse, StreamChunk } from "./resources/build.mjs"; import { Completion, CompletionCreateParams, CompletionCreateParamsNonStreaming, CompletionCreateParamsStreaming, CompletionUsage, Completions } from "./resources/completions.mjs"; import { Credential, CredentialCreateParams, CredentialDeleteResponse, CredentialListParams, CredentialSecret, CredentialUpdateParams, Credentials, CredentialsCursorPage } from "./resources/credentials.mjs"; import { DatasetItem, DatasetItemArchiveResponse, DatasetItemBatchCreateParams, DatasetItemBatchCreateResponse, DatasetItemListParams, DatasetItemRetrieveParams, DatasetItemUpdateParams, DatasetItems, DatasetItemsCursorPage } from "./resources/dataset-items.mjs"; import { Dataset, DatasetArchiveResponse, DatasetCreateParams, DatasetListParams, DatasetRetrieveParams, DatasetUpdateParams, Datasets, DatasetsCursorPage } from "./resources/datasets.mjs"; import { AgentexCloudDeploy, AgentexCloudDeployEvent, AgentexCloudDeploysCursorPage, Deploy, DeployCreateParams, DeployListParams, DeployLogsParams, DeployLogsResponse } from "./resources/deploy.mjs"; import { EvaluationGroup, EvaluationGroupCreateParams, EvaluationGroupListParams, EvaluationGroupMember, EvaluationGroupReplaceParams, EvaluationGroupRetrieveParams, EvaluationGroupRetrieveSchemaParams, EvaluationGroupRetrieveSchemaResponse, EvaluationGroupRowIdentifier, EvaluationGroupUpdateParams, EvaluationGroupViews, EvaluationGroups, EvaluationGroupsCursorPage } from "./resources/evaluation-groups.mjs"; import { Component, Container, EvaluationItem, EvaluationItemExport, EvaluationItemExportParams, EvaluationItemListParams, EvaluationItemRetrieveParams, EvaluationItems, EvaluationItemsCursorPage, ExportFormat, ExportMethod, TaskError } from "./resources/evaluation-items.mjs"; import { Inference, InferenceCreateParams, InferenceCreateResponse, InferenceResponse, InferenceResponseChunk, LaunchInferenceConfiguration } from "./resources/inference.mjs"; import { InferenceModel, InferenceModelAvailability, InferenceModelType, InferenceModelsCursorPage, LaunchVendorConfiguration, LlmEngineVendorConfiguration, ModelCreateParams, ModelDeleteResponse, ModelListParams, ModelUpdateParams, Models } from "./resources/models.mjs"; import { CategoricalQuestion, CategoricalQuestionConfiguration, FormQuestion, FormQuestionConfiguration, FreeTextQuestion, FreeTextQuestionConfiguration, NumberQuestion, NumberQuestionConfiguration, Question, QuestionCreateParams, QuestionListParams, QuestionUpdateParams, Questions, QuestionsCursorPage, RatingQuestion, RatingQuestionConfiguration, TimestampQuestion, TimestampQuestionConfiguration } from "./resources/questions.mjs"; import { ApplyPatchCall, ApplyPatchCallOutput, ApplyPatchTool, ComputerTool, ContainerNetworkPolicyAllowlist, ContainerNetworkPolicyDisabled, ContainerReference, ContainerReferenceParam, Conversation, CustomTool, EasyInputMessage, FileSearchTool, FunctionShellTool, FunctionTool, IncompleteDetails, LocalEnvironment, LocalEnvironmentParam, McpApprovalRequest, OpenAIResponse, OpenAIResponseCodeInterpreterToolCall, OpenAIResponseComputerToolCall, OpenAIResponseCustomToolCall, OpenAIResponseCustomToolCallOutput, OpenAIResponseError, OpenAIResponseFileSearchToolCall, OpenAIResponseFunctionToolCall, OpenAIResponseFunctionWebSearch, OpenAIResponseInputFile, OpenAIResponseInputFileParam, OpenAIResponseInputImage, OpenAIResponseInputImageParam, OpenAIResponseInputText, OpenAIResponseInputTextParam, OpenAIResponseOutputMessage, OpenAIResponseOutputRefusal, OpenAIResponseOutputText, OpenAIResponsePrompt, OpenAIResponseReasoningItem, OpenAIResponseTextConfig, OpenAIResponseUsage, OpenAITypesResponsesResponseInputItemComputerCallOutput, OpenAITypesResponsesResponseInputItemFunctionCallOutput, OpenAITypesResponsesResponseInputItemImageGenerationCall, OpenAITypesResponsesResponseInputItemItemReference, OpenAITypesResponsesResponseInputItemLocalShellCall, OpenAITypesResponsesResponseInputItemLocalShellCallOutput, OpenAITypesResponsesResponseInputItemMcpApprovalResponse, OpenAITypesResponsesResponseInputItemMcpCall, OpenAITypesResponsesResponseInputItemMcpListTools, OpenAITypesResponsesResponseInputItemMessage, OpenAITypesResponsesResponseOutputItemImageGenerationCall, OpenAITypesResponsesResponseOutputItemLocalShellCall, OpenAITypesResponsesResponseOutputItemMcpCall, OpenAITypesResponsesResponseOutputItemMcpListTools, PartReasoningText, Reasoning, ResponseApplyPatchToolCall, ResponseApplyPatchToolCallOutput, ResponseCompactionItem, ResponseCompactionItemParam, ResponseComputerToolCallOutputScreenshot, ResponseCreateParams, ResponseCreateResponse, ResponseFunctionShellToolCall, ResponseFunctionShellToolCallOutput, Responses, ShellCall, ShellCallOutput, ToolChoiceAllowed, ToolChoiceApplyPatch, ToolChoiceCustom, ToolChoiceFunction, ToolChoiceMcp, ToolChoiceShell, ToolChoiceTypes, WebSearchPreviewTool, WebSearchTool } from "./resources/responses.mjs"; import { CloudSecret, CloudSecretsCursorPage, SecretCreateParams, SecretListParams, SecretUpdateParams, Secrets } from "./resources/secrets.mjs"; import { ApprovalStatus, AssessmentType, SpanAssessment, SpanAssessmentCreateParams, SpanAssessmentDeleteResponse, SpanAssessmentListParams, SpanAssessmentRetrieveParams, SpanAssessmentUpdateParams, SpanAssessments, SpanAssessmentsAPIListPage } from "./resources/span-assessments.mjs"; import { APIListSpan, Span, SpanBatchCreate, SpanBatchParams, SpanCreate, SpanCreateParams, SpanSearchParams, SpanStatus, SpanType, SpanUpdateParams, SpanUpsertBatchParams, Spans, SpansCursorPage } from "./resources/spans.mjs"; import { Chat } from "./resources/chat/chat.mjs"; import { EvaluationDashboard, EvaluationDashboardCreateParams, EvaluationDashboardListParams, EvaluationDashboardRetrieveParams, EvaluationDashboardUpdateParams, EvaluationDashboards, EvaluationDashboardsCursorPage } from "./resources/evaluation-dashboards/evaluation-dashboards.mjs"; import { AndEvaluationRunCondition, AutoEvaluationAgentTaskRequestWithItemLocator, EqEvaluationRunCondition, Evaluation, EvaluationCreateParams, EvaluationFilterParams, EvaluationListParams, EvaluationRetrieveParams, EvaluationRetrieveSchemaParams, EvaluationRetrieveTaxonomyResponse, EvaluationSchemaResponse, EvaluationTask, EvaluationTasksProgressSchema, EvaluationUpdateParams, EvaluationViews, Evaluations, EvaluationsCursorPage, GtEvaluationRunCondition, GteEvaluationRunCondition, InEvaluationRunCondition, IsNotNullEvaluationRunCondition, IsNullEvaluationRunCondition, ItemLocator, ItemLocatorTemplate, LtEvaluationRunCondition, LteEvaluationRunCondition, NeEvaluationRunCondition, NotEvaluationRunCondition, NotInEvaluationRunCondition, OrEvaluationRunCondition, PaginatedListEvaluation } from "./resources/evaluations/evaluations.mjs"; import { FileCreateParams, FileDeleteParams, FileDeleteResponse, FileImportFromCloudParams, FileImportFromCloudResponse, FileListParams, FileRetrieveParams, FileUpdateParams, Files, SGPFile, SGPFilesCursorPage } from "./resources/files/files.mjs"; import { RestoreRequest, RubricArchiveResponse, RubricCreateParams, RubricListParams, RubricResponse, RubricResponsesCursorPage, RubricUpdateParams, Rubrics } from "./resources/rubrics/rubrics.mjs"; import { EmbeddingConfig, EmbeddingConfigBase, EmbeddingConfigModelsAPI, EmbeddingModelName, TextContent, VectorStore, VectorStoreConfigureParams, VectorStoreCountParams, VectorStoreCountResponse, VectorStoreCreateParams, VectorStoreDeleteParams, VectorStoreDeleteResponse, VectorStoreDropResponse, VectorStoreListParams, VectorStoreQueryParams, VectorStoreQueryResponse, VectorStoreUpsertParams, VectorStoreUpsertResponse, VectorStores, VectorStoresCursorPageByName } from "./resources/vector-stores/vector-stores.mjs"; import { type Fetch } from "./internal/builtin-types.mjs"; import { HeadersLike, NullableHeaders } from "./internal/headers.mjs"; import { FinalRequestOptions, RequestOptions } from "./internal/request-options.mjs"; import { type LogLevel, type Logger } from "./internal/utils/log.mjs"; declare const environments: { production: string; 'production-multitenant': string; staging: string; development: string; local: string; }; type Environment = keyof typeof environments; export interface ClientOptions { /** * Defaults to process.env['SGP_API_KEY']. */ apiKey?: string | undefined; /** * Defaults to process.env['SGP_ACCOUNT_ID']. */ accountID?: string | undefined; /** * Specifies the environment to use for the API. * * Each environment maps to a different base URL: * - `production` corresponds to `https://api.egp.scale.com` * - `production-multitenant` corresponds to `https://api.sgp.scale.com` * - `staging` corresponds to `https://api.staging-sgp.scale.com` * - `development` corresponds to `https://api.dev-sgp.scale.com` * - `local` corresponds to `http://127.0.0.1:5003/public` */ environment?: Environment | undefined; /** * Override the default base URL for the API, e.g., "https://api.example.com/v2/" * * Defaults to process.env['SGP_CLIENT_BASE_URL']. */ baseURL?: string | null | undefined; /** * The maximum amount of time (in milliseconds) that the client should wait for a response * from the server before timing out a single request. * * Note that request timeouts are retried by default, so in a worst-case scenario you may wait * much longer than this timeout before the promise succeeds or fails. * * @unit milliseconds */ timeout?: number | undefined; /** * Additional `RequestInit` options to be passed to `fetch` calls. * Properties will be overridden by per-request `fetchOptions`. */ fetchOptions?: MergedRequestInit | undefined; /** * Specify a custom `fetch` function implementation. * * If not provided, we expect that `fetch` is defined globally. */ fetch?: Fetch | undefined; /** * The maximum number of times that the client will retry a request in case of a * temporary failure, like a network error or a 5XX error from the server. * * @default 2 */ maxRetries?: number | undefined; /** * Default headers to include with every request to the API. * * These can be removed in individual requests by explicitly setting the * header to `null` in request options. */ defaultHeaders?: HeadersLike | undefined; /** * Default query parameters to include with every request to the API. * * These can be removed in individual requests by explicitly setting the * param to `undefined` in request options. */ defaultQuery?: Record | undefined; /** * Set the log level. * * Defaults to process.env['SGP_CLIENT_LOG'] or 'warn' if it isn't set. */ logLevel?: LogLevel | undefined; /** * Set the logger. * * Defaults to globalThis.console. */ logger?: Logger | undefined; } /** * API Client for interfacing with the Scale GP API. */ export declare class SGPClient { #private; apiKey: string; accountID: string; baseURL: string; maxRetries: number; timeout: number; logger: Logger; logLevel: LogLevel | undefined; fetchOptions: MergedRequestInit | undefined; private fetch; protected idempotencyHeader?: string; private _options; /** * API Client for interfacing with the Scale GP API. * * @param {string | undefined} [opts.apiKey=process.env['SGP_API_KEY'] ?? undefined] * @param {string | undefined} [opts.accountID=process.env['SGP_ACCOUNT_ID'] ?? undefined] * @param {Environment} [opts.environment=production] - Specifies the environment URL to use for the API. * @param {string} [opts.baseURL=process.env['SGP_CLIENT_BASE_URL'] ?? https://api.egp.scale.com] - Override the default base URL for the API. * @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out. * @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls. * @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation. * @param {number} [opts.maxRetries=2] - The maximum number of times the client will retry a request. * @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API. * @param {Record} opts.defaultQuery - Default query parameters to include with every request to the API. */ constructor({ baseURL, apiKey, accountID, ...opts }?: ClientOptions); /** * Create a new client instance re-using the same options given to the current client with optional overriding. */ withOptions(options: Partial): this; protected defaultQuery(): Record | undefined; protected validateHeaders({ values, nulls }: NullableHeaders): void; protected authHeaders(opts: FinalRequestOptions): Promise; protected stringifyQuery(query: object | Record): string; private getUserAgent; protected defaultIdempotencyKey(): string; protected makeStatusError(status: number, error: Object, message: string | undefined, headers: Headers): Errors.APIError; buildURL(path: string, query: Record | null | undefined, defaultBaseURL?: string | undefined): string; /** * Used as a callback for mutating the given `FinalRequestOptions` object. */ protected prepareOptions(options: FinalRequestOptions): Promise; /** * Used as a callback for mutating the given `RequestInit` object. * * This is useful for cases where you want to add certain headers based off of * the request properties, e.g. `method` or `url`. */ protected prepareRequest(request: RequestInit, { url, options }: { url: string; options: FinalRequestOptions; }): Promise; get(path: string, opts?: PromiseOrValue): APIPromise; post(path: string, opts?: PromiseOrValue): APIPromise; patch(path: string, opts?: PromiseOrValue): APIPromise; put(path: string, opts?: PromiseOrValue): APIPromise; delete(path: string, opts?: PromiseOrValue): APIPromise; private methodRequest; request(options: PromiseOrValue, remainingRetries?: number | null): APIPromise; private makeRequest; getAPIList = Pagination.AbstractPage>(path: string, Page: new (...args: any[]) => PageClass, opts?: PromiseOrValue): Pagination.PagePromise; requestAPIList = Pagination.AbstractPage>(Page: new (...args: ConstructorParameters) => PageClass, options: PromiseOrValue): Pagination.PagePromise; fetchWithTimeout(url: RequestInfo, init: RequestInit | undefined, ms: number, controller: AbortController): Promise; private shouldRetry; private retryRequest; private calculateDefaultRetryTimeoutMillis; buildRequest(inputOptions: FinalRequestOptions, { retryCount }?: { retryCount?: number; }): Promise<{ req: FinalizedRequestInit; url: string; timeout: number; }>; private buildHeaders; private _makeAbort; private buildBody; static SGPClient: typeof SGPClient; static DEFAULT_TIMEOUT: number; static SGPClientError: typeof Errors.SGPClientError; static APIError: typeof Errors.APIError; static APIConnectionError: typeof Errors.APIConnectionError; static APIConnectionTimeoutError: typeof Errors.APIConnectionTimeoutError; static APIUserAbortError: typeof Errors.APIUserAbortError; static NotFoundError: typeof Errors.NotFoundError; static ConflictError: typeof Errors.ConflictError; static RateLimitError: typeof Errors.RateLimitError; static BadRequestError: typeof Errors.BadRequestError; static AuthenticationError: typeof Errors.AuthenticationError; static InternalServerError: typeof Errors.InternalServerError; static PermissionDeniedError: typeof Errors.PermissionDeniedError; static UnprocessableEntityError: typeof Errors.UnprocessableEntityError; static toFile: typeof Uploads.toFile; responses: API.Responses; completions: API.Completions; chat: API.Chat; inference: API.Inference; questions: API.Questions; files: API.Files; models: API.Models; datasets: API.Datasets; datasetItems: API.DatasetItems; evaluations: API.Evaluations; evaluationItems: API.EvaluationItems; rubrics: API.Rubrics; evaluationGroups: API.EvaluationGroups; evaluationDashboards: API.EvaluationDashboards; annotationTasks: API.AnnotationTasks; spans: API.Spans; spanAssessments: API.SpanAssessments; credentials: API.Credentials; build: API.Build; deploy: API.Deploy; secrets: API.Secrets; vectorStores: API.VectorStores; agentConfigs: API.AgentConfigs; } export declare namespace SGPClient { export type RequestOptions = Opts.RequestOptions; export import CursorPage = Pagination.CursorPage; export { type CursorPageParams as CursorPageParams, type CursorPageResponse as CursorPageResponse }; export import CursorPageVectors = Pagination.CursorPageVectors; export { type CursorPageVectorsParams as CursorPageVectorsParams, type CursorPageVectorsResponse as CursorPageVectorsResponse, }; export import CursorPageByName = Pagination.CursorPageByName; export { type CursorPageByNameParams as CursorPageByNameParams, type CursorPageByNameResponse as CursorPageByNameResponse, }; export import APIListPage = Pagination.APIListPage; export { type APIListPageResponse as APIListPageResponse }; export { Responses as Responses, type ApplyPatchCall as ApplyPatchCall, type ApplyPatchCallOutput as ApplyPatchCallOutput, type ApplyPatchTool as ApplyPatchTool, type ComputerTool as ComputerTool, type ContainerNetworkPolicyAllowlist as ContainerNetworkPolicyAllowlist, type ContainerNetworkPolicyDisabled as ContainerNetworkPolicyDisabled, type ContainerReference as ContainerReference, type ContainerReferenceParam as ContainerReferenceParam, type Conversation as Conversation, type CustomTool as CustomTool, type EasyInputMessage as EasyInputMessage, type FileSearchTool as FileSearchTool, type FunctionShellTool as FunctionShellTool, type FunctionTool as FunctionTool, type IncompleteDetails as IncompleteDetails, type LocalEnvironment as LocalEnvironment, type LocalEnvironmentParam as LocalEnvironmentParam, type McpApprovalRequest as McpApprovalRequest, type OpenAIResponse as OpenAIResponse, type OpenAIResponseCodeInterpreterToolCall as OpenAIResponseCodeInterpreterToolCall, type OpenAIResponseComputerToolCall as OpenAIResponseComputerToolCall, type OpenAIResponseCustomToolCall as OpenAIResponseCustomToolCall, type OpenAIResponseCustomToolCallOutput as OpenAIResponseCustomToolCallOutput, type OpenAIResponseError as OpenAIResponseError, type OpenAIResponseFileSearchToolCall as OpenAIResponseFileSearchToolCall, type OpenAIResponseFunctionToolCall as OpenAIResponseFunctionToolCall, type OpenAIResponseFunctionWebSearch as OpenAIResponseFunctionWebSearch, type OpenAIResponseInputFile as OpenAIResponseInputFile, type OpenAIResponseInputFileParam as OpenAIResponseInputFileParam, type OpenAIResponseInputImage as OpenAIResponseInputImage, type OpenAIResponseInputImageParam as OpenAIResponseInputImageParam, type OpenAIResponseInputText as OpenAIResponseInputText, type OpenAIResponseInputTextParam as OpenAIResponseInputTextParam, type OpenAIResponseOutputMessage as OpenAIResponseOutputMessage, type OpenAIResponseOutputRefusal as OpenAIResponseOutputRefusal, type OpenAIResponseOutputText as OpenAIResponseOutputText, type OpenAIResponsePrompt as OpenAIResponsePrompt, type OpenAIResponseReasoningItem as OpenAIResponseReasoningItem, type OpenAIResponseTextConfig as OpenAIResponseTextConfig, type OpenAIResponseUsage as OpenAIResponseUsage, type OpenAITypesResponsesResponseInputItemComputerCallOutput as OpenAITypesResponsesResponseInputItemComputerCallOutput, type OpenAITypesResponsesResponseInputItemFunctionCallOutput as OpenAITypesResponsesResponseInputItemFunctionCallOutput, type OpenAITypesResponsesResponseInputItemImageGenerationCall as OpenAITypesResponsesResponseInputItemImageGenerationCall, type OpenAITypesResponsesResponseInputItemItemReference as OpenAITypesResponsesResponseInputItemItemReference, type OpenAITypesResponsesResponseInputItemLocalShellCall as OpenAITypesResponsesResponseInputItemLocalShellCall, type OpenAITypesResponsesResponseInputItemLocalShellCallOutput as OpenAITypesResponsesResponseInputItemLocalShellCallOutput, type OpenAITypesResponsesResponseInputItemMcpApprovalResponse as OpenAITypesResponsesResponseInputItemMcpApprovalResponse, type OpenAITypesResponsesResponseInputItemMcpCall as OpenAITypesResponsesResponseInputItemMcpCall, type OpenAITypesResponsesResponseInputItemMcpListTools as OpenAITypesResponsesResponseInputItemMcpListTools, type OpenAITypesResponsesResponseInputItemMessage as OpenAITypesResponsesResponseInputItemMessage, type OpenAITypesResponsesResponseOutputItemImageGenerationCall as OpenAITypesResponsesResponseOutputItemImageGenerationCall, type OpenAITypesResponsesResponseOutputItemLocalShellCall as OpenAITypesResponsesResponseOutputItemLocalShellCall, type OpenAITypesResponsesResponseOutputItemMcpCall as OpenAITypesResponsesResponseOutputItemMcpCall, type OpenAITypesResponsesResponseOutputItemMcpListTools as OpenAITypesResponsesResponseOutputItemMcpListTools, type PartReasoningText as PartReasoningText, type Reasoning as Reasoning, type ResponseApplyPatchToolCall as ResponseApplyPatchToolCall, type ResponseApplyPatchToolCallOutput as ResponseApplyPatchToolCallOutput, type ResponseCompactionItem as ResponseCompactionItem, type ResponseCompactionItemParam as ResponseCompactionItemParam, type ResponseComputerToolCallOutputScreenshot as ResponseComputerToolCallOutputScreenshot, type ResponseFunctionShellToolCall as ResponseFunctionShellToolCall, type ResponseFunctionShellToolCallOutput as ResponseFunctionShellToolCallOutput, type ShellCall as ShellCall, type ShellCallOutput as ShellCallOutput, type ToolChoiceAllowed as ToolChoiceAllowed, type ToolChoiceApplyPatch as ToolChoiceApplyPatch, type ToolChoiceCustom as ToolChoiceCustom, type ToolChoiceFunction as ToolChoiceFunction, type ToolChoiceMcp as ToolChoiceMcp, type ToolChoiceShell as ToolChoiceShell, type ToolChoiceTypes as ToolChoiceTypes, type WebSearchPreviewTool as WebSearchPreviewTool, type WebSearchTool as WebSearchTool, type ResponseCreateResponse as ResponseCreateResponse, type ResponseCreateParams as ResponseCreateParams, }; export { Completions as Completions, type Completion as Completion, type CompletionUsage as CompletionUsage, type CompletionCreateParams as CompletionCreateParams, type CompletionCreateParamsNonStreaming as CompletionCreateParamsNonStreaming, type CompletionCreateParamsStreaming as CompletionCreateParamsStreaming, }; export { Chat as Chat }; export { Inference as Inference, type InferenceResponse as InferenceResponse, type InferenceResponseChunk as InferenceResponseChunk, type LaunchInferenceConfiguration as LaunchInferenceConfiguration, type InferenceCreateResponse as InferenceCreateResponse, type InferenceCreateParams as InferenceCreateParams, }; export { Questions as Questions, type CategoricalQuestion as CategoricalQuestion, type CategoricalQuestionConfiguration as CategoricalQuestionConfiguration, type FormQuestion as FormQuestion, type FormQuestionConfiguration as FormQuestionConfiguration, type FreeTextQuestion as FreeTextQuestion, type FreeTextQuestionConfiguration as FreeTextQuestionConfiguration, type NumberQuestion as NumberQuestion, type NumberQuestionConfiguration as NumberQuestionConfiguration, type Question as Question, type RatingQuestion as RatingQuestion, type RatingQuestionConfiguration as RatingQuestionConfiguration, type TimestampQuestion as TimestampQuestion, type TimestampQuestionConfiguration as TimestampQuestionConfiguration, type QuestionsCursorPage as QuestionsCursorPage, type QuestionCreateParams as QuestionCreateParams, type QuestionUpdateParams as QuestionUpdateParams, type QuestionListParams as QuestionListParams, }; export { Files as Files, type SGPFile as SGPFile, type FileDeleteResponse as FileDeleteResponse, type FileImportFromCloudResponse as FileImportFromCloudResponse, type SGPFilesCursorPage as SGPFilesCursorPage, type FileCreateParams as FileCreateParams, type FileRetrieveParams as FileRetrieveParams, type FileUpdateParams as FileUpdateParams, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, type FileImportFromCloudParams as FileImportFromCloudParams, }; export { Models as Models, type InferenceModel as InferenceModel, type InferenceModelAvailability as InferenceModelAvailability, type InferenceModelType as InferenceModelType, type LaunchVendorConfiguration as LaunchVendorConfiguration, type LlmEngineVendorConfiguration as LlmEngineVendorConfiguration, type ModelDeleteResponse as ModelDeleteResponse, type InferenceModelsCursorPage as InferenceModelsCursorPage, type ModelCreateParams as ModelCreateParams, type ModelUpdateParams as ModelUpdateParams, type ModelListParams as ModelListParams, }; export { Datasets as Datasets, type Dataset as Dataset, type DatasetArchiveResponse as DatasetArchiveResponse, type DatasetsCursorPage as DatasetsCursorPage, type DatasetCreateParams as DatasetCreateParams, type DatasetRetrieveParams as DatasetRetrieveParams, type DatasetUpdateParams as DatasetUpdateParams, type DatasetListParams as DatasetListParams, }; export { DatasetItems as DatasetItems, type DatasetItem as DatasetItem, type DatasetItemArchiveResponse as DatasetItemArchiveResponse, type DatasetItemBatchCreateResponse as DatasetItemBatchCreateResponse, type DatasetItemsCursorPage as DatasetItemsCursorPage, type DatasetItemRetrieveParams as DatasetItemRetrieveParams, type DatasetItemUpdateParams as DatasetItemUpdateParams, type DatasetItemListParams as DatasetItemListParams, type DatasetItemBatchCreateParams as DatasetItemBatchCreateParams, }; export { Evaluations as Evaluations, type AndEvaluationRunCondition as AndEvaluationRunCondition, type AutoEvaluationAgentTaskRequestWithItemLocator as AutoEvaluationAgentTaskRequestWithItemLocator, type EqEvaluationRunCondition as EqEvaluationRunCondition, type Evaluation as Evaluation, type EvaluationSchemaResponse as EvaluationSchemaResponse, type EvaluationTask as EvaluationTask, type EvaluationTasksProgressSchema as EvaluationTasksProgressSchema, type EvaluationViews as EvaluationViews, type GtEvaluationRunCondition as GtEvaluationRunCondition, type GteEvaluationRunCondition as GteEvaluationRunCondition, type InEvaluationRunCondition as InEvaluationRunCondition, type IsNotNullEvaluationRunCondition as IsNotNullEvaluationRunCondition, type IsNullEvaluationRunCondition as IsNullEvaluationRunCondition, type ItemLocator as ItemLocator, type ItemLocatorTemplate as ItemLocatorTemplate, type LtEvaluationRunCondition as LtEvaluationRunCondition, type LteEvaluationRunCondition as LteEvaluationRunCondition, type NeEvaluationRunCondition as NeEvaluationRunCondition, type NotEvaluationRunCondition as NotEvaluationRunCondition, type NotInEvaluationRunCondition as NotInEvaluationRunCondition, type OrEvaluationRunCondition as OrEvaluationRunCondition, type PaginatedListEvaluation as PaginatedListEvaluation, type EvaluationRetrieveTaxonomyResponse as EvaluationRetrieveTaxonomyResponse, type EvaluationsCursorPage as EvaluationsCursorPage, type EvaluationCreateParams as EvaluationCreateParams, type EvaluationRetrieveParams as EvaluationRetrieveParams, type EvaluationUpdateParams as EvaluationUpdateParams, type EvaluationListParams as EvaluationListParams, type EvaluationFilterParams as EvaluationFilterParams, type EvaluationRetrieveSchemaParams as EvaluationRetrieveSchemaParams, }; export { EvaluationItems as EvaluationItems, type Component as Component, type Container as Container, type EvaluationItem as EvaluationItem, type EvaluationItemExport as EvaluationItemExport, type ExportFormat as ExportFormat, type ExportMethod as ExportMethod, type TaskError as TaskError, type EvaluationItemsCursorPage as EvaluationItemsCursorPage, type EvaluationItemRetrieveParams as EvaluationItemRetrieveParams, type EvaluationItemListParams as EvaluationItemListParams, type EvaluationItemExportParams as EvaluationItemExportParams, }; export { Rubrics as Rubrics, type RestoreRequest as RestoreRequest, type RubricResponse as RubricResponse, type RubricArchiveResponse as RubricArchiveResponse, type RubricResponsesCursorPage as RubricResponsesCursorPage, type RubricCreateParams as RubricCreateParams, type RubricUpdateParams as RubricUpdateParams, type RubricListParams as RubricListParams, }; export { EvaluationGroups as EvaluationGroups, type EvaluationGroup as EvaluationGroup, type EvaluationGroupMember as EvaluationGroupMember, type EvaluationGroupRowIdentifier as EvaluationGroupRowIdentifier, type EvaluationGroupViews as EvaluationGroupViews, type EvaluationGroupRetrieveSchemaResponse as EvaluationGroupRetrieveSchemaResponse, type EvaluationGroupsCursorPage as EvaluationGroupsCursorPage, type EvaluationGroupCreateParams as EvaluationGroupCreateParams, type EvaluationGroupRetrieveParams as EvaluationGroupRetrieveParams, type EvaluationGroupUpdateParams as EvaluationGroupUpdateParams, type EvaluationGroupListParams as EvaluationGroupListParams, type EvaluationGroupReplaceParams as EvaluationGroupReplaceParams, type EvaluationGroupRetrieveSchemaParams as EvaluationGroupRetrieveSchemaParams, }; export { EvaluationDashboards as EvaluationDashboards, type EvaluationDashboard as EvaluationDashboard, type EvaluationDashboardsCursorPage as EvaluationDashboardsCursorPage, type EvaluationDashboardCreateParams as EvaluationDashboardCreateParams, type EvaluationDashboardRetrieveParams as EvaluationDashboardRetrieveParams, type EvaluationDashboardUpdateParams as EvaluationDashboardUpdateParams, type EvaluationDashboardListParams as EvaluationDashboardListParams, }; export { AnnotationTasks as AnnotationTasks, type AnnotationTask as AnnotationTask, type AnnotationTaskBatchUpdateResponse as AnnotationTaskBatchUpdateResponse, type AnnotationTaskBatchUpdateParams as AnnotationTaskBatchUpdateParams, }; export { Spans as Spans, type APIListSpan as APIListSpan, type Span as Span, type SpanBatchCreate as SpanBatchCreate, type SpanCreate as SpanCreate, type SpanStatus as SpanStatus, type SpanType as SpanType, type SpansCursorPage as SpansCursorPage, type SpanCreateParams as SpanCreateParams, type SpanUpdateParams as SpanUpdateParams, type SpanBatchParams as SpanBatchParams, type SpanSearchParams as SpanSearchParams, type SpanUpsertBatchParams as SpanUpsertBatchParams, }; export { SpanAssessments as SpanAssessments, type ApprovalStatus as ApprovalStatus, type AssessmentType as AssessmentType, type SpanAssessment as SpanAssessment, type SpanAssessmentDeleteResponse as SpanAssessmentDeleteResponse, type SpanAssessmentsAPIListPage as SpanAssessmentsAPIListPage, type SpanAssessmentCreateParams as SpanAssessmentCreateParams, type SpanAssessmentRetrieveParams as SpanAssessmentRetrieveParams, type SpanAssessmentUpdateParams as SpanAssessmentUpdateParams, type SpanAssessmentListParams as SpanAssessmentListParams, }; export { Credentials as Credentials, type Credential as Credential, type CredentialSecret as CredentialSecret, type CredentialDeleteResponse as CredentialDeleteResponse, type CredentialsCursorPage as CredentialsCursorPage, type CredentialCreateParams as CredentialCreateParams, type CredentialUpdateParams as CredentialUpdateParams, type CredentialListParams as CredentialListParams, }; export { Build as Build, type AgentexCloudBuild as AgentexCloudBuild, type StreamChunk as StreamChunk, type BuildListUndeployedResponse as BuildListUndeployedResponse, type AgentexCloudBuildsCursorPage as AgentexCloudBuildsCursorPage, type BuildCreateParams as BuildCreateParams, type BuildListParams as BuildListParams, }; export { Deploy as Deploy, type AgentexCloudDeploy as AgentexCloudDeploy, type AgentexCloudDeployEvent as AgentexCloudDeployEvent, type DeployLogsResponse as DeployLogsResponse, type AgentexCloudDeploysCursorPage as AgentexCloudDeploysCursorPage, type DeployCreateParams as DeployCreateParams, type DeployListParams as DeployListParams, type DeployLogsParams as DeployLogsParams, }; export { Secrets as Secrets, type CloudSecret as CloudSecret, type CloudSecretsCursorPage as CloudSecretsCursorPage, type SecretCreateParams as SecretCreateParams, type SecretUpdateParams as SecretUpdateParams, type SecretListParams as SecretListParams, }; export { VectorStores as VectorStores, type EmbeddingConfig as EmbeddingConfig, type EmbeddingConfigBase as EmbeddingConfigBase, type EmbeddingConfigModelsAPI as EmbeddingConfigModelsAPI, type EmbeddingModelName as EmbeddingModelName, type TextContent as TextContent, type VectorStore as VectorStore, type VectorStoreDeleteResponse as VectorStoreDeleteResponse, type VectorStoreCountResponse as VectorStoreCountResponse, type VectorStoreDropResponse as VectorStoreDropResponse, type VectorStoreQueryResponse as VectorStoreQueryResponse, type VectorStoreUpsertResponse as VectorStoreUpsertResponse, type VectorStoresCursorPageByName as VectorStoresCursorPageByName, type VectorStoreCreateParams as VectorStoreCreateParams, type VectorStoreListParams as VectorStoreListParams, type VectorStoreDeleteParams as VectorStoreDeleteParams, type VectorStoreConfigureParams as VectorStoreConfigureParams, type VectorStoreCountParams as VectorStoreCountParams, type VectorStoreQueryParams as VectorStoreQueryParams, type VectorStoreUpsertParams as VectorStoreUpsertParams, }; export { AgentConfigs as AgentConfigs, type RepoSpec as RepoSpec, type AgentConfigCreateResponse as AgentConfigCreateResponse, type AgentConfigRetrieveResponse as AgentConfigRetrieveResponse, type AgentConfigUpdateResponse as AgentConfigUpdateResponse, type AgentConfigListResponse as AgentConfigListResponse, type AgentConfigDeleteResponse as AgentConfigDeleteResponse, type AgentConfigListMcpToolsResponse as AgentConfigListMcpToolsResponse, type AgentConfigListResponsesCursorPage as AgentConfigListResponsesCursorPage, type AgentConfigCreateParams as AgentConfigCreateParams, type AgentConfigUpdateParams as AgentConfigUpdateParams, type AgentConfigListParams as AgentConfigListParams, }; export type Identity = API.Identity; } //# sourceMappingURL=client.d.mts.map