> ## Documentation Index
> Fetch the complete documentation index at: https://docs.roark.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI Reference

> Every roark command, generated from the same spec as the API

`roark` calls the Roark Analytics API from the command line. Commands read noun before verb, so the resource is what you type first and the verb is one of list, get, create, update or delete unless the operation is genuinely something else.

```bash Usage theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark <resource> [<sub-resource>...] <verb> [arguments] [options]
```

Installing the CLI, storing a credential and using it in CI are covered in the
[CLI guide](https://docs.roark.ai/documentation/sdks/cli.md). This tab is the per-command reference.

## Global options

Every command accepts these in addition to its own options.

**--base-url** `url`

API base URL.

**--token** `token`

Bearer token. Prefer `ROARK_API_BEARER_TOKEN` or the stored credential.

**--timeout** `ms`

Request timeout in milliseconds.

**--max-retries** `count`

Retries for retryable failures.

**--format** `format`

Output format: auto, json, jsonl, plain.

**--json** `switch`

Shorthand for `--format` json.

**--no-color** `switch`

Disable colour.

**-q, --quiet** `switch`

Suppress non-essential output.

**--allow-project-base-url** `switch`

Send the stored credential to a base URL set by a project `.roark.json`. Refused by default.

### Sending a body

Commands that send a request body accept these as well.

**--data** `json`

Request body as JSON, or @file to read one (@- for stdin).

**-y, --yes** `switch`

Skip confirmation prompts.

**--no-input** `switch`

Never prompt; fail instead.

## Configuration

Settings are resolved highest precedence first: command line flag, environment variable, project `.roark.json` found by walking up from the working directory, then the user config file. The stored credential is written with mode 0600.

## Environment

| Variable | Description |
| - | - |
| `ROARK_API_BEARER_TOKEN` | Bearer token used when `--token` is not given. |
| `ROARK_BASE_URL` | API base URL. |
| `XDG_CONFIG_HOME` | Overrides the location of the user config file. |
| `ROARK_ALLOW_PROJECT_BASE_URL` | Trusts a base URL set by a project `.roark.json`, like `--allow-project-base-url`. |
| `NO_COLOR` | Disables colour when set to any value. |

## Exit codes

Distinct per failure mode, so a CI job can tell a rejected request from a missing credential without reading stderr.

| Code | Meaning |
| - | - |
| `0` | The command succeeded. |
| `1` | The API rejected the request. |
| `2` | The command line was wrong. |
| `3` | No credential, or the credential was refused. |
| `4` | The addressed resource does not exist. |
| `5` | The request never completed: connection, timeout, or abort. |

## Commands

`roark <command> --help` prints the same options any of these pages lists.

### `agent`

| Command | Description |
| - | - |
| [`roark agent build`](https://docs.roark.ai/cli-reference/commands/agent-build) | Build a Roark-hosted agent |
| [`roark agent conversation create`](https://docs.roark.ai/cli-reference/commands/agent-conversation-create) | Start a conversation with an agent |
| [`roark agent create`](https://docs.roark.ai/cli-reference/commands/agent-create) | Create an agent |
| [`roark agent draft create`](https://docs.roark.ai/cli-reference/commands/agent-draft-create) | Start a draft |
| [`roark agent draft delete`](https://docs.roark.ai/cli-reference/commands/agent-draft-delete) | Discard the draft |
| [`roark agent draft get`](https://docs.roark.ai/cli-reference/commands/agent-draft-get) | Get an agent's draft |
| [`roark agent draft publish`](https://docs.roark.ai/cli-reference/commands/agent-draft-publish) | Publish the draft |
| [`roark agent draft update`](https://docs.roark.ai/cli-reference/commands/agent-draft-update) | Edit the draft |
| [`roark agent endpoint create`](https://docs.roark.ai/cli-reference/commands/agent-endpoint-create) | Create an agent endpoint |
| [`roark agent endpoint get`](https://docs.roark.ai/cli-reference/commands/agent-endpoint-get) | Get an agent endpoint |
| [`roark agent endpoint list`](https://docs.roark.ai/cli-reference/commands/agent-endpoint-list) | List agent endpoints |
| [`roark agent endpoint update`](https://docs.roark.ai/cli-reference/commands/agent-endpoint-update) | Update an agent endpoint |
| [`roark agent get`](https://docs.roark.ai/cli-reference/commands/agent-get) | Get an agent |
| [`roark agent list`](https://docs.roark.ai/cli-reference/commands/agent-list) | List agents |
| [`roark agent prompt list`](https://docs.roark.ai/cli-reference/commands/agent-prompt-list) | List an agent's prompts |
| [`roark agent prompt update`](https://docs.roark.ai/cli-reference/commands/agent-prompt-update) | Set an agent's prompt |
| [`roark agent prompt version list`](https://docs.roark.ai/cli-reference/commands/agent-prompt-version-list) | List a prompt's versions |
| [`roark agent update`](https://docs.roark.ai/cli-reference/commands/agent-update) | Update an agent |
| [`roark agent version get`](https://docs.roark.ai/cli-reference/commands/agent-version-get) | Get an agent version |
| [`roark agent version list`](https://docs.roark.ai/cli-reference/commands/agent-version-list) | List an agent's versions |
| [`roark agent version rollback`](https://docs.roark.ai/cli-reference/commands/agent-version-rollback) | Roll an agent back to a version |

### `agent-config`

| Command | Description |
| - | - |
| [`roark agent-config get`](https://docs.roark.ai/cli-reference/commands/agent-config-get) | Get a managed config |
| [`roark agent-config list`](https://docs.roark.ai/cli-reference/commands/agent-config-list) | List managed configs |
| [`roark agent-config promote`](https://docs.roark.ai/cli-reference/commands/agent-config-promote) | Promote staging to production |
| [`roark agent-config resolve`](https://docs.roark.ai/cli-reference/commands/agent-config-resolve) | Resolve config for a session |
| [`roark agent-config staging delete`](https://docs.roark.ai/cli-reference/commands/agent-config-staging-delete) | Discard the staging revision |
| [`roark agent-config update`](https://docs.roark.ai/cli-reference/commands/agent-config-update) | Write a config revision |

### `analytics`

| Command | Description |
| - | - |
| [`roark analytics query`](https://docs.roark.ai/cli-reference/commands/analytics-query) | Run an analytics query |
| [`roark analytics schema get`](https://docs.roark.ai/cli-reference/commands/analytics-schema-get) | Get the analytics schema |

### `autoimprove`

| Command | Description |
| - | - |
| [`roark autoimprove job answer`](https://docs.roark.ai/cli-reference/commands/autoimprove-job-answer) | Answer Roark's question |
| [`roark autoimprove job cancel`](https://docs.roark.ai/cli-reference/commands/autoimprove-job-cancel) | Cancel an Autoimprove job |
| [`roark autoimprove job create`](https://docs.roark.ai/cli-reference/commands/autoimprove-job-create) | Start an Autoimprove job |
| [`roark autoimprove job dismiss`](https://docs.roark.ai/cli-reference/commands/autoimprove-job-dismiss) | Dismiss an Autoimprove job |
| [`roark autoimprove job get`](https://docs.roark.ai/cli-reference/commands/autoimprove-job-get) | Get an Autoimprove job |
| [`roark autoimprove job guidance send`](https://docs.roark.ai/cli-reference/commands/autoimprove-job-guidance-send) | Guide a running Autoimprove job |
| [`roark autoimprove job list`](https://docs.roark.ai/cli-reference/commands/autoimprove-job-list) | List Autoimprove jobs |
| [`roark autoimprove job promote`](https://docs.roark.ai/cli-reference/commands/autoimprove-job-promote) | Promote an Autoimprove job to production |

### `benchmark`

| Command | Description |
| - | - |
| [`roark benchmark leaderboard get`](https://docs.roark.ai/cli-reference/commands/benchmark-leaderboard-get) | Get the benchmark leaderboard |
| [`roark benchmark metric list`](https://docs.roark.ai/cli-reference/commands/benchmark-metric-list) | List benchmark metrics |
| [`roark benchmark suite list`](https://docs.roark.ai/cli-reference/commands/benchmark-suite-list) | List benchmark suites |
| [`roark benchmark target get`](https://docs.roark.ai/cli-reference/commands/benchmark-target-get) | Get a benchmark target |
| [`roark benchmark target history list`](https://docs.roark.ai/cli-reference/commands/benchmark-target-history-list) | List a benchmark target's published generations |
| [`roark benchmark target score-sample list`](https://docs.roark.ai/cli-reference/commands/benchmark-target-score-sample-list) | List score samples for a target |

### `call`

| Command | Description |
| - | - |
| [`roark call batch delete`](https://docs.roark.ai/cli-reference/commands/call-batch-delete) | Delete calls in batch |
| [`roark call cost get`](https://docs.roark.ai/cli-reference/commands/call-cost-get) | Get call cost |
| [`roark call create`](https://docs.roark.ai/cli-reference/commands/call-create) | Create a call |
| [`roark call delete`](https://docs.roark.ai/cli-reference/commands/call-delete) | Delete a call |
| [`roark call get`](https://docs.roark.ai/cli-reference/commands/call-get) | Get a call |
| [`roark call list`](https://docs.roark.ai/cli-reference/commands/call-list) | List calls |
| [`roark call metric list`](https://docs.roark.ai/cli-reference/commands/call-metric-list) | List call metrics |
| [`roark call property update`](https://docs.roark.ai/cli-reference/commands/call-property-update) | Update the properties of a call |
| [`roark call sentiment-run list`](https://docs.roark.ai/cli-reference/commands/call-sentiment-run-list) | List call sentiment runs |
| [`roark call tool-invocation append`](https://docs.roark.ai/cli-reference/commands/call-tool-invocation-append) | Append tool invocations to a call |
| [`roark call transcript get`](https://docs.roark.ai/cli-reference/commands/call-transcript-get) | Get call transcript |

### `config`

| Command | Description |
| - | - |
| [`roark config apply`](https://docs.roark.ai/cli-reference/commands/config-apply) | Reconcile the project to a config directory (or bundle). Previews and confirms first. |
| [`roark config diff`](https://docs.roark.ai/cli-reference/commands/config-diff) | Preview the changes a config directory (or bundle) would make. No writes. |

### `connections`

| Command | Description |
| - | - |
| [`roark connections agent backfill cancel`](https://docs.roark.ai/cli-reference/commands/connections-agent-backfill-cancel) | Cancel a backfill |
| [`roark connections agent backfill create`](https://docs.roark.ai/cli-reference/commands/connections-agent-backfill-create) | Import past calls |
| [`roark connections agent backfill list`](https://docs.roark.ai/cli-reference/commands/connections-agent-backfill-list) | List backfills |
| [`roark connections agent create`](https://docs.roark.ai/cli-reference/commands/connections-agent-create) | Connect an agent |
| [`roark connections agent delete`](https://docs.roark.ai/cli-reference/commands/connections-agent-delete) | Disconnect an agent connection |
| [`roark connections agent discover`](https://docs.roark.ai/cli-reference/commands/connections-agent-discover) | Discover agents with a platform API key |
| [`roark connections agent get`](https://docs.roark.ai/cli-reference/commands/connections-agent-get) | Get an agent connection |
| [`roark connections agent list`](https://docs.roark.ai/cli-reference/commands/connections-agent-list) | List agent connections |
| [`roark connections agent provider list`](https://docs.roark.ai/cli-reference/commands/connections-agent-provider-list) | List agent connection providers |
| [`roark connections agent update`](https://docs.roark.ai/cli-reference/commands/connections-agent-update) | Update an agent connection |
| [`roark connections calendar calendar list`](https://docs.roark.ai/cli-reference/commands/connections-calendar-calendar-list) | List calendars for bookable targets |
| [`roark connections calendar calendly-oauth start`](https://docs.roark.ai/cli-reference/commands/connections-calendar-calendly-oauth-start) | Start connecting a Calendly account |
| [`roark connections calendar check`](https://docs.roark.ai/cli-reference/commands/connections-calendar-check) | Check a calendar connection |
| [`roark connections calendar create`](https://docs.roark.ai/cli-reference/commands/connections-calendar-create) | Connect a calendar account |
| [`roark connections calendar delete`](https://docs.roark.ai/cli-reference/commands/connections-calendar-delete) | Delete a calendar connection |
| [`roark connections calendar get`](https://docs.roark.ai/cli-reference/commands/connections-calendar-get) | Get a calendar connection |
| [`roark connections calendar google-oauth start`](https://docs.roark.ai/cli-reference/commands/connections-calendar-google-oauth-start) | Start connecting a Google Calendar |
| [`roark connections calendar list`](https://docs.roark.ai/cli-reference/commands/connections-calendar-list) | List calendar connections |
| [`roark connections calendar target create`](https://docs.roark.ai/cli-reference/commands/connections-calendar-target-create) | Create a bookable target |
| [`roark connections calendar target delete`](https://docs.roark.ai/cli-reference/commands/connections-calendar-target-delete) | Delete a bookable target |
| [`roark connections calendar target get`](https://docs.roark.ai/cli-reference/commands/connections-calendar-target-get) | Get a bookable target |
| [`roark connections calendar target list`](https://docs.roark.ai/cli-reference/commands/connections-calendar-target-list) | List bookable targets |
| [`roark connections calendar target update`](https://docs.roark.ai/cli-reference/commands/connections-calendar-target-update) | Update a bookable target |
| [`roark connections calendar update`](https://docs.roark.ai/cli-reference/commands/connections-calendar-update) | Update a calendar connection |
| [`roark connections mcp-server create`](https://docs.roark.ai/cli-reference/commands/connections-mcp-server-create) | Connect an MCP server |
| [`roark connections mcp-server delete`](https://docs.roark.ai/cli-reference/commands/connections-mcp-server-delete) | Disconnect an MCP server |
| [`roark connections mcp-server discover`](https://docs.roark.ai/cli-reference/commands/connections-mcp-server-discover) | Discover an MCP server |
| [`roark connections mcp-server get`](https://docs.roark.ai/cli-reference/commands/connections-mcp-server-get) | Get an MCP server |
| [`roark connections mcp-server list`](https://docs.roark.ai/cli-reference/commands/connections-mcp-server-list) | List MCP servers |
| [`roark connections mcp-server refresh`](https://docs.roark.ai/cli-reference/commands/connections-mcp-server-refresh) | Refresh an MCP server |
| [`roark connections mcp-server update`](https://docs.roark.ai/cli-reference/commands/connections-mcp-server-update) | Update an MCP server |

### `conversation`

| Command | Description |
| - | - |
| [`roark conversation get`](https://docs.roark.ai/cli-reference/commands/conversation-get) | Get a conversation |

### `credential`

| Command | Description |
| - | - |
| [`roark credential create`](https://docs.roark.ai/cli-reference/commands/credential-create) | Create a personal API key |
| [`roark credential list`](https://docs.roark.ai/cli-reference/commands/credential-list) | List personal API keys |
| [`roark credential revoke`](https://docs.roark.ai/cli-reference/commands/credential-revoke) | Revoke a personal API key |

### `customer`

| Command | Description |
| - | - |
| [`roark customer attribute delete`](https://docs.roark.ai/cli-reference/commands/customer-attribute-delete) | Clear a field on a customer |
| [`roark customer attribute unlock`](https://docs.roark.ai/cli-reference/commands/customer-attribute-unlock) | Unlock a field on a customer |
| [`roark customer attribute update`](https://docs.roark.ai/cli-reference/commands/customer-attribute-update) | Set a field on a customer |
| [`roark customer conversation list`](https://docs.roark.ai/cli-reference/commands/customer-conversation-list) | List a customer's conversations |
| [`roark customer delete`](https://docs.roark.ai/cli-reference/commands/customer-delete) | Erase a customer |
| [`roark customer field create`](https://docs.roark.ai/cli-reference/commands/customer-field-create) | Create a customer field |
| [`roark customer field delete`](https://docs.roark.ai/cli-reference/commands/customer-field-delete) | Delete a customer field |
| [`roark customer field list`](https://docs.roark.ai/cli-reference/commands/customer-field-list) | List customer fields |
| [`roark customer field update`](https://docs.roark.ai/cli-reference/commands/customer-field-update) | Update a customer field |
| [`roark customer get`](https://docs.roark.ai/cli-reference/commands/customer-get) | Get a customer |
| [`roark customer list`](https://docs.roark.ai/cli-reference/commands/customer-list) | List customers |
| [`roark customer notes update`](https://docs.roark.ai/cli-reference/commands/customer-notes-update) | Update the notes on a customer |

### `customer-flow`

| Command | Description |
| - | - |
| [`roark customer-flow create`](https://docs.roark.ai/cli-reference/commands/customer-flow-create) | Create a customer flow |
| [`roark customer-flow delete`](https://docs.roark.ai/cli-reference/commands/customer-flow-delete) | Delete a customer flow |
| [`roark customer-flow duplicate`](https://docs.roark.ai/cli-reference/commands/customer-flow-duplicate) | Duplicate a customer flow |
| [`roark customer-flow edge-case create`](https://docs.roark.ai/cli-reference/commands/customer-flow-edge-case-create) | Add an edge case |
| [`roark customer-flow edge-case delete`](https://docs.roark.ai/cli-reference/commands/customer-flow-edge-case-delete) | Remove an edge case |
| [`roark customer-flow edge-case promote`](https://docs.roark.ai/cli-reference/commands/customer-flow-edge-case-promote) | Promote an edge case to the happy path |
| [`roark customer-flow edge-case update`](https://docs.roark.ai/cli-reference/commands/customer-flow-edge-case-update) | Update an edge case |
| [`roark customer-flow folder create`](https://docs.roark.ai/cli-reference/commands/customer-flow-folder-create) | Create a customer flow folder |
| [`roark customer-flow folder delete`](https://docs.roark.ai/cli-reference/commands/customer-flow-folder-delete) | Delete a customer flow folder |
| [`roark customer-flow folder list`](https://docs.roark.ai/cli-reference/commands/customer-flow-folder-list) | List customer flow folders |
| [`roark customer-flow folder update`](https://docs.roark.ai/cli-reference/commands/customer-flow-folder-update) | Update a customer flow folder |
| [`roark customer-flow get`](https://docs.roark.ai/cli-reference/commands/customer-flow-get) | Get a customer flow |
| [`roark customer-flow graph replace`](https://docs.roark.ai/cli-reference/commands/customer-flow-graph-replace) | Replace a scripted flow's steps |
| [`roark customer-flow happy-path update`](https://docs.roark.ai/cli-reference/commands/customer-flow-happy-path-update) | Update a flow's happy path |
| [`roark customer-flow list`](https://docs.roark.ai/cli-reference/commands/customer-flow-list) | List customer flows |
| [`roark customer-flow update`](https://docs.roark.ai/cli-reference/commands/customer-flow-update) | Update a customer flow |

### `dashboard`

| Command | Description |
| - | - |
| [`roark dashboard create`](https://docs.roark.ai/cli-reference/commands/dashboard-create) | Create a dashboard |
| [`roark dashboard data get`](https://docs.roark.ai/cli-reference/commands/dashboard-data-get) | Get dashboard data |
| [`roark dashboard delete`](https://docs.roark.ai/cli-reference/commands/dashboard-delete) | Delete a dashboard |
| [`roark dashboard get`](https://docs.roark.ai/cli-reference/commands/dashboard-get) | Get a dashboard |
| [`roark dashboard list`](https://docs.roark.ai/cli-reference/commands/dashboard-list) | List dashboards |
| [`roark dashboard update`](https://docs.roark.ai/cli-reference/commands/dashboard-update) | Update a dashboard |
| [`roark dashboard widget create`](https://docs.roark.ai/cli-reference/commands/dashboard-widget-create) | Add a widget |
| [`roark dashboard widget delete`](https://docs.roark.ai/cli-reference/commands/dashboard-widget-delete) | Remove a widget |
| [`roark dashboard widget update`](https://docs.roark.ai/cli-reference/commands/dashboard-widget-update) | Replace a widget |
| [`roark dashboard widget-data get`](https://docs.roark.ai/cli-reference/commands/dashboard-widget-data-get) | Get widget data |

### `health`

| Command | Description |
| - | - |
| [`roark health`](https://docs.roark.ai/cli-reference/commands/health) | Get API health status |

### `http-request-definition`

| Command | Description |
| - | - |
| [`roark http-request-definition create`](https://docs.roark.ai/cli-reference/commands/http-request-definition-create) | Create an HTTP request definition |
| [`roark http-request-definition get`](https://docs.roark.ai/cli-reference/commands/http-request-definition-get) | Get an HTTP request definition |
| [`roark http-request-definition list`](https://docs.roark.ai/cli-reference/commands/http-request-definition-list) | List HTTP request definitions |
| [`roark http-request-definition update`](https://docs.roark.ai/cli-reference/commands/http-request-definition-update) | Update an HTTP request definition |

### `live-report`

| Command | Description |
| - | - |
| [`roark live-report create`](https://docs.roark.ai/cli-reference/commands/live-report-create) | Create a live report |
| [`roark live-report delete`](https://docs.roark.ai/cli-reference/commands/live-report-delete) | Delete a live report |
| [`roark live-report document get`](https://docs.roark.ai/cli-reference/commands/live-report-document-get) | Get a report document |
| [`roark live-report document list`](https://docs.roark.ai/cli-reference/commands/live-report-document-list) | List report documents |
| [`roark live-report get`](https://docs.roark.ai/cli-reference/commands/live-report-get) | Get a live report |
| [`roark live-report list`](https://docs.roark.ai/cli-reference/commands/live-report-list) | List live reports |
| [`roark live-report run`](https://docs.roark.ai/cli-reference/commands/live-report-run) | Generate a live report document |
| [`roark live-report update`](https://docs.roark.ai/cli-reference/commands/live-report-update) | Update a live report |

### `metric`

| Command | Description |
| - | - |
| [`roark metric collection-job cancel`](https://docs.roark.ai/cli-reference/commands/metric-collection-job-cancel) | Cancel a metric collection job |
| [`roark metric collection-job create`](https://docs.roark.ai/cli-reference/commands/metric-collection-job-create) | Create and run a metric collection job |
| [`roark metric collection-job get`](https://docs.roark.ai/cli-reference/commands/metric-collection-job-get) | Get a metric collection job |
| [`roark metric collection-job list`](https://docs.roark.ai/cli-reference/commands/metric-collection-job-list) | List metric collection jobs |
| [`roark metric definition create`](https://docs.roark.ai/cli-reference/commands/metric-definition-create) | Create a metric definition |
| [`roark metric definition list`](https://docs.roark.ai/cli-reference/commands/metric-definition-list) | List metric definitions |
| [`roark metric definition update`](https://docs.roark.ai/cli-reference/commands/metric-definition-update) | Update a metric definition |
| [`roark metric policy create`](https://docs.roark.ai/cli-reference/commands/metric-policy-create) | Create a metric policy |
| [`roark metric policy delete`](https://docs.roark.ai/cli-reference/commands/metric-policy-delete) | Delete a metric policy |
| [`roark metric policy get`](https://docs.roark.ai/cli-reference/commands/metric-policy-get) | Get a metric policy |
| [`roark metric policy list`](https://docs.roark.ai/cli-reference/commands/metric-policy-list) | List metric policies |
| [`roark metric policy update`](https://docs.roark.ai/cli-reference/commands/metric-policy-update) | Update a metric policy |
| [`roark metric variant create`](https://docs.roark.ai/cli-reference/commands/metric-variant-create) | Create a metric variant |
| [`roark metric variant delete`](https://docs.roark.ai/cli-reference/commands/metric-variant-delete) | Delete a metric variant |
| [`roark metric variant get`](https://docs.roark.ai/cli-reference/commands/metric-variant-get) | Get a metric variant |
| [`roark metric variant list`](https://docs.roark.ai/cli-reference/commands/metric-variant-list) | List a metric's variants |
| [`roark metric variant update`](https://docs.roark.ai/cli-reference/commands/metric-variant-update) | Update a metric variant |

### `phone-number`

| Command | Description |
| - | - |
| [`roark phone-number allowance get`](https://docs.roark.ai/cli-reference/commands/phone-number-allowance-get) | Get the phone number allowance |
| [`roark phone-number available list`](https://docs.roark.ai/cli-reference/commands/phone-number-available-list) | Search available phone numbers |
| [`roark phone-number create`](https://docs.roark.ai/cli-reference/commands/phone-number-create) | Buy a phone number |
| [`roark phone-number delete`](https://docs.roark.ai/cli-reference/commands/phone-number-delete) | Release a phone number |
| [`roark phone-number list`](https://docs.roark.ai/cli-reference/commands/phone-number-list) | List phone numbers |
| [`roark phone-number update`](https://docs.roark.ai/cli-reference/commands/phone-number-update) | Update a phone number |

### `project`

| Command | Description |
| - | - |
| [`roark project list`](https://docs.roark.ai/cli-reference/commands/project-list) | List accessible projects |

### `simulation`

| Command | Description |
| - | - |
| [`roark simulation audio-clip list`](https://docs.roark.ai/cli-reference/commands/simulation-audio-clip-list) | List audio clips |
| [`roark simulation environment create`](https://docs.roark.ai/cli-reference/commands/simulation-environment-create) | Create an environment |
| [`roark simulation environment delete`](https://docs.roark.ai/cli-reference/commands/simulation-environment-delete) | Delete an environment |
| [`roark simulation environment get`](https://docs.roark.ai/cli-reference/commands/simulation-environment-get) | Get an environment |
| [`roark simulation environment list`](https://docs.roark.ai/cli-reference/commands/simulation-environment-list) | List environments |
| [`roark simulation environment update`](https://docs.roark.ai/cli-reference/commands/simulation-environment-update) | Update an environment |
| [`roark simulation group create`](https://docs.roark.ai/cli-reference/commands/simulation-group-create) | Create a plan group |
| [`roark simulation group delete`](https://docs.roark.ai/cli-reference/commands/simulation-group-delete) | Delete a plan group |
| [`roark simulation group get`](https://docs.roark.ai/cli-reference/commands/simulation-group-get) | Get a plan group |
| [`roark simulation group list`](https://docs.roark.ai/cli-reference/commands/simulation-group-list) | List plan groups |
| [`roark simulation group run`](https://docs.roark.ai/cli-reference/commands/simulation-group-run) | Run a plan group |
| [`roark simulation group update`](https://docs.roark.ai/cli-reference/commands/simulation-group-update) | Update a plan group |
| [`roark simulation job get`](https://docs.roark.ai/cli-reference/commands/simulation-job-get) | Get a simulated call |
| [`roark simulation job lookup`](https://docs.roark.ai/cli-reference/commands/simulation-job-lookup) | Find a simulated call by phone number |
| [`roark simulation job tool-mock list`](https://docs.roark.ai/cli-reference/commands/simulation-job-tool-mock-list) | List mocked tool invocations |
| [`roark simulation persona create`](https://docs.roark.ai/cli-reference/commands/simulation-persona-create) | Create a persona |
| [`roark simulation persona get`](https://docs.roark.ai/cli-reference/commands/simulation-persona-get) | Get a persona |
| [`roark simulation persona list`](https://docs.roark.ai/cli-reference/commands/simulation-persona-list) | List personas |
| [`roark simulation persona update`](https://docs.roark.ai/cli-reference/commands/simulation-persona-update) | Update a persona |
| [`roark simulation phone-number list`](https://docs.roark.ai/cli-reference/commands/simulation-phone-number-list) | List simulation phone numbers |
| [`roark simulation plan create`](https://docs.roark.ai/cli-reference/commands/simulation-plan-create) | Create a run plan |
| [`roark simulation plan delete`](https://docs.roark.ai/cli-reference/commands/simulation-plan-delete) | Delete a run plan |
| [`roark simulation plan get`](https://docs.roark.ai/cli-reference/commands/simulation-plan-get) | Get a run plan |
| [`roark simulation plan job cancel`](https://docs.roark.ai/cli-reference/commands/simulation-plan-job-cancel) | Cancel a simulation run |
| [`roark simulation plan job cost get`](https://docs.roark.ai/cli-reference/commands/simulation-plan-job-cost-get) | Get a simulation run's cost |
| [`roark simulation plan job debrief create`](https://docs.roark.ai/cli-reference/commands/simulation-plan-job-debrief-create) | Generate a simulation run debrief |
| [`roark simulation plan job delete`](https://docs.roark.ai/cli-reference/commands/simulation-plan-job-delete) | Delete a simulation run |
| [`roark simulation plan job get`](https://docs.roark.ai/cli-reference/commands/simulation-plan-job-get) | Get a simulation run |
| [`roark simulation plan job list`](https://docs.roark.ai/cli-reference/commands/simulation-plan-job-list) | List simulation runs |
| [`roark simulation plan job rescore`](https://docs.roark.ai/cli-reference/commands/simulation-plan-job-rescore) | Re-score a simulation run |
| [`roark simulation plan job result get`](https://docs.roark.ai/cli-reference/commands/simulation-plan-job-result-get) | Get a simulation run's results |
| [`roark simulation plan job start`](https://docs.roark.ai/cli-reference/commands/simulation-plan-job-start) | Run a simulation plan |
| [`roark simulation plan job-rescore get`](https://docs.roark.ai/cli-reference/commands/simulation-plan-job-rescore-get) | Get a simulation run's latest re-score |
| [`roark simulation plan list`](https://docs.roark.ai/cli-reference/commands/simulation-plan-list) | List run plans |
| [`roark simulation plan update`](https://docs.roark.ai/cli-reference/commands/simulation-plan-update) | Update a run plan |
| [`roark simulation resource generate`](https://docs.roark.ai/cli-reference/commands/simulation-resource-generate) | Generate simulation resources |
| [`roark simulation resource-generation answer`](https://docs.roark.ai/cli-reference/commands/simulation-resource-generation-answer) | Answer a simulation resource generation's question |
| [`roark simulation resource-generation cancel`](https://docs.roark.ai/cli-reference/commands/simulation-resource-generation-cancel) | Cancel a running simulation resource generation |
| [`roark simulation resource-generation get`](https://docs.roark.ai/cli-reference/commands/simulation-resource-generation-get) | Get a simulation resource generation |
| [`roark simulation resource-generation guidance send`](https://docs.roark.ai/cli-reference/commands/simulation-resource-generation-guidance-send) | Guide a running simulation resource generation |
| [`roark simulation resource-generation list`](https://docs.roark.ai/cli-reference/commands/simulation-resource-generation-list) | List simulation resource generations |
| [`roark simulation run`](https://docs.roark.ai/cli-reference/commands/simulation-run) | Run a simulation |
| [`roark simulation run-group create`](https://docs.roark.ai/cli-reference/commands/simulation-run-group-create) | Create a run group |
| [`roark simulation run-group delete`](https://docs.roark.ai/cli-reference/commands/simulation-run-group-delete) | Delete a run group |
| [`roark simulation run-group get`](https://docs.roark.ai/cli-reference/commands/simulation-run-group-get) | Get a run group |
| [`roark simulation run-group list`](https://docs.roark.ai/cli-reference/commands/simulation-run-group-list) | List run groups |
| [`roark simulation run-group report regenerate`](https://docs.roark.ai/cli-reference/commands/simulation-run-group-report-regenerate) | Regenerate a run group report |
| [`roark simulation template list`](https://docs.roark.ai/cli-reference/commands/simulation-template-list) | List simulation templates |
| [`roark simulation tool mock`](https://docs.roark.ai/cli-reference/commands/simulation-tool-mock) | Mock a tool call during a test call |
| [`roark simulation tool-fixture create`](https://docs.roark.ai/cli-reference/commands/simulation-tool-fixture-create) | Set a tool fixture |
| [`roark simulation tool-fixture delete`](https://docs.roark.ai/cli-reference/commands/simulation-tool-fixture-delete) | Delete a tool fixture |
| [`roark simulation tool-fixture list`](https://docs.roark.ai/cli-reference/commands/simulation-tool-fixture-list) | List tool fixtures |
| [`roark simulation tool-fixture update`](https://docs.roark.ai/cli-reference/commands/simulation-tool-fixture-update) | Update a tool fixture |

### `tool`

| Command | Description |
| - | - |
| [`roark tool create`](https://docs.roark.ai/cli-reference/commands/tool-create) | Create a tool |
| [`roark tool delete`](https://docs.roark.ai/cli-reference/commands/tool-delete) | Delete a tool |
| [`roark tool get`](https://docs.roark.ai/cli-reference/commands/tool-get) | Get a tool |
| [`roark tool list`](https://docs.roark.ai/cli-reference/commands/tool-list) | List tools |
| [`roark tool update`](https://docs.roark.ai/cli-reference/commands/tool-update) | Update a tool |

### `usage`

| Command | Description |
| - | - |
| [`roark usage get`](https://docs.roark.ai/cli-reference/commands/usage-get) | Get usage and cost |

### `webhook`

| Command | Description |
| - | - |
| [`roark webhook create`](https://docs.roark.ai/cli-reference/commands/webhook-create) | Create a webhook |
| [`roark webhook delete`](https://docs.roark.ai/cli-reference/commands/webhook-delete) | Delete a webhook |
| [`roark webhook get`](https://docs.roark.ai/cli-reference/commands/webhook-get) | Get a webhook |
| [`roark webhook list`](https://docs.roark.ai/cli-reference/commands/webhook-list) | List webhooks |

### `whoami`

| Command | Description |
| - | - |
| [`roark whoami`](https://docs.roark.ai/cli-reference/commands/whoami) | Get the current credential |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.