MCPcopy Create free account
hub / github.com/ScrapeGraphAI/scrapecraft / get_api_keys

Function get_api_keys

backend/app/api/auth.py:170–176  ·  view source on GitHub ↗

Get user's API keys (masked).

(current_user: User = Depends(get_current_active_user))

Source from the content-addressed store, hash-verified

168
169@router.get("/api-keys")
170async def get_api_keys(current_user: User = Depends(get_current_active_user)):
171 """Get user's API keys (masked)."""
172 # TODO: Retrieve from secure storage
173 return {
174 "openrouter_key": "sk-...****",
175 "scrapegraph_key": "sg-...****"
176 }
177
178@router.post("/logout")
179async def logout(current_user: User = Depends(get_current_active_user)):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected