SuperAPI AI Directory

flowus-database

Data & analytics

View repository

Updated 10-16 09:34

About this skill

FlowUs Database Skill

Use the flowus CLI with --json for every command.

Commands

  • Get database: flowus --json database get <database_id>
  • Query database: flowus --json database query <database_id> --body <query.json>
  • Create database: flowus --json database create --body <database.json>
  • Update database: flowus --json database update <database_id> --body <patch.json>
  • Delete database: flowus --json database delete <database_id>

Rules

  • If authentication is unclear, use flowus --json doctor; use flowus login for interactive login.
  • Credential precedence is --token, then FLOWUS_TOKEN, then the token saved by flowus login.
  • Do not call FlowUs V2 API with curl.
  • Do not print or save bearer tokens.
  • Keep query and patch payloads in local JSON files instead of inline shell strings.
  • Before querying a database, confirm the database ID and body file come from user-authorized input.
  • Before creating a database, confirm the body file and any database ID in the body or target context come from user-authorized input.
  • Before updating a database, confirm the database ID and body file come from user-authorized input.
  • Confirm destructive database deletes before running them.
  • Before deleting a database, confirm the database ID comes from explicit user authorization; deletion is destructive.
  • Treat ok: false as a failed operation even if the process output is parseable JSON.