@crestal/nation-sdk 0.7.27 → 0.7.29
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/README.md +2 -2
- package/api.ts +20 -14
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +19 -13
- package/dist/api.js +10 -10
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AgentApi.md +3 -3
- package/docs/AgentListResponse.md +2 -0
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @crestal/nation-sdk@0.7.
|
|
1
|
+
## @crestal/nation-sdk@0.7.29
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @crestal/nation-sdk@0.7.
|
|
39
|
+
npm install @crestal/nation-sdk@0.7.29 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Nation IntentKit API
|
|
5
5
|
* API for Nation IntentKit services
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.7.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.29
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1014,6 +1014,12 @@ export interface AgentListResponse {
|
|
|
1014
1014
|
* @memberof AgentListResponse
|
|
1015
1015
|
*/
|
|
1016
1016
|
'next_cursor'?: string | null;
|
|
1017
|
+
/**
|
|
1018
|
+
* Total number of agents matching the query conditions
|
|
1019
|
+
* @type {number}
|
|
1020
|
+
* @memberof AgentListResponse
|
|
1021
|
+
*/
|
|
1022
|
+
'total_count': number;
|
|
1017
1023
|
}
|
|
1018
1024
|
/**
|
|
1019
1025
|
* Public information of the agent.
|
|
@@ -3947,17 +3953,17 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3947
3953
|
};
|
|
3948
3954
|
},
|
|
3949
3955
|
/**
|
|
3950
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
3956
|
+
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
3951
3957
|
* @summary Get Agents
|
|
3952
3958
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
3953
3959
|
* @param {string | null} [cursor] Cursor for pagination
|
|
3954
3960
|
* @param {number} [limit] Maximum number of agents to return
|
|
3955
3961
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
3956
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
3962
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
3957
3963
|
* @param {*} [options] Override http request option.
|
|
3958
3964
|
* @throws {RequiredError}
|
|
3959
3965
|
*/
|
|
3960
|
-
getAgents: async (sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3966
|
+
getAgents: async (sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3961
3967
|
const localVarPath = `/agents`;
|
|
3962
3968
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3963
3969
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3986,7 +3992,7 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3986
3992
|
localVarQueryParameter['state'] = state;
|
|
3987
3993
|
}
|
|
3988
3994
|
|
|
3989
|
-
if (tag
|
|
3995
|
+
if (tag) {
|
|
3990
3996
|
localVarQueryParameter['tag'] = tag;
|
|
3991
3997
|
}
|
|
3992
3998
|
|
|
@@ -4465,17 +4471,17 @@ export const AgentApiFp = function(configuration?: Configuration) {
|
|
|
4465
4471
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4466
4472
|
},
|
|
4467
4473
|
/**
|
|
4468
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
4474
|
+
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
4469
4475
|
* @summary Get Agents
|
|
4470
4476
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
4471
4477
|
* @param {string | null} [cursor] Cursor for pagination
|
|
4472
4478
|
* @param {number} [limit] Maximum number of agents to return
|
|
4473
4479
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
4474
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
4480
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
4475
4481
|
* @param {*} [options] Override http request option.
|
|
4476
4482
|
* @throws {RequiredError}
|
|
4477
4483
|
*/
|
|
4478
|
-
async getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>> {
|
|
4484
|
+
async getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>> {
|
|
4479
4485
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAgents(sort, cursor, limit, state, tag, options);
|
|
4480
4486
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4481
4487
|
const localVarOperationServerBasePath = operationServerMap['AgentApi.getAgents']?.[localVarOperationServerIndex]?.url;
|
|
@@ -4675,17 +4681,17 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
|
|
|
4675
4681
|
return localVarFp.getAgentStatistics(aid, options).then((request) => request(axios, basePath));
|
|
4676
4682
|
},
|
|
4677
4683
|
/**
|
|
4678
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
4684
|
+
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
4679
4685
|
* @summary Get Agents
|
|
4680
4686
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
4681
4687
|
* @param {string | null} [cursor] Cursor for pagination
|
|
4682
4688
|
* @param {number} [limit] Maximum number of agents to return
|
|
4683
4689
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
4684
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
4690
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
4685
4691
|
* @param {*} [options] Override http request option.
|
|
4686
4692
|
* @throws {RequiredError}
|
|
4687
4693
|
*/
|
|
4688
|
-
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse> {
|
|
4694
|
+
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse> {
|
|
4689
4695
|
return localVarFp.getAgents(sort, cursor, limit, state, tag, options).then((request) => request(axios, basePath));
|
|
4690
4696
|
},
|
|
4691
4697
|
/**
|
|
@@ -4867,18 +4873,18 @@ export class AgentApi extends BaseAPI {
|
|
|
4867
4873
|
}
|
|
4868
4874
|
|
|
4869
4875
|
/**
|
|
4870
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
4876
|
+
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
4871
4877
|
* @summary Get Agents
|
|
4872
4878
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
4873
4879
|
* @param {string | null} [cursor] Cursor for pagination
|
|
4874
4880
|
* @param {number} [limit] Maximum number of agents to return
|
|
4875
4881
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
4876
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
4882
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
4877
4883
|
* @param {*} [options] Override http request option.
|
|
4878
4884
|
* @throws {RequiredError}
|
|
4879
4885
|
* @memberof AgentApi
|
|
4880
4886
|
*/
|
|
4881
|
-
public getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig) {
|
|
4887
|
+
public getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options?: RawAxiosRequestConfig) {
|
|
4882
4888
|
return AgentApiFp(this.configuration).getAgents(sort, cursor, limit, state, tag, options).then((request) => request(this.axios, this.basePath));
|
|
4883
4889
|
}
|
|
4884
4890
|
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Nation IntentKit API
|
|
3
3
|
* API for Nation IntentKit services
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.7.
|
|
5
|
+
* The version of the OpenAPI document: 0.7.29
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -991,6 +991,12 @@ export interface AgentListResponse {
|
|
|
991
991
|
* @memberof AgentListResponse
|
|
992
992
|
*/
|
|
993
993
|
'next_cursor'?: string | null;
|
|
994
|
+
/**
|
|
995
|
+
* Total number of agents matching the query conditions
|
|
996
|
+
* @type {number}
|
|
997
|
+
* @memberof AgentListResponse
|
|
998
|
+
*/
|
|
999
|
+
'total_count': number;
|
|
994
1000
|
}
|
|
995
1001
|
/**
|
|
996
1002
|
* Public information of the agent.
|
|
@@ -3665,17 +3671,17 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3665
3671
|
*/
|
|
3666
3672
|
getAgentStatistics: (aid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3667
3673
|
/**
|
|
3668
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
3674
|
+
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
3669
3675
|
* @summary Get Agents
|
|
3670
3676
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
3671
3677
|
* @param {string | null} [cursor] Cursor for pagination
|
|
3672
3678
|
* @param {number} [limit] Maximum number of agents to return
|
|
3673
3679
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
3674
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
3680
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
3675
3681
|
* @param {*} [options] Override http request option.
|
|
3676
3682
|
* @throws {RequiredError}
|
|
3677
3683
|
*/
|
|
3678
|
-
getAgents: (sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3684
|
+
getAgents: (sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3679
3685
|
/**
|
|
3680
3686
|
* Get skill messages for a specific agent with cursor-based pagination. **Path Parameters:** * `aid` - Agent ID **Query Parameters:** * `cursor` - Optional cursor for pagination based on message ID * `limit` - Maximum number of messages to return (1-100, default: 20) **Returns:** * `ChatMessagesResponse` - Paginated list of skill messages with metadata **Raises:** * `404` - Agent not found
|
|
3681
3687
|
* @summary Skill History
|
|
@@ -3809,17 +3815,17 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
3809
3815
|
*/
|
|
3810
3816
|
getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentStatistics>>;
|
|
3811
3817
|
/**
|
|
3812
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
3818
|
+
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
3813
3819
|
* @summary Get Agents
|
|
3814
3820
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
3815
3821
|
* @param {string | null} [cursor] Cursor for pagination
|
|
3816
3822
|
* @param {number} [limit] Maximum number of agents to return
|
|
3817
3823
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
3818
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
3824
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
3819
3825
|
* @param {*} [options] Override http request option.
|
|
3820
3826
|
* @throws {RequiredError}
|
|
3821
3827
|
*/
|
|
3822
|
-
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>>;
|
|
3828
|
+
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>>;
|
|
3823
3829
|
/**
|
|
3824
3830
|
* Get skill messages for a specific agent with cursor-based pagination. **Path Parameters:** * `aid` - Agent ID **Query Parameters:** * `cursor` - Optional cursor for pagination based on message ID * `limit` - Maximum number of messages to return (1-100, default: 20) **Returns:** * `ChatMessagesResponse` - Paginated list of skill messages with metadata **Raises:** * `404` - Agent not found
|
|
3825
3831
|
* @summary Skill History
|
|
@@ -3953,17 +3959,17 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
3953
3959
|
*/
|
|
3954
3960
|
getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentStatistics>;
|
|
3955
3961
|
/**
|
|
3956
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
3962
|
+
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
3957
3963
|
* @summary Get Agents
|
|
3958
3964
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
3959
3965
|
* @param {string | null} [cursor] Cursor for pagination
|
|
3960
3966
|
* @param {number} [limit] Maximum number of agents to return
|
|
3961
3967
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
3962
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
3968
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
3963
3969
|
* @param {*} [options] Override http request option.
|
|
3964
3970
|
* @throws {RequiredError}
|
|
3965
3971
|
*/
|
|
3966
|
-
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse>;
|
|
3972
|
+
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse>;
|
|
3967
3973
|
/**
|
|
3968
3974
|
* Get skill messages for a specific agent with cursor-based pagination. **Path Parameters:** * `aid` - Agent ID **Query Parameters:** * `cursor` - Optional cursor for pagination based on message ID * `limit` - Maximum number of messages to return (1-100, default: 20) **Returns:** * `ChatMessagesResponse` - Paginated list of skill messages with metadata **Raises:** * `404` - Agent not found
|
|
3969
3975
|
* @summary Skill History
|
|
@@ -4105,18 +4111,18 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4105
4111
|
*/
|
|
4106
4112
|
getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentStatistics, any, {}>>;
|
|
4107
4113
|
/**
|
|
4108
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
4114
|
+
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
4109
4115
|
* @summary Get Agents
|
|
4110
4116
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
4111
4117
|
* @param {string | null} [cursor] Cursor for pagination
|
|
4112
4118
|
* @param {number} [limit] Maximum number of agents to return
|
|
4113
4119
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
4114
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
4120
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
4115
4121
|
* @param {*} [options] Override http request option.
|
|
4116
4122
|
* @throws {RequiredError}
|
|
4117
4123
|
* @memberof AgentApi
|
|
4118
4124
|
*/
|
|
4119
|
-
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any, {}>>;
|
|
4125
|
+
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any, {}>>;
|
|
4120
4126
|
/**
|
|
4121
4127
|
* Get skill messages for a specific agent with cursor-based pagination. **Path Parameters:** * `aid` - Agent ID **Query Parameters:** * `cursor` - Optional cursor for pagination based on message ID * `limit` - Maximum number of messages to return (1-100, default: 20) **Returns:** * `ChatMessagesResponse` - Paginated list of skill messages with metadata **Raises:** * `404` - Agent not found
|
|
4122
4128
|
* @summary Skill History
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.29
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -666,13 +666,13 @@ var AgentApiAxiosParamCreator = function (configuration) {
|
|
|
666
666
|
});
|
|
667
667
|
},
|
|
668
668
|
/**
|
|
669
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
669
|
+
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
670
670
|
* @summary Get Agents
|
|
671
671
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
672
672
|
* @param {string | null} [cursor] Cursor for pagination
|
|
673
673
|
* @param {number} [limit] Maximum number of agents to return
|
|
674
674
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
675
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
675
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
676
676
|
* @param {*} [options] Override http request option.
|
|
677
677
|
* @throws {RequiredError}
|
|
678
678
|
*/
|
|
@@ -705,7 +705,7 @@ var AgentApiAxiosParamCreator = function (configuration) {
|
|
|
705
705
|
if (state !== undefined) {
|
|
706
706
|
localVarQueryParameter['state'] = state;
|
|
707
707
|
}
|
|
708
|
-
if (tag
|
|
708
|
+
if (tag) {
|
|
709
709
|
localVarQueryParameter['tag'] = tag;
|
|
710
710
|
}
|
|
711
711
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1315,13 +1315,13 @@ var AgentApiFp = function (configuration) {
|
|
|
1315
1315
|
});
|
|
1316
1316
|
},
|
|
1317
1317
|
/**
|
|
1318
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
1318
|
+
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
1319
1319
|
* @summary Get Agents
|
|
1320
1320
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
1321
1321
|
* @param {string | null} [cursor] Cursor for pagination
|
|
1322
1322
|
* @param {number} [limit] Maximum number of agents to return
|
|
1323
1323
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
1324
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
1324
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
1325
1325
|
* @param {*} [options] Override http request option.
|
|
1326
1326
|
* @throws {RequiredError}
|
|
1327
1327
|
*/
|
|
@@ -1625,13 +1625,13 @@ var AgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1625
1625
|
return localVarFp.getAgentStatistics(aid, options).then(function (request) { return request(axios, basePath); });
|
|
1626
1626
|
},
|
|
1627
1627
|
/**
|
|
1628
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
1628
|
+
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
1629
1629
|
* @summary Get Agents
|
|
1630
1630
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
1631
1631
|
* @param {string | null} [cursor] Cursor for pagination
|
|
1632
1632
|
* @param {number} [limit] Maximum number of agents to return
|
|
1633
1633
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
1634
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
1634
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
1635
1635
|
* @param {*} [options] Override http request option.
|
|
1636
1636
|
* @throws {RequiredError}
|
|
1637
1637
|
*/
|
|
@@ -1821,13 +1821,13 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1821
1821
|
return (0, exports.AgentApiFp)(this.configuration).getAgentStatistics(aid, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1822
1822
|
};
|
|
1823
1823
|
/**
|
|
1824
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
1824
|
+
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
1825
1825
|
* @summary Get Agents
|
|
1826
1826
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
1827
1827
|
* @param {string | null} [cursor] Cursor for pagination
|
|
1828
1828
|
* @param {number} [limit] Maximum number of agents to return
|
|
1829
1829
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
1830
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
1830
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
1831
1831
|
* @param {*} [options] Override http request option.
|
|
1832
1832
|
* @throws {RequiredError}
|
|
1833
1833
|
* @memberof AgentApi
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.29
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.29
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.29
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.29
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/AgentApi.md
CHANGED
|
@@ -343,7 +343,7 @@ No authorization required
|
|
|
343
343
|
# **getAgents**
|
|
344
344
|
> AgentListResponse getAgents()
|
|
345
345
|
|
|
346
|
-
Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
346
|
+
Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
347
347
|
|
|
348
348
|
### Example
|
|
349
349
|
|
|
@@ -360,7 +360,7 @@ let sort: AgentSortOption; //Sort order for agents list (optional) (default to u
|
|
|
360
360
|
let cursor: string; //Cursor for pagination (optional) (default to undefined)
|
|
361
361
|
let limit: number; //Maximum number of agents to return (optional) (default to 20)
|
|
362
362
|
let state: AgentState; //Filter agents by state in upstream_extra JSON field (optional) (default to undefined)
|
|
363
|
-
let tag: number
|
|
363
|
+
let tag: Array<number>; //Filter agents by tag IDs in public_extra.tags (optional) (default to undefined)
|
|
364
364
|
|
|
365
365
|
const { status, data } = await apiInstance.getAgents(
|
|
366
366
|
sort,
|
|
@@ -379,7 +379,7 @@ const { status, data } = await apiInstance.getAgents(
|
|
|
379
379
|
| **cursor** | [**string**] | Cursor for pagination | (optional) defaults to undefined|
|
|
380
380
|
| **limit** | [**number**] | Maximum number of agents to return | (optional) defaults to 20|
|
|
381
381
|
| **state** | **AgentState** | Filter agents by state in upstream_extra JSON field | (optional) defaults to undefined|
|
|
382
|
-
| **tag** |
|
|
382
|
+
| **tag** | **Array<number>** | Filter agents by tag IDs in public_extra.tags | (optional) defaults to undefined|
|
|
383
383
|
|
|
384
384
|
|
|
385
385
|
### Return type
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**data** | [**Array<AgentResponse>**](AgentResponse.md) | List of agents | [default to undefined]
|
|
10
10
|
**has_more** | **boolean** | Indicates if there are more items | [default to undefined]
|
|
11
11
|
**next_cursor** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**total_count** | **number** | Total number of agents matching the query conditions | [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -19,6 +20,7 @@ const instance: AgentListResponse = {
|
|
|
19
20
|
data,
|
|
20
21
|
has_more,
|
|
21
22
|
next_cursor,
|
|
23
|
+
total_count,
|
|
22
24
|
};
|
|
23
25
|
```
|
|
24
26
|
|
|
@@ -27,8 +27,8 @@ Name | Type | Description | Notes
|
|
|
27
27
|
**supports_presence_penalty** | **boolean** | | [optional] [default to true]
|
|
28
28
|
**api_base** | **string** | | [optional] [default to undefined]
|
|
29
29
|
**timeout** | **number** | | [optional] [default to 180]
|
|
30
|
-
**created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-
|
|
31
|
-
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-
|
|
30
|
+
**created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-09T05:39:53.922+00:00]
|
|
31
|
+
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-09T05:39:53.922+00:00]
|
|
32
32
|
**provider_name** | **string** | | [default to undefined]
|
|
33
33
|
|
|
34
34
|
## Example
|
package/index.ts
CHANGED