getting-datacloud-schema

Retrieve Salesforce Data Cloud DLO and DMO schema metadata via SSOT REST APIs.

803|289|Updated Nov 7, 2025
One-click install
npx skills add https://github.com/forcedotcom/sf-skills --skill getting-datacloud-schema
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: getting-datacloud-schema
Source: https://github.com/forcedotcom/sf-skills/tree/main/skills/getting-datacloud-schema
Command: npx skills add https://github.com/forcedotcom/sf-skills --skill getting-datacloud-schema

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, subprocess, json, sys, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill removes the guesswork and manual browsing required to understand Salesforce Data Cloud Data Lake Objects (DLOs) and Data Model Objects (DMOs) by pulling their schema details directly from the org via REST APIs.

Core Features & Use Cases

  • Lists available DLOs and DMOs so you can quickly identify the correct developer names before deeper inspection.
  • Retrieves detailed DLO/DMO field schema including field names, data types, primary key indicators, and nullability for downstream queries, mappings, and integrations.
  • Supports schema-driven next steps like planning DMO mappings and building segments or data streams after you know the structure.

Quick Start

Tell the AI to run the skill to list all DLOs in your authenticated org alias and then show the schema for Employee__dll.

Frequently Asked Questions about getting-datacloud-schema

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve Data Cloud DLO and DMO schema metadata from Salesforce?

Retrieve Data Cloud Data Lake Object and Data Model Object schema metadata by using SSOT REST APIs to pull field definitions, data types, and primary key indicators directly from your authenticated Salesforce org.

How can I list all available Data Lake Objects and Data Model Objects in Salesforce Data Cloud?

List all available Data Lake Objects and Data Model Objects in Data Cloud by running a schema discovery request against the SSOT REST APIs to identify the correct developer names before deeper inspection.

Can I use the Salesforce CLI to inspect Data Cloud DLO and DMO field definitions?

Yes, you can inspect Data Cloud DLO and DMO field definitions using the Salesforce CLI, which provides the authenticated org access required to query the SSOT REST APIs for detailed schema structures.

What is the best way to find specific field data types and nullability for a Data Model Object?

Find specific field data types and nullability for a Data Model Object by fetching its detailed field schema via SSOT REST APIs, returning formatted schema details for querying and data structure planning.

Do I need an authenticated Salesforce org to discover Data Cloud schema structures?

Yes, you need an authenticated Salesforce org via SF CLI to discover Data Cloud schema structures, as the skill relies on this authentication to securely access the SSOT REST APIs for metadata retrieval.

What are the limitations of using SSOT REST APIs for Data Cloud schema discovery?

The SSOT REST APIs for Data Cloud schema discovery require an active SF CLI authenticated session and return metadata for querying and mappings, but do not modify the actual data structures within your org.