# API-TOKEN

Prints the API Token of the current agent to the console.

When this command is executed on the primary agent, the resulting API token can then be used by MemSQL Ops agents on other nodes by executing the `memsql-ops follow` command with the `--api-token <token>` argument.

## Usage

```
usage: memsql-ops api-token

Prints the API Token of the current agent to the console.

```

***

Modified at: April 25, 2023

Source: [/db/v7.3/reference/memsql-ops-cli-reference/local-memsql-ops-agent-management/api-token/](https://docs.singlestore.com/db/v7.3/reference/memsql-ops-cli-reference/local-memsql-ops-agent-management/api-token/)

(An index of the documentation is available at /llms.txt)
