@tokenlabai/mcp-server 0.6.8 → 0.6.10
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/contract/openapi.json +575 -17
- package/generated/public-contract.json +3 -3
- package/generated/tools.json +265 -20
- package/package.json +1 -1
package/contract/openapi.json
CHANGED
|
@@ -977,6 +977,18 @@
|
|
|
977
977
|
]
|
|
978
978
|
},
|
|
979
979
|
"description": "Filter by material library class."
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"name": "project_name",
|
|
983
|
+
"in": "query",
|
|
984
|
+
"required": false,
|
|
985
|
+
"schema": {
|
|
986
|
+
"type": "string",
|
|
987
|
+
"minLength": 1,
|
|
988
|
+
"maxLength": 128,
|
|
989
|
+
"default": "default"
|
|
990
|
+
},
|
|
991
|
+
"description": "Project scope for the material resource."
|
|
980
992
|
}
|
|
981
993
|
],
|
|
982
994
|
"responses": {
|
|
@@ -1042,6 +1054,18 @@
|
|
|
1042
1054
|
"type": "string"
|
|
1043
1055
|
},
|
|
1044
1056
|
"example": "asset-20260720123456-qn7wr"
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"name": "project_name",
|
|
1060
|
+
"in": "query",
|
|
1061
|
+
"required": false,
|
|
1062
|
+
"schema": {
|
|
1063
|
+
"type": "string",
|
|
1064
|
+
"minLength": 1,
|
|
1065
|
+
"maxLength": 128,
|
|
1066
|
+
"default": "default"
|
|
1067
|
+
},
|
|
1068
|
+
"description": "Project scope for the material resource."
|
|
1045
1069
|
}
|
|
1046
1070
|
],
|
|
1047
1071
|
"responses": {
|
|
@@ -1193,6 +1217,18 @@
|
|
|
1193
1217
|
"type": "string"
|
|
1194
1218
|
},
|
|
1195
1219
|
"example": "asset-20260720123456-qn7wr"
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"name": "project_name",
|
|
1223
|
+
"in": "query",
|
|
1224
|
+
"required": false,
|
|
1225
|
+
"schema": {
|
|
1226
|
+
"type": "string",
|
|
1227
|
+
"minLength": 1,
|
|
1228
|
+
"maxLength": 128,
|
|
1229
|
+
"default": "default"
|
|
1230
|
+
},
|
|
1231
|
+
"description": "Project scope for the material resource."
|
|
1196
1232
|
}
|
|
1197
1233
|
],
|
|
1198
1234
|
"responses": {
|
|
@@ -1759,7 +1795,8 @@
|
|
|
1759
1795
|
"schema": {
|
|
1760
1796
|
"type": "integer",
|
|
1761
1797
|
"minimum": 1,
|
|
1762
|
-
"maximum":
|
|
1798
|
+
"maximum": 1000,
|
|
1799
|
+
"default": 20
|
|
1763
1800
|
},
|
|
1764
1801
|
"description": "Maximum number of batches to return"
|
|
1765
1802
|
}
|
|
@@ -1870,7 +1907,7 @@
|
|
|
1870
1907
|
"content": {
|
|
1871
1908
|
"application/json": {
|
|
1872
1909
|
"schema": {
|
|
1873
|
-
"$ref": "#/components/schemas/
|
|
1910
|
+
"$ref": "#/components/schemas/AnthropicDeletedMessageBatch"
|
|
1874
1911
|
}
|
|
1875
1912
|
}
|
|
1876
1913
|
}
|
|
@@ -3322,8 +3359,19 @@
|
|
|
3322
3359
|
"Files"
|
|
3323
3360
|
],
|
|
3324
3361
|
"summary": "Upload file",
|
|
3325
|
-
"description": "Uploads a
|
|
3362
|
+
"description": "Uploads a TokenLab/OpenAI-compatible batch or image file. With anthropic-beta: files-api-2025-04-14, uploads an Anthropic Files resource without a purpose field and returns Anthropic file metadata.",
|
|
3326
3363
|
"operationId": "uploadFile",
|
|
3364
|
+
"parameters": [
|
|
3365
|
+
{
|
|
3366
|
+
"name": "anthropic-beta",
|
|
3367
|
+
"in": "header",
|
|
3368
|
+
"required": false,
|
|
3369
|
+
"schema": {
|
|
3370
|
+
"type": "string"
|
|
3371
|
+
},
|
|
3372
|
+
"description": "Include files-api-2025-04-14 to use Anthropic Files API mode."
|
|
3373
|
+
}
|
|
3374
|
+
],
|
|
3327
3375
|
"requestBody": {
|
|
3328
3376
|
"required": true,
|
|
3329
3377
|
"content": {
|
|
@@ -3331,8 +3379,7 @@
|
|
|
3331
3379
|
"schema": {
|
|
3332
3380
|
"type": "object",
|
|
3333
3381
|
"required": [
|
|
3334
|
-
"file"
|
|
3335
|
-
"purpose"
|
|
3382
|
+
"file"
|
|
3336
3383
|
],
|
|
3337
3384
|
"properties": {
|
|
3338
3385
|
"file": {
|
|
@@ -3346,7 +3393,7 @@
|
|
|
3346
3393
|
"user_data",
|
|
3347
3394
|
"vision"
|
|
3348
3395
|
],
|
|
3349
|
-
"description": "
|
|
3396
|
+
"description": "Required in TokenLab/OpenAI-compatible mode: use batch for Batch API JSONL files, or user_data/vision for image edits. Omit in Anthropic Files mode."
|
|
3350
3397
|
},
|
|
3351
3398
|
"model": {
|
|
3352
3399
|
"type": "string",
|
|
@@ -3363,7 +3410,14 @@
|
|
|
3363
3410
|
"content": {
|
|
3364
3411
|
"application/json": {
|
|
3365
3412
|
"schema": {
|
|
3366
|
-
"
|
|
3413
|
+
"oneOf": [
|
|
3414
|
+
{
|
|
3415
|
+
"$ref": "#/components/schemas/FileObject"
|
|
3416
|
+
},
|
|
3417
|
+
{
|
|
3418
|
+
"$ref": "#/components/schemas/AnthropicFileObject"
|
|
3419
|
+
}
|
|
3420
|
+
]
|
|
3367
3421
|
}
|
|
3368
3422
|
}
|
|
3369
3423
|
}
|
|
@@ -3392,7 +3446,8 @@
|
|
|
3392
3446
|
"schema": {
|
|
3393
3447
|
"type": "integer",
|
|
3394
3448
|
"minimum": 1,
|
|
3395
|
-
"maximum":
|
|
3449
|
+
"maximum": 1000,
|
|
3450
|
+
"default": 20
|
|
3396
3451
|
}
|
|
3397
3452
|
},
|
|
3398
3453
|
{
|
|
@@ -3402,6 +3457,30 @@
|
|
|
3402
3457
|
"type": "string"
|
|
3403
3458
|
}
|
|
3404
3459
|
},
|
|
3460
|
+
{
|
|
3461
|
+
"name": "after_id",
|
|
3462
|
+
"in": "query",
|
|
3463
|
+
"schema": {
|
|
3464
|
+
"type": "string"
|
|
3465
|
+
},
|
|
3466
|
+
"description": "Anthropic Files cursor. Return files after this public file id. Requires the Anthropic Files beta header and cannot be combined with before_id."
|
|
3467
|
+
},
|
|
3468
|
+
{
|
|
3469
|
+
"name": "before_id",
|
|
3470
|
+
"in": "query",
|
|
3471
|
+
"schema": {
|
|
3472
|
+
"type": "string"
|
|
3473
|
+
},
|
|
3474
|
+
"description": "Anthropic Files cursor. Return files before this public file id. Requires the Anthropic Files beta header and cannot be combined with after_id."
|
|
3475
|
+
},
|
|
3476
|
+
{
|
|
3477
|
+
"name": "scope_id",
|
|
3478
|
+
"in": "query",
|
|
3479
|
+
"schema": {
|
|
3480
|
+
"type": "string"
|
|
3481
|
+
},
|
|
3482
|
+
"description": "Reserved Anthropic Files scope cursor. TokenLab currently returns an explicit unsupported error rather than silently ignoring this value."
|
|
3483
|
+
},
|
|
3405
3484
|
{
|
|
3406
3485
|
"name": "purpose",
|
|
3407
3486
|
"in": "query",
|
|
@@ -3415,6 +3494,15 @@
|
|
|
3415
3494
|
]
|
|
3416
3495
|
},
|
|
3417
3496
|
"description": "Optional file purpose filter. batch and batch_output cover Batch API files; user_data and vision cover TokenLab image/reference file bindings. Anthropic Files API mode is selected by Anthropic headers rather than this query parameter."
|
|
3497
|
+
},
|
|
3498
|
+
{
|
|
3499
|
+
"name": "anthropic-beta",
|
|
3500
|
+
"in": "header",
|
|
3501
|
+
"required": false,
|
|
3502
|
+
"schema": {
|
|
3503
|
+
"type": "string"
|
|
3504
|
+
},
|
|
3505
|
+
"description": "Include files-api-2025-04-14 to use Anthropic Files API mode."
|
|
3418
3506
|
}
|
|
3419
3507
|
],
|
|
3420
3508
|
"responses": {
|
|
@@ -3423,7 +3511,14 @@
|
|
|
3423
3511
|
"content": {
|
|
3424
3512
|
"application/json": {
|
|
3425
3513
|
"schema": {
|
|
3426
|
-
"
|
|
3514
|
+
"oneOf": [
|
|
3515
|
+
{
|
|
3516
|
+
"$ref": "#/components/schemas/FileListResponse"
|
|
3517
|
+
},
|
|
3518
|
+
{
|
|
3519
|
+
"$ref": "#/components/schemas/AnthropicFileListResponse"
|
|
3520
|
+
}
|
|
3521
|
+
]
|
|
3427
3522
|
}
|
|
3428
3523
|
}
|
|
3429
3524
|
}
|
|
@@ -3449,6 +3544,15 @@
|
|
|
3449
3544
|
"schema": {
|
|
3450
3545
|
"type": "string"
|
|
3451
3546
|
}
|
|
3547
|
+
},
|
|
3548
|
+
{
|
|
3549
|
+
"name": "anthropic-beta",
|
|
3550
|
+
"in": "header",
|
|
3551
|
+
"required": false,
|
|
3552
|
+
"schema": {
|
|
3553
|
+
"type": "string"
|
|
3554
|
+
},
|
|
3555
|
+
"description": "Include files-api-2025-04-14 to use Anthropic Files API mode."
|
|
3452
3556
|
}
|
|
3453
3557
|
],
|
|
3454
3558
|
"responses": {
|
|
@@ -3457,7 +3561,14 @@
|
|
|
3457
3561
|
"content": {
|
|
3458
3562
|
"application/json": {
|
|
3459
3563
|
"schema": {
|
|
3460
|
-
"
|
|
3564
|
+
"oneOf": [
|
|
3565
|
+
{
|
|
3566
|
+
"$ref": "#/components/schemas/FileObject"
|
|
3567
|
+
},
|
|
3568
|
+
{
|
|
3569
|
+
"$ref": "#/components/schemas/AnthropicFileObject"
|
|
3570
|
+
}
|
|
3571
|
+
]
|
|
3461
3572
|
}
|
|
3462
3573
|
}
|
|
3463
3574
|
}
|
|
@@ -3483,6 +3594,15 @@
|
|
|
3483
3594
|
"type": "string"
|
|
3484
3595
|
},
|
|
3485
3596
|
"description": "File ID returned by the Files API."
|
|
3597
|
+
},
|
|
3598
|
+
{
|
|
3599
|
+
"name": "anthropic-beta",
|
|
3600
|
+
"in": "header",
|
|
3601
|
+
"required": false,
|
|
3602
|
+
"schema": {
|
|
3603
|
+
"type": "string"
|
|
3604
|
+
},
|
|
3605
|
+
"description": "Include files-api-2025-04-14 to use Anthropic Files API mode."
|
|
3486
3606
|
}
|
|
3487
3607
|
],
|
|
3488
3608
|
"responses": {
|
|
@@ -3491,7 +3611,14 @@
|
|
|
3491
3611
|
"content": {
|
|
3492
3612
|
"application/json": {
|
|
3493
3613
|
"schema": {
|
|
3494
|
-
"
|
|
3614
|
+
"oneOf": [
|
|
3615
|
+
{
|
|
3616
|
+
"$ref": "#/components/schemas/FileDeletedObject"
|
|
3617
|
+
},
|
|
3618
|
+
{
|
|
3619
|
+
"$ref": "#/components/schemas/AnthropicDeletedFile"
|
|
3620
|
+
}
|
|
3621
|
+
]
|
|
3495
3622
|
}
|
|
3496
3623
|
}
|
|
3497
3624
|
}
|
|
@@ -5447,6 +5574,18 @@
|
|
|
5447
5574
|
]
|
|
5448
5575
|
},
|
|
5449
5576
|
"description": "Filter by TokenLab material library class."
|
|
5577
|
+
},
|
|
5578
|
+
{
|
|
5579
|
+
"name": "project_name",
|
|
5580
|
+
"in": "query",
|
|
5581
|
+
"required": false,
|
|
5582
|
+
"schema": {
|
|
5583
|
+
"type": "string",
|
|
5584
|
+
"minLength": 1,
|
|
5585
|
+
"maxLength": 128,
|
|
5586
|
+
"default": "default"
|
|
5587
|
+
},
|
|
5588
|
+
"description": "Project scope for the material resource."
|
|
5450
5589
|
}
|
|
5451
5590
|
],
|
|
5452
5591
|
"responses": {
|
|
@@ -5519,6 +5658,18 @@
|
|
|
5519
5658
|
"type": "string"
|
|
5520
5659
|
},
|
|
5521
5660
|
"example": "group-20260720123456-vrt01"
|
|
5661
|
+
},
|
|
5662
|
+
{
|
|
5663
|
+
"name": "project_name",
|
|
5664
|
+
"in": "query",
|
|
5665
|
+
"required": false,
|
|
5666
|
+
"schema": {
|
|
5667
|
+
"type": "string",
|
|
5668
|
+
"minLength": 1,
|
|
5669
|
+
"maxLength": 128,
|
|
5670
|
+
"default": "default"
|
|
5671
|
+
},
|
|
5672
|
+
"description": "Project scope for the material resource."
|
|
5522
5673
|
}
|
|
5523
5674
|
],
|
|
5524
5675
|
"responses": {
|
|
@@ -5657,6 +5808,18 @@
|
|
|
5657
5808
|
"type": "string"
|
|
5658
5809
|
},
|
|
5659
5810
|
"example": "group-20260720123456-vrt01"
|
|
5811
|
+
},
|
|
5812
|
+
{
|
|
5813
|
+
"name": "project_name",
|
|
5814
|
+
"in": "query",
|
|
5815
|
+
"required": false,
|
|
5816
|
+
"schema": {
|
|
5817
|
+
"type": "string",
|
|
5818
|
+
"minLength": 1,
|
|
5819
|
+
"maxLength": 128,
|
|
5820
|
+
"default": "default"
|
|
5821
|
+
},
|
|
5822
|
+
"description": "Project scope for the material resource."
|
|
5660
5823
|
}
|
|
5661
5824
|
],
|
|
5662
5825
|
"responses": {
|
|
@@ -6101,7 +6264,7 @@
|
|
|
6101
6264
|
"Seedance Volc Compatible"
|
|
6102
6265
|
],
|
|
6103
6266
|
"summary": "Seedance Action dispatcher (POST)",
|
|
6104
|
-
"description": "Dispatches Volc-style Action requests with TokenLab Bearer authentication. Real-person validation
|
|
6267
|
+
"description": "Dispatches Volc-style Action requests with TokenLab Bearer authentication. Real-person validation and material asset Actions use Version=2024-01-01 and are POST-only. The same POST contract is also available at the API root for endpoint-only migration from Volcengine.",
|
|
6105
6268
|
"operationId": "dispatchVolcCompatibleSeedanceActionPost",
|
|
6106
6269
|
"parameters": [
|
|
6107
6270
|
{
|
|
@@ -6116,7 +6279,17 @@
|
|
|
6116
6279
|
"ListContentsGenerationsTasks",
|
|
6117
6280
|
"DeleteContentsGenerationsTasks",
|
|
6118
6281
|
"CreateVisualValidateSession",
|
|
6119
|
-
"GetVisualValidateResult"
|
|
6282
|
+
"GetVisualValidateResult",
|
|
6283
|
+
"CreateAssetGroup",
|
|
6284
|
+
"ListAssetGroups",
|
|
6285
|
+
"GetAssetGroup",
|
|
6286
|
+
"UpdateAssetGroup",
|
|
6287
|
+
"DeleteAssetGroup",
|
|
6288
|
+
"CreateAsset",
|
|
6289
|
+
"ListAssets",
|
|
6290
|
+
"GetAsset",
|
|
6291
|
+
"UpdateAsset",
|
|
6292
|
+
"DeleteAsset"
|
|
6120
6293
|
]
|
|
6121
6294
|
}
|
|
6122
6295
|
},
|
|
@@ -6142,6 +6315,9 @@
|
|
|
6142
6315
|
{
|
|
6143
6316
|
"$ref": "#/components/schemas/VolcGetVisualValidateResultRequest"
|
|
6144
6317
|
},
|
|
6318
|
+
{
|
|
6319
|
+
"$ref": "#/components/schemas/VolcMaterialActionRequest"
|
|
6320
|
+
},
|
|
6145
6321
|
{
|
|
6146
6322
|
"type": "object",
|
|
6147
6323
|
"additionalProperties": true
|
|
@@ -6153,7 +6329,7 @@
|
|
|
6153
6329
|
},
|
|
6154
6330
|
"responses": {
|
|
6155
6331
|
"200": {
|
|
6156
|
-
"description": "Action response. Content-generation actions return task JSON; real-person validation actions return the official ResponseMetadata + Result envelope.",
|
|
6332
|
+
"description": "Action response. Content-generation actions return task JSON; real-person validation and material asset actions return the official ResponseMetadata + Result envelope.",
|
|
6157
6333
|
"content": {
|
|
6158
6334
|
"application/json": {
|
|
6159
6335
|
"schema": {
|
|
@@ -6172,6 +6348,9 @@
|
|
|
6172
6348
|
},
|
|
6173
6349
|
{
|
|
6174
6350
|
"$ref": "#/components/schemas/VolcGetVisualValidateResultResponse"
|
|
6351
|
+
},
|
|
6352
|
+
{
|
|
6353
|
+
"$ref": "#/components/schemas/VolcMaterialActionResponse"
|
|
6175
6354
|
}
|
|
6176
6355
|
]
|
|
6177
6356
|
}
|
|
@@ -8190,6 +8369,13 @@
|
|
|
8190
8369
|
"type": "string",
|
|
8191
8370
|
"description": "TokenLab material group ID. Required for liveness_face materials; optional for aigc_avatar."
|
|
8192
8371
|
},
|
|
8372
|
+
"project_name": {
|
|
8373
|
+
"type": "string",
|
|
8374
|
+
"minLength": 1,
|
|
8375
|
+
"maxLength": 128,
|
|
8376
|
+
"default": "default",
|
|
8377
|
+
"description": "Project scope for the material asset. Assets and groups are isolated by project inside the authenticated organization."
|
|
8378
|
+
},
|
|
8193
8379
|
"metadata": {
|
|
8194
8380
|
"type": "object",
|
|
8195
8381
|
"nullable": true,
|
|
@@ -8225,6 +8411,10 @@
|
|
|
8225
8411
|
"nullable": true,
|
|
8226
8412
|
"description": "TokenLab material group ID that owns this material asset."
|
|
8227
8413
|
},
|
|
8414
|
+
"project_name": {
|
|
8415
|
+
"type": "string",
|
|
8416
|
+
"description": "Project scope for this material asset."
|
|
8417
|
+
},
|
|
8228
8418
|
"library_type": {
|
|
8229
8419
|
"type": "string",
|
|
8230
8420
|
"enum": [
|
|
@@ -8269,6 +8459,10 @@
|
|
|
8269
8459
|
"created_at": {
|
|
8270
8460
|
"type": "integer",
|
|
8271
8461
|
"description": "Unix timestamp when the material asset record was created."
|
|
8462
|
+
},
|
|
8463
|
+
"updated_at": {
|
|
8464
|
+
"type": "integer",
|
|
8465
|
+
"description": "Unix timestamp when the material asset record was last updated."
|
|
8272
8466
|
}
|
|
8273
8467
|
}
|
|
8274
8468
|
},
|
|
@@ -8557,6 +8751,7 @@
|
|
|
8557
8751
|
"unauthorized",
|
|
8558
8752
|
"invalid_api_key",
|
|
8559
8753
|
"expired_api_key",
|
|
8754
|
+
"permission_error",
|
|
8560
8755
|
"insufficient_balance",
|
|
8561
8756
|
"quota_exceeded",
|
|
8562
8757
|
"invalid_request_error",
|
|
@@ -10132,6 +10327,118 @@
|
|
|
10132
10327
|
}
|
|
10133
10328
|
}
|
|
10134
10329
|
},
|
|
10330
|
+
"AnthropicFileObject": {
|
|
10331
|
+
"type": "object",
|
|
10332
|
+
"required": [
|
|
10333
|
+
"id",
|
|
10334
|
+
"type",
|
|
10335
|
+
"filename",
|
|
10336
|
+
"mime_type",
|
|
10337
|
+
"size_bytes",
|
|
10338
|
+
"created_at"
|
|
10339
|
+
],
|
|
10340
|
+
"properties": {
|
|
10341
|
+
"id": {
|
|
10342
|
+
"type": "string",
|
|
10343
|
+
"example": "file_01ABC123"
|
|
10344
|
+
},
|
|
10345
|
+
"type": {
|
|
10346
|
+
"type": "string",
|
|
10347
|
+
"enum": [
|
|
10348
|
+
"file"
|
|
10349
|
+
]
|
|
10350
|
+
},
|
|
10351
|
+
"filename": {
|
|
10352
|
+
"type": "string"
|
|
10353
|
+
},
|
|
10354
|
+
"mime_type": {
|
|
10355
|
+
"type": "string"
|
|
10356
|
+
},
|
|
10357
|
+
"size_bytes": {
|
|
10358
|
+
"type": "integer",
|
|
10359
|
+
"minimum": 0
|
|
10360
|
+
},
|
|
10361
|
+
"created_at": {
|
|
10362
|
+
"type": "string",
|
|
10363
|
+
"format": "date-time"
|
|
10364
|
+
},
|
|
10365
|
+
"downloadable": {
|
|
10366
|
+
"type": "boolean"
|
|
10367
|
+
},
|
|
10368
|
+
"scope": {
|
|
10369
|
+
"type": "object",
|
|
10370
|
+
"nullable": true,
|
|
10371
|
+
"required": [
|
|
10372
|
+
"id",
|
|
10373
|
+
"type"
|
|
10374
|
+
],
|
|
10375
|
+
"properties": {
|
|
10376
|
+
"id": {
|
|
10377
|
+
"type": "string"
|
|
10378
|
+
},
|
|
10379
|
+
"type": {
|
|
10380
|
+
"type": "string",
|
|
10381
|
+
"enum": [
|
|
10382
|
+
"session"
|
|
10383
|
+
]
|
|
10384
|
+
}
|
|
10385
|
+
},
|
|
10386
|
+
"additionalProperties": true
|
|
10387
|
+
}
|
|
10388
|
+
},
|
|
10389
|
+
"additionalProperties": true
|
|
10390
|
+
},
|
|
10391
|
+
"AnthropicFileListResponse": {
|
|
10392
|
+
"type": "object",
|
|
10393
|
+
"required": [
|
|
10394
|
+
"data",
|
|
10395
|
+
"first_id",
|
|
10396
|
+
"last_id",
|
|
10397
|
+
"has_more"
|
|
10398
|
+
],
|
|
10399
|
+
"properties": {
|
|
10400
|
+
"data": {
|
|
10401
|
+
"type": "array",
|
|
10402
|
+
"items": {
|
|
10403
|
+
"$ref": "#/components/schemas/AnthropicFileObject"
|
|
10404
|
+
}
|
|
10405
|
+
},
|
|
10406
|
+
"first_id": {
|
|
10407
|
+
"type": [
|
|
10408
|
+
"string",
|
|
10409
|
+
"null"
|
|
10410
|
+
]
|
|
10411
|
+
},
|
|
10412
|
+
"last_id": {
|
|
10413
|
+
"type": [
|
|
10414
|
+
"string",
|
|
10415
|
+
"null"
|
|
10416
|
+
]
|
|
10417
|
+
},
|
|
10418
|
+
"has_more": {
|
|
10419
|
+
"type": "boolean"
|
|
10420
|
+
}
|
|
10421
|
+
},
|
|
10422
|
+
"additionalProperties": true
|
|
10423
|
+
},
|
|
10424
|
+
"AnthropicDeletedFile": {
|
|
10425
|
+
"type": "object",
|
|
10426
|
+
"required": [
|
|
10427
|
+
"id"
|
|
10428
|
+
],
|
|
10429
|
+
"properties": {
|
|
10430
|
+
"id": {
|
|
10431
|
+
"type": "string"
|
|
10432
|
+
},
|
|
10433
|
+
"type": {
|
|
10434
|
+
"type": "string",
|
|
10435
|
+
"enum": [
|
|
10436
|
+
"file_deleted"
|
|
10437
|
+
]
|
|
10438
|
+
}
|
|
10439
|
+
},
|
|
10440
|
+
"additionalProperties": true
|
|
10441
|
+
},
|
|
10135
10442
|
"BatchRequestCounts": {
|
|
10136
10443
|
"type": "object",
|
|
10137
10444
|
"required": [
|
|
@@ -10741,18 +11048,26 @@
|
|
|
10741
11048
|
"$ref": "#/components/schemas/AnthropicMessagesRequest"
|
|
10742
11049
|
}
|
|
10743
11050
|
},
|
|
10744
|
-
"additionalProperties":
|
|
11051
|
+
"additionalProperties": true
|
|
10745
11052
|
}
|
|
10746
11053
|
}
|
|
10747
11054
|
},
|
|
10748
|
-
"additionalProperties":
|
|
11055
|
+
"additionalProperties": true
|
|
10749
11056
|
},
|
|
10750
11057
|
"AnthropicMessageBatch": {
|
|
10751
11058
|
"type": "object",
|
|
10752
11059
|
"description": "Anthropic-compatible message batch object relayed from the provider.",
|
|
10753
11060
|
"required": [
|
|
10754
11061
|
"id",
|
|
10755
|
-
"type"
|
|
11062
|
+
"type",
|
|
11063
|
+
"processing_status",
|
|
11064
|
+
"request_counts",
|
|
11065
|
+
"ended_at",
|
|
11066
|
+
"created_at",
|
|
11067
|
+
"expires_at",
|
|
11068
|
+
"cancel_initiated_at",
|
|
11069
|
+
"archived_at",
|
|
11070
|
+
"results_url"
|
|
10756
11071
|
],
|
|
10757
11072
|
"properties": {
|
|
10758
11073
|
"id": {
|
|
@@ -10789,6 +11104,16 @@
|
|
|
10789
11104
|
"type": "string",
|
|
10790
11105
|
"description": "ISO timestamp when the batch expires, when available"
|
|
10791
11106
|
},
|
|
11107
|
+
"cancel_initiated_at": {
|
|
11108
|
+
"type": "string",
|
|
11109
|
+
"nullable": true,
|
|
11110
|
+
"description": "ISO timestamp when cancellation was initiated, when available"
|
|
11111
|
+
},
|
|
11112
|
+
"archived_at": {
|
|
11113
|
+
"type": "string",
|
|
11114
|
+
"nullable": true,
|
|
11115
|
+
"description": "ISO timestamp when the batch was archived, when available"
|
|
11116
|
+
},
|
|
10792
11117
|
"results_url": {
|
|
10793
11118
|
"type": "string",
|
|
10794
11119
|
"nullable": true,
|
|
@@ -10797,8 +11122,34 @@
|
|
|
10797
11122
|
},
|
|
10798
11123
|
"additionalProperties": true
|
|
10799
11124
|
},
|
|
11125
|
+
"AnthropicDeletedMessageBatch": {
|
|
11126
|
+
"type": "object",
|
|
11127
|
+
"required": [
|
|
11128
|
+
"id",
|
|
11129
|
+
"type"
|
|
11130
|
+
],
|
|
11131
|
+
"properties": {
|
|
11132
|
+
"id": {
|
|
11133
|
+
"type": "string",
|
|
11134
|
+
"description": "Deleted Message Batch identifier"
|
|
11135
|
+
},
|
|
11136
|
+
"type": {
|
|
11137
|
+
"type": "string",
|
|
11138
|
+
"enum": [
|
|
11139
|
+
"message_batch_deleted"
|
|
11140
|
+
]
|
|
11141
|
+
}
|
|
11142
|
+
},
|
|
11143
|
+
"additionalProperties": true
|
|
11144
|
+
},
|
|
10800
11145
|
"AnthropicMessageBatchListResponse": {
|
|
10801
11146
|
"type": "object",
|
|
11147
|
+
"required": [
|
|
11148
|
+
"data",
|
|
11149
|
+
"has_more",
|
|
11150
|
+
"first_id",
|
|
11151
|
+
"last_id"
|
|
11152
|
+
],
|
|
10802
11153
|
"properties": {
|
|
10803
11154
|
"data": {
|
|
10804
11155
|
"type": "array",
|
|
@@ -11535,6 +11886,13 @@
|
|
|
11535
11886
|
"default": "aigc_avatar",
|
|
11536
11887
|
"description": "Material library class. Direct creation supports aigc_avatar. Create liveness_face groups through CreateVisualValidateSession followed by GetVisualValidateResult."
|
|
11537
11888
|
},
|
|
11889
|
+
"project_name": {
|
|
11890
|
+
"type": "string",
|
|
11891
|
+
"minLength": 1,
|
|
11892
|
+
"maxLength": 128,
|
|
11893
|
+
"default": "default",
|
|
11894
|
+
"description": "Project scope for the material group."
|
|
11895
|
+
},
|
|
11538
11896
|
"metadata": {
|
|
11539
11897
|
"type": "object",
|
|
11540
11898
|
"nullable": true,
|
|
@@ -11555,6 +11913,12 @@
|
|
|
11555
11913
|
"nullable": true,
|
|
11556
11914
|
"maxLength": 500
|
|
11557
11915
|
},
|
|
11916
|
+
"project_name": {
|
|
11917
|
+
"type": "string",
|
|
11918
|
+
"minLength": 1,
|
|
11919
|
+
"maxLength": 128,
|
|
11920
|
+
"default": "default"
|
|
11921
|
+
},
|
|
11558
11922
|
"metadata": {
|
|
11559
11923
|
"type": "object",
|
|
11560
11924
|
"nullable": true,
|
|
@@ -11588,6 +11952,10 @@
|
|
|
11588
11952
|
"liveness_face"
|
|
11589
11953
|
]
|
|
11590
11954
|
},
|
|
11955
|
+
"project_name": {
|
|
11956
|
+
"type": "string",
|
|
11957
|
+
"description": "Project scope for this material group."
|
|
11958
|
+
},
|
|
11591
11959
|
"group_name": {
|
|
11592
11960
|
"type": "string",
|
|
11593
11961
|
"nullable": true
|
|
@@ -11607,6 +11975,10 @@
|
|
|
11607
11975
|
"created_at": {
|
|
11608
11976
|
"type": "integer",
|
|
11609
11977
|
"format": "int64"
|
|
11978
|
+
},
|
|
11979
|
+
"updated_at": {
|
|
11980
|
+
"type": "integer",
|
|
11981
|
+
"format": "int64"
|
|
11610
11982
|
}
|
|
11611
11983
|
}
|
|
11612
11984
|
},
|
|
@@ -11651,6 +12023,12 @@
|
|
|
11651
12023
|
"Audio"
|
|
11652
12024
|
]
|
|
11653
12025
|
},
|
|
12026
|
+
"project_name": {
|
|
12027
|
+
"type": "string",
|
|
12028
|
+
"minLength": 1,
|
|
12029
|
+
"maxLength": 128,
|
|
12030
|
+
"default": "default"
|
|
12031
|
+
},
|
|
11654
12032
|
"metadata": {
|
|
11655
12033
|
"type": "object",
|
|
11656
12034
|
"nullable": true,
|
|
@@ -12643,6 +13021,186 @@
|
|
|
12643
13021
|
},
|
|
12644
13022
|
"additionalProperties": false
|
|
12645
13023
|
},
|
|
13024
|
+
"VolcMaterialActionRequest": {
|
|
13025
|
+
"type": "object",
|
|
13026
|
+
"description": "PascalCase request body for the material Action selected by the Action query parameter. Required fields depend on the selected Action.",
|
|
13027
|
+
"properties": {
|
|
13028
|
+
"Id": {
|
|
13029
|
+
"type": "string",
|
|
13030
|
+
"description": "Asset or Asset Group identifier for get, update, and delete Actions."
|
|
13031
|
+
},
|
|
13032
|
+
"Name": {
|
|
13033
|
+
"type": "string",
|
|
13034
|
+
"minLength": 1,
|
|
13035
|
+
"maxLength": 64
|
|
13036
|
+
},
|
|
13037
|
+
"Description": {
|
|
13038
|
+
"type": "string",
|
|
13039
|
+
"maxLength": 300
|
|
13040
|
+
},
|
|
13041
|
+
"GroupType": {
|
|
13042
|
+
"type": "string",
|
|
13043
|
+
"enum": [
|
|
13044
|
+
"AIGC",
|
|
13045
|
+
"LivenessFace"
|
|
13046
|
+
]
|
|
13047
|
+
},
|
|
13048
|
+
"GroupId": {
|
|
13049
|
+
"type": "string"
|
|
13050
|
+
},
|
|
13051
|
+
"URL": {
|
|
13052
|
+
"type": "string",
|
|
13053
|
+
"format": "uri"
|
|
13054
|
+
},
|
|
13055
|
+
"AssetType": {
|
|
13056
|
+
"type": "string",
|
|
13057
|
+
"enum": [
|
|
13058
|
+
"Image",
|
|
13059
|
+
"Video",
|
|
13060
|
+
"Audio"
|
|
13061
|
+
]
|
|
13062
|
+
},
|
|
13063
|
+
"Filter": {
|
|
13064
|
+
"type": "object",
|
|
13065
|
+
"properties": {
|
|
13066
|
+
"GroupIds": {
|
|
13067
|
+
"type": "array",
|
|
13068
|
+
"maxItems": 100,
|
|
13069
|
+
"items": {
|
|
13070
|
+
"type": "string"
|
|
13071
|
+
}
|
|
13072
|
+
},
|
|
13073
|
+
"GroupType": {
|
|
13074
|
+
"type": "string",
|
|
13075
|
+
"enum": [
|
|
13076
|
+
"AIGC",
|
|
13077
|
+
"LivenessFace"
|
|
13078
|
+
]
|
|
13079
|
+
},
|
|
13080
|
+
"Statuses": {
|
|
13081
|
+
"type": "array",
|
|
13082
|
+
"items": {
|
|
13083
|
+
"type": "string",
|
|
13084
|
+
"enum": [
|
|
13085
|
+
"Active",
|
|
13086
|
+
"Processing",
|
|
13087
|
+
"Failed"
|
|
13088
|
+
]
|
|
13089
|
+
}
|
|
13090
|
+
},
|
|
13091
|
+
"Name": {
|
|
13092
|
+
"type": "string",
|
|
13093
|
+
"minLength": 1,
|
|
13094
|
+
"maxLength": 64
|
|
13095
|
+
}
|
|
13096
|
+
},
|
|
13097
|
+
"additionalProperties": false
|
|
13098
|
+
},
|
|
13099
|
+
"PageNumber": {
|
|
13100
|
+
"type": "integer",
|
|
13101
|
+
"minimum": 1,
|
|
13102
|
+
"default": 1
|
|
13103
|
+
},
|
|
13104
|
+
"PageSize": {
|
|
13105
|
+
"type": "integer",
|
|
13106
|
+
"minimum": 1,
|
|
13107
|
+
"maximum": 100,
|
|
13108
|
+
"default": 10
|
|
13109
|
+
},
|
|
13110
|
+
"SortBy": {
|
|
13111
|
+
"type": "string",
|
|
13112
|
+
"enum": [
|
|
13113
|
+
"CreateTime",
|
|
13114
|
+
"UpdateTime",
|
|
13115
|
+
"GroupId"
|
|
13116
|
+
],
|
|
13117
|
+
"default": "CreateTime"
|
|
13118
|
+
},
|
|
13119
|
+
"SortOrder": {
|
|
13120
|
+
"type": "string",
|
|
13121
|
+
"enum": [
|
|
13122
|
+
"Desc",
|
|
13123
|
+
"Asc"
|
|
13124
|
+
],
|
|
13125
|
+
"default": "Desc"
|
|
13126
|
+
},
|
|
13127
|
+
"ProjectName": {
|
|
13128
|
+
"type": "string",
|
|
13129
|
+
"minLength": 1,
|
|
13130
|
+
"maxLength": 128,
|
|
13131
|
+
"default": "default",
|
|
13132
|
+
"description": "Project isolation scope within the authenticated organization."
|
|
13133
|
+
}
|
|
13134
|
+
},
|
|
13135
|
+
"additionalProperties": false
|
|
13136
|
+
},
|
|
13137
|
+
"VolcMaterialResponseMetadata": {
|
|
13138
|
+
"type": "object",
|
|
13139
|
+
"required": [
|
|
13140
|
+
"RequestId",
|
|
13141
|
+
"Action",
|
|
13142
|
+
"Version",
|
|
13143
|
+
"Service",
|
|
13144
|
+
"Region"
|
|
13145
|
+
],
|
|
13146
|
+
"properties": {
|
|
13147
|
+
"RequestId": {
|
|
13148
|
+
"type": "string"
|
|
13149
|
+
},
|
|
13150
|
+
"Action": {
|
|
13151
|
+
"type": "string",
|
|
13152
|
+
"enum": [
|
|
13153
|
+
"CreateAssetGroup",
|
|
13154
|
+
"ListAssetGroups",
|
|
13155
|
+
"GetAssetGroup",
|
|
13156
|
+
"UpdateAssetGroup",
|
|
13157
|
+
"DeleteAssetGroup",
|
|
13158
|
+
"CreateAsset",
|
|
13159
|
+
"ListAssets",
|
|
13160
|
+
"GetAsset",
|
|
13161
|
+
"UpdateAsset",
|
|
13162
|
+
"DeleteAsset"
|
|
13163
|
+
]
|
|
13164
|
+
},
|
|
13165
|
+
"Version": {
|
|
13166
|
+
"type": "string",
|
|
13167
|
+
"enum": [
|
|
13168
|
+
"2024-01-01"
|
|
13169
|
+
]
|
|
13170
|
+
},
|
|
13171
|
+
"Service": {
|
|
13172
|
+
"type": "string",
|
|
13173
|
+
"enum": [
|
|
13174
|
+
"ark"
|
|
13175
|
+
]
|
|
13176
|
+
},
|
|
13177
|
+
"Region": {
|
|
13178
|
+
"type": "string",
|
|
13179
|
+
"enum": [
|
|
13180
|
+
"cn-beijing"
|
|
13181
|
+
]
|
|
13182
|
+
}
|
|
13183
|
+
},
|
|
13184
|
+
"additionalProperties": false
|
|
13185
|
+
},
|
|
13186
|
+
"VolcMaterialActionResponse": {
|
|
13187
|
+
"type": "object",
|
|
13188
|
+
"required": [
|
|
13189
|
+
"ResponseMetadata",
|
|
13190
|
+
"Result"
|
|
13191
|
+
],
|
|
13192
|
+
"properties": {
|
|
13193
|
+
"ResponseMetadata": {
|
|
13194
|
+
"$ref": "#/components/schemas/VolcMaterialResponseMetadata"
|
|
13195
|
+
},
|
|
13196
|
+
"Result": {
|
|
13197
|
+
"type": "object",
|
|
13198
|
+
"description": "Action-dependent result. List Actions return Items, TotalCount, PageNumber, and PageSize; create and update Actions return Id; delete Actions return an empty object.",
|
|
13199
|
+
"additionalProperties": true
|
|
13200
|
+
}
|
|
13201
|
+
},
|
|
13202
|
+
"additionalProperties": false
|
|
13203
|
+
},
|
|
12646
13204
|
"VolcVisualValidationError": {
|
|
12647
13205
|
"type": "object",
|
|
12648
13206
|
"required": [
|