S
Smithery Platform API
Details
- URL
-
https://api.smithery.ai - Spec
- https://app.stainless.com/api/spec/documented/smithery/openapi.documented.yml
- Docs
- https://smithery.ai/docs/api-reference/health-check.md
Authentication
Create or obtain a Smithery API key from the Smithery account/org UI after signing in to Smithery. The docs show this key being used as Authorization: Bearer $SMITHERY_API_KEY for the Platform API, including connection creation and service-token minting. If you prefer the CLI, authenticate with `smithery auth login` and then run commands that use your account context.
Authorization: Bearer <credential> Mint a short-lived service token from Smithery using your API key. The easiest documented path is the CLI command `smithery auth token`, or call Create a service token with Authorization: Bearer $SMITHERY_API_KEY. Tokens can be constrained by namespace, resource, operation, metadata, and TTL as described in Token Scoping.