version_number = -1) is automatically created. Dataset group names must be unique within a workspace.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name for the dataset group. Must be unique within the workspace. |
workspace_id | integer | No | Workspace ID. Defaults to the workspace associated with the API key. |
folder_id | integer | No | Folder ID to create the dataset group in. If omitted, the dataset group is created at the workspace root. Use Resolve Folder ID by Path to look up an ID from a path, or Create Folder to make one. |
Your PromptLayer API key.
Name of the dataset group. Must be unique within the workspace.
1Optional: ID of the workspace where the dataset group will be created. If not provided, uses the workspace associated with your API key.
x >= 1Optional folder ID to create the dataset group inside. If omitted, the dataset group is created at the workspace root.
x >= 1