> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api/cloudeka-backend/console-token-1.md).

# Console Token

This API is used to get a token to access the kubernetes console. To access the kubernetes console, go to `https://cmd.ai.cloudeka.id/terminal/?token={console_token}` on the website

`/user` path intended for user `/superadmin` path intended for superadmin

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"Cloudeka Backend","description":"API endpoints for Cloudeka Backend (base: /core)"}],"servers":[{"url":"https://ai.cloudeka.id/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"description":"Type 'Bearer ' followed by your JWT token. Example: \"Bearer eyJhbGciOi...\"","type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"ai_backend__handler.SuccessRespond":{"type":"object","properties":{"code":{"type":"integer"},"data":{},"message":{"type":"string"}}},"ai_backend__vcluster.VClusterConsoleToken":{"type":"object","properties":{"message":{"type":"string"},"success":{"type":"boolean"},"token":{"type":"string"}}}}},"paths":{"/core/user/projects/{project_id}/vcluster/console-token":{"get":{"description":"This API is used to get a token to access the kubernetes console. To access the kubernetes console, go to `https://cmd.ai.cloudeka.id/terminal/?token={console_token}` on the website\n\n`/user` path intended for user\n`/superadmin` path intended for superadmin","tags":["Cloudeka Backend","Project"],"summary":"Console Token","parameters":[{"schema":{"type":"string"},"description":"Project ID","name":"project_id","in":"path","required":true}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ai_backend__handler.SuccessRespond"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ai_backend__vcluster.VClusterConsoleToken"}}}]}}}}}}}}}
```
