Create an API key
Get your key from the Perceptron platform
Join Discord
Get help and see what others are building
Set the key in your environment
For Bash or Zsh:Configure the Python client
The Perceptron SDK readsPERCEPTRON_API_KEY. You can also pass the key explicitly. Select the Perceptron provider for these guides:
timeout is a client setting, not a model parameter. The SDK does not automatically retry requests; its retries setting is accepted for compatibility but does not enable retries. See Error messages before adding a retry policy.
Authenticate an HTTP request
Direct HTTP requests use theAuthorization header. For example, list the models:
Resolve authentication problems
For error fields, diagnostic headers, and retry behavior, see Error messages.