cURL
curl --request PATCH \ --url https://api.example.com/api/v2/projects/{project_id}/prompt-datasets/{dataset_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "input_names": [ "<string>" ], "media_input_names": [ "<string>" ], "support_history": true } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "input_names": [ "<string>" ], "media_input_names": [ "<string>" ], "support_history": true, "description": "<string>" }
Modify a prompt dataset’s name, description, or input schema. Use to evolve datasets as prompt requirements change.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
PromptDatasetResponse(dataset: shared.sqlalchemy.models.Dataset)