platform-agentsetup-categories-fetch

Fetch agentic setup prompt categories from a Salesforce org via the Connect REST API.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Build --skill platform-agentsetup-categories-fetch-padjei
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: platform-agentsetup-categories-fetch
Source: https://github.com/padjei/SF_Build/tree/main/.claude/skills/platform-agentsetup-categories-fetch
Command: npx skills add https://github.com/padjei/SF_Build --skill platform-agentsetup-categories-fetch-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Retrieving the list of Agentic Setup prompt categories from a Salesforce org requires calling a specific Connect REST endpoint that is not exposed through standard objects or SOQL, making it hard to discover and query manually. ## Core Features & Use Cases - Category Retrieval: Calls GET /services/data/v67.0/agenticsetup/categories through the SF CLI to list all prompt categories with names and labels. - Nested Prompt Fetching: Supports the fetchPrompts query parameter to include each category's prompts with text and descriptions. - Error Handling: Diagnoses common failures such as FUNCTIONALITY_NOT_ENABLED, INVALID_SESSION_ID, and NOT_FOUND with concrete remediation steps. - Use Case: An admin wants to see which setup copilot prompt categories exist in their org before building an Agentforce prompt library; run this skill to get the full categorized list in one command. ## Quick Start List all agentic setup prompt categories from my connected Salesforce org, including their nested prompts.

Frequently Asked Questions about platform-agentsetup-categories-fetch

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

FAQPage Schema
How do I list agentic setup prompt categories in Salesforce?▼

Use the SF CLI command sf api request rest /services/data/v67.0/agenticsetup/categories --method GET against an authenticated org. The response contains a categories array with name and label fields for each prompt category.

How to fetch prompts nested inside Salesforce setup categories?▼

Append the fetchPrompts=true query parameter to the categories endpoint URL. Each category then includes a prompts array with text and description fields for every prompt in that category.

Can I query agentic setup categories with SOQL?▼

No, prompt categories are not stored in standard Salesforce objects and cannot be queried with SOQL. They are only available through the Connect REST API endpoint /agenticsetup/categories.

Why does the categories API return FUNCTIONALITY_NOT_ENABLED?▼

This error means the Agentic Setup Categories feature is not enabled for the org or user. The org requires SetupCopilot.orgHasEnhancedAgenticSetup and the user requires SetupCopilot.orgHasSetupHomePromptLibrary; check Setup under Einstein or Agentforce.

What API version is required for the agentic setup categories endpoint?▼

The endpoint requires Salesforce API version 67.0 or higher, which is the version where it was introduced. Using an older version returns a NOT_FOUND error.