Connect Your API
genaug capability import openapi orders \ --spec ./orders.openapi.json \ --operation listOrders=orders.read \ --operation cancelOrder=orders.cancel \ --credential orders-api \ --wait
genaug credential set orders-api --from-env ORDERS_API_KEYGeneral Augment reads or fetches the specification once, validates it, stores the exact bytes as a content-addressed asset, and freezes the selected operation schemas. Credential values remain in the vault and never enter source or Agent context.
Grant only the operations an Agent needs:
genaug agent capability grant support orders.read --waitgenaug capability test orders.readgenaug agent test support --user customer_123 --jsonWrite operations should call an app-owned authorization boundary or require an exact approval. An Agent never receives the entire imported API implicitly.