attribution-plugins

List attribution plugin installations

Changed on

Returns a page of the attribution plugin installations on the organization's AI Gateways, sorted by gateway_id unless the request sets sort. An AI Gateway without the plugin has no entry.

get/v1/ai-cost-management/attribution-plugins

Request

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

Query parameters

sortstring

The order of the results, as a comma-separated list of fields in priority order. Each field can be followed by a space and asc or desc, and sorts in ascending order without one. The service breaks ties so that the order is unique.

Sortable fields: gateway_id, created_at, updated_at. Defaults to gateway_id asc.

page[size]integer

The number of results on each page.

1 to 100. Defaults to 20.

page[after]string

A cursor for the page after an earlier response's page. Clients take it from that response's meta.page.next link, which also carries the request's other parameters, and don't build or change it.

A request can't send both page[after] and page[before].

page[before]string

A cursor for the page before an earlier response's page. Clients take it from that response's meta.page.previous link, which also carries the request's other parameters, and don't build or change it.

A request can't send both page[after] and page[before].

Response

A page of attribution plugin installations.

Example response

{
  "data": [
    {
      "created_at": "2022-11-04T20:10:06.927Z",
      "updated_at": "2022-11-04T20:10:06.927Z"
    }
  ],
  "meta": {
    "page": {
      "size": 10
    }
  }
}

Changes