General Input
Integration

geni integration get

Print one integration's full setup metadata, secret schema, OAuth scopes, connection fields, setup guide.

geni integration get <service> [flags]

Returns full setup metadata for one integration: credential schema (which fields the credential record will have), OAuth scopes available (for oauth2 services), API key prompts (for apiKey services), and the operator-facing setup guide.

Use this when the agent needs to walk the operator through credential setup or wants to know exactly what fields a credential will produce before declaring one.

Synopsis

geni integration get slack
geni integration get salesforce --json
geni integration get salesforce --field secretSchema
FlagNotes
<service>Service slug.
--jsonMachine-readable output.
--field <path>Print one dotted-path field instead of the whole record.

Output (default, OAuth)

slack    Slack
type:    oauth2 (managed by General Input)

description:
  Send messages, react to events, and read history as a specific user.

OAuth scopes (read):
  channels:history    history of public channels
  groups:history      history of private channels
  im:history          history of DMs


OAuth scopes (write):
  chat:write          send messages as the user
  reactions:write     add reactions


Secret schema:
  accessToken         secret (OAuth access token, refreshed automatically)

Bash env vars set when used:
  $SLACK_ACCESS_TOKEN_<id>, $SLACK_BOT_TOKEN

Exit codes

CodeMeaning
0Returned
4Service slug not found
78Runner session missing or expired
125Network or server error

On this page