envs

Perplexity — answer API

perplexity/api · version 1

envs add perplexity/api

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
PERPLEXITY_API_KEY required secret Perplexity says never to expose keys in client-side JavaScript, mobile applications, public repositories, log files or URLs. It also documents rotation as an API call: mint a new key, verify it, then revoke the old, and suggests every ninety days.. where to get it

The JSON the CLI reads