Skip to content

Suggested searches

    Search all documentation ↑↓ to navigate Enter to open Esc to close

    prb datum command reference

    Reference for 7 commands under prb datum, including usage, flag types and defaults, required flags, source examples, and implementation links

    Markdown

    Manage data. This page documents 7 commands under prb datum.

    Flags and examples below come from the command definitions. A Required flag is explicitly marked required by Cobra; an unmarked flag can still be needed by runtime validation or a non-interactive workflow. Empty strings and empty lists are registered defaults, not sample values.

    Every command also inherits the global flags. Run prb <command> --help to check your installed version. Replace placeholder IDs and names in source examples before running them. Return to the complete CLI command reference to browse another command.

    CommandDescriptionUsageSource
    prb datumManage data.prb datum <command>View implementation
    prb datum createCreate a new datum.prb datum createView implementation
    prb datum deleteDelete a datum.prb datum delete <id>View implementation
    prb datum listList data in an organization.prb datum listView implementation
    prb datum publishPublish the data list as a document version.prb datum publishView implementation
    prb datum updateUpdate a datum.prb datum update <id>View implementation
    prb datum viewView a datum.prb datum view <id>View implementation

    Manage data.

    prb datum <command>

    View command implementation.

    Create a new datum.

    prb datum create
    FlagTypeDefaultRequiredDescription
    --data-classificationstring""—Data classification: PUBLIC, INTERNAL, CONFIDENTIAL, SECRET (required)
    --namestring""—Datum name (required)
    --orgstring""—Organization ID
    --ownerstring""—Owner profile ID (required)
    --third-party-idsstring list[]—Third party IDs (comma-separated)
    Terminal window
    # Create a datum interactively
    prb datum create
    # Create a datum non-interactively
    prb datum create --name "Customer PII" --data-classification CONFIDENTIAL --owner <profile-id>

    View command implementation.

    Delete a datum.

    prb datum delete <id>

    Requires 1 positional argument.

    FlagTypeDefaultRequiredDescription
    --yes, -ybooleanfalse—Skip confirmation prompt

    View command implementation.

    List data in an organization.

    prb datum list

    Accepts no positional arguments.

    FlagTypeDefaultRequiredDescription
    --afterstring""—Cursor from the previous page (the Next cursor line)
    --jsonbooleanfalse—Output JSON (same as —output json)
    --limit, -Linteger30—Maximum number of data to list
    --order-bystring""—Order by field (CREATED_AT, NAME, DATA_CLASSIFICATION)
    --order-directionstring"DESC"—Sort direction (ASC, DESC)
    --orgstring""—Organization ID
    --output, -ostring""—Output format: json, table (default)
    Terminal window
    # List data in the default organization
    prb datum list
    # List data sorted by name
    prb datum ls --order-by NAME --output json

    View command implementation.

    Publish the data list as a document version.

    prb datum publish
    FlagTypeDefaultRequiredDescription
    --approverstring array[]—Approver profile ID (can be repeated; ignored with —minor)
    --minorbooleanfalse—Publish as a minor version (no approval flow)
    --orgstring""—Organization ID
    Terminal window
    # Publish the data list
    prb datum publish --org ORG_ID
    # Publish with approvers
    prb datum publish --org ORG_ID --approver PROFILE_ID1 --approver PROFILE_ID2

    View command implementation.

    Update a datum.

    prb datum update <id>

    Requires 1 positional argument.

    FlagTypeDefaultRequiredDescription
    --data-classificationstring""—Data classification: PUBLIC, INTERNAL, CONFIDENTIAL, SECRET
    --namestring""—Datum name
    --ownerstring""—Owner profile ID
    --third-party-idsstring list[]—Third party IDs (comma-separated)

    View command implementation.

    View a datum.

    prb datum view <id>

    Requires 1 positional argument.

    FlagTypeDefaultRequiredDescription
    --jsonbooleanfalse—Output JSON (same as —output json)
    --output, -ostring""—Output format: json, table (default)

    View command implementation.