Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Organization

class Organization

Organizations own datasets and workflows, and have members. Various methods allow you to construct and list the datasets, workflows, members, and secrets of an organization.

Constructors

Method
Description

Return an Organization, given its username.

Examples

const organization = redivis.organization('demo');

await organization.exists(); // -> true

const dataset = organization.dataset('iris_species'); // -> Returns a Dataset
const workflow = organization.workflow('some_workflow'); // -> Returns a Workflow

for (const dataset of await organization.listDatasets({ labels: ['climate'] })) {
  console.log(dataset.properties.name);
}

const members = await organization.listMembers();

Attributes

Name
Description

name

The organization's username.

properties

Methods

Method
Description

Organization.dataset(name[, options])

Return a Dataset owned by the organization.

Check whether the organization exists.

Organization.listDatasets([maxResults, options])

List the organization's Datasets.

Organization.listMembers([maxResults, options])

List the organization's Members.

List the organization's Workflows.

Return a Member of the organization.

Return a Secret of the organization.

Return a Workflow owned by the organization.

Was this helpful?