View as Markdown
V7 Darwin icon

V7 Darwin ACTION

Update Dataset

Update a dataset with the specified ID. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's V7 Darwin account once, then configure and run Update Dataset from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "v7_darwin-update-dataset",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    v7_darwin: { authProvisionId: "apn_xxxxxxx" },
    id: "Dataset ID",
    annotatorsCanCreateTags: true,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Update Dataset inputs
Property Type Description
id Dataset ID string
ID of the Dataset
Required Dynamic
annotatorsCanCreateTags Annotators Can Create Tags boolean
Flag to specify whether annotators are allowed to create tags for the specified dataset
Required
annotatorsCanInstantiateWorkflows Annotators Can Instantiate Workflows boolean
Flag to specify whether annotators can get assigned items in 'new' status
Required
anyoneCanDoubleAssign Anyone Can Double Assign boolean
Flag to specify whether users can be assigned to different stages in the same workflow
Required
instructions Instructions string
Dataset instructions for annotators
Required
name Name string
The name of the new dataset
Required
public Public boolean
Flag to specify whether the dataset should be publicly accessible
Required
reviewersCanAnnotate Reviewers Can Annotate boolean
Flag to specify whether reviewers are allowed to create annotations in review stages
Required
workPrioritization Work Prioritization string
Specification for sorting items when annotators request new items
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
v7_darwin-update-dataset
Version
0.0.2
App
V7 Darwin
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes