aiGateway

Get a site's AI Gateway token

Changed on

Returns an AI Gateway token for a specific site

get/sites/{site_id}/ai-gateway/token

Request

  • Base URL
    https://api.netlify.com/api/v1
  • URL
    https://api.netlify.com/api/v1/sites/{site_id}/ai-gateway/token
  • Auth
    OAuth 2
    Implicit: https://app.netlify.com/authorize

Response

AI Gateway token for the site

tokenstring

The AI Gateway authentication token

urlstring

AI gateway base url

expires_atinteger

Unix timestamp when the token expires

Changes