Docs

Gateways

alien examples

Print executable integration examples.

alien examples [OPTIONS] <COMMAND>
SubcommandDescription
ai-gatewayGenerate an AI Gateway request.
encryption-gatewayGenerate an Encryption Gateway request.
remote-sandboxGenerate a Remote Sandbox request.
FlagDescription
--jsonEmit 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]
FlagDescription
--jsonEmit 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]
FlagDescription
--jsonEmit 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]
FlagDescription
--jsonEmit 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>
ArgumentDescription
<SERVICE>Values: ai, encryption.
FlagDescription
--range <RANGE>Values: 24h, 7d, 30d. Default: 24h.
--jsonEmit the complete privacy-safe aggregate response.

Examples:

alien usage ai --range 24h
alien usage ai --range 7d --json
alien usage encryption --range 30d

On this page