attribution-plugins

Get an AI Gateway's attribution plugin

Changed on

Returns the attribution plugin installed on an AI Gateway, with its version, the newest version, and its configuration. The installation is what this product last installed: a change made to the gateway's policies elsewhere doesn't show here. If the gateway has no installation, or the identifier isn't a valid ID, the request fails with 404.

get/v1/ai-cost-management/ai-gateways/{gatewayId}/attribution-plugin

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

gatewayIdstring uuid required

The ID of the AI Gateway.

Response

The attribution plugin installation.

gateway_idstring uuid required

The ID of the AI Gateway the plugin is installed on.

versionstring required

The plugin version installed on the gateway.

latest_versionstring required

The newest plugin version. When it differs from version, a PUT of the stored configuration installs it.

integrationsAICostAttributionPluginIntegration[] required

The integrations whose headers the plugin reads.

operator_tagsobject required

Tags the plugin adds to every request.

group_patternsstring[] required

PCRE regular expressions that choose which groups the plugin keeps from the caller's token.

created_atstring date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_atstring date-time required

An ISO-8601 timestamp representation of entity update date.

Example response

{
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes