Skip to content

CLI

Connectors

Discover app operations, connect accounts, smoke test payloads, and grant app access safely.

Connector lifecycle

  1. List or inspect the app.
  2. Discover relevant operations or triggers.
  3. Fetch live operation details before writing payloads.
  4. Create a connect request if no account exists.
  5. Execute a realistic smoke test and save the response artifact.
  6. Grant DYNAMIC or FIXED access to the workload.
  7. Only then wire functions, workflows, assistants, or apps.

Discovery and smoke test

lemma connector list --limit 100
lemma connector operation-discover gmail --query "send an email"
lemma connector operation-details gmail messages_send
lemma connector account list gmail
lemma connector operation-execute gmail messages_send   --account-id <account-id>   --payload-file ./payloads/messages-send.json

Access modes

ModeUse when
DYNAMICThe runtime should act through the current caller connected account.
FIXEDThe workload should always use a designated shared or service account.