Updates a dataset job configuration.
Try it now
Test
RAM authorization
Request syntax
PUT /api/v1/datasets/{DatasetId}/datasetjobconfigs/{DatasetJobConfigId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DatasetId |
string |
Yes |
The ID of the dataset. |
d-rbvg5*****jhc9ks92 |
| DatasetJobConfigId |
string |
Yes |
The ID of the configuration. |
dscfg-xxxxxxxxxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| WorkspaceId |
string |
No |
The ID of the workspace. |
167497 |
| ConfigType |
string |
No |
The configuration type.
Valid values:
|
MultimodalSemanticIndex |
| Config |
string |
No |
The configuration content. The format is as follows:
{ "apiKey":"sk-xxxxxxxxxxxxxxxxxxxxx" }
{ "defaultModelId": "xxx", "defaultModelVersion":"1.0.0" } |
{ "apiKey":"sk-xxxxxxxxxxxxxxxxxxxxx" } |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
D5BFFEE3-6025-443F-8A03-02D619B5C4B9 |
Examples
Success response
JSON format
{
"RequestId": "D5BFFEE3-6025-443F-8A03-02D619B5C4B9"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.