qovery-typescript-axios 1.1.984 → 1.1.986
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +291 -0
- package/dist/api.d.ts +191 -0
- package/dist/api.js +179 -13
- package/dist/esm/api.d.ts +191 -0
- package/dist/esm/api.js +166 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -636,6 +636,91 @@ export interface AgenticWorkflowResponseList {
|
|
|
636
636
|
*/
|
|
637
637
|
'results'?: Array<AgenticWorkflowResponse>;
|
|
638
638
|
}
|
|
639
|
+
/**
|
|
640
|
+
* One recorded run of an agentic workflow.
|
|
641
|
+
* @export
|
|
642
|
+
* @interface AgenticWorkflowRun
|
|
643
|
+
*/
|
|
644
|
+
export interface AgenticWorkflowRun {
|
|
645
|
+
/**
|
|
646
|
+
* Run ID.
|
|
647
|
+
* @type {string}
|
|
648
|
+
* @memberof AgenticWorkflowRun
|
|
649
|
+
*/
|
|
650
|
+
'id': string;
|
|
651
|
+
/**
|
|
652
|
+
* ID of the workflow the run was requested for. A CLONE_ENVIRONMENT run executes as a fresh clone carrying its own ID, which run history does not report, so this is never the ID of the workflow that actually executed.
|
|
653
|
+
* @type {string}
|
|
654
|
+
* @memberof AgenticWorkflowRun
|
|
655
|
+
*/
|
|
656
|
+
'source_workflow_id': string;
|
|
657
|
+
/**
|
|
658
|
+
*
|
|
659
|
+
* @type {AgenticWorkflowRunTrigger}
|
|
660
|
+
* @memberof AgenticWorkflowRun
|
|
661
|
+
*/
|
|
662
|
+
'trigger': AgenticWorkflowRunTrigger;
|
|
663
|
+
/**
|
|
664
|
+
* Agent prompt captured when the run was requested. It is a snapshot, so later edits to the workflow do not change it. Null when the workflow had no prompt.
|
|
665
|
+
* @type {string}
|
|
666
|
+
* @memberof AgenticWorkflowRun
|
|
667
|
+
*/
|
|
668
|
+
'prompt': string | null;
|
|
669
|
+
/**
|
|
670
|
+
* Time the run was requested.
|
|
671
|
+
* @type {string}
|
|
672
|
+
* @memberof AgenticWorkflowRun
|
|
673
|
+
*/
|
|
674
|
+
'created_at': string;
|
|
675
|
+
/**
|
|
676
|
+
* Time the run was registered in run history, shortly after it was requested. This is not a lifecycle start time: nothing reports when the agent itself started, so this value must not be used to measure a run. Null when it is unknown.
|
|
677
|
+
* @type {string}
|
|
678
|
+
* @memberof AgenticWorkflowRun
|
|
679
|
+
*/
|
|
680
|
+
'recorded_at': string | null;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
*
|
|
686
|
+
* @export
|
|
687
|
+
* @interface AgenticWorkflowRunPaginatedResponseList
|
|
688
|
+
*/
|
|
689
|
+
export interface AgenticWorkflowRunPaginatedResponseList {
|
|
690
|
+
/**
|
|
691
|
+
*
|
|
692
|
+
* @type {number}
|
|
693
|
+
* @memberof AgenticWorkflowRunPaginatedResponseList
|
|
694
|
+
*/
|
|
695
|
+
'page': number;
|
|
696
|
+
/**
|
|
697
|
+
*
|
|
698
|
+
* @type {number}
|
|
699
|
+
* @memberof AgenticWorkflowRunPaginatedResponseList
|
|
700
|
+
*/
|
|
701
|
+
'page_size': number;
|
|
702
|
+
/**
|
|
703
|
+
*
|
|
704
|
+
* @type {Array<AgenticWorkflowRun>}
|
|
705
|
+
* @memberof AgenticWorkflowRunPaginatedResponseList
|
|
706
|
+
*/
|
|
707
|
+
'results'?: Array<AgenticWorkflowRun>;
|
|
708
|
+
}
|
|
709
|
+
/**
|
|
710
|
+
* What triggered the run. MANUAL is reserved for manual runs; no backend producer emits it yet.
|
|
711
|
+
* @export
|
|
712
|
+
* @enum {string}
|
|
713
|
+
*/
|
|
714
|
+
|
|
715
|
+
export const AgenticWorkflowRunTrigger = {
|
|
716
|
+
MANUAL: 'MANUAL',
|
|
717
|
+
SCHEDULE: 'SCHEDULE',
|
|
718
|
+
WEBHOOK: 'WEBHOOK'
|
|
719
|
+
} as const;
|
|
720
|
+
|
|
721
|
+
export type AgenticWorkflowRunTrigger = typeof AgenticWorkflowRunTrigger[keyof typeof AgenticWorkflowRunTrigger];
|
|
722
|
+
|
|
723
|
+
|
|
639
724
|
/**
|
|
640
725
|
*
|
|
641
726
|
* @export
|
|
@@ -20186,6 +20271,44 @@ export interface ListTfVarsFilesFromGitRepo200Response {
|
|
|
20186
20271
|
*/
|
|
20187
20272
|
'results'?: Array<TfVarsFileResponse>;
|
|
20188
20273
|
}
|
|
20274
|
+
/**
|
|
20275
|
+
*
|
|
20276
|
+
* @export
|
|
20277
|
+
* @interface LlmProviderModelResponse
|
|
20278
|
+
*/
|
|
20279
|
+
export interface LlmProviderModelResponse {
|
|
20280
|
+
/**
|
|
20281
|
+
* Anthropic model id, or Bedrock inference profile id
|
|
20282
|
+
* @type {string}
|
|
20283
|
+
* @memberof LlmProviderModelResponse
|
|
20284
|
+
*/
|
|
20285
|
+
'id': string;
|
|
20286
|
+
/**
|
|
20287
|
+
*
|
|
20288
|
+
* @type {string}
|
|
20289
|
+
* @memberof LlmProviderModelResponse
|
|
20290
|
+
*/
|
|
20291
|
+
'display_name': string;
|
|
20292
|
+
/**
|
|
20293
|
+
*
|
|
20294
|
+
* @type {string}
|
|
20295
|
+
* @memberof LlmProviderModelResponse
|
|
20296
|
+
*/
|
|
20297
|
+
'created_at'?: string | null;
|
|
20298
|
+
}
|
|
20299
|
+
/**
|
|
20300
|
+
*
|
|
20301
|
+
* @export
|
|
20302
|
+
* @interface LlmProviderModelResponseList
|
|
20303
|
+
*/
|
|
20304
|
+
export interface LlmProviderModelResponseList {
|
|
20305
|
+
/**
|
|
20306
|
+
*
|
|
20307
|
+
* @type {Array<LlmProviderModelResponse>}
|
|
20308
|
+
* @memberof LlmProviderModelResponseList
|
|
20309
|
+
*/
|
|
20310
|
+
'results': Array<LlmProviderModelResponse>;
|
|
20311
|
+
}
|
|
20189
20312
|
/**
|
|
20190
20313
|
*
|
|
20191
20314
|
* @export
|
|
@@ -29085,6 +29208,57 @@ export const AgenticWorkflowsApiAxiosParamCreator = function (configuration?: Co
|
|
|
29085
29208
|
|
|
29086
29209
|
|
|
29087
29210
|
|
|
29211
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29212
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29213
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29214
|
+
|
|
29215
|
+
return {
|
|
29216
|
+
url: toPathString(localVarUrlObj),
|
|
29217
|
+
options: localVarRequestOptions,
|
|
29218
|
+
};
|
|
29219
|
+
},
|
|
29220
|
+
/**
|
|
29221
|
+
* Returns the runs recorded for this agentic workflow, newest first: sorted by created_at descending, then by id descending. Runs are added as they are triggered, so a run added between two requests shifts the runs after it towards later pages. agenticWorkflowId is matched against source_workflow_id, the workflow a run was requested for. A CLONE_ENVIRONMENT run is listed under that workflow, not under the clone that executed it. There is no lineage resolution either, so a clone\'s own ID returns no runs at all. Only runs that were launched appear here. A trigger that failed before launching, such as one turned away by the rate limiter, leaves no run. Runs that predate this endpoint are not backfilled.
|
|
29222
|
+
* @summary List agentic workflow runs
|
|
29223
|
+
* @param {string} agenticWorkflowId
|
|
29224
|
+
* @param {number} [page] Page number, starting at 1. Increment this value to retrieve subsequent pages of run history, keeping pageSize unchanged.
|
|
29225
|
+
* @param {number} [pageSize] The number of runs to return in the current page. Must be between 1 and 100.
|
|
29226
|
+
* @param {*} [options] Override http request option.
|
|
29227
|
+
* @throws {RequiredError}
|
|
29228
|
+
*/
|
|
29229
|
+
listAgenticWorkflowRunHistory: async (agenticWorkflowId: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29230
|
+
// verify required parameter 'agenticWorkflowId' is not null or undefined
|
|
29231
|
+
assertParamExists('listAgenticWorkflowRunHistory', 'agenticWorkflowId', agenticWorkflowId)
|
|
29232
|
+
const localVarPath = `/agenticWorkflow/{agenticWorkflowId}/runHistory`
|
|
29233
|
+
.replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
|
|
29234
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29235
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29236
|
+
let baseOptions;
|
|
29237
|
+
if (configuration) {
|
|
29238
|
+
baseOptions = configuration.baseOptions;
|
|
29239
|
+
}
|
|
29240
|
+
|
|
29241
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29242
|
+
const localVarHeaderParameter = {} as any;
|
|
29243
|
+
const localVarQueryParameter = {} as any;
|
|
29244
|
+
|
|
29245
|
+
// authentication ApiKeyAuth required
|
|
29246
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
29247
|
+
|
|
29248
|
+
// authentication bearerAuth required
|
|
29249
|
+
// http bearer authentication required
|
|
29250
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29251
|
+
|
|
29252
|
+
if (page !== undefined) {
|
|
29253
|
+
localVarQueryParameter['page'] = page;
|
|
29254
|
+
}
|
|
29255
|
+
|
|
29256
|
+
if (pageSize !== undefined) {
|
|
29257
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
29258
|
+
}
|
|
29259
|
+
|
|
29260
|
+
|
|
29261
|
+
|
|
29088
29262
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29089
29263
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29090
29264
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -29240,6 +29414,21 @@ export const AgenticWorkflowsApiFp = function(configuration?: Configuration) {
|
|
|
29240
29414
|
const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.listAgenticWorkflowDeploymentHistoryV2']?.[localVarOperationServerIndex]?.url;
|
|
29241
29415
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29242
29416
|
},
|
|
29417
|
+
/**
|
|
29418
|
+
* Returns the runs recorded for this agentic workflow, newest first: sorted by created_at descending, then by id descending. Runs are added as they are triggered, so a run added between two requests shifts the runs after it towards later pages. agenticWorkflowId is matched against source_workflow_id, the workflow a run was requested for. A CLONE_ENVIRONMENT run is listed under that workflow, not under the clone that executed it. There is no lineage resolution either, so a clone\'s own ID returns no runs at all. Only runs that were launched appear here. A trigger that failed before launching, such as one turned away by the rate limiter, leaves no run. Runs that predate this endpoint are not backfilled.
|
|
29419
|
+
* @summary List agentic workflow runs
|
|
29420
|
+
* @param {string} agenticWorkflowId
|
|
29421
|
+
* @param {number} [page] Page number, starting at 1. Increment this value to retrieve subsequent pages of run history, keeping pageSize unchanged.
|
|
29422
|
+
* @param {number} [pageSize] The number of runs to return in the current page. Must be between 1 and 100.
|
|
29423
|
+
* @param {*} [options] Override http request option.
|
|
29424
|
+
* @throws {RequiredError}
|
|
29425
|
+
*/
|
|
29426
|
+
async listAgenticWorkflowRunHistory(agenticWorkflowId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowRunPaginatedResponseList>> {
|
|
29427
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAgenticWorkflowRunHistory(agenticWorkflowId, page, pageSize, options);
|
|
29428
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29429
|
+
const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.listAgenticWorkflowRunHistory']?.[localVarOperationServerIndex]?.url;
|
|
29430
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29431
|
+
},
|
|
29243
29432
|
/**
|
|
29244
29433
|
*
|
|
29245
29434
|
* @summary List agentic workflows
|
|
@@ -29337,6 +29526,18 @@ export const AgenticWorkflowsApiFactory = function (configuration?: Configuratio
|
|
|
29337
29526
|
listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2> {
|
|
29338
29527
|
return localVarFp.listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options).then((request) => request(axios, basePath));
|
|
29339
29528
|
},
|
|
29529
|
+
/**
|
|
29530
|
+
* Returns the runs recorded for this agentic workflow, newest first: sorted by created_at descending, then by id descending. Runs are added as they are triggered, so a run added between two requests shifts the runs after it towards later pages. agenticWorkflowId is matched against source_workflow_id, the workflow a run was requested for. A CLONE_ENVIRONMENT run is listed under that workflow, not under the clone that executed it. There is no lineage resolution either, so a clone\'s own ID returns no runs at all. Only runs that were launched appear here. A trigger that failed before launching, such as one turned away by the rate limiter, leaves no run. Runs that predate this endpoint are not backfilled.
|
|
29531
|
+
* @summary List agentic workflow runs
|
|
29532
|
+
* @param {string} agenticWorkflowId
|
|
29533
|
+
* @param {number} [page] Page number, starting at 1. Increment this value to retrieve subsequent pages of run history, keeping pageSize unchanged.
|
|
29534
|
+
* @param {number} [pageSize] The number of runs to return in the current page. Must be between 1 and 100.
|
|
29535
|
+
* @param {*} [options] Override http request option.
|
|
29536
|
+
* @throws {RequiredError}
|
|
29537
|
+
*/
|
|
29538
|
+
listAgenticWorkflowRunHistory(agenticWorkflowId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowRunPaginatedResponseList> {
|
|
29539
|
+
return localVarFp.listAgenticWorkflowRunHistory(agenticWorkflowId, page, pageSize, options).then((request) => request(axios, basePath));
|
|
29540
|
+
},
|
|
29340
29541
|
/**
|
|
29341
29542
|
*
|
|
29342
29543
|
* @summary List agentic workflows
|
|
@@ -29445,6 +29646,20 @@ export class AgenticWorkflowsApi extends BaseAPI {
|
|
|
29445
29646
|
return AgenticWorkflowsApiFp(this.configuration).listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
29446
29647
|
}
|
|
29447
29648
|
|
|
29649
|
+
/**
|
|
29650
|
+
* Returns the runs recorded for this agentic workflow, newest first: sorted by created_at descending, then by id descending. Runs are added as they are triggered, so a run added between two requests shifts the runs after it towards later pages. agenticWorkflowId is matched against source_workflow_id, the workflow a run was requested for. A CLONE_ENVIRONMENT run is listed under that workflow, not under the clone that executed it. There is no lineage resolution either, so a clone\'s own ID returns no runs at all. Only runs that were launched appear here. A trigger that failed before launching, such as one turned away by the rate limiter, leaves no run. Runs that predate this endpoint are not backfilled.
|
|
29651
|
+
* @summary List agentic workflow runs
|
|
29652
|
+
* @param {string} agenticWorkflowId
|
|
29653
|
+
* @param {number} [page] Page number, starting at 1. Increment this value to retrieve subsequent pages of run history, keeping pageSize unchanged.
|
|
29654
|
+
* @param {number} [pageSize] The number of runs to return in the current page. Must be between 1 and 100.
|
|
29655
|
+
* @param {*} [options] Override http request option.
|
|
29656
|
+
* @throws {RequiredError}
|
|
29657
|
+
* @memberof AgenticWorkflowsApi
|
|
29658
|
+
*/
|
|
29659
|
+
public listAgenticWorkflowRunHistory(agenticWorkflowId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
29660
|
+
return AgenticWorkflowsApiFp(this.configuration).listAgenticWorkflowRunHistory(agenticWorkflowId, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
29661
|
+
}
|
|
29662
|
+
|
|
29448
29663
|
/**
|
|
29449
29664
|
*
|
|
29450
29665
|
* @summary List agentic workflows
|
|
@@ -65609,6 +65824,47 @@ export const LLMProvidersApiAxiosParamCreator = function (configuration?: Config
|
|
|
65609
65824
|
|
|
65610
65825
|
|
|
65611
65826
|
|
|
65827
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65828
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65829
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65830
|
+
|
|
65831
|
+
return {
|
|
65832
|
+
url: toPathString(localVarUrlObj),
|
|
65833
|
+
options: localVarRequestOptions,
|
|
65834
|
+
};
|
|
65835
|
+
},
|
|
65836
|
+
/**
|
|
65837
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
65838
|
+
* @summary List the models of an LLM provider
|
|
65839
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65840
|
+
* @param {*} [options] Override http request option.
|
|
65841
|
+
* @throws {RequiredError}
|
|
65842
|
+
*/
|
|
65843
|
+
listLlmProviderModels: async (llmProviderId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
65844
|
+
// verify required parameter 'llmProviderId' is not null or undefined
|
|
65845
|
+
assertParamExists('listLlmProviderModels', 'llmProviderId', llmProviderId)
|
|
65846
|
+
const localVarPath = `/llmProvider/{llmProviderId}/models`
|
|
65847
|
+
.replace(`{${"llmProviderId"}}`, encodeURIComponent(String(llmProviderId)));
|
|
65848
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65849
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
65850
|
+
let baseOptions;
|
|
65851
|
+
if (configuration) {
|
|
65852
|
+
baseOptions = configuration.baseOptions;
|
|
65853
|
+
}
|
|
65854
|
+
|
|
65855
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
65856
|
+
const localVarHeaderParameter = {} as any;
|
|
65857
|
+
const localVarQueryParameter = {} as any;
|
|
65858
|
+
|
|
65859
|
+
// authentication ApiKeyAuth required
|
|
65860
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
65861
|
+
|
|
65862
|
+
// authentication bearerAuth required
|
|
65863
|
+
// http bearer authentication required
|
|
65864
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65865
|
+
|
|
65866
|
+
|
|
65867
|
+
|
|
65612
65868
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65613
65869
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65614
65870
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -65723,6 +65979,19 @@ export const LLMProvidersApiFp = function(configuration?: Configuration) {
|
|
|
65723
65979
|
const localVarOperationServerBasePath = operationServerMap['LLMProvidersApi.getLlmProvider']?.[localVarOperationServerIndex]?.url;
|
|
65724
65980
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65725
65981
|
},
|
|
65982
|
+
/**
|
|
65983
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
65984
|
+
* @summary List the models of an LLM provider
|
|
65985
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
65986
|
+
* @param {*} [options] Override http request option.
|
|
65987
|
+
* @throws {RequiredError}
|
|
65988
|
+
*/
|
|
65989
|
+
async listLlmProviderModels(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderModelResponseList>> {
|
|
65990
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listLlmProviderModels(llmProviderId, options);
|
|
65991
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
65992
|
+
const localVarOperationServerBasePath = operationServerMap['LLMProvidersApi.listLlmProviderModels']?.[localVarOperationServerIndex]?.url;
|
|
65993
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65994
|
+
},
|
|
65726
65995
|
/**
|
|
65727
65996
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
65728
65997
|
* @summary List organization LLM providers
|
|
@@ -65788,6 +66057,16 @@ export const LLMProvidersApiFactory = function (configuration?: Configuration, b
|
|
|
65788
66057
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderResponse> {
|
|
65789
66058
|
return localVarFp.getLlmProvider(llmProviderId, options).then((request) => request(axios, basePath));
|
|
65790
66059
|
},
|
|
66060
|
+
/**
|
|
66061
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
66062
|
+
* @summary List the models of an LLM provider
|
|
66063
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
66064
|
+
* @param {*} [options] Override http request option.
|
|
66065
|
+
* @throws {RequiredError}
|
|
66066
|
+
*/
|
|
66067
|
+
listLlmProviderModels(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderModelResponseList> {
|
|
66068
|
+
return localVarFp.listLlmProviderModels(llmProviderId, options).then((request) => request(axios, basePath));
|
|
66069
|
+
},
|
|
65791
66070
|
/**
|
|
65792
66071
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
65793
66072
|
* @summary List organization LLM providers
|
|
@@ -65858,6 +66137,18 @@ export class LLMProvidersApi extends BaseAPI {
|
|
|
65858
66137
|
return LLMProvidersApiFp(this.configuration).getLlmProvider(llmProviderId, options).then((request) => request(this.axios, this.basePath));
|
|
65859
66138
|
}
|
|
65860
66139
|
|
|
66140
|
+
/**
|
|
66141
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
66142
|
+
* @summary List the models of an LLM provider
|
|
66143
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
66144
|
+
* @param {*} [options] Override http request option.
|
|
66145
|
+
* @throws {RequiredError}
|
|
66146
|
+
* @memberof LLMProvidersApi
|
|
66147
|
+
*/
|
|
66148
|
+
public listLlmProviderModels(llmProviderId: string, options?: RawAxiosRequestConfig) {
|
|
66149
|
+
return LLMProvidersApiFp(this.configuration).listLlmProviderModels(llmProviderId, options).then((request) => request(this.axios, this.basePath));
|
|
66150
|
+
}
|
|
66151
|
+
|
|
65861
66152
|
/**
|
|
65862
66153
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
65863
66154
|
* @summary List organization LLM providers
|
package/dist/api.d.ts
CHANGED
|
@@ -602,6 +602,85 @@ export interface AgenticWorkflowResponseList {
|
|
|
602
602
|
*/
|
|
603
603
|
'results'?: Array<AgenticWorkflowResponse>;
|
|
604
604
|
}
|
|
605
|
+
/**
|
|
606
|
+
* One recorded run of an agentic workflow.
|
|
607
|
+
* @export
|
|
608
|
+
* @interface AgenticWorkflowRun
|
|
609
|
+
*/
|
|
610
|
+
export interface AgenticWorkflowRun {
|
|
611
|
+
/**
|
|
612
|
+
* Run ID.
|
|
613
|
+
* @type {string}
|
|
614
|
+
* @memberof AgenticWorkflowRun
|
|
615
|
+
*/
|
|
616
|
+
'id': string;
|
|
617
|
+
/**
|
|
618
|
+
* ID of the workflow the run was requested for. A CLONE_ENVIRONMENT run executes as a fresh clone carrying its own ID, which run history does not report, so this is never the ID of the workflow that actually executed.
|
|
619
|
+
* @type {string}
|
|
620
|
+
* @memberof AgenticWorkflowRun
|
|
621
|
+
*/
|
|
622
|
+
'source_workflow_id': string;
|
|
623
|
+
/**
|
|
624
|
+
*
|
|
625
|
+
* @type {AgenticWorkflowRunTrigger}
|
|
626
|
+
* @memberof AgenticWorkflowRun
|
|
627
|
+
*/
|
|
628
|
+
'trigger': AgenticWorkflowRunTrigger;
|
|
629
|
+
/**
|
|
630
|
+
* Agent prompt captured when the run was requested. It is a snapshot, so later edits to the workflow do not change it. Null when the workflow had no prompt.
|
|
631
|
+
* @type {string}
|
|
632
|
+
* @memberof AgenticWorkflowRun
|
|
633
|
+
*/
|
|
634
|
+
'prompt': string | null;
|
|
635
|
+
/**
|
|
636
|
+
* Time the run was requested.
|
|
637
|
+
* @type {string}
|
|
638
|
+
* @memberof AgenticWorkflowRun
|
|
639
|
+
*/
|
|
640
|
+
'created_at': string;
|
|
641
|
+
/**
|
|
642
|
+
* Time the run was registered in run history, shortly after it was requested. This is not a lifecycle start time: nothing reports when the agent itself started, so this value must not be used to measure a run. Null when it is unknown.
|
|
643
|
+
* @type {string}
|
|
644
|
+
* @memberof AgenticWorkflowRun
|
|
645
|
+
*/
|
|
646
|
+
'recorded_at': string | null;
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
*
|
|
650
|
+
* @export
|
|
651
|
+
* @interface AgenticWorkflowRunPaginatedResponseList
|
|
652
|
+
*/
|
|
653
|
+
export interface AgenticWorkflowRunPaginatedResponseList {
|
|
654
|
+
/**
|
|
655
|
+
*
|
|
656
|
+
* @type {number}
|
|
657
|
+
* @memberof AgenticWorkflowRunPaginatedResponseList
|
|
658
|
+
*/
|
|
659
|
+
'page': number;
|
|
660
|
+
/**
|
|
661
|
+
*
|
|
662
|
+
* @type {number}
|
|
663
|
+
* @memberof AgenticWorkflowRunPaginatedResponseList
|
|
664
|
+
*/
|
|
665
|
+
'page_size': number;
|
|
666
|
+
/**
|
|
667
|
+
*
|
|
668
|
+
* @type {Array<AgenticWorkflowRun>}
|
|
669
|
+
* @memberof AgenticWorkflowRunPaginatedResponseList
|
|
670
|
+
*/
|
|
671
|
+
'results'?: Array<AgenticWorkflowRun>;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* What triggered the run. MANUAL is reserved for manual runs; no backend producer emits it yet.
|
|
675
|
+
* @export
|
|
676
|
+
* @enum {string}
|
|
677
|
+
*/
|
|
678
|
+
export declare const AgenticWorkflowRunTrigger: {
|
|
679
|
+
readonly MANUAL: "MANUAL";
|
|
680
|
+
readonly SCHEDULE: "SCHEDULE";
|
|
681
|
+
readonly WEBHOOK: "WEBHOOK";
|
|
682
|
+
};
|
|
683
|
+
export type AgenticWorkflowRunTrigger = typeof AgenticWorkflowRunTrigger[keyof typeof AgenticWorkflowRunTrigger];
|
|
605
684
|
/**
|
|
606
685
|
*
|
|
607
686
|
* @export
|
|
@@ -19633,6 +19712,44 @@ export interface ListTfVarsFilesFromGitRepo200Response {
|
|
|
19633
19712
|
*/
|
|
19634
19713
|
'results'?: Array<TfVarsFileResponse>;
|
|
19635
19714
|
}
|
|
19715
|
+
/**
|
|
19716
|
+
*
|
|
19717
|
+
* @export
|
|
19718
|
+
* @interface LlmProviderModelResponse
|
|
19719
|
+
*/
|
|
19720
|
+
export interface LlmProviderModelResponse {
|
|
19721
|
+
/**
|
|
19722
|
+
* Anthropic model id, or Bedrock inference profile id
|
|
19723
|
+
* @type {string}
|
|
19724
|
+
* @memberof LlmProviderModelResponse
|
|
19725
|
+
*/
|
|
19726
|
+
'id': string;
|
|
19727
|
+
/**
|
|
19728
|
+
*
|
|
19729
|
+
* @type {string}
|
|
19730
|
+
* @memberof LlmProviderModelResponse
|
|
19731
|
+
*/
|
|
19732
|
+
'display_name': string;
|
|
19733
|
+
/**
|
|
19734
|
+
*
|
|
19735
|
+
* @type {string}
|
|
19736
|
+
* @memberof LlmProviderModelResponse
|
|
19737
|
+
*/
|
|
19738
|
+
'created_at'?: string | null;
|
|
19739
|
+
}
|
|
19740
|
+
/**
|
|
19741
|
+
*
|
|
19742
|
+
* @export
|
|
19743
|
+
* @interface LlmProviderModelResponseList
|
|
19744
|
+
*/
|
|
19745
|
+
export interface LlmProviderModelResponseList {
|
|
19746
|
+
/**
|
|
19747
|
+
*
|
|
19748
|
+
* @type {Array<LlmProviderModelResponse>}
|
|
19749
|
+
* @memberof LlmProviderModelResponseList
|
|
19750
|
+
*/
|
|
19751
|
+
'results': Array<LlmProviderModelResponse>;
|
|
19752
|
+
}
|
|
19636
19753
|
/**
|
|
19637
19754
|
*
|
|
19638
19755
|
* @export
|
|
@@ -27873,6 +27990,16 @@ export declare const AgenticWorkflowsApiAxiosParamCreator: (configuration?: Conf
|
|
|
27873
27990
|
* @throws {RequiredError}
|
|
27874
27991
|
*/
|
|
27875
27992
|
listAgenticWorkflowDeploymentHistoryV2: (agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27993
|
+
/**
|
|
27994
|
+
* Returns the runs recorded for this agentic workflow, newest first: sorted by created_at descending, then by id descending. Runs are added as they are triggered, so a run added between two requests shifts the runs after it towards later pages. agenticWorkflowId is matched against source_workflow_id, the workflow a run was requested for. A CLONE_ENVIRONMENT run is listed under that workflow, not under the clone that executed it. There is no lineage resolution either, so a clone\'s own ID returns no runs at all. Only runs that were launched appear here. A trigger that failed before launching, such as one turned away by the rate limiter, leaves no run. Runs that predate this endpoint are not backfilled.
|
|
27995
|
+
* @summary List agentic workflow runs
|
|
27996
|
+
* @param {string} agenticWorkflowId
|
|
27997
|
+
* @param {number} [page] Page number, starting at 1. Increment this value to retrieve subsequent pages of run history, keeping pageSize unchanged.
|
|
27998
|
+
* @param {number} [pageSize] The number of runs to return in the current page. Must be between 1 and 100.
|
|
27999
|
+
* @param {*} [options] Override http request option.
|
|
28000
|
+
* @throws {RequiredError}
|
|
28001
|
+
*/
|
|
28002
|
+
listAgenticWorkflowRunHistory: (agenticWorkflowId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27876
28003
|
/**
|
|
27877
28004
|
*
|
|
27878
28005
|
* @summary List agentic workflows
|
|
@@ -27947,6 +28074,16 @@ export declare const AgenticWorkflowsApiFp: (configuration?: Configuration) => {
|
|
|
27947
28074
|
* @throws {RequiredError}
|
|
27948
28075
|
*/
|
|
27949
28076
|
listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2>>;
|
|
28077
|
+
/**
|
|
28078
|
+
* Returns the runs recorded for this agentic workflow, newest first: sorted by created_at descending, then by id descending. Runs are added as they are triggered, so a run added between two requests shifts the runs after it towards later pages. agenticWorkflowId is matched against source_workflow_id, the workflow a run was requested for. A CLONE_ENVIRONMENT run is listed under that workflow, not under the clone that executed it. There is no lineage resolution either, so a clone\'s own ID returns no runs at all. Only runs that were launched appear here. A trigger that failed before launching, such as one turned away by the rate limiter, leaves no run. Runs that predate this endpoint are not backfilled.
|
|
28079
|
+
* @summary List agentic workflow runs
|
|
28080
|
+
* @param {string} agenticWorkflowId
|
|
28081
|
+
* @param {number} [page] Page number, starting at 1. Increment this value to retrieve subsequent pages of run history, keeping pageSize unchanged.
|
|
28082
|
+
* @param {number} [pageSize] The number of runs to return in the current page. Must be between 1 and 100.
|
|
28083
|
+
* @param {*} [options] Override http request option.
|
|
28084
|
+
* @throws {RequiredError}
|
|
28085
|
+
*/
|
|
28086
|
+
listAgenticWorkflowRunHistory(agenticWorkflowId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgenticWorkflowRunPaginatedResponseList>>;
|
|
27950
28087
|
/**
|
|
27951
28088
|
*
|
|
27952
28089
|
* @summary List agentic workflows
|
|
@@ -28021,6 +28158,16 @@ export declare const AgenticWorkflowsApiFactory: (configuration?: Configuration,
|
|
|
28021
28158
|
* @throws {RequiredError}
|
|
28022
28159
|
*/
|
|
28023
28160
|
listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2>;
|
|
28161
|
+
/**
|
|
28162
|
+
* Returns the runs recorded for this agentic workflow, newest first: sorted by created_at descending, then by id descending. Runs are added as they are triggered, so a run added between two requests shifts the runs after it towards later pages. agenticWorkflowId is matched against source_workflow_id, the workflow a run was requested for. A CLONE_ENVIRONMENT run is listed under that workflow, not under the clone that executed it. There is no lineage resolution either, so a clone\'s own ID returns no runs at all. Only runs that were launched appear here. A trigger that failed before launching, such as one turned away by the rate limiter, leaves no run. Runs that predate this endpoint are not backfilled.
|
|
28163
|
+
* @summary List agentic workflow runs
|
|
28164
|
+
* @param {string} agenticWorkflowId
|
|
28165
|
+
* @param {number} [page] Page number, starting at 1. Increment this value to retrieve subsequent pages of run history, keeping pageSize unchanged.
|
|
28166
|
+
* @param {number} [pageSize] The number of runs to return in the current page. Must be between 1 and 100.
|
|
28167
|
+
* @param {*} [options] Override http request option.
|
|
28168
|
+
* @throws {RequiredError}
|
|
28169
|
+
*/
|
|
28170
|
+
listAgenticWorkflowRunHistory(agenticWorkflowId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgenticWorkflowRunPaginatedResponseList>;
|
|
28024
28171
|
/**
|
|
28025
28172
|
*
|
|
28026
28173
|
* @summary List agentic workflows
|
|
@@ -28104,6 +28251,17 @@ export declare class AgenticWorkflowsApi extends BaseAPI {
|
|
|
28104
28251
|
* @memberof AgenticWorkflowsApi
|
|
28105
28252
|
*/
|
|
28106
28253
|
listAgenticWorkflowDeploymentHistoryV2(agenticWorkflowId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentHistoryServicePaginatedResponseListV2, any, {}>>;
|
|
28254
|
+
/**
|
|
28255
|
+
* Returns the runs recorded for this agentic workflow, newest first: sorted by created_at descending, then by id descending. Runs are added as they are triggered, so a run added between two requests shifts the runs after it towards later pages. agenticWorkflowId is matched against source_workflow_id, the workflow a run was requested for. A CLONE_ENVIRONMENT run is listed under that workflow, not under the clone that executed it. There is no lineage resolution either, so a clone\'s own ID returns no runs at all. Only runs that were launched appear here. A trigger that failed before launching, such as one turned away by the rate limiter, leaves no run. Runs that predate this endpoint are not backfilled.
|
|
28256
|
+
* @summary List agentic workflow runs
|
|
28257
|
+
* @param {string} agenticWorkflowId
|
|
28258
|
+
* @param {number} [page] Page number, starting at 1. Increment this value to retrieve subsequent pages of run history, keeping pageSize unchanged.
|
|
28259
|
+
* @param {number} [pageSize] The number of runs to return in the current page. Must be between 1 and 100.
|
|
28260
|
+
* @param {*} [options] Override http request option.
|
|
28261
|
+
* @throws {RequiredError}
|
|
28262
|
+
* @memberof AgenticWorkflowsApi
|
|
28263
|
+
*/
|
|
28264
|
+
listAgenticWorkflowRunHistory(agenticWorkflowId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgenticWorkflowRunPaginatedResponseList, any, {}>>;
|
|
28107
28265
|
/**
|
|
28108
28266
|
*
|
|
28109
28267
|
* @summary List agentic workflows
|
|
@@ -44675,6 +44833,14 @@ export declare const LLMProvidersApiAxiosParamCreator: (configuration?: Configur
|
|
|
44675
44833
|
* @throws {RequiredError}
|
|
44676
44834
|
*/
|
|
44677
44835
|
getLlmProvider: (llmProviderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44836
|
+
/**
|
|
44837
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
44838
|
+
* @summary List the models of an LLM provider
|
|
44839
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
44840
|
+
* @param {*} [options] Override http request option.
|
|
44841
|
+
* @throws {RequiredError}
|
|
44842
|
+
*/
|
|
44843
|
+
listLlmProviderModels: (llmProviderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44678
44844
|
/**
|
|
44679
44845
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
44680
44846
|
* @summary List organization LLM providers
|
|
@@ -44723,6 +44889,14 @@ export declare const LLMProvidersApiFp: (configuration?: Configuration) => {
|
|
|
44723
44889
|
* @throws {RequiredError}
|
|
44724
44890
|
*/
|
|
44725
44891
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderResponse>>;
|
|
44892
|
+
/**
|
|
44893
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
44894
|
+
* @summary List the models of an LLM provider
|
|
44895
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
44896
|
+
* @param {*} [options] Override http request option.
|
|
44897
|
+
* @throws {RequiredError}
|
|
44898
|
+
*/
|
|
44899
|
+
listLlmProviderModels(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmProviderModelResponseList>>;
|
|
44726
44900
|
/**
|
|
44727
44901
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
44728
44902
|
* @summary List organization LLM providers
|
|
@@ -44771,6 +44945,14 @@ export declare const LLMProvidersApiFactory: (configuration?: Configuration, bas
|
|
|
44771
44945
|
* @throws {RequiredError}
|
|
44772
44946
|
*/
|
|
44773
44947
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderResponse>;
|
|
44948
|
+
/**
|
|
44949
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
44950
|
+
* @summary List the models of an LLM provider
|
|
44951
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
44952
|
+
* @param {*} [options] Override http request option.
|
|
44953
|
+
* @throws {RequiredError}
|
|
44954
|
+
*/
|
|
44955
|
+
listLlmProviderModels(llmProviderId: string, options?: RawAxiosRequestConfig): AxiosPromise<LlmProviderModelResponseList>;
|
|
44774
44956
|
/**
|
|
44775
44957
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
44776
44958
|
* @summary List organization LLM providers
|
|
@@ -44825,6 +45007,15 @@ export declare class LLMProvidersApi extends BaseAPI {
|
|
|
44825
45007
|
* @memberof LLMProvidersApi
|
|
44826
45008
|
*/
|
|
44827
45009
|
getLlmProvider(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LlmProviderResponse, any, {}>>;
|
|
45010
|
+
/**
|
|
45011
|
+
* List the models the provider\'s stored credential can reach, fetched live from the provider. CLAUDE lists Anthropic models; BEDROCK lists Anthropic inference profiles in us-east-1. The credential is never returned. A USER provider can only be listed by its owner.
|
|
45012
|
+
* @summary List the models of an LLM provider
|
|
45013
|
+
* @param {string} llmProviderId LLM Provider ID
|
|
45014
|
+
* @param {*} [options] Override http request option.
|
|
45015
|
+
* @throws {RequiredError}
|
|
45016
|
+
* @memberof LLMProvidersApi
|
|
45017
|
+
*/
|
|
45018
|
+
listLlmProviderModels(llmProviderId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LlmProviderModelResponseList, any, {}>>;
|
|
44828
45019
|
/**
|
|
44829
45020
|
* List the LLM providers configured for an organization. Credentials are never returned.
|
|
44830
45021
|
* @summary List organization LLM providers
|