Using the API

This page shows how to authenticate and make basic requests to the PERIAN API.

Required Headers

All requests to the PERIAN API must include two headers:

Authorization: Bearer [API Token]
X-PERIAN-AUTH-ORG: [Account Name]
These credentials can be found in your account overview. Make sure to keep your credentials secure.

Example: Get all model templates

curl -X GET https://api.perian.cloud/model-template \
  -H "Authorization: Bearer your-api-token" \
  -H "X-PERIAN-AUTH-ORG: your-account-name"

Example: Get all running inference endpoints

curl -X GET https://api.perian.cloud/inference \
  -H "Authorization: Bearer your-api-token" \
  -H "X-PERIAN-AUTH-ORG: your-account-name"