@arizeai/phoenix-client 6.13.0 → 6.14.0
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 +27 -0
- package/dist/esm/__generated__/api/v1.d.ts +582 -11
- package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
- package/dist/esm/authFetch.d.ts +30 -0
- package/dist/esm/authFetch.d.ts.map +1 -0
- package/dist/esm/authFetch.js +49 -0
- package/dist/esm/authFetch.js.map +1 -0
- package/dist/esm/errors.d.ts +1 -0
- package/dist/esm/errors.d.ts.map +1 -1
- package/dist/esm/errors.js +2 -0
- package/dist/esm/errors.js.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/spans/logSpans.d.ts.map +1 -1
- package/dist/esm/spans/logSpans.js +32 -9
- package/dist/esm/spans/logSpans.js.map +1 -1
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/src/__generated__/api/v1.d.ts +582 -11
- package/dist/src/__generated__/api/v1.d.ts.map +1 -1
- package/dist/src/authFetch.d.ts +30 -0
- package/dist/src/authFetch.d.ts.map +1 -0
- package/dist/src/authFetch.js +52 -0
- package/dist/src/authFetch.js.map +1 -0
- package/dist/src/errors.d.ts +1 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +1 -0
- package/dist/src/errors.js.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/spans/logSpans.d.ts.map +1 -1
- package/dist/src/spans/logSpans.js +32 -9
- package/dist/src/spans/logSpans.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/docs/overview.mdx +1 -0
- package/package.json +5 -4
- package/src/__generated__/api/v1.ts +582 -11
- package/src/authFetch.ts +87 -0
- package/src/errors.ts +2 -0
- package/src/index.ts +1 -0
- package/src/spans/logSpans.ts +27 -4
|
@@ -14,10 +14,10 @@ export interface paths {
|
|
|
14
14
|
* List annotation configurations
|
|
15
15
|
* @description Retrieve a paginated list of all annotation configurations in the system.
|
|
16
16
|
*/
|
|
17
|
-
get: operations["
|
|
17
|
+
get: operations["listAnnotationConfigs"];
|
|
18
18
|
put?: never;
|
|
19
19
|
/** Create an annotation configuration */
|
|
20
|
-
post: operations["
|
|
20
|
+
post: operations["createAnnotationConfig"];
|
|
21
21
|
delete?: never;
|
|
22
22
|
options?: never;
|
|
23
23
|
head?: never;
|
|
@@ -32,7 +32,7 @@ export interface paths {
|
|
|
32
32
|
cookie?: never;
|
|
33
33
|
};
|
|
34
34
|
/** Get an annotation configuration by ID or name */
|
|
35
|
-
get: operations["
|
|
35
|
+
get: operations["getAnnotationConfig"];
|
|
36
36
|
put?: never;
|
|
37
37
|
post?: never;
|
|
38
38
|
delete?: never;
|
|
@@ -50,10 +50,10 @@ export interface paths {
|
|
|
50
50
|
};
|
|
51
51
|
get?: never;
|
|
52
52
|
/** Update an annotation configuration */
|
|
53
|
-
put: operations["
|
|
53
|
+
put: operations["updateAnnotationConfig"];
|
|
54
54
|
post?: never;
|
|
55
55
|
/** Delete an annotation configuration */
|
|
56
|
-
delete: operations["
|
|
56
|
+
delete: operations["deleteAnnotationConfig"];
|
|
57
57
|
options?: never;
|
|
58
58
|
head?: never;
|
|
59
59
|
patch?: never;
|
|
@@ -1189,7 +1189,7 @@ export interface paths {
|
|
|
1189
1189
|
};
|
|
1190
1190
|
get?: never;
|
|
1191
1191
|
put?: never;
|
|
1192
|
-
/**
|
|
1192
|
+
/** Create span document annotations */
|
|
1193
1193
|
post: operations["annotateSpanDocuments"];
|
|
1194
1194
|
delete?: never;
|
|
1195
1195
|
options?: never;
|
|
@@ -1281,6 +1281,114 @@ export interface paths {
|
|
|
1281
1281
|
patch?: never;
|
|
1282
1282
|
trace?: never;
|
|
1283
1283
|
};
|
|
1284
|
+
"/v1/user/api_keys": {
|
|
1285
|
+
parameters: {
|
|
1286
|
+
query?: never;
|
|
1287
|
+
header?: never;
|
|
1288
|
+
path?: never;
|
|
1289
|
+
cookie?: never;
|
|
1290
|
+
};
|
|
1291
|
+
/**
|
|
1292
|
+
* List the authenticated user's API keys
|
|
1293
|
+
* @description Retrieve the API keys belonging to the currently authenticated user. The keys themselves are not recoverable and are never included in the response.
|
|
1294
|
+
*/
|
|
1295
|
+
get: operations["getUserApiKeys"];
|
|
1296
|
+
put?: never;
|
|
1297
|
+
/**
|
|
1298
|
+
* Create an API key for the authenticated user
|
|
1299
|
+
* @description Create a personal API key for the currently authenticated user. The key inherits the user's role, so it grants no more access than the user already has. Creation requires an access-token session; API keys cannot mint replacement keys. The response contains the key itself, which is shown only once and cannot be retrieved afterwards.
|
|
1300
|
+
*/
|
|
1301
|
+
post: operations["createUserApiKey"];
|
|
1302
|
+
delete?: never;
|
|
1303
|
+
options?: never;
|
|
1304
|
+
head?: never;
|
|
1305
|
+
patch?: never;
|
|
1306
|
+
trace?: never;
|
|
1307
|
+
};
|
|
1308
|
+
"/v1/users/api_keys": {
|
|
1309
|
+
parameters: {
|
|
1310
|
+
query?: never;
|
|
1311
|
+
header?: never;
|
|
1312
|
+
path?: never;
|
|
1313
|
+
cookie?: never;
|
|
1314
|
+
};
|
|
1315
|
+
/**
|
|
1316
|
+
* List all user API keys
|
|
1317
|
+
* @description Retrieve API keys belonging to human users across the organization. System API keys are excluded. Restricted to admins.
|
|
1318
|
+
*/
|
|
1319
|
+
get: operations["getAllUserApiKeys"];
|
|
1320
|
+
put?: never;
|
|
1321
|
+
post?: never;
|
|
1322
|
+
delete?: never;
|
|
1323
|
+
options?: never;
|
|
1324
|
+
head?: never;
|
|
1325
|
+
patch?: never;
|
|
1326
|
+
trace?: never;
|
|
1327
|
+
};
|
|
1328
|
+
"/v1/user/api_keys/{api_key_id}": {
|
|
1329
|
+
parameters: {
|
|
1330
|
+
query?: never;
|
|
1331
|
+
header?: never;
|
|
1332
|
+
path?: never;
|
|
1333
|
+
cookie?: never;
|
|
1334
|
+
};
|
|
1335
|
+
get?: never;
|
|
1336
|
+
put?: never;
|
|
1337
|
+
post?: never;
|
|
1338
|
+
/**
|
|
1339
|
+
* Delete a user API key
|
|
1340
|
+
* @description Permanently revoke a user API key. Users can revoke their own keys, and admins can revoke keys belonging to other users. The key stops working immediately.
|
|
1341
|
+
*/
|
|
1342
|
+
delete: operations["deleteUserApiKey"];
|
|
1343
|
+
options?: never;
|
|
1344
|
+
head?: never;
|
|
1345
|
+
patch?: never;
|
|
1346
|
+
trace?: never;
|
|
1347
|
+
};
|
|
1348
|
+
"/v1/system/api_keys": {
|
|
1349
|
+
parameters: {
|
|
1350
|
+
query?: never;
|
|
1351
|
+
header?: never;
|
|
1352
|
+
path?: never;
|
|
1353
|
+
cookie?: never;
|
|
1354
|
+
};
|
|
1355
|
+
/**
|
|
1356
|
+
* List system API keys
|
|
1357
|
+
* @description Retrieve all system API keys. System keys belong to the system user rather than to any human, so this endpoint is restricted to admins. The keys themselves are not recoverable and are never included in the response.
|
|
1358
|
+
*/
|
|
1359
|
+
get: operations["getSystemApiKeys"];
|
|
1360
|
+
put?: never;
|
|
1361
|
+
/**
|
|
1362
|
+
* Create a system API key
|
|
1363
|
+
* @description Create a system API key. System keys belong to the system user rather than to any human, so this endpoint is restricted to admins. Creation requires an admin access-token session or the configured admin secret; API keys cannot mint keys. The response contains the key itself, which is shown only once and cannot be retrieved afterwards.
|
|
1364
|
+
*/
|
|
1365
|
+
post: operations["createSystemApiKey"];
|
|
1366
|
+
delete?: never;
|
|
1367
|
+
options?: never;
|
|
1368
|
+
head?: never;
|
|
1369
|
+
patch?: never;
|
|
1370
|
+
trace?: never;
|
|
1371
|
+
};
|
|
1372
|
+
"/v1/system/api_keys/{api_key_id}": {
|
|
1373
|
+
parameters: {
|
|
1374
|
+
query?: never;
|
|
1375
|
+
header?: never;
|
|
1376
|
+
path?: never;
|
|
1377
|
+
cookie?: never;
|
|
1378
|
+
};
|
|
1379
|
+
get?: never;
|
|
1380
|
+
put?: never;
|
|
1381
|
+
post?: never;
|
|
1382
|
+
/**
|
|
1383
|
+
* Delete a system API key
|
|
1384
|
+
* @description Permanently revoke a system API key. The key stops working immediately. Restricted to admins.
|
|
1385
|
+
*/
|
|
1386
|
+
delete: operations["deleteSystemApiKey"];
|
|
1387
|
+
options?: never;
|
|
1388
|
+
head?: never;
|
|
1389
|
+
patch?: never;
|
|
1390
|
+
trace?: never;
|
|
1391
|
+
};
|
|
1284
1392
|
"/auth/login": {
|
|
1285
1393
|
parameters: {
|
|
1286
1394
|
query?: never;
|
|
@@ -1653,6 +1761,49 @@ export interface components {
|
|
|
1653
1761
|
*/
|
|
1654
1762
|
auth_method: "ANONYMOUS";
|
|
1655
1763
|
};
|
|
1764
|
+
/** ApiKey */
|
|
1765
|
+
ApiKey: {
|
|
1766
|
+
/** Id */
|
|
1767
|
+
id: string;
|
|
1768
|
+
/** Name */
|
|
1769
|
+
name: string;
|
|
1770
|
+
/** Description */
|
|
1771
|
+
description?: string | null;
|
|
1772
|
+
/**
|
|
1773
|
+
* Created At
|
|
1774
|
+
* Format: date-time
|
|
1775
|
+
*/
|
|
1776
|
+
created_at: string;
|
|
1777
|
+
/** Expires At */
|
|
1778
|
+
expires_at?: string | null;
|
|
1779
|
+
};
|
|
1780
|
+
/** ApiKeyData */
|
|
1781
|
+
ApiKeyData: {
|
|
1782
|
+
/**
|
|
1783
|
+
* Name
|
|
1784
|
+
* @description A human-readable name for the API key.
|
|
1785
|
+
*/
|
|
1786
|
+
name: string;
|
|
1787
|
+
/**
|
|
1788
|
+
* Description
|
|
1789
|
+
* @description An optional description of what the API key is for.
|
|
1790
|
+
*/
|
|
1791
|
+
description?: string | null;
|
|
1792
|
+
/**
|
|
1793
|
+
* Expires At
|
|
1794
|
+
* @description When the API key expires. The key never expires when omitted.
|
|
1795
|
+
*/
|
|
1796
|
+
expires_at?: string | null;
|
|
1797
|
+
};
|
|
1798
|
+
/** ApiKeyUser */
|
|
1799
|
+
ApiKeyUser: {
|
|
1800
|
+
/** Id */
|
|
1801
|
+
id: string;
|
|
1802
|
+
/** Username */
|
|
1803
|
+
username: string;
|
|
1804
|
+
/** Email */
|
|
1805
|
+
email: string | null;
|
|
1806
|
+
};
|
|
1656
1807
|
/**
|
|
1657
1808
|
* AppContext
|
|
1658
1809
|
* @description Per-turn browser clock context for resolving relative time requests.
|
|
@@ -1947,6 +2098,14 @@ export interface components {
|
|
|
1947
2098
|
/** Data */
|
|
1948
2099
|
data: components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"];
|
|
1949
2100
|
};
|
|
2101
|
+
/** CreateApiKeyRequestBody */
|
|
2102
|
+
CreateApiKeyRequestBody: {
|
|
2103
|
+
data: components["schemas"]["ApiKeyData"];
|
|
2104
|
+
};
|
|
2105
|
+
/** CreateApiKeyResponseBody */
|
|
2106
|
+
CreateApiKeyResponseBody: {
|
|
2107
|
+
data: components["schemas"]["CreatedApiKey"];
|
|
2108
|
+
};
|
|
1950
2109
|
/** CreateDatasetLabelRequestBody */
|
|
1951
2110
|
CreateDatasetLabelRequestBody: {
|
|
1952
2111
|
/**
|
|
@@ -2141,6 +2300,27 @@ export interface components {
|
|
|
2141
2300
|
/** Data */
|
|
2142
2301
|
data: components["schemas"]["LocalUser"] | components["schemas"]["OAuth2User"] | components["schemas"]["LDAPUser"];
|
|
2143
2302
|
};
|
|
2303
|
+
/** CreatedApiKey */
|
|
2304
|
+
CreatedApiKey: {
|
|
2305
|
+
/** Id */
|
|
2306
|
+
id: string;
|
|
2307
|
+
/** Name */
|
|
2308
|
+
name: string;
|
|
2309
|
+
/** Description */
|
|
2310
|
+
description?: string | null;
|
|
2311
|
+
/**
|
|
2312
|
+
* Created At
|
|
2313
|
+
* Format: date-time
|
|
2314
|
+
*/
|
|
2315
|
+
created_at: string;
|
|
2316
|
+
/** Expires At */
|
|
2317
|
+
expires_at?: string | null;
|
|
2318
|
+
/**
|
|
2319
|
+
* Key
|
|
2320
|
+
* @description The API key. This is the only time it is returned; it cannot be recovered from the listing endpoints.
|
|
2321
|
+
*/
|
|
2322
|
+
key: string;
|
|
2323
|
+
};
|
|
2144
2324
|
/**
|
|
2145
2325
|
* CustomProviderModelSelection
|
|
2146
2326
|
* @description Chat against a stored custom provider record.
|
|
@@ -2769,6 +2949,13 @@ export interface components {
|
|
|
2769
2949
|
/** Upper Bound */
|
|
2770
2950
|
upper_bound?: number | null;
|
|
2771
2951
|
};
|
|
2952
|
+
/** GetAllUserApiKeysResponseBody */
|
|
2953
|
+
GetAllUserApiKeysResponseBody: {
|
|
2954
|
+
/** Data */
|
|
2955
|
+
data: components["schemas"]["UserApiKey"][];
|
|
2956
|
+
/** Next Cursor */
|
|
2957
|
+
next_cursor: string | null;
|
|
2958
|
+
};
|
|
2772
2959
|
/** GetAnnotationConfigResponseBody */
|
|
2773
2960
|
GetAnnotationConfigResponseBody: {
|
|
2774
2961
|
/** Data */
|
|
@@ -2781,6 +2968,11 @@ export interface components {
|
|
|
2781
2968
|
/** Next Cursor */
|
|
2782
2969
|
next_cursor: string | null;
|
|
2783
2970
|
};
|
|
2971
|
+
/** GetApiKeysResponseBody */
|
|
2972
|
+
GetApiKeysResponseBody: {
|
|
2973
|
+
/** Data */
|
|
2974
|
+
data: components["schemas"]["ApiKey"][];
|
|
2975
|
+
};
|
|
2784
2976
|
/** GetDatasetLabelResponseBody */
|
|
2785
2977
|
GetDatasetLabelResponseBody: {
|
|
2786
2978
|
data: components["schemas"]["DatasetLabel"];
|
|
@@ -5664,6 +5856,23 @@ export interface components {
|
|
|
5664
5856
|
/** Deleted Keys */
|
|
5665
5857
|
deleted_keys: string[];
|
|
5666
5858
|
};
|
|
5859
|
+
/** UserApiKey */
|
|
5860
|
+
UserApiKey: {
|
|
5861
|
+
/** Id */
|
|
5862
|
+
id: string;
|
|
5863
|
+
/** Name */
|
|
5864
|
+
name: string;
|
|
5865
|
+
/** Description */
|
|
5866
|
+
description?: string | null;
|
|
5867
|
+
/**
|
|
5868
|
+
* Created At
|
|
5869
|
+
* Format: date-time
|
|
5870
|
+
*/
|
|
5871
|
+
created_at: string;
|
|
5872
|
+
/** Expires At */
|
|
5873
|
+
expires_at?: string | null;
|
|
5874
|
+
user: components["schemas"]["ApiKeyUser"];
|
|
5875
|
+
};
|
|
5667
5876
|
/**
|
|
5668
5877
|
* UserMessageMetadata
|
|
5669
5878
|
* @description Wire schema for metadata the browser attaches to outgoing user messages.
|
|
@@ -5794,7 +6003,7 @@ export interface components {
|
|
|
5794
6003
|
}
|
|
5795
6004
|
export type $defs = Record<string, never>;
|
|
5796
6005
|
export interface operations {
|
|
5797
|
-
|
|
6006
|
+
listAnnotationConfigs: {
|
|
5798
6007
|
parameters: {
|
|
5799
6008
|
query?: {
|
|
5800
6009
|
/** @description Cursor for pagination (base64-encoded annotation config ID) */
|
|
@@ -5837,7 +6046,7 @@ export interface operations {
|
|
|
5837
6046
|
};
|
|
5838
6047
|
};
|
|
5839
6048
|
};
|
|
5840
|
-
|
|
6049
|
+
createAnnotationConfig: {
|
|
5841
6050
|
parameters: {
|
|
5842
6051
|
query?: never;
|
|
5843
6052
|
header?: never;
|
|
@@ -5879,7 +6088,7 @@ export interface operations {
|
|
|
5879
6088
|
};
|
|
5880
6089
|
};
|
|
5881
6090
|
};
|
|
5882
|
-
|
|
6091
|
+
getAnnotationConfig: {
|
|
5883
6092
|
parameters: {
|
|
5884
6093
|
query?: never;
|
|
5885
6094
|
header?: never;
|
|
@@ -5920,7 +6129,7 @@ export interface operations {
|
|
|
5920
6129
|
};
|
|
5921
6130
|
};
|
|
5922
6131
|
};
|
|
5923
|
-
|
|
6132
|
+
updateAnnotationConfig: {
|
|
5924
6133
|
parameters: {
|
|
5925
6134
|
query?: never;
|
|
5926
6135
|
header?: never;
|
|
@@ -5965,7 +6174,7 @@ export interface operations {
|
|
|
5965
6174
|
};
|
|
5966
6175
|
};
|
|
5967
6176
|
};
|
|
5968
|
-
|
|
6177
|
+
deleteAnnotationConfig: {
|
|
5969
6178
|
parameters: {
|
|
5970
6179
|
query?: never;
|
|
5971
6180
|
header?: never;
|
|
@@ -10095,6 +10304,368 @@ export interface operations {
|
|
|
10095
10304
|
};
|
|
10096
10305
|
};
|
|
10097
10306
|
};
|
|
10307
|
+
getUserApiKeys: {
|
|
10308
|
+
parameters: {
|
|
10309
|
+
query?: never;
|
|
10310
|
+
header?: never;
|
|
10311
|
+
path?: never;
|
|
10312
|
+
cookie?: never;
|
|
10313
|
+
};
|
|
10314
|
+
requestBody?: never;
|
|
10315
|
+
responses: {
|
|
10316
|
+
/** @description The authenticated user's API keys. */
|
|
10317
|
+
200: {
|
|
10318
|
+
headers: {
|
|
10319
|
+
[name: string]: unknown;
|
|
10320
|
+
};
|
|
10321
|
+
content: {
|
|
10322
|
+
"application/json": components["schemas"]["GetApiKeysResponseBody"];
|
|
10323
|
+
};
|
|
10324
|
+
};
|
|
10325
|
+
/** @description Unauthorized */
|
|
10326
|
+
401: {
|
|
10327
|
+
headers: {
|
|
10328
|
+
[name: string]: unknown;
|
|
10329
|
+
};
|
|
10330
|
+
content: {
|
|
10331
|
+
"text/plain": string;
|
|
10332
|
+
};
|
|
10333
|
+
};
|
|
10334
|
+
/** @description Forbidden */
|
|
10335
|
+
403: {
|
|
10336
|
+
headers: {
|
|
10337
|
+
[name: string]: unknown;
|
|
10338
|
+
};
|
|
10339
|
+
content: {
|
|
10340
|
+
"text/plain": string;
|
|
10341
|
+
};
|
|
10342
|
+
};
|
|
10343
|
+
};
|
|
10344
|
+
};
|
|
10345
|
+
createUserApiKey: {
|
|
10346
|
+
parameters: {
|
|
10347
|
+
query?: never;
|
|
10348
|
+
header?: never;
|
|
10349
|
+
path?: never;
|
|
10350
|
+
cookie?: never;
|
|
10351
|
+
};
|
|
10352
|
+
requestBody: {
|
|
10353
|
+
content: {
|
|
10354
|
+
"application/json": components["schemas"]["CreateApiKeyRequestBody"];
|
|
10355
|
+
};
|
|
10356
|
+
};
|
|
10357
|
+
responses: {
|
|
10358
|
+
/** @description The newly created API key, including the key itself. */
|
|
10359
|
+
201: {
|
|
10360
|
+
headers: {
|
|
10361
|
+
[name: string]: unknown;
|
|
10362
|
+
};
|
|
10363
|
+
content: {
|
|
10364
|
+
"application/json": components["schemas"]["CreateApiKeyResponseBody"];
|
|
10365
|
+
};
|
|
10366
|
+
};
|
|
10367
|
+
/** @description Unauthorized */
|
|
10368
|
+
401: {
|
|
10369
|
+
headers: {
|
|
10370
|
+
[name: string]: unknown;
|
|
10371
|
+
};
|
|
10372
|
+
content: {
|
|
10373
|
+
"text/plain": string;
|
|
10374
|
+
};
|
|
10375
|
+
};
|
|
10376
|
+
/** @description Forbidden */
|
|
10377
|
+
403: {
|
|
10378
|
+
headers: {
|
|
10379
|
+
[name: string]: unknown;
|
|
10380
|
+
};
|
|
10381
|
+
content: {
|
|
10382
|
+
"text/plain": string;
|
|
10383
|
+
};
|
|
10384
|
+
};
|
|
10385
|
+
/** @description Unprocessable Entity */
|
|
10386
|
+
422: {
|
|
10387
|
+
headers: {
|
|
10388
|
+
[name: string]: unknown;
|
|
10389
|
+
};
|
|
10390
|
+
content: {
|
|
10391
|
+
"text/plain": string;
|
|
10392
|
+
};
|
|
10393
|
+
};
|
|
10394
|
+
/** @description Insufficient Storage */
|
|
10395
|
+
507: {
|
|
10396
|
+
headers: {
|
|
10397
|
+
[name: string]: unknown;
|
|
10398
|
+
};
|
|
10399
|
+
content: {
|
|
10400
|
+
"text/plain": string;
|
|
10401
|
+
};
|
|
10402
|
+
};
|
|
10403
|
+
};
|
|
10404
|
+
};
|
|
10405
|
+
getAllUserApiKeys: {
|
|
10406
|
+
parameters: {
|
|
10407
|
+
query?: {
|
|
10408
|
+
/** @description Cursor for pagination (a UserApiKey GlobalID). */
|
|
10409
|
+
cursor?: string | null;
|
|
10410
|
+
/** @description The maximum number of API keys to return (at most 1000). */
|
|
10411
|
+
limit?: number;
|
|
10412
|
+
};
|
|
10413
|
+
header?: never;
|
|
10414
|
+
path?: never;
|
|
10415
|
+
cookie?: never;
|
|
10416
|
+
};
|
|
10417
|
+
requestBody?: never;
|
|
10418
|
+
responses: {
|
|
10419
|
+
/** @description A paginated list of user API keys and their owners. */
|
|
10420
|
+
200: {
|
|
10421
|
+
headers: {
|
|
10422
|
+
[name: string]: unknown;
|
|
10423
|
+
};
|
|
10424
|
+
content: {
|
|
10425
|
+
"application/json": components["schemas"]["GetAllUserApiKeysResponseBody"];
|
|
10426
|
+
};
|
|
10427
|
+
};
|
|
10428
|
+
/** @description Unauthorized */
|
|
10429
|
+
401: {
|
|
10430
|
+
headers: {
|
|
10431
|
+
[name: string]: unknown;
|
|
10432
|
+
};
|
|
10433
|
+
content: {
|
|
10434
|
+
"text/plain": string;
|
|
10435
|
+
};
|
|
10436
|
+
};
|
|
10437
|
+
/** @description Forbidden */
|
|
10438
|
+
403: {
|
|
10439
|
+
headers: {
|
|
10440
|
+
[name: string]: unknown;
|
|
10441
|
+
};
|
|
10442
|
+
content: {
|
|
10443
|
+
"text/plain": string;
|
|
10444
|
+
};
|
|
10445
|
+
};
|
|
10446
|
+
/** @description Unprocessable Entity */
|
|
10447
|
+
422: {
|
|
10448
|
+
headers: {
|
|
10449
|
+
[name: string]: unknown;
|
|
10450
|
+
};
|
|
10451
|
+
content: {
|
|
10452
|
+
"text/plain": string;
|
|
10453
|
+
};
|
|
10454
|
+
};
|
|
10455
|
+
};
|
|
10456
|
+
};
|
|
10457
|
+
deleteUserApiKey: {
|
|
10458
|
+
parameters: {
|
|
10459
|
+
query?: never;
|
|
10460
|
+
header?: never;
|
|
10461
|
+
path: {
|
|
10462
|
+
/** @description The GlobalID of the API key. */
|
|
10463
|
+
api_key_id: string;
|
|
10464
|
+
};
|
|
10465
|
+
cookie?: never;
|
|
10466
|
+
};
|
|
10467
|
+
requestBody?: never;
|
|
10468
|
+
responses: {
|
|
10469
|
+
/** @description No content returned on successful deletion. */
|
|
10470
|
+
204: {
|
|
10471
|
+
headers: {
|
|
10472
|
+
[name: string]: unknown;
|
|
10473
|
+
};
|
|
10474
|
+
content?: never;
|
|
10475
|
+
};
|
|
10476
|
+
/** @description Unauthorized */
|
|
10477
|
+
401: {
|
|
10478
|
+
headers: {
|
|
10479
|
+
[name: string]: unknown;
|
|
10480
|
+
};
|
|
10481
|
+
content: {
|
|
10482
|
+
"text/plain": string;
|
|
10483
|
+
};
|
|
10484
|
+
};
|
|
10485
|
+
/** @description Forbidden */
|
|
10486
|
+
403: {
|
|
10487
|
+
headers: {
|
|
10488
|
+
[name: string]: unknown;
|
|
10489
|
+
};
|
|
10490
|
+
content: {
|
|
10491
|
+
"text/plain": string;
|
|
10492
|
+
};
|
|
10493
|
+
};
|
|
10494
|
+
/** @description API key not found. */
|
|
10495
|
+
404: {
|
|
10496
|
+
headers: {
|
|
10497
|
+
[name: string]: unknown;
|
|
10498
|
+
};
|
|
10499
|
+
content: {
|
|
10500
|
+
"text/plain": string;
|
|
10501
|
+
};
|
|
10502
|
+
};
|
|
10503
|
+
/** @description Unprocessable Entity */
|
|
10504
|
+
422: {
|
|
10505
|
+
headers: {
|
|
10506
|
+
[name: string]: unknown;
|
|
10507
|
+
};
|
|
10508
|
+
content: {
|
|
10509
|
+
"text/plain": string;
|
|
10510
|
+
};
|
|
10511
|
+
};
|
|
10512
|
+
};
|
|
10513
|
+
};
|
|
10514
|
+
getSystemApiKeys: {
|
|
10515
|
+
parameters: {
|
|
10516
|
+
query?: never;
|
|
10517
|
+
header?: never;
|
|
10518
|
+
path?: never;
|
|
10519
|
+
cookie?: never;
|
|
10520
|
+
};
|
|
10521
|
+
requestBody?: never;
|
|
10522
|
+
responses: {
|
|
10523
|
+
/** @description The system API keys. */
|
|
10524
|
+
200: {
|
|
10525
|
+
headers: {
|
|
10526
|
+
[name: string]: unknown;
|
|
10527
|
+
};
|
|
10528
|
+
content: {
|
|
10529
|
+
"application/json": components["schemas"]["GetApiKeysResponseBody"];
|
|
10530
|
+
};
|
|
10531
|
+
};
|
|
10532
|
+
/** @description Unauthorized */
|
|
10533
|
+
401: {
|
|
10534
|
+
headers: {
|
|
10535
|
+
[name: string]: unknown;
|
|
10536
|
+
};
|
|
10537
|
+
content: {
|
|
10538
|
+
"text/plain": string;
|
|
10539
|
+
};
|
|
10540
|
+
};
|
|
10541
|
+
/** @description Forbidden */
|
|
10542
|
+
403: {
|
|
10543
|
+
headers: {
|
|
10544
|
+
[name: string]: unknown;
|
|
10545
|
+
};
|
|
10546
|
+
content: {
|
|
10547
|
+
"text/plain": string;
|
|
10548
|
+
};
|
|
10549
|
+
};
|
|
10550
|
+
};
|
|
10551
|
+
};
|
|
10552
|
+
createSystemApiKey: {
|
|
10553
|
+
parameters: {
|
|
10554
|
+
query?: never;
|
|
10555
|
+
header?: never;
|
|
10556
|
+
path?: never;
|
|
10557
|
+
cookie?: never;
|
|
10558
|
+
};
|
|
10559
|
+
requestBody: {
|
|
10560
|
+
content: {
|
|
10561
|
+
"application/json": components["schemas"]["CreateApiKeyRequestBody"];
|
|
10562
|
+
};
|
|
10563
|
+
};
|
|
10564
|
+
responses: {
|
|
10565
|
+
/** @description The newly created system API key, including the key itself. */
|
|
10566
|
+
201: {
|
|
10567
|
+
headers: {
|
|
10568
|
+
[name: string]: unknown;
|
|
10569
|
+
};
|
|
10570
|
+
content: {
|
|
10571
|
+
"application/json": components["schemas"]["CreateApiKeyResponseBody"];
|
|
10572
|
+
};
|
|
10573
|
+
};
|
|
10574
|
+
/** @description Unauthorized */
|
|
10575
|
+
401: {
|
|
10576
|
+
headers: {
|
|
10577
|
+
[name: string]: unknown;
|
|
10578
|
+
};
|
|
10579
|
+
content: {
|
|
10580
|
+
"text/plain": string;
|
|
10581
|
+
};
|
|
10582
|
+
};
|
|
10583
|
+
/** @description Forbidden */
|
|
10584
|
+
403: {
|
|
10585
|
+
headers: {
|
|
10586
|
+
[name: string]: unknown;
|
|
10587
|
+
};
|
|
10588
|
+
content: {
|
|
10589
|
+
"text/plain": string;
|
|
10590
|
+
};
|
|
10591
|
+
};
|
|
10592
|
+
/** @description Unprocessable Entity */
|
|
10593
|
+
422: {
|
|
10594
|
+
headers: {
|
|
10595
|
+
[name: string]: unknown;
|
|
10596
|
+
};
|
|
10597
|
+
content: {
|
|
10598
|
+
"text/plain": string;
|
|
10599
|
+
};
|
|
10600
|
+
};
|
|
10601
|
+
/** @description Insufficient Storage */
|
|
10602
|
+
507: {
|
|
10603
|
+
headers: {
|
|
10604
|
+
[name: string]: unknown;
|
|
10605
|
+
};
|
|
10606
|
+
content: {
|
|
10607
|
+
"text/plain": string;
|
|
10608
|
+
};
|
|
10609
|
+
};
|
|
10610
|
+
};
|
|
10611
|
+
};
|
|
10612
|
+
deleteSystemApiKey: {
|
|
10613
|
+
parameters: {
|
|
10614
|
+
query?: never;
|
|
10615
|
+
header?: never;
|
|
10616
|
+
path: {
|
|
10617
|
+
/** @description The GlobalID of the system API key. */
|
|
10618
|
+
api_key_id: string;
|
|
10619
|
+
};
|
|
10620
|
+
cookie?: never;
|
|
10621
|
+
};
|
|
10622
|
+
requestBody?: never;
|
|
10623
|
+
responses: {
|
|
10624
|
+
/** @description No content returned on successful deletion. */
|
|
10625
|
+
204: {
|
|
10626
|
+
headers: {
|
|
10627
|
+
[name: string]: unknown;
|
|
10628
|
+
};
|
|
10629
|
+
content?: never;
|
|
10630
|
+
};
|
|
10631
|
+
/** @description Unauthorized */
|
|
10632
|
+
401: {
|
|
10633
|
+
headers: {
|
|
10634
|
+
[name: string]: unknown;
|
|
10635
|
+
};
|
|
10636
|
+
content: {
|
|
10637
|
+
"text/plain": string;
|
|
10638
|
+
};
|
|
10639
|
+
};
|
|
10640
|
+
/** @description Forbidden */
|
|
10641
|
+
403: {
|
|
10642
|
+
headers: {
|
|
10643
|
+
[name: string]: unknown;
|
|
10644
|
+
};
|
|
10645
|
+
content: {
|
|
10646
|
+
"text/plain": string;
|
|
10647
|
+
};
|
|
10648
|
+
};
|
|
10649
|
+
/** @description System API key not found. */
|
|
10650
|
+
404: {
|
|
10651
|
+
headers: {
|
|
10652
|
+
[name: string]: unknown;
|
|
10653
|
+
};
|
|
10654
|
+
content: {
|
|
10655
|
+
"text/plain": string;
|
|
10656
|
+
};
|
|
10657
|
+
};
|
|
10658
|
+
/** @description Unprocessable Entity */
|
|
10659
|
+
422: {
|
|
10660
|
+
headers: {
|
|
10661
|
+
[name: string]: unknown;
|
|
10662
|
+
};
|
|
10663
|
+
content: {
|
|
10664
|
+
"text/plain": string;
|
|
10665
|
+
};
|
|
10666
|
+
};
|
|
10667
|
+
};
|
|
10668
|
+
};
|
|
10098
10669
|
_login_auth_login_post: {
|
|
10099
10670
|
parameters: {
|
|
10100
10671
|
query?: never;
|