Skip to content

fix: use X-API-Key auth header and update default API base URL#8

Merged
dadaism merged 1 commit into
mainfrom
fix/auth-and-api-url
Mar 4, 2026
Merged

fix: use X-API-Key auth header and update default API base URL#8
dadaism merged 1 commit into
mainfrom
fix/auth-and-api-url

Conversation

@dadaism

@dadaism dadaism commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Switch auth from Authorization: Bearer to X-API-Key header (correct scheme for Yotta API)
  • Update default YOTTA_API_BASE_URL from https://api.test.yottalabs.ai to https://api.yottalabs.ai (production)
  • Update tests to match new auth header and default URL

Test plan

  • All 37 tests pass (npm test)
  • pod_list returns real pod data via MCP Inspector with a valid YOTTA_API_KEY

Switch from Authorization: Bearer to X-API-Key header (correct Yotta
API auth scheme) and update default base URL from test to production.
@dadaism dadaism merged commit d7f4c58 into main Mar 4, 2026
1 check passed
@dadaism dadaism deleted the fix/auth-and-api-url branch March 4, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant