nocobase-api-call
Goal
Run direct NocoBase API requests in a deterministic, low-dependency way for reusable automation and distribution.
Workflow
- Confirm request inputs: HTTP method, endpoint, and optional JSON payload or file.
- Ensure authentication config is available:
- Preferred: read
NOCOBASE_URLandNOCOBASE_API_TOKENfrom environment variables. - Optional fallback: read
./.envin user's current working directory. - If token is still missing and
./.envdoes not exist, create./.envtemplate first, then ask user to edit token. - Continue after user confirms token is set.
- Preferred: read
- Execute
scripts/nocobase-api.sh. - Return response JSON and HTTP status; if it fails, show the endpoint/method and the error message.
Mandatory Auth Gate
More from nocobase/skills
nocobase-data-modeling
Create and manage NocoBase data models through the available data-modeling surface. Use when users want to inspect or change collections, fields, relations, or view-backed schemas in a NocoBase app.
266nocobase-acl-manage
Task-driven ACL governance through nb CLI for role lifecycle, global role mode, permission policy, user-role membership, and risk assessment. Use when users describe business permission outcomes instead of raw command arguments.
239nocobase-workflow-manage
Use when users need to inspect, create, revise, enable, or diagnose NocoBase workflows through the `nb` CLI, including trigger selection, node-chain changes, version safety checks, and execution troubleshooting.
236nocobase-ui-builder
>-
228nocobase-data-analysis
Query and analyze business data in NocoBase via MCP. Use when users want current counts, grouped breakdowns, owner/source distributions, or business summaries across collections, with main data source first and fallback discovery to other enabled data sources.
194nocobase-utils
General-purpose NocoBase reference utilities covering cross-cutting topics such as evaluator engines, expression syntax, UID generation, and more. Use when you need authoritative reference information or reusable snippets that apply across multiple NocoBase features.
189