request_dataset_payment
Step 1 of buying a training dataset: submit the job and get back an x402 payment challenge with the exact price. Nothing is charged and nothing is generated yet. Pass the SAME arguments to create_dataset_with_payment: the server binds the payment to this exact job and refuses a mismatch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the dataset | |
| modelId | No | Exact managed model from list_dataset_pricing (decides the tier and price) | |
| network | No | Chain you will pay on (default base) | |
| gridModel | No | Model on the decentralized encrypted grid: cheaper, slower, data never leaves the network | |
| modelTier | No | Managed model speed/quality tier. Omit when using gridModel | |
| targetRows | Yes | How many examples to generate (50-2000). Price scales with this | |
| webhookUrl | No | Public HTTPS URL to notify when the dataset is ready; the POST is signed | |
| description | Yes | What the model being trained should do, in one plain sentence | |
| seedExamples | Yes | 5 to 20 example conversations showing the behaviour you want | |
| systemPrompt | No | Standing instruction every generated example should follow |