| command | Operation: query, execute, ddl, list-chains, discover-schemas, discover-tables, discover-columns, discover-primary-keys, discover-indexes, discover-relationships, put-entity, get-entity, query-entities (transaction / object-store-put / object-store-get raise NOT_SUPPORTED) | yes | — |
| api-url | SxT API base URL for SQL and discovery (default: api.makeinfinite.dev for login/JWT mode, proxy for api-key mode) | no | — |
| proxy-url | Make Infinite proxy base URL for login and biscuit lookup | no | https://proxy.api.makeinfinite.dev |
| api-key | SxT API key (Gateway Proxy, read-only indexed data) | no | — |
| auth-url | Custom JWT token endpoint URL (alternative to api-key) | no | — |
| auth-secret | Shared secret for custom JWT endpoint | no | — |
| user-id | SxT userId for proxy login (enables DDL/DML via biscuit-name) | no | — |
| password | SxT password for proxy login | no | — |
| biscuit-name | Name of a biscuit registered on the proxy, fetched at runtime | no | — |
| biscuit | Pre-fetched biscuit token string (alternative to biscuit-name) | no | — |
| schema-name | Default schema for resource scoping (e.g. "ETHEREUM", "myapp") | yes | — |
| origin-app | Application identifier for request tracking | no | w3-sxt-action |
| sql | SQL statement to execute. WARNING: User-controlled values must not be interpolated directly into SQL strings. Use parameterized values or validate inputs before constructing SQL. | no | — |
| resources | Comma-separated table references for performance optimization (e.g. "schema.table1,schema.table2") | no | — |
| query-type | Query type for DQL: OLTP or OLAP (default: OLTP) | no | OLTP |
| schema | Schema for discovery commands (overrides schema-name for discover-tables, discover-columns, etc.) | no | — |
| table | Table name for discovery commands (discover-columns, discover-primary-keys, discover-indexes, discover-relationships) | no | — |
| chain | Blockchain name for list-chains (e.g. "ethereum") | no | — |
| tenant-id | Tenant scope, bound on every state read/write (multi-tenant isolation) | no | — |
| entity-type | Entity type, e.g. "Gift" | "User" | "Recipient" | "Asset" (a column value, never a table name) | no | — |
| id | Entity id (unique within tenant + entity-type) | no | — |
| fields | JSON object: the full entity, or a partial patch merged onto the latest version (put-entity) | no | — |
| expected-version | Optimistic-concurrency token for put-entity; if it does not match the current latest version, the command fails PRECONDITION_FAILED | no | — |
| filter | query-entities: JSON PostgREST-style filter, e.g. {"status":{"eq":"completed"},"amount":{"gt":100}} (operators: eq/neq/in/like/contains/gt/gte/lt/lte/is_null) | no | — |
| sort | query-entities: JSON array of {field, direction}, most-significant first; direction is "asc" (default) or "desc" | no | — |
| limit | query-entities: max rows (default 50, capped at 500) | no | — |
| max-retries | Maximum retry attempts (default: 3) | no | 3 |
| retry-delay | Base retry delay in seconds (default: 2) | no | 2 |
| timeout | Request timeout in seconds (default: 30) | no | 30 |