Developer Preview — This project is in active development. APIs may change. Provide feedback
Skip to content

scapi_custom_apis_get_status

List custom SCAPI endpoint registration status (active/not_registered). Returns one row per endpoint per site with detailed status information.

Overview

Checks the registration status of custom API endpoints deployed on your B2C Commerce instance. Returns endpoint status (active or not_registered) with per-site details.

Note: This tool queries your live instance. For schema definitions, use scapi_schemas_list with apiFamily: "custom". To create a new custom API, use scapi_custom_api_generate_scaffold.

Authentication

Requires OAuth credentials. See B2C Credentials for complete details.

Required scope: sfcc.custom-apis (see Configuring Scopes)

Configuration priority:

  1. Flags (--server, --client-id, --client-secret)
  2. Environment variables (SFCC_SERVER, SFCC_CLIENT_ID, SFCC_CLIENT_SECRET)
  3. dw.json config file

Parameters

ParameterTypeRequiredDescription
status"active" | "not_registered"NoFilter by endpoint status. Omit to return all endpoints.
groupBy"site" | "type"NoGroup output by siteId or type (Admin/Shopper). Omit for flat list.
columnsstringNoComma-separated field names to include. Omit for defaults (7 fields). Use all field names for complete data.

Available Columns

Default output includes: type, apiName, cartridgeName, endpointPath, httpMethod, status, siteId. Use the columns parameter to customize fields or include all available fields.

Usage Examples

List All Endpoints

List all custom API endpoints:

Use the MCP tool to list custom SCAPI endpoints on my instance.

Filter by Status

Show only active endpoints:

Use the MCP tool to list only active custom API endpoints.

Find endpoints that failed to register:

Use the MCP tool to find custom API endpoints that failed to register.

Group by Site

Group endpoints by site:

Use the MCP tool to list custom API endpoints grouped by site.

Group by Type

Group endpoints by API type (Admin/Shopper):

Use the MCP tool to list custom API endpoints grouped by type.

Custom Columns

Show specific fields:

Use the MCP tool to show only apiName and status for active endpoints.

Show all fields:

Use the MCP tool to show endpoint details with all fields.

Requirements

  • OAuth credentials with sfcc.custom-apis scope
  • B2C Commerce instance hostname
  • Custom APIs deployed on the instance

See Also

Released under the Apache-2.0 License.