> 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/key-list.md).

# Key List

This API is used to get a list of keys owned by team

```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__dekallm.Keys":{"type":"object","properties":{"aliases":{"type":"object"},"allowed_cache_controls":{"type":"array","items":{"type":"string"}},"bloked":{"type":"boolean"},"budget_duration":{"type":"string"},"budget_id":{"type":"string"},"budget_reset_at":{"type":"string"},"config":{"type":"object"},"expires":{"type":"string"},"key":{"type":"string"},"key_alias":{"type":"string"},"key_name":{"type":"string"},"litellm_budget_table":{"type":"string"},"max_budget":{"type":"number"},"max_parallel_requests":{"type":"string"},"metadata":{"type":"object","properties":{"tags":{"type":"string"}}},"model_max_budget":{"type":"object"},"model_spend":{"type":"object"},"models":{"type":"array","items":{"type":"string"}},"permissions":{"type":"object"},"rpm_limit":{"type":"integer"},"soft_budget_cooldown":{"type":"boolean"},"spend":{"type":"number"},"team_id":{"type":"string"},"token":{"type":"string"},"token_id":{"type":"string"},"tpm_limit":{"type":"integer"},"user_id":{"type":"string"}}},"ai_backend__handler.BaseError":{"type":"object","properties":{"code":{"type":"string"},"error":{}}}}},"paths":{"/core/dekallm/keys/{team_id}":{"get":{"description":"This API is used to get a list of keys owned by team","tags":["Cloudeka Backend","Deka LLM"],"summary":"Key List","parameters":[{"schema":{"type":"string"},"description":"Team ID","name":"team_id","in":"path","required":true},{"schema":{"type":"string"},"description":"Project ID","name":"project_id","in":"query","required":true}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ai_backend__handler.SuccessRespond"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ai_backend__dekallm.Keys"}}}}]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_backend__handler.BaseError"}}}}}}}}}
```
