Creates a dataset Job configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paidataset:CreateDatasetJobConfig |
create |
*All Resource
|
None | None |
Request syntax
POST /api/v1/datasets/{DatasetId}/datasetjobconfigs HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DatasetId |
string |
Yes |
The dataset ID. |
d-rbvg5wzlj****9ks92 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| WorkspaceId |
string |
Yes |
The workspace ID. |
454716 |
| ConfigType |
string |
Yes |
The configuration type. Valid values:
|
MultimodalIntelligentTag |
| Config |
string |
Yes |
The configuration content. The format is as follows:
{ "apiKey":"sk-xxxxxxxxxxxxxxxxxxxxx" }
{ "defaultModelId": "xxx", "defaultModelVersion":"1.0.0" } |
{ "apiKey":"sk-xxxxxxxxxxxxxxxxxxxxx" } |
| DatasetVersion |
string |
No |
The name of the dataset version. |
v1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| RequestId |
string |
The request ID. |
5A14FA81-DD4E-******-6343FE44B941 |
| DatasetJobConfigId |
string |
The configuration ID. |
dscfg-xxxxxxxxxxxxxx |
Examples
Success response
JSON format
{
"RequestId": "5A14FA81-DD4E-******-6343FE44B941",
"DatasetJobConfigId": "dscfg-xxxxxxxxxxxxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.