mindcloud-api
Installation
SKILL.md
MindCloud API
REST API for a MindCloud company account: building and running workflows, runs, connections, members, roles, environments, usage, and API keys. To call third-party apps (Slack, NetSuite, Shopify) directly, use the Universal API skill instead: https://mindcloud.co/skills/mindcloud-universal-api/SKILL.md
- Base URL:
https://connect.mindcloud.co - Auth: send
Authorization: Bearer $MINDCLOUD_API_KEYon every request. A key belongs to one organization and acts there unlessX-Company-Idnames another it can reach: its child organizations, and, with "Use this key across all of your organizations" on, every organization its creator can open in the app: https://mindcloud.co/docs/api/rest/introduction/organizations - Organizations: when the user names an organization (or says "in the X org"), first find it with
GET /v2/companies?name[contains]=<name>&fields=id,name,access, then send itsidasX-Company-Idon EVERY call. If it is not listed, or isapprovalRequired, stop and tell the user; if it isstaffLimited, only the parts of MindCloud instaffApprovedApps, and endpoints both parts share, work there. Never fall back to the key's own organization. Each REST response'sX-Company-Idheader names the organization it acted in: check it. - Every response is JSON:
{"success": true, "data": ...}or{"success": false, "error": {"code", "message", "details"}}.error.codeis a small fixed set;error.details.reasonnames the specific cause. Lists addmeta.paginationwithtotalCount,hasNextPage,hasPreviousPage. - Rate limits per key: 240 reads/min, 60 writes/min. On 429, wait
Retry-Afterseconds.
Setup
Get an API key at https://app.mindcloud.co/user/api-keys and export it as MINDCLOUD_API_KEY. Key access levels:
read_only: all GET routes.run_workflows: reads, plus run workflow, cancel run, and run universal actions.full_access: everything, including writes and key management.
Verify the key and see its access level: