arc queries list
Lists all registered query endpoints in the connected Arc application.
cratis arc queries list [--url <URL>] [-o <FORMAT>]Options
Section titled “Options”| Option | Description |
|---|---|
--url <URL> | Base URL of the Arc application (default: http://localhost:5000). |
-o, --output <FORMAT> | Output format: table, plain, json, json-compact. |
Output
Section titled “Output”Each row contains:
| Column | Description |
|---|---|
| Name | The simple name of the query method (e.g. AllAccounts). |
| Namespace | The dot-separated namespace path of the query. |
| Route | The HTTP GET route registered for this query (e.g. /api/accounts/all-accounts). |
| Type | The runtime type name of the query (e.g. ClientObservable, IEnumerable). |
| Summary | The XML documentation summary of the query type, if available. |
Examples
Section titled “Examples”# List queries using the default URLcratis arc queries list
# List queries from a specific URLcratis arc queries list --url https://myapp.local:5001
# Output as compact JSONcratis arc queries list -o json-compactThe introspection endpoint GET /.cratis/queries must be registered in the Arc application. This happens automatically when the application calls MapIntrospectionEndpoints() during startup.