P
PromptLayer REST API
Details
- URL
-
https://api.promptlayer.com - Docs
- https://docs.promptlayer.com/reference/introduction
Authentication
X-API-Key: <credential> Sign in to the PromptLayer dashboard, open the API keys page mentioned in the REST API authentication docs, and generate a workspace API key. The quickstart notes you need a PromptLayer API key from your workspace; set it as PROMPTLAYER_API_KEY for SDKs and local MCP, use it in X-API-Key for the REST API, or as Authorization: Bearer pl_... for the hosted MCP server.