talonic_data_product_update_definition
Replace the definition of a shared data product (the keyed dataset several runs contribute to: identity, roles, readiness rules). USE WHEN the user wants to change what a shared product holds. Send the full definition and expected_definition_version (the version you read): if anyone saved in between, the answer is 409 revision_conflict; read again and redo the change instead of overwriting. Needs products:write.
How an agent uses it
- Not for: adding or removing a run (talonic_data_product_add_run / talonic_data_product_remove_run).
Availability
Listed when your role can see the workspace's data products; changes need products:write on a connector session. Being listed only means the tool is visible: Talonic checks your role again on every call.
Behaviour and cost
- Not read-only. It can add to or change workspace data.
Parameters
| Parameter | Type | Description |
|---|---|---|
| data_product_id * | string | The data product id (from GET /v1/data-products) |
| definition * | object | The full definition: identity, roles and readiness rules |
| expected_definition_version | integer | The definition_version you edited Range: 1 to 9007199254740991. |
Example
{
"data_product_id": "<data_product_id>",
"definition": {}
}Errors
A failed call comes back as a tool error with the HTTP status and a message that says what to change. Troubleshooting lists the common ones.