Yes, both. An HTTP API connection gives the AI two tools: http_get for GET and HEAD, in Read only, and http_request for POST, PUT, PATCH and DELETE, in Approval, where you approve the exact request. Requests go only to the base URLs you allow, and GateRook keeps the API key or token encrypted.
For named tools instead, import an OpenAPI document: choose Import HTTP API in the HTTP API form, or Connectors › Templates › New template › OpenAPI import.
- OpenAPI 3.0 or 3.1, YAML or JSON, up to 20 MB, with local
$refreferences only. Convert Swagger 2.0 first. - Up to 200 operations per template, with Bearer, Basic or API key authentication.
- No OAuth or OIDC login flows, cookies or multipart bodies.
- Mark a GET operation that changes state as Changes state, so it needs approval.
No specification? Create with AI prepares a prompt for Claude Desktop, Codex or Cursor to draft one from the API's documentation, and you review the operations before saving.
For an internal API on a private address, allow its range in Policies under HTTP egress › Allowed private ranges. Plain http:// needs Allow plain HTTP and is never allowed on prod.