Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kong GraphQL Cost Decorations API

The GraphQL Cost Decorations API from Kong — 4 operation(s) for graphql cost decorations.

Kong GraphQL Cost Decorations API is one of 139 APIs that Kong publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include GraphQL Cost Decorations. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, a GitHub repository, an API reference, authentication docs, and 1 JSON Schema.

This API exposes 7 operations across 4 paths, and defines 5 schemas. It is described by OpenAPI 3.1.0, at version 3.14.0.

Requests are made against a single base URL, {protocol}://{hostname}:{port}{path}.

7 operations 4 paths 5 schemas 1 DELETE4 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
3.14.0
Base URL
https://konghq.com/
Authentication
API Key
Contact
License
Resource Areas
1

Authentication & Security 1

Kong GraphQL Cost Decorations API declares 1 security scheme for authenticating requests. An API key is passed in the header as Kong-Admin-Token (adminToken). By default, every request must be authenticated.

Paths & Operations 7

Across 4 paths, the API surfaces 7 operations — 1 DELETE, 4 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

GraphQL Cost Decorations 7
GET
/v2/control-planes/{controlPlaneId}/core-entities/graphql-rate-limiting-advanced/costs
List all GraphQL Cost Decorations
list-graphql-rate-limiting-advanced-cost 4 params → 200401
GET
/v2/control-planes/{controlPlaneId}/core-entities/graphql-rate-limiting-advanced/costs/{GraphQLCostDecorationId}
Get a GraphQL Cost Decoration
get-graphql-rate-limiting-advanced-cost 2 params → 200401404
GET
/v2/control-planes/{controlPlaneId}/core-entities/services/{ServiceId}/graphql-rate-limiting-advanced/costs
List all GraphQL Cost Decorations associated with a Service
list-graphql-rate-limiting-advanced-cost-with-service 5 params → 200
POST
/v2/control-planes/{controlPlaneId}/core-entities/services/{ServiceId}/graphql-rate-limiting-advanced/costs
Create a new GraphQL Cost Decoration associated with a Service
create-graphql-rate-limiting-advanced-cost-with-service 2 params body → 201
DELETE
/v2/control-planes/{controlPlaneId}/core-entities/services/{ServiceId}/graphql-rate-limiting-advanced/costs/{GraphQLCostDecorationId}
Delete a a GraphQL Cost Decoration associated with a Service
delete-graphql-rate-limiting-advanced-cost-with-service 3 params → 204
GET
/v2/control-planes/{controlPlaneId}/core-entities/services/{ServiceId}/graphql-rate-limiting-advanced/costs/{GraphQLCostDecorationId}
Get a GraphQL Cost Decoration associated with a Service
get-graphql-rate-limiting-advanced-cost-with-service 3 params → 200404
PUT
/v2/control-planes/{controlPlaneId}/core-entities/services/{ServiceId}/graphql-rate-limiting-advanced/costs/{GraphQLCostDecorationId}
Upsert a GraphQL Cost Decoration associated with a Service
upsert-graphql-rate-limiting-advanced-cost-with-service 3 params body → 200

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are GraphQLCostDecorationWithoutParents (8 properties), GraphQLCostDecoration (8 properties), GatewayUnauthorizedError (2 properties). Each schema is shown below with its type and property counts.

PaginationOffsetResponse
string
Offset is used to paginate through the API. Provide this value to the next list operation to fetch the next page
GatewayUnauthorizedError
object
2 properties 2 required
GraphQLCostDecoration
object
8 properties 1 required
GraphQLCostDecorationWithoutParents
object
8 properties 1 required
PaginationNextResponse
string
URI to the next page (may be null)

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kong-graphql-cost-decorations-api-openapi.yml Raw ↑

Other APIs Kong publishes across the network.

Kong Gateway
Kong AI Gateway
Kong Agent Gateway
Kong MCP Registry
Kong Context Mesh
Kong Mesh
Kong Insomnia
Kong ACLs API
Kong Add-Ons API
Kong API API
Kong API Attributes API
Kong API Documentation API