Gateways
alien examples
Print executable integration examples.
alien examples [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
ai-gateway | Generate an AI Gateway request. |
encryption-gateway | Generate an Encryption Gateway request. |
remote-sandbox | Generate a Remote Sandbox request. |
| Flag | Description |
|---|---|
--json | Emit the example and metadata as JSON. |
Examples:
alien examples ai-gateway --protocol openai-chat --model byo/claude-opus-5
alien examples ai-gateway --protocol openai-responses --json
alien examples ai-gateway --protocol anthropic-messages
alien examples encryption-gateway --operation encrypt
alien examples remote-sandbox --operation create
alien examples remote-sandbox --operation exec --command 'python3 --version'alien examples ai-gateway
Generate an AI Gateway request.
alien examples ai-gateway [OPTIONS]| Flag | Description |
|---|---|
--json | Emit the example and metadata as JSON. |
--protocol <PROTOCOL> | Values: openai-chat, openai-responses, anthropic-messages. Default: openai-chat. |
--model <MODEL> | Public model ID configured in the project. Default: byo/claude-opus-5. |
--external-id <EXTERNAL_ID> | Literal external ID. Omit to use the $CUSTOMER_ID environment variable. |
alien examples encryption-gateway
Generate an Encryption Gateway request.
alien examples encryption-gateway [OPTIONS]| Flag | Description |
|---|---|
--json | Emit the example and metadata as JSON. |
--operation <OPERATION> | Values: encrypt, decrypt. Default: encrypt. |
--external-id <EXTERNAL_ID> | Literal external ID. Omit to use the $CUSTOMER_ID environment variable. |
--key-id <KEY_ID> | Stable key identifier for this data class. Default: customer-data. |
alien examples remote-sandbox
Generate a Remote Sandbox request.
alien examples remote-sandbox [OPTIONS]| Flag | Description |
|---|---|
--json | Emit the example and metadata as JSON. |
--operation <OPERATION> | Values: create, exec, delete. Default: create. |
--external-id <EXTERNAL_ID> | Literal external ID. Omit to use the $CUSTOMER_ID environment variable. |
--command <COMMAND> | Shell command the exec example runs inside the sandbox (exec and delete take the sandboxId create returns). Default: "echo hello". |
alien usage
Show AI and Encryption Gateway usage.
alien usage [OPTIONS] <SERVICE>| Argument | Description |
|---|---|
<SERVICE> | Values: ai, encryption. |
| Flag | Description |
|---|---|
--range <RANGE> | Values: 24h, 7d, 30d. Default: 24h. |
--json | Emit the complete privacy-safe aggregate response. |
Examples:
alien usage ai --range 24h
alien usage ai --range 7d --json
alien usage encryption --range 30d