List credentials
list_api_tokensList the credentials you can see in this workspace: the ones you created yourself, plus every credential in the workspace if you are its owner (someone has to be able to clean up after a member leaves). Each entry gives its name, prefix, which kind it is (long-lived token / app authorization / temporary upload credential), when it was created, when it expires, when it was last used and whether it has been revoked. It never returns the secret or its hash: the plaintext is shown once at creation and cannot be retrieved anywhere afterwards — say so plainly when the user asks you to read their token back, and do not go looking for it elsewhere. The prefix takes no part in authentication and is safe to read out so the user can tell which credential is which. Stop one with revoke_api_token; token_id comes from here and nowhere else. Creating a new long-lived token is only possible on the web console — that is a deliberate boundary, not a missing tool; for a one-off credential for the SPACE CLI use create_cli_token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_revoked | No | 连已撤销 / 已过期的一起列(默认 false,只列还能用的) |