openapi: 3.1.0 info: title: Konnect API version: 2.0.0 description: The Konnect platform API contact: name: Kong url: 'https://cloud.konghq.com' email: support@konghq.com x-extensions-note: | Entities and properties may be annotated with `x-min-runtime-version`, the earliest AI Gateway runtime version (major and minor) that supports them. A request that sets such a property is rejected unless the AI Gateway's `min_runtime_version` is at or above the annotated value. Versions are compared by major first, then minor. A feature whose `x-min-runtime-version` is greater than `info.x-latest-public-runtime-version` is not generally available yet and will be excluded from publicly available deliverables, exactly as if it were marked `x-internal`. license: name: Apache 2.0 url: 'https://www.apache.org/licenses/LICENSE-2.0.html' servers: - url: 'https://global.api.konghq.com' - url: 'https://us.api.konghq.com' - url: 'https://eu.api.konghq.com' - url: 'https://au.api.konghq.com' - url: 'https://me.api.konghq.com' - url: 'https://in.api.konghq.com' paths: /available-regions: servers: - url: 'https://global.api.konghq.com/v3' get: x-speakeasy-entity-operation: terraform-resource: null terraform-datasource: PlatformAvailableRegions#read operationId: list-available-regions summary: List Available Regions description: 'Get the Konnect regions available for use, grouped by rollout stage.' responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/AvailableRegionsResponse' 4XX: description: Client error 5XX: description: Server error tags: - Platform Regions /ip-addresses.json: servers: - url: 'https://ip-addresses.origin.konghq.com' get: x-speakeasy-entity-operation: terraform-resource: null terraform-datasource: PlatformIpAddresses#read operationId: list-ip-addresses summary: List Platform IP Addresses description: 'Get Konnect IP addresses by region/hostname, ingress, and egress' responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/IpAddressesResponse' 4XX: description: Client error 5XX: description: Server error tags: - Platform IPs /v0/serverless-cloud-gateways: post: x-speakeasy-entity-operation: terraform-resource: ServerlessCloudGateway#create terraform-datasource: null operationId: create-serverless-cloud-gateway summary: Create a new serverless cloud gateway description: |- **Pre-release Endpoint** This endpoint is currently in beta and is subject to change. Create a new serverless cloud gateway requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateServerlessCloudGatewayRequest' responses: '201': $ref: '#/components/responses/CreateServerlessCloudGatewayResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' servers: - url: 'https://global.api.konghq.com/' tags: - Serverless Cloud Gateways '/v0/serverless-cloud-gateways/{controlPlaneId}': parameters: - name: controlPlaneId in: path description: Id of the Serverless Cloud Gateway control plane required: true schema: type: string format: uuid example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-match: control_plane.id get: x-speakeasy-entity-operation: terraform-resource: ServerlessCloudGateway#read terraform-datasource: null operationId: get-serverless-cloud-gateway summary: Get the serverless cloud gateway description: |- **Pre-release Endpoint** This endpoint is currently in beta and is subject to change. Get the serverless cloud gateway responses: '200': $ref: '#/components/responses/RetrieveServerlessCloudGatewayResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Serverless Cloud Gateways delete: x-speakeasy-entity-operation: terraform-resource: ServerlessCloudGateway#delete terraform-datasource: null operationId: delete-serverless-cloud-gateway summary: Delete the serverless cloud gateway description: |- **Pre-release Endpoint** This endpoint is currently in beta and is subject to change. Delete the serverless cloud gateway responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Serverless Cloud Gateways /v1/ai-cost-management/budgets: post: x-speakeasy-entity-operation: terraform-resource: AICostBudget#create terraform-datasource: null operationId: create-cost-budget summary: Create a budget description: |- Creates a budget and returns it. The server assigns the identifier and records the caller as `created_by`. `effect` selects the kind of budget: a limit budget takes `limit`, `window`, and `posture`, and an exemption takes `validity`. A limit budget can split its limit with `scope.each`. - If the body is invalid, the request fails with `400`. - For a caller whose access covers only particular principals or groups, a `scope` that doesn't lie within those principals and groups fails with `400`, and `invalid_parameters` names `scope`. requestBody: required: true content: application/json: schema: discriminator: propertyName: effect mapping: limit: '#/components/schemas/AICostLimitBudgetInput' exempt: '#/components/schemas/AICostExemptBudgetInput' oneOf: - $ref: '#/components/schemas/AICostLimitBudgetInput' - $ref: '#/components/schemas/AICostExemptBudgetInput' responses: '201': description: The created budget. content: application/json: schema: $ref: '#/components/schemas/AICostBudget' '400': description: The request body is invalid. `invalid_parameters` names each invalid field. content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': description: 'The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn''t say which.' content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: 'The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn''t reveal whether that resource exists.' content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' tags: - budgets '/v1/ai-cost-management/budgets/{budgetId}': get: x-speakeasy-entity-operation: terraform-resource: AICostBudget#read terraform-datasource: null operationId: get-cost-budget summary: Get a budget description: 'Returns one of the organization''s budgets. If the organization has no budget with this identifier that the caller can see, or the identifier isn''t a valid UUID, the request fails with `404`.' parameters: - name: budgetId in: path description: The `id` of the budget. required: true schema: type: string format: uuid x-speakeasy-match: id responses: '200': description: The budget. content: application/json: schema: $ref: '#/components/schemas/AICostBudget' '401': description: 'The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn''t say which.' content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: 'The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn''t reveal whether that resource exists.' content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: The organization has no budget with this identifier that the caller can see. content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' tags: - budgets put: x-speakeasy-entity-operation: terraform-resource: AICostBudget#update terraform-datasource: null operationId: upsert-cost-budget summary: Replace a budget's updatable fields description: |- Replaces a budget's `name`, `labels`, `priority`, and `scope`, with `limit`, `window`, and `posture` on a limit budget or `validity` on an exemption, and returns the result. The request carries the full budget. The budget keeps its identifier, notification rule, and recorded firings. - An omitted `labels`, `managed_by`, `priority`, or `posture` resets to its default. - `effect` can't change. If the request changes it, it fails with `400` naming `effect`. - A changed `limit`, `scope`, or `window` applies to the whole current budget window. - Removing `scope.each` while the notification rule's message uses `{{entity.field}}` or `{{entity.value}}` fails with `400` naming `scope.each`. Change the message first. - Every replacement evaluates the budget's notification rule against the stored budget. A threshold that spend in the current budget window has reached fires at once, unless it already fired for that window and limit. A changed limit, or a changed window that moves the current window's start, therefore lets the thresholds fire again. A changed scope doesn't, but a changed `each` can fire for derived values new to the window. The evaluation runs after the budget is stored, so if it fails, retrying the same request completes it. - A caller whose access covers only particular principals or groups replaces a budget that lies within its groups alone, or one within its principals and groups that it created. Replacing any other budget it can see fails with `403`. The replacement's `scope` must keep the budget replaceable by the caller, or the request fails with `400` naming `scope`. - The server assigns identifiers, so if the organization has no budget with this identifier that the caller can see, or the identifier isn't a valid UUID, the request fails with `404` and doesn't create one. parameters: - name: budgetId in: path description: The `id` of the budget. required: true schema: type: string format: uuid x-speakeasy-match: id requestBody: required: true content: application/json: schema: discriminator: propertyName: effect mapping: limit: '#/components/schemas/AICostLimitBudgetInput' exempt: '#/components/schemas/AICostExemptBudgetInput' oneOf: - $ref: '#/components/schemas/AICostLimitBudgetInput' - $ref: '#/components/schemas/AICostExemptBudgetInput' responses: '200': description: The budget after the replacement. content: application/json: schema: $ref: '#/components/schemas/AICostBudget' '400': description: 'The request body is invalid. `invalid_parameters` names each invalid field. A change to `effect`, or a scoped caller''s `scope` outside what it manages, counts as invalid.' content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': description: 'The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn''t say which.' content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: 'The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn''t reveal whether that resource exists.' content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: The organization has no budget with this identifier that the caller can see. content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' tags: - budgets delete: x-speakeasy-entity-operation: terraform-resource: AICostBudget#delete terraform-datasource: null operationId: delete-cost-budget summary: Delete a budget description: |- Deletes a budget, with its notification rule and the rule's firings and deliveries. Deleting the same budget again fails with `404`. A caller whose access covers only particular principals or groups deletes a budget that lies within its groups alone, or one within its principals and groups that it created. Deleting any other budget it can see fails with `403`. If the organization has no budget with this identifier that the caller can see, or the identifier isn't a valid UUID, the request fails with `404`. parameters: - name: budgetId in: path description: The `id` of the budget. required: true schema: type: string format: uuid x-speakeasy-match: id responses: '204': description: The budget was deleted. '401': description: 'The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn''t say which.' content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: 'The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn''t reveal whether that resource exists.' content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: The organization has no budget with this identifier that the caller can see. content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' tags: - budgets '/v1/ai-cost-management/budgets/{budgetId}/notification-rule': get: x-speakeasy-entity-operation: terraform-resource: AICostBudgetNotificationRule#read terraform-datasource: null operationId: get-cost-notification-rule summary: Get a budget's notification rule description: |- Returns a limit budget's notification rule: the thresholds at which it fires, the channels that receive the alerts, and the wording of its messages. A budget has at most one rule. If the budget has no rule, the organization has no budget with this identifier that the caller can see, or the identifier isn't a valid UUID, the request fails with `404`. An exemption has no rule, so if the budget is an exemption, the request fails with `400`. parameters: - name: budgetId in: path description: The `id` of the budget. required: true schema: type: string format: uuid example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 x-speakeasy-param-force-new: true responses: '200': description: The notification rule. content: application/json: schema: $ref: '#/components/schemas/AICostNotificationRule' '400': description: 'The budget is an exemption, which has no notification rule. `invalid_parameters` names `budgetId`.' content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': description: 'The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn''t say which.' content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: 'The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn''t reveal whether that resource exists.' content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: 'The organization has no budget with this identifier that the caller can see, or the budget has no notification rule.' content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' tags: - budgets put: x-speakeasy-entity-operation: terraform-resource: 'AICostBudgetNotificationRule#create,update' terraform-datasource: null operationId: upsert-cost-notification-rule summary: Create or replace a notification rule description: |- Creates a limit budget's notification rule, or replaces its `thresholds`, `channels`, and `message`, and returns the rule. The response status is `201` when the request creates the rule and `200` when it replaces one. - The service evaluates the rule at once, so a threshold that spend in the current budget window has already reached fires right away. A threshold already recorded for this budget window, derived budget, and limit doesn't fire again. The evaluation runs after the rule is stored, so if it fails, retrying the same request completes it. - Omitting `message` or sending `null` restores the built-in wording. An omitted `managed_by` resets to `{}`. - Removing a threshold or channel keeps the firings and deliveries already recorded, and pending deliveries are still sent. - If a listed channel doesn't exist in the organization, the request fails with `400`, and `invalid_parameters` names `channels[i].id` with the rule `missing_reference`. - If `message` has an unknown placeholder or a `{{` without a closing `}}`, the request fails with `400`. It fails the same way when `message` uses `{{entity.field}}` or `{{entity.value}}` on a budget without `each`. - If the budget is an exemption, the request fails with `400`. If the organization has no budget with this identifier that the caller can see, or the identifier isn't a valid UUID, the request fails with `404`. parameters: - name: budgetId in: path description: The `id` of the budget. required: true schema: type: string format: uuid example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 x-speakeasy-param-force-new: true requestBody: required: true content: application/json: schema: type: object properties: thresholds: description: |- The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again. 1 to 10 thresholds, each with a different `percent`. type: array items: $ref: '#/components/schemas/AICostNotificationThreshold' format: set maxItems: 10 minItems: 1 uniqueItems: true channels: description: |- The channels that receive the rule's alerts. At most 10 channels, each listed once. Reads return them ordered by channel name. Defaults to `[]`. type: array items: type: object properties: id: description: The identifier of one of the organization's notification channels. type: string format: uuid pattern: '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$' required: - id additionalProperties: false format: set default: [] maxItems: 10 message: description: |- The wording of the rule's alerts on every channel, or `null` for the built-in wording. `subject` and `body` can contain placeholders, such as `{{budget.name}}`. A placeholder is `{{`, optional whitespace, a name from the list below, optional whitespace, and `}}`. There's no escaping, and a lone `}}` is text. Each alert fills the placeholders with its own values. Amounts appear in US dollars, such as `$4,125.50`. - `{{budget.name}}`: the budget's name. - `{{budget.url}}`: a link to the budget in Konnect. - `{{threshold}}`: the threshold that was crossed, such as `80%`. - `{{limit}}`: the limit that spend is measured against. With `each`, the limit of one derived budget. - `{{spend}}`: the spend so far in the budget window. - `{{percent}}`: the spend as a share of the limit, such as `82.51%`. - `{{remaining}}`: what is left of the limit, never below `$0.00`. - `{{projected}}`: where spend ends the budget window at the current pace, as an amount and a share of the limit. - `{{period}}`: the budget window, in the time zone of its anchor. - `{{period.start}}`: when the budget window started. - `{{period.end}}`: when the budget window ends and the budget resets. - `{{period.remaining}}`: how long is left in the budget window when the alert is sent, in its largest whole unit, such as `8 days` or `12 minutes`. Under a minute, it's `less than a minute`, and after the window ends, `no time`. - `{{entity.field}}`: the `each` field as a noun, such as `group`, `user` for `subject`, or `env tag` for `tags.env`. - `{{entity.value}}`: the value whose derived budget crossed the threshold. A Kong Identity principal or a consumer shows as its display name when the service can resolve it. Any other value, such as a Kong Identity group or team, shows as it is. `{{entity.field}}` and `{{entity.value}}` work only on a budget with `each`. Defaults to `null`. type: object default: null additionalProperties: false nullable: true properties: subject: description: |- The subject line of the rule's alerts, as plain text that can contain placeholders such as `{{budget.name}}`. A single line of 1 to 200 characters after the server removes leading and trailing whitespace. type: string maxLength: 200 minLength: 1 pattern: '^[^\r\n]*$' x-placeholder-syntax: '{{name}}' x-placeholders: - budget.name - budget.url - threshold - limit - spend - percent - remaining - projected - period - period.start - period.end - period.remaining - entity.field - entity.value body: description: |- The text of the rule's alerts, as plain text that can contain placeholders such as `{{budget.name}}`. Blank lines separate paragraphs. 1 to 2000 characters after the server removes leading and trailing whitespace. type: string maxLength: 2000 minLength: 1 x-placeholder-syntax: '{{name}}' x-placeholders: - budget.name - budget.url - threshold - limit - spend - percent - remaining - projected - period - period.start - period.end - period.remaining - entity.field - entity.value required: - subject - body x-speakeasy-param-computed: false managed_by: description: 'Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it. An omitted value on replacement resets to `{}`.' default: {} allOf: - $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - thresholds responses: '200': description: The notification rule after the replacement. content: application/json: schema: $ref: '#/components/schemas/AICostNotificationRule' '201': description: The created notification rule. content: application/json: schema: $ref: '#/components/schemas/AICostNotificationRule' '400': description: 'The request body is invalid. `invalid_parameters` names each invalid field, such as a listed channel that doesn''t exist. An exemption also fails with this status, with `invalid_parameters` naming `budgetId`.' content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': description: 'The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn''t say which.' content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: 'The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn''t reveal whether that resource exists.' content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: The organization has no budget with this identifier that the caller can see. content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' tags: - budgets delete: x-speakeasy-entity-operation: terraform-resource: AICostBudgetNotificationRule#delete terraform-datasource: null operationId: delete-cost-notification-rule summary: Delete a budget's notification rule description: |- Deletes a budget's notification rule, with its firings and their deliveries. The budget stays. Deleting the rule again fails with `404`. If the budget has no rule, the organization has no budget with this identifier that the caller can see, or the identifier isn't a valid UUID, the request fails with `404`. If the budget is an exemption, the request fails with `400`. parameters: - name: budgetId in: path description: The `id` of the budget. required: true schema: type: string format: uuid example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 x-speakeasy-param-force-new: true responses: '204': description: The rule was deleted. '400': description: 'The budget is an exemption, which has no notification rule. `invalid_parameters` names `budgetId`.' content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': description: 'The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn''t say which.' content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: 'The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn''t reveal whether that resource exists.' content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: 'The organization has no budget with this identifier that the caller can see, or the budget has no notification rule.' content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' tags: - budgets /v1/ai-cost-management/export-schedules: post: x-speakeasy-entity-operation: terraform-resource: AICostExportSchedule#create terraform-datasource: null operationId: create-cost-export-schedule summary: Create an export schedule description: |- Creates an export schedule and returns it. The server assigns the identifier. An `active` schedule creates one export of each of its periods as the period ends, starting with the period in progress. If the body is invalid, the request fails with `400`. If the organization already has 20 export schedules, the request fails with `409`. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AICostExportScheduleInput' responses: '201': description: The created export schedule. content: application/json: schema: $ref: '#/components/schemas/AICostExportSchedule' '400': description: The request body is invalid. `invalid_parameters` names each invalid field. content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': description: 'The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn''t say which.' content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: 'The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn''t reveal whether that resource exists.' content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '409': description: The organization already has 20 export schedules. Another can be created once one is deleted. content: application/problem+json: schema: $ref: '#/components/schemas/ConflictError' tags: - exports '/v1/ai-cost-management/export-schedules/{scheduleId}': get: x-speakeasy-entity-operation: terraform-resource: AICostExportSchedule#read terraform-datasource: null operationId: get-cost-export-schedule summary: Get an export schedule description: 'Returns one of the organization''s export schedules. If the organization has no export schedule with this identifier, or the identifier isn''t a valid UUID, the request fails with `404`.' parameters: - name: scheduleId in: path description: The `id` of the export schedule. required: true schema: type: string format: uuid x-speakeasy-match: id responses: '200': description: The export schedule. content: application/json: schema: $ref: '#/components/schemas/AICostExportSchedule' '401': description: 'The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn''t say which.' content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: 'The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn''t reveal whether that resource exists.' content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: The organization has no export schedule with this identifier. content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' tags: - exports put: x-speakeasy-entity-operation: terraform-resource: AICostExportSchedule#update terraform-datasource: null operationId: upsert-cost-export-schedule summary: Replace an export schedule description: |- Replaces an export schedule's `name`, `status`, `dataset`, `focus`, `format`, `compression`, and `filters`, and returns the result. The schedule keeps its identifier. - The request carries the full schedule, so an omitted `filters` clears the filters, an omitted `status` resumes a paused schedule, and an omitted `managed_by` resets to `{}`. - Setting `status` to `paused` pauses the schedule, and setting it to `active` resumes it. - The replacement applies to the periods that end after it. Exports that the schedule already created don't change. If runs are late, the replacement first creates the missed exports with the earlier settings, within the schedule's limit of 31 periods. - `cadence` and `time_zone` can't change, so the body repeats their stored values. If either differs, the request fails with `400` naming the field. Redefining a schedule's periods takes a delete and a create. - An omitted `time_zone` counts as `UTC`, so a replacement of a schedule in another time zone that omits it fails with `400`. - If the organization has no export schedule with this identifier, or the identifier isn't a valid UUID, the request fails with `404`. The request never creates a schedule. parameters: - name: scheduleId in: path description: The `id` of the export schedule. required: true schema: type: string format: uuid x-speakeasy-match: id requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AICostExportScheduleInput' responses: '200': description: The export schedule after the replacement. content: application/json: schema: $ref: '#/components/schemas/AICostExportSchedule' '400': description: The request body is invalid. `invalid_parameters` names each invalid field. A `cadence` or `time_zone` that differs from the schedule's counts as invalid. content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': description: 'The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn''t say which.' content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: 'The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn''t reveal whether that resource exists.' content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: The organization has no export schedule with this identifier. content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' tags: - exports delete: x-speakeasy-entity-operation: terraform-resource: AICostExportSchedule#delete terraform-datasource: null operationId: delete-cost-export-schedule summary: Delete an export schedule description: |- Deletes an export schedule. The exports it created remain, with `schedule` set to `null`, and a `pending` one still runs. If the organization has no export schedule with this identifier, or the identifier isn't a valid UUID, the request fails with `404`. This includes deleting the same schedule again. parameters: - name: scheduleId in: path description: The `id` of the export schedule. required: true schema: type: string format: uuid x-speakeasy-match: id responses: '204': description: The export schedule was deleted. '401': description: 'The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn''t say which.' content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: 'The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn''t reveal whether that resource exists.' content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: The organization has no export schedule with this identifier. content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' tags: - exports /v1/ai-cost-management/notification-channels: post: x-speakeasy-entity-operation: terraform-resource: AICostNotificationChannel#create terraform-datasource: null operationId: create-cost-notification-channel summary: Create a notification channel description: |- Creates a notification channel in the organization and returns it. The server assigns the identifier. `type` selects the kind of channel: an email channel takes its recipients in `email`, and a Slack channel takes an incoming webhook URL in `slack`. The response shows the webhook URL with its secret token replaced by `…`. If the body is invalid, such as a webhook URL that isn't a Slack incoming webhook URL, the request fails with `400`. requestBody: required: true content: application/json: schema: discriminator: propertyName: type mapping: email: '#/components/schemas/AICostEmailNotificationChannelInput' slack: '#/components/schemas/AICostSlackNotificationChannelInput' oneOf: - $ref: '#/components/schemas/AICostEmailNotificationChannelInput' - $ref: '#/components/schemas/AICostSlackNotificationChannelInput' responses: '201': description: The created notification channel. content: application/json: schema: $ref: '#/components/schemas/AICostNotificationChannel' '400': description: The request body is invalid. `invalid_parameters` names each invalid field. content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': description: 'The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn''t say which.' content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: 'The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn''t reveal whether that resource exists.' content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' tags: - notification-channels '/v1/ai-cost-management/notification-channels/{channelId}': get: x-speakeasy-entity-operation: terraform-resource: AICostNotificationChannel#read terraform-datasource: null operationId: get-cost-notification-channel summary: Get a notification channel description: 'Returns one of the organization''s notification channels. If the organization has no notification channel with this identifier, or the identifier isn''t a valid UUID, the request fails with `404`.' parameters: - name: channelId in: path description: The `id` of the notification channel. required: true schema: type: string format: uuid x-speakeasy-match: id responses: '200': description: The notification channel. content: application/json: schema: $ref: '#/components/schemas/AICostNotificationChannel' '401': description: 'The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn''t say which.' content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: 'The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn''t reveal whether that resource exists.' content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: The organization has no notification channel with this identifier. content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' tags: - notification-channels put: x-speakeasy-entity-operation: terraform-resource: AICostNotificationChannel#update terraform-datasource: null operationId: upsert-cost-notification-channel summary: Replace a notification channel description: |- Replaces a notification channel's `name`, `labels`, and settings, and returns the result. The channel keeps its identifier and type. - The request carries the full channel, so an omitted `labels` or `managed_by` clears it. - A Slack channel keeps its stored webhook URL when the request omits `slack.webhook_url`. This is the only exception to full replacement, because reads never return the full URL. - If `type` differs from the stored type, the request fails with `400`, and `invalid_parameters` names `type`. - If the organization has no notification channel with this identifier, or the identifier isn't a valid UUID, the request fails with `404`. The request never creates a channel. parameters: - name: channelId in: path description: The `id` of the notification channel. required: true schema: type: string format: uuid x-speakeasy-match: id requestBody: required: true content: application/json: schema: discriminator: propertyName: type mapping: email: '#/components/schemas/AICostEmailNotificationChannelInput' slack: '#/components/schemas/AICostSlackNotificationChannelReplaceInput' oneOf: - $ref: '#/components/schemas/AICostEmailNotificationChannelInput' - $ref: '#/components/schemas/AICostSlackNotificationChannelReplaceInput' responses: '200': description: The notification channel after the replacement. content: application/json: schema: $ref: '#/components/schemas/AICostNotificationChannel' '400': description: The request body is invalid. `invalid_parameters` names each invalid field. Changing the channel's `type` is invalid too. content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': description: 'The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn''t say which.' content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: 'The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn''t reveal whether that resource exists.' content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: The organization has no notification channel with this identifier. content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' tags: - notification-channels delete: x-speakeasy-entity-operation: terraform-resource: AICostNotificationChannel#delete terraform-datasource: null operationId: delete-cost-notification-channel summary: Delete a notification channel description: |- Deletes a notification channel, removes it from every notification rule that lists it, and deletes its deliveries and channel tests, including any still pending. If the organization has no notification channel with this identifier, or the identifier isn't a valid UUID, the request fails with `404`. This includes deleting the same channel again. parameters: - name: channelId in: path description: The `id` of the notification channel. required: true schema: type: string format: uuid x-speakeasy-match: id responses: '204': description: The channel was deleted. '401': description: 'The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn''t say which.' content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: 'The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn''t reveal whether that resource exists.' content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: The organization has no notification channel with this identifier. content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' tags: - notification-channels /v1/ai-gateways: post: x-speakeasy-entity-operation: terraform-resource: AIGateway#create terraform-datasource: null operationId: create-ai-gateway summary: Create an AI Gateway description: Creates a new AI Gateway in the organization. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateways '/v1/ai-gateways/{gatewayId}': parameters: - $ref: '#/components/parameters/AIGatewayIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGateway#read terraform-datasource: null operationId: get-ai-gateway summary: Get an AI Gateway description: Returns the details of a specific AI Gateway. responses: '200': $ref: '#/components/responses/GetAIGatewayResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateways put: x-speakeasy-entity-operation: terraform-resource: AIGateway#update terraform-datasource: null operationId: update-ai-gateway summary: Update an AI Gateway description: Updates the configuration of an existing AI Gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateways delete: x-speakeasy-entity-operation: terraform-resource: AIGateway#delete terraform-datasource: null operationId: delete-ai-gateway summary: Delete an AI Gateway description: Deletes an existing AI Gateway. responses: '204': description: AI Gateway deleted successfully. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateways '/v1/ai-gateways/{gatewayId}/agents': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayAgent#create terraform-datasource: null operationId: create-ai-gateway-agent summary: Create an AI Gateway Agent description: Creates a new agent for the AI Gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayAgentRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayAgentResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Agents '/v1/ai-gateways/{gatewayId}/agents/{agentIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayAgentIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayAgent#read terraform-datasource: null operationId: get-ai-gateway-agent summary: Get an AI Gateway Agent description: Returns the details of a specific AI Gateway agent. responses: '200': $ref: '#/components/responses/GetAIGatewayAgentResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Agents put: x-speakeasy-entity-operation: terraform-resource: AIGatewayAgent#update terraform-datasource: null operationId: update-ai-gateway-agent summary: Update an AI Gateway Agent description: Updates the configuration of an existing AI Gateway agent. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayAgentRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayAgentResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Agents delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayAgent#delete terraform-datasource: null operationId: delete-ai-gateway-agent summary: Delete an AI Gateway Agent description: Removes a specific AI Gateway agent. responses: '204': description: Agent deleted successfully. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Agents '/v1/ai-gateways/{gatewayId}/auth-strategies': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayAuthStrategy#create terraform-datasource: null operationId: create-ai-gateway-auth-strategy summary: Create an AI Gateway Auth Strategy description: Registers a new auth strategy for the AI Gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayAuthStrategyRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayAuthStrategyResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Auth Strategies '/v1/ai-gateways/{gatewayId}/auth-strategies/{authStrategyIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayAuthStrategyIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayAuthStrategy#read terraform-datasource: null operationId: get-ai-gateway-auth-strategy summary: Get an AI Gateway Auth Strategy description: Returns the details of a specific AI Gateway auth strategy. responses: '200': $ref: '#/components/responses/GetAIGatewayAuthStrategyResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Auth Strategies put: x-speakeasy-entity-operation: terraform-resource: AIGatewayAuthStrategy#update terraform-datasource: null operationId: update-ai-gateway-auth-strategy summary: Update an AI Gateway Auth Strategy description: Updates the configuration of an existing AI Gateway auth strategy. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayAuthStrategyRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayAuthStrategyResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Auth Strategies delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayAuthStrategy#delete terraform-datasource: null operationId: delete-ai-gateway-auth-strategy summary: Delete an AI Gateway Auth Strategy description: Removes a specific AI Gateway auth strategy. responses: '204': description: Auth strategy deleted successfully. '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Auth Strategies '/v1/ai-gateways/{gatewayId}/ca-certificates': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayCACertificate#create terraform-datasource: null operationId: create-ai-gateway-ca-certificate summary: Create an AI Gateway CA Certificate description: Creates a new CA certificate for the AI Gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayCACertificateRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayCACertificateResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway CA Certificates '/v1/ai-gateways/{gatewayId}/ca-certificates/{caCertificateIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayCACertificateIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayCACertificate#read terraform-datasource: null operationId: get-ai-gateway-ca-certificate summary: Get an AI Gateway CA Certificate description: Returns the details of a specific AI Gateway CA certificate. responses: '200': $ref: '#/components/responses/GetAIGatewayCACertificateResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway CA Certificates put: x-speakeasy-entity-operation: terraform-resource: AIGatewayCACertificate#update terraform-datasource: null operationId: update-ai-gateway-ca-certificate summary: Update an AI Gateway CA Certificate description: Updates an existing AI Gateway CA certificate. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayCACertificateRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayCACertificateResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway CA Certificates delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayCACertificate#delete terraform-datasource: null operationId: delete-ai-gateway-ca-certificate summary: Delete an AI Gateway CA Certificate description: Removes a specific AI Gateway CA certificate. responses: '204': description: CA certificate deleted successfully. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway CA Certificates '/v1/ai-gateways/{gatewayId}/certificates': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayCertificate#create terraform-datasource: null operationId: create-ai-gateway-certificate summary: Create an AI Gateway Certificate description: Creates a new certificate for the AI Gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayCertificateRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayCertificateResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Certificates '/v1/ai-gateways/{gatewayId}/certificates/{certificateIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayCertificateIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayCertificate#read terraform-datasource: null operationId: get-ai-gateway-certificate summary: Get an AI Gateway Certificate description: Returns the details of a specific AI Gateway certificate. responses: '200': $ref: '#/components/responses/GetAIGatewayCertificateResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Certificates put: x-speakeasy-entity-operation: terraform-resource: AIGatewayCertificate#update terraform-datasource: null operationId: update-ai-gateway-certificate summary: Update an AI Gateway Certificate description: Updates an existing AI Gateway certificate. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayCertificateRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayCertificateResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Certificates delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayCertificate#delete terraform-datasource: null operationId: delete-ai-gateway-certificate summary: Delete an AI Gateway Certificate description: Removes a specific AI Gateway certificate. responses: '204': description: Certificate deleted successfully. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Certificates '/v1/ai-gateways/{gatewayId}/config-stores': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayConfigStore#create terraform-datasource: null operationId: create-ai-gateway-config-store summary: Create an AI Gateway Config Store description: Creates a new Config Store for the AI Gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayConfigStoreRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayConfigStoreResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Config Stores '/v1/ai-gateways/{gatewayId}/config-stores/{configStoreIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayConfigStoreIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayConfigStore#read terraform-datasource: null operationId: get-ai-gateway-config-store summary: Get an AI Gateway Config Store description: Returns the details of a specific AI Gateway Config Store. responses: '200': $ref: '#/components/responses/GetAIGatewayConfigStoreResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Config Stores put: x-speakeasy-entity-operation: terraform-resource: AIGatewayConfigStore#update terraform-datasource: null operationId: update-ai-gateway-config-store summary: Update an AI Gateway Config Store description: Updates the configuration of an existing AI Gateway Config Store. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayConfigStoreRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayConfigStoreResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Config Stores delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayConfigStore#delete terraform-datasource: null operationId: delete-ai-gateway-config-store summary: Delete an AI Gateway Config Store description: Removes a specific AI Gateway Config Store. parameters: - name: force in: query description: 'If true, delete the Config Store and all its secrets. If false, deletion is rejected when secrets are still linked to the Config Store.' schema: type: boolean default: false responses: '204': description: Config Store deleted successfully. '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Config Stores '/v1/ai-gateways/{gatewayId}/config-stores/{configStoreIdOrName}/secrets': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayConfigStoreIdParam' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayConfigStoreSecret#create terraform-datasource: null operationId: create-ai-gateway-config-store-secret summary: Create an AI Gateway Config Store Secret description: Creates a secret for an AI Gateway Config Store. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayConfigStoreSecretRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayConfigStoreSecretResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Config Stores '/v1/ai-gateways/{gatewayId}/config-stores/{configStoreIdOrName}/secrets/{key}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayConfigStoreIdParam' - name: key in: path description: Config Store Secret key. required: true schema: $ref: '#/components/schemas/AIGatewayConfigStoreSecretKey' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayConfigStoreSecret#read terraform-datasource: null operationId: get-ai-gateway-config-store-secret summary: Get an AI Gateway Config Store Secret description: Returns the secret entity for the Config Store. Secret values once stored cannot be retrieved. responses: '200': $ref: '#/components/responses/GetAIGatewayConfigStoreSecretResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Config Stores put: x-speakeasy-entity-operation: terraform-resource: AIGatewayConfigStoreSecret#update terraform-datasource: null operationId: update-ai-gateway-config-store-secret summary: Update an AI Gateway Config Store Secret description: Updates a secret for an AI Gateway Config Store. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayConfigStoreSecretRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayConfigStoreSecretResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Config Stores delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayConfigStoreSecret#delete terraform-datasource: null operationId: delete-ai-gateway-config-store-secret summary: Delete an AI Gateway Config Store Secret description: Removes a secret from an AI Gateway Config Store. responses: '204': description: Config Store Secret deleted successfully. '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Config Stores '/v1/ai-gateways/{gatewayId}/consumer-groups': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayConsumerGroup#create terraform-datasource: null operationId: create-ai-gateway-consumer-group summary: Create an AI Gateway Consumer Group description: Creates a new Consumer Group for the AI Gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayConsumerGroupRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayConsumerGroupResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Consumer Groups '/v1/ai-gateways/{gatewayId}/consumer-groups/{consumerGroupId}/consumers': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayConsumerGroupId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayConsumerGroupMember#create terraform-datasource: null operationId: add-ai-gateway-consumer-to-consumer-group summary: Add a Consumer to a Consumer Group description: Add a consumer to an AI Gateway Consumer Group. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AddAIGatewayConsumerToGroupRequest' responses: '201': $ref: '#/components/responses/AddAIGatewayConsumerToGroupResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Consumer Groups '/v1/ai-gateways/{gatewayId}/consumer-groups/{consumerGroupId}/consumers/{consumerIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayConsumerGroupId' - $ref: '#/components/parameters/AIGatewayConsumerGroupMemberIdParam' delete: x-speakeasy-entity-operation: AIGatewayConsumerGroupMember#delete operationId: remove-ai-gateway-consumer-from-consumer-group summary: Remove a Consumer from a Consumer Group description: Remove a consumer from an AI Gateway Consumer Group. responses: '204': description: Consumer removed from group successfully. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Consumer Groups '/v1/ai-gateways/{gatewayId}/consumer-groups/{consumerGroupIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayConsumerGroupIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayConsumerGroup#read terraform-datasource: null operationId: get-ai-gateway-consumer-group summary: Get an AI Gateway Consumer Group description: Returns the details of a specific AI Gateway Consumer Group. responses: '200': $ref: '#/components/responses/GetAIGatewayConsumerGroupResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Consumer Groups put: x-speakeasy-entity-operation: terraform-resource: AIGatewayConsumerGroup#update terraform-datasource: null operationId: update-ai-gateway-consumer-group summary: Update an AI Gateway Consumer Group description: Updates the configuration of an existing AI Gateway Consumer Group. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayConsumerGroupRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayConsumerGroupResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Consumer Groups delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayConsumerGroup#delete terraform-datasource: null operationId: delete-ai-gateway-consumer-group summary: Delete an AI Gateway Consumer Group description: Removes a specific AI Gateway Consumer Group. responses: '204': description: Consumer Group deleted successfully. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Consumer Groups '/v1/ai-gateways/{gatewayId}/consumers': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayConsumer#create terraform-datasource: null operationId: create-ai-gateway-consumer summary: Create an AI Gateway Consumer description: Creates a new consumer for the AI Gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayConsumerRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayConsumerResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Consumers '/v1/ai-gateways/{gatewayId}/consumers/{consumerId}/credentials': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayConsumerId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayConsumerCredential#create terraform-datasource: null operationId: create-ai-gateway-consumer-credential summary: Create an AI Gateway Consumer Credential description: Creates a new credential for an AI Gateway consumer. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayConsumerCredentialRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayConsumerCredentialResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Consumers '/v1/ai-gateways/{gatewayId}/consumers/{consumerId}/credentials/{credentialId}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayConsumerId' - $ref: '#/components/parameters/AIGatewayConsumerCredentialIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayConsumerCredential#read terraform-datasource: null operationId: get-ai-gateway-consumer-credential summary: Get an AI Gateway Consumer Credential description: Returns the details of a specific credential for an AI Gateway consumer. responses: '200': $ref: '#/components/responses/GetAIGatewayConsumerCredentialResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Consumers delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayConsumerCredential#delete terraform-datasource: null operationId: delete-ai-gateway-consumer-credential summary: Delete an AI Gateway Consumer Credential description: Removes a specific credential for an AI Gateway consumer. responses: '204': description: Credential deleted successfully. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Consumers '/v1/ai-gateways/{gatewayId}/consumers/{consumerIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayConsumerIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayConsumer#read terraform-datasource: null operationId: get-ai-gateway-consumer summary: Get an AI Gateway Consumer description: Returns the details of a specific AI Gateway consumer. responses: '200': $ref: '#/components/responses/GetAIGatewayConsumerResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Consumers put: x-speakeasy-entity-operation: terraform-resource: AIGatewayConsumer#update terraform-datasource: null operationId: update-ai-gateway-consumer summary: Update an AI Gateway Consumer description: Updates the configuration of an existing AI Gateway consumer. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayConsumerRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayConsumerResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Consumers delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayConsumer#delete terraform-datasource: null operationId: delete-ai-gateway-consumer summary: Delete an AI Gateway Consumer description: Removes a specific AI Gateway consumer. responses: '204': description: Consumer deleted successfully. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Consumers '/v1/ai-gateways/{gatewayId}/custom-policies': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayCustomPolicy#create terraform-datasource: null operationId: create-ai-gateway-custom-policy summary: Create an AI Gateway Custom Policy description: Registers a new custom policy for the AI Gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayCustomPolicyRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayCustomPolicyResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Custom Policies '/v1/ai-gateways/{gatewayId}/custom-policies/{customPolicyIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayCustomPolicyIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayCustomPolicy#read terraform-datasource: null operationId: get-ai-gateway-custom-policy summary: Get an AI Gateway Custom Policy description: Returns the details of a specific AI Gateway custom policy. responses: '200': $ref: '#/components/responses/GetAIGatewayCustomPolicyResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Custom Policies put: x-speakeasy-entity-operation: terraform-resource: AIGatewayCustomPolicy#update terraform-datasource: null operationId: update-ai-gateway-custom-policy summary: Update an AI Gateway Custom Policy description: Updates the configuration of an existing AI Gateway custom policy. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayCustomPolicyRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayCustomPolicyResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Custom Policies delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayCustomPolicy#delete terraform-datasource: null operationId: delete-ai-gateway-custom-policy summary: Delete an AI Gateway Custom Policy description: Removes a specific AI Gateway custom policy. responses: '204': description: Custom policy deleted successfully. '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Custom Policies '/v1/ai-gateways/{gatewayId}/data-plane-certificates': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayDataPlaneCertificate#create terraform-datasource: null operationId: create-ai-gateway-data-plane-certificate summary: Create New AI Gateway DataPlane Certificate description: Create a new DataPlane Certificate for this AI Gateway. A DataPlane certificate allows DataPlanes configured with the certificate and corresponding private key to establish connection with this AI Gateway. requestBody: content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayDataPlaneCertificateRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayDataPlaneCertificateResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway DataPlane Certificates '/v1/ai-gateways/{gatewayId}/data-plane-certificates/{certificateId}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayDataPlaneCertificateIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayDataPlaneCertificate#read terraform-datasource: null operationId: get-ai-gateway-data-plane-certificate summary: Get a DataPlane Certificate description: Retrieve a DataPlane certificate associated to this AI Gateway. A DataPlane certificate allows DataPlanes configured with the certificate and corresponding private key to establish connection with this AI Gateway. responses: '200': $ref: '#/components/responses/GetAIGatewayDataPlaneCertificateResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway DataPlane Certificates delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayDataPlaneCertificate#delete terraform-datasource: null operationId: delete-ai-gateway-data-plane-certificate summary: Delete AI Gateway DataPlane Certificate description: Remove a DataPlane client certificate associated to this AI Gateway. Removing a DataPlane certificate would invalidate any DataPlanes currently connected to this AI Gateway using this certificate. responses: '204': description: No Content '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway DataPlane Certificates '/v1/ai-gateways/{gatewayId}/datastores': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayDatastore#create terraform-datasource: null operationId: create-ai-gateway-datastore summary: Create an AI Gateway Datastore description: Creates a new Datastore for the AI Gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayDatastoreRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayDatastoreResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Datastores '/v1/ai-gateways/{gatewayId}/datastores/{datastoreIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayDatastoreIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayDatastore#read terraform-datasource: null operationId: get-ai-gateway-datastore summary: Get an AI Gateway Datastore description: Returns the details of a specific AI Gateway Datastore. responses: '200': $ref: '#/components/responses/GetAIGatewayDatastoreResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Datastores put: x-speakeasy-entity-operation: terraform-resource: AIGatewayDatastore#update terraform-datasource: null operationId: update-ai-gateway-datastore summary: Update an AI Gateway Datastore description: | Updates the configuration of an existing AI Gateway Datastore. `name` and `type` are immutable after creation; attempting to change either is rejected. Write-only fields in `config`, such as passwords and cloud credentials, are never returned in responses. On update, each write-only field follows these rules: - Omit the field to keep the stored value. A request built from a GET response therefore keeps every stored secret. - Set the field to `null` to clear the stored value. - Set the field to a new value to replace the stored value. If the request changes `config.cloud_authentication.auth_provider`, the stored cloud secrets of the previous provider are not kept. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayDatastoreRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayDatastoreResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Datastores delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayDatastore#delete terraform-datasource: null operationId: delete-ai-gateway-datastore summary: Delete an AI Gateway Datastore description: Deletes an AI Gateway Datastore. Rejected with a 409 if the Datastore is still referenced by a policy or model. responses: '204': description: Datastore deleted successfully. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Datastores '/v1/ai-gateways/{gatewayId}/mcp-servers': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayMCPServer#create terraform-datasource: null operationId: create-ai-gateway-mcp-server summary: Create an MCP Server description: Registers a new MCP Server for the AI Gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayMCPServerRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayMCPServerResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway MCP Servers '/v1/ai-gateways/{gatewayId}/mcp-servers/{mcpServerIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayMcpServerIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayMCPServer#read terraform-datasource: null operationId: get-ai-gateway-mcp-server summary: Get an MCP Server description: Returns the details of a specific MCP Server. responses: '200': $ref: '#/components/responses/GetMCPServerResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway MCP Servers put: x-speakeasy-entity-operation: terraform-resource: AIGatewayMCPServer#update terraform-datasource: null operationId: update-ai-gateway-mcp-server summary: Update an MCP Server description: Updates the configuration of an existing MCP Server. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayMCPServerRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayMCPServerResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway MCP Servers delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayMCPServer#delete terraform-datasource: null operationId: delete-ai-gateway-mcp-server summary: Delete an MCP Server description: Removes a specific MCP Server from the AI Gateway. responses: '204': description: MCP Server deleted successfully. '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway MCP Servers '/v1/ai-gateways/{gatewayId}/model-providers': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayModelProvider#create terraform-datasource: null operationId: create-ai-gateway-model-provider summary: Create an AI Gateway Model Provider description: Registers a new model provider for the AI Gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayModelProviderRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayModelProviderResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Model Providers '/v1/ai-gateways/{gatewayId}/model-providers/{modelProviderIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayModelProviderIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayModelProvider#read terraform-datasource: null operationId: get-ai-gateway-model-provider summary: Get an AI Gateway Model Provider description: Returns the details of a specific AI Gateway model provider. responses: '200': $ref: '#/components/responses/GetAIGatewayModelProviderResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Model Providers put: x-speakeasy-entity-operation: terraform-resource: AIGatewayModelProvider#update terraform-datasource: null operationId: update-ai-gateway-model-provider summary: Update an AI Gateway Model Provider description: Updates the configuration of an existing AI Gateway model provider. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayModelProviderRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayModelProviderResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Model Providers delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayModelProvider#delete terraform-datasource: null operationId: delete-ai-gateway-model-provider summary: Delete an AI Gateway Model Provider description: Removes a specific AI Gateway model provider. responses: '204': description: Model provider deleted successfully. '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Model Providers '/v1/ai-gateways/{gatewayId}/models': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayModel#create terraform-datasource: null operationId: create-ai-gateway-model summary: Create an AI Gateway Model description: 'Registers a new model with routing, capabilities, and target backends.' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayModelRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayModelResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Models '/v1/ai-gateways/{gatewayId}/models/{modelIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayModelIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayModel#read terraform-datasource: null operationId: get-ai-gateway-model summary: Get an AI Gateway Model description: Returns the details of a specific AI Gateway model. responses: '200': $ref: '#/components/responses/GetAIGatewayModelResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Models put: x-speakeasy-entity-operation: terraform-resource: AIGatewayModel#update terraform-datasource: null operationId: update-ai-gateway-model summary: Update an AI Gateway Model description: Updates the configuration of an existing AI Gateway model. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayModelRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayModelResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Models delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayModel#delete terraform-datasource: null operationId: delete-ai-gateway-model summary: Delete an AI Gateway Model description: Removes a specific AI Gateway model. responses: '204': description: Model deleted successfully. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Models '/v1/ai-gateways/{gatewayId}/policies': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayPolicy#create terraform-datasource: null operationId: create-ai-gateway-policy summary: Create an AI Gateway Policy description: Registers a new policy for the AI Gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayPolicyRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayPolicyResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Policies '/v1/ai-gateways/{gatewayId}/policies/{policyIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayPolicyIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayPolicy#read terraform-datasource: null operationId: get-ai-gateway-policy summary: Get an AI Gateway Policy description: Returns the details of a specific AI Gateway policy. responses: '200': $ref: '#/components/responses/GetAIGatewayPolicyResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Policies put: x-speakeasy-entity-operation: terraform-resource: AIGatewayPolicy#update terraform-datasource: null operationId: update-ai-gateway-policy summary: Update an AI Gateway Policy description: Updates the configuration of an existing AI Gateway policy. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayPolicyRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayPolicyResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Policies delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayPolicy#delete terraform-datasource: null operationId: delete-ai-gateway-policy summary: Delete an AI Gateway Policy description: Removes a specific AI Gateway policy. responses: '204': description: Policy deleted successfully. '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Policies '/v1/ai-gateways/{gatewayId}/snis': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewaySNI#create terraform-datasource: null operationId: create-ai-gateway-sni summary: Create an AI Gateway SNI description: Creates a new SNI for the AI Gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewaySNIRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewaySNIResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway SNIs '/v1/ai-gateways/{gatewayId}/snis/{sniIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewaySNIIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewaySNI#read terraform-datasource: null operationId: get-ai-gateway-sni summary: Get an AI Gateway SNI description: Returns the details of a specific AI Gateway SNI. responses: '200': $ref: '#/components/responses/GetAIGatewaySNIResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway SNIs put: x-speakeasy-entity-operation: terraform-resource: AIGatewaySNI#update terraform-datasource: null operationId: update-ai-gateway-sni summary: Update an AI Gateway SNI description: Updates an existing AI Gateway SNI. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewaySNIRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewaySNIResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway SNIs delete: x-speakeasy-entity-operation: terraform-resource: AIGatewaySNI#delete terraform-datasource: null operationId: delete-ai-gateway-sni summary: Delete an AI Gateway SNI description: Removes a specific AI Gateway SNI. responses: '204': description: SNI deleted successfully. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway SNIs '/v1/ai-gateways/{gatewayId}/vaults': parameters: - $ref: '#/components/parameters/AIGatewayId' post: x-speakeasy-entity-operation: terraform-resource: AIGatewayVault#create terraform-datasource: null operationId: create-ai-gateway-vault summary: Create an AI Gateway Vault description: Registers a new vault for the AI Gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAIGatewayVaultRequest' responses: '201': $ref: '#/components/responses/CreateAIGatewayVaultResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Vaults '/v1/ai-gateways/{gatewayId}/vaults/{vaultIdOrName}': parameters: - $ref: '#/components/parameters/AIGatewayId' - $ref: '#/components/parameters/AIGatewayVaultIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: AIGatewayVault#read terraform-datasource: null operationId: get-ai-gateway-vault summary: Get an AI Gateway Vault description: Returns the details of a specific AI Gateway vault. responses: '200': $ref: '#/components/responses/GetAIGatewayVaultResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Vaults put: x-speakeasy-entity-operation: terraform-resource: AIGatewayVault#update terraform-datasource: null operationId: update-ai-gateway-vault summary: Update an AI Gateway Vault description: Updates the configuration of an existing AI Gateway vault. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAIGatewayVaultRequest' responses: '200': $ref: '#/components/responses/UpdateAIGatewayVaultResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Vaults delete: x-speakeasy-entity-operation: terraform-resource: AIGatewayVault#delete terraform-datasource: null operationId: delete-ai-gateway-vault summary: Delete an AI Gateway Vault description: Removes a specific AI Gateway vault. responses: '204': description: Vault deleted successfully. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '429': $ref: '#/components/responses/TooManyRequests' tags: - AI Gateway Vaults /v1/ai-models: post: x-speakeasy-entity-operation: terraform-resource: CatalogAiModel#create terraform-datasource: null operationId: create-ai-model summary: Create AI Model description: | Creates a bare AI Model. No `target_models` are accepted here — create the version separately with `POST /ai-models/{aiModelId}/versions`. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiModelCreate' responses: '201': description: The created AI Model content: application/json: schema: $ref: '#/components/schemas/AiModel' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' tags: - Catalog AI Models '/v1/ai-models/{aiModelId}': parameters: - $ref: '#/components/parameters/AiModelIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: CatalogAiModel#read terraform-datasource: null operationId: get-ai-model summary: Get AI Model description: Returns a single AI Model. responses: '200': description: AI Model details content: application/json: schema: $ref: '#/components/schemas/AiModel' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog AI Models put: x-speakeasy-entity-operation: terraform-resource: CatalogAiModel#update terraform-datasource: null operationId: upsert-ai-model summary: Replace AI Model description: | Replaces an AI Model. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiModelReplace' responses: '200': description: The replaced AI Model content: application/json: schema: $ref: '#/components/schemas/AiModel' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Catalog AI Models delete: x-speakeasy-entity-operation: terraform-resource: CatalogAiModel#delete terraform-datasource: null operationId: delete-ai-model summary: Delete AI Model description: | Deletes an AI Model. responses: '204': description: Successfully deleted the AI Model '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog AI Models '/v1/ai-models/{aiModelId}/implementations': parameters: - $ref: '#/components/parameters/AiModelIdForChildren' post: x-speakeasy-entity-operation: terraform-resource: CatalogAiModelImplementation#create terraform-datasource: null operationId: create-ai-model-implementation summary: Create AI Model implementation description: | Creates an implementation record for the AI Model. Returns `409` if the model has an existing implementation. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiModelImplementationCreate' responses: '201': description: The created implementation content: application/json: schema: $ref: '#/components/schemas/AiModelImplementation' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Catalog AI Model Implementations '/v1/ai-models/{aiModelId}/implementations/{implementationId}': parameters: - $ref: '#/components/parameters/AiModelIdForChildren' - $ref: '#/components/parameters/AiModelImplementationIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: CatalogAiModelImplementation#read terraform-datasource: null operationId: get-ai-model-implementation summary: Get AI Model implementation description: Returns a single AI Model implementation record. responses: '200': description: AI Model implementation details content: application/json: schema: $ref: '#/components/schemas/AiModelImplementation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog AI Model Implementations delete: x-speakeasy-entity-operation: terraform-resource: CatalogAiModelImplementation#delete terraform-datasource: null operationId: delete-ai-model-implementation summary: Delete AI Model implementation description: Removes a single AI Model implementation (link) record by identifier. responses: '204': description: Successfully deleted the AI Model implementation '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog AI Model Implementations '/v1/ai-models/{aiModelId}/versions': parameters: - $ref: '#/components/parameters/AiModelIdForChildren' post: x-speakeasy-entity-operation: terraform-resource: CatalogAiModelVersion#create terraform-datasource: null operationId: create-ai-model-version summary: Create AI Model version description: | Creates the `latest` version with its `target_models`. Currently, a model only has a single version. Returns `409` if a version already exists. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiModelVersionCreate' responses: '201': description: The created version content: application/json: schema: $ref: '#/components/schemas/AiModelVersion' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Catalog AI Model Versions '/v1/ai-models/{aiModelId}/versions/latest': parameters: - $ref: '#/components/parameters/AiModelIdForChildren' get: x-speakeasy-entity-operation: terraform-resource: CatalogAiModelVersion#read terraform-datasource: null operationId: get-latest-ai-model-version summary: Get latest AI Model version description: | Returns the AI Model's `latest` version, including its `target_models`. responses: '200': description: The latest version content: application/json: schema: $ref: '#/components/schemas/AiModelVersion' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog AI Model Versions put: x-speakeasy-entity-operation: terraform-resource: CatalogAiModelVersion#update terraform-datasource: null operationId: upsert-latest-ai-model-version summary: Replace latest AI Model version description: | Replaces the `latest` version. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiModelVersionReplace' responses: '200': description: The replaced version content: application/json: schema: $ref: '#/components/schemas/AiModelVersion' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog AI Model Versions delete: x-speakeasy-entity-operation: terraform-resource: CatalogAiModelVersion#delete terraform-datasource: null operationId: delete-latest-ai-model-version summary: Delete latest AI Model version description: | Deletes the AI Model's `latest` version. Returns `404` if no version exists yet. responses: '204': description: Successfully deleted the version '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog AI Model Versions '/v1/ai-models/{aiModelId}/versions/latest/spec': parameters: - $ref: '#/components/parameters/AiModelIdForChildren' get: x-speakeasy-entity-operation: terraform-resource: CatalogAiModelVersionSpec#read terraform-datasource: null operationId: get-ai-model-version-spec summary: Get AI Model version spec description: | Returns the `latest` version's oas specification contents along with metadata. responses: '200': description: The version's oas specification content: application/json: schema: $ref: '#/components/schemas/AiModelVersionSpec' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog AI Model Specs put: x-speakeasy-entity-operation: terraform-resource: 'CatalogAiModelVersionSpec#create,update' terraform-datasource: null operationId: upsert-ai-model-version-spec summary: Upsert AI Model version spec description: | Creates or replaces the `latest` version's oas specification (upsert). requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiModelVersionSpecWrite' responses: '200': description: The replaced spec content: application/json: schema: $ref: '#/components/schemas/AiModelVersionSpec' '201': description: The created spec content: application/json: schema: $ref: '#/components/schemas/AiModelVersionSpec' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog AI Model Specs delete: x-speakeasy-entity-operation: terraform-resource: CatalogAiModelVersionSpec#delete terraform-datasource: null operationId: delete-ai-model-version-spec summary: Delete AI Model version spec description: | Deletes the `latest` version's oas specification. responses: '204': description: Successfully deleted the spec '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog AI Model Specs /v1/auth-servers: post: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServer#create terraform-datasource: null operationId: createAuthServer summary: Create a new auth server description: 'Create a new auth server. Each auth server has a unique, randomly generated, public issuer URL.' requestBody: $ref: '#/components/requestBodies/CreateAuthServer' responses: '201': $ref: '#/components/responses/AuthServer' '400': $ref: '#/components/responses/BadRequest' '409': $ref: '#/components/responses/Conflict' tags: - Auth Server '/v1/auth-servers/{authServerId}': parameters: - $ref: '#/components/parameters/authServerId' get: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServer#read terraform-datasource: null operationId: getAuthServer summary: Get an auth server description: Get an auth server. responses: '200': $ref: '#/components/responses/AuthServer' '404': $ref: '#/components/responses/NotFound' tags: - Auth Server patch: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServer#update terraform-datasource: null operationId: updateAuthServer summary: Update an auth server description: Update an auth server. requestBody: $ref: '#/components/requestBodies/UpdateAuthServer' responses: '200': $ref: '#/components/responses/AuthServer' '400': $ref: '#/components/responses/BadRequest' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Auth Server delete: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServer#delete terraform-datasource: null operationId: deleteAuthServer summary: Delete an auth server description: 'Delete an auth server. If force=true, delete the auth server and all its associated resources. If force=false, only allow deletion if no resources are associated with the auth server. This action is irreversible.' parameters: - name: force in: query description: 'If true, delete the specified auth server and all its associated resources. If false, only allow deletion if no clients, scopes or claims are associated with the auth server.' schema: type: string default: 'false' enum: - 'true' - 'false' x-speakeasy-name-override: force_destroy responses: '204': description: Success '400': $ref: '#/components/responses/BadRequest' '404': $ref: '#/components/responses/NotFound' tags: - Auth Server '/v1/auth-servers/{authServerId}/claims': parameters: - $ref: '#/components/parameters/authServerIdForChildren' post: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerClaim#create terraform-datasource: null operationId: createAuthServerClaim summary: Create a new auth server claim description: 'Create a new claim for a given auth server. The `name` attribute will appear in the JWT access token as a claim with the given case-sensitive name. The `value` attribute will be used to populate the claim value in the JWT access token. The value can be templated, which allows you to use variables like `${ uuidv4 }` to generate dynamic values. Claim values are hydrated based on their types, which may include JSON.' requestBody: $ref: '#/components/requestBodies/CreateClaim' responses: '201': $ref: '#/components/responses/Claim' '400': $ref: '#/components/responses/BadRequest' '404': $ref: '#/components/responses/NotFound' tags: - Auth Server Claims '/v1/auth-servers/{authServerId}/claims/{claimId}': parameters: - $ref: '#/components/parameters/authServerIdForChildren' - $ref: '#/components/parameters/claimId' get: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerClaim#read terraform-datasource: null operationId: getAuthServerClaim summary: Get an auth server claim description: Get a claim for given auth server. responses: '200': $ref: '#/components/responses/Claim' '404': $ref: '#/components/responses/NotFound' tags: - Auth Server Claims patch: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerClaim#update terraform-datasource: null operationId: updateAuthServerClaim summary: Update an auth server claim description: Update a claim for a given auth server. requestBody: $ref: '#/components/requestBodies/UpdateClaim' responses: '200': $ref: '#/components/responses/Claim' '400': $ref: '#/components/responses/BadRequest' '404': $ref: '#/components/responses/NotFound' tags: - Auth Server Claims delete: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerClaim#delete terraform-datasource: null operationId: deleteAuthServerClaim summary: Delete an auth server claim description: 'Delete a claim for a given auth server. If the claim is included in any scopes, it will be removed from those scopes.' responses: '204': description: Success '404': $ref: '#/components/responses/NotFound' tags: - Auth Server Claims '/v1/auth-servers/{authServerId}/clients': parameters: - $ref: '#/components/parameters/authServerIdForChildren' post: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerClient#create terraform-datasource: null operationId: createAuthServerClient summary: Create a new auth server client description: Create a new client for a given auth server. The client ID and secret will be generated automatically. The `name` attribute must be unique within the auth server. The `grant_types` and `response_types` attributes define the OAuth 2.0 and OpenID Connect capabilities of the client. requestBody: $ref: '#/components/requestBodies/CreateClient' responses: '201': $ref: '#/components/responses/CreatedClient' '400': $ref: '#/components/responses/BadRequest' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Auth Server Clients '/v1/auth-servers/{authServerId}/clients/{clientId}': parameters: - $ref: '#/components/parameters/authServerIdForChildren' - $ref: '#/components/parameters/clientId' get: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerClient#read terraform-datasource: null operationId: getAuthServerClient summary: Get an auth server client description: Get a client for given auth server. responses: '200': $ref: '#/components/responses/Client' '404': $ref: '#/components/responses/NotFound' tags: - Auth Server Clients put: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerClient#update terraform-datasource: null operationId: replaceAuthServerClient summary: Replace an auth server client description: 'Replace a client for a given auth server. The client ID and secret can be provided to update an existing client, or to create a client with the matching ID and secret.' requestBody: $ref: '#/components/requestBodies/ReplaceClient' responses: '200': $ref: '#/components/responses/Client' '201': $ref: '#/components/responses/Client' '400': $ref: '#/components/responses/BadRequest' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Auth Server Clients delete: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerClient#delete terraform-datasource: null operationId: deleteAuthServerClient summary: Delete an auth server client description: Delete a client for a given auth server. All tokens associated with the client will also be deleted. This action is irreversible. responses: '204': description: Success '404': $ref: '#/components/responses/NotFound' tags: - Auth Server Clients '/v1/auth-servers/{authServerId}/clients/{clientId}/secrets': parameters: - $ref: '#/components/parameters/authServerIdForChildren' - $ref: '#/components/parameters/clientIdForChildren' post: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerClientSecret#create terraform-datasource: null operationId: createClientSecret summary: Create a new client secret description: Create a new client secret for a given client. Multiple secrets can be active simultaneously for a single client. requestBody: $ref: '#/components/requestBodies/CreateSecretPayload' responses: '201': $ref: '#/components/responses/ClientSecretBody' '400': $ref: '#/components/responses/BadRequest' '403': $ref: '#/components/responses/Forbidden' tags: - Auth Server Clients '/v1/auth-servers/{authServerId}/clients/{clientId}/secrets/{clientSecretId}': parameters: - $ref: '#/components/parameters/authServerIdForChildren' - $ref: '#/components/parameters/clientIdForChildren' - $ref: '#/components/parameters/clientSecretId' get: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerClientSecret#read terraform-datasource: null operationId: getClientSecret summary: Get a client secret description: Get a specific client secret for a given client. responses: '200': $ref: '#/components/responses/ClientSecretBody' '404': $ref: '#/components/responses/NotFound' tags: - Auth Server Clients patch: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerClientSecret#update terraform-datasource: null operationId: updateClientSecret summary: Update a client secret description: 'Update a client secret for a given client, such as enabling or disabling the secret.' requestBody: $ref: '#/components/requestBodies/UpdateSecretPayload' responses: '200': $ref: '#/components/responses/ClientSecretBody' '400': $ref: '#/components/responses/BadRequest' '404': $ref: '#/components/responses/NotFound' tags: - Auth Server Clients delete: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerClientSecret#delete terraform-datasource: null operationId: deleteClientSecret summary: Delete a client secret description: Delete a client secret for a given client. This action is irreversible. responses: '204': description: Success '404': $ref: '#/components/responses/NotFound' tags: - Auth Server Clients '/v1/auth-servers/{authServerId}/scopes': parameters: - $ref: '#/components/parameters/authServerIdForChildren' post: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerScope#create terraform-datasource: null operationId: createAuthServerScope summary: Create a new auth server scope description: Create a new scope for a given auth server. The `name` attribute must be unique within the auth server. requestBody: $ref: '#/components/requestBodies/CreateScope' responses: '201': $ref: '#/components/responses/Scope' '400': $ref: '#/components/responses/BadRequest' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Auth Server Scopes '/v1/auth-servers/{authServerId}/scopes/{scopeId}': parameters: - $ref: '#/components/parameters/authServerIdForChildren' - $ref: '#/components/parameters/scopeId' get: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerScope#read terraform-datasource: null operationId: getAuthServerScope summary: Get an auth server scope description: Get a scope for given auth server. responses: '200': $ref: '#/components/responses/Scope' '404': $ref: '#/components/responses/NotFound' tags: - Auth Server Scopes patch: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerScope#update terraform-datasource: null operationId: updateAuthServerScope summary: Update an auth server scope description: Update a scope for a given auth server. requestBody: $ref: '#/components/requestBodies/UpdateScope' responses: '200': $ref: '#/components/responses/Scope' '400': $ref: '#/components/responses/BadRequest' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Auth Server Scopes delete: x-speakeasy-entity-operation: terraform-resource: IdentityAuthServerScope#delete terraform-datasource: null operationId: deleteAuthServerScope summary: Delete an auth server scope description: 'Delete a scope for a given auth server. If the scope is included in any clients, it will be removed from those clients.' responses: '204': description: Success '404': $ref: '#/components/responses/NotFound' tags: - Auth Server Scopes /v1/catalog-services: post: x-speakeasy-entity-operation: CatalogService#create operationId: create-catalog-service summary: Create Service description: Creates a service. requestBody: $ref: '#/components/requestBodies/CreateCatalogServiceRequest' responses: '201': $ref: '#/components/responses/CatalogServiceResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Catalog Services '/v1/catalog-services/{id}': parameters: - name: id in: path description: The `id` of the service. required: true schema: type: string example: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7 get: x-speakeasy-entity-operation: terraform-resource: CatalogService#read terraform-datasource: null operationId: fetch-catalog-service summary: Get a Service description: Fetches a service. responses: '200': $ref: '#/components/responses/CatalogServiceResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog Services patch: x-speakeasy-entity-operation: CatalogService#update operationId: update-catalog-service summary: Update Service description: Updates a service. requestBody: $ref: '#/components/requestBodies/UpdateCatalogServiceRequest' responses: '200': $ref: '#/components/responses/CatalogServiceResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Catalog Services delete: x-speakeasy-entity-operation: CatalogService#delete operationId: delete-catalog-service summary: Delete Service description: Deletes a service. responses: '204': description: Service was deleted successfully. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog Services '/v1/cmeks/{cmekId}': parameters: - $ref: '#/components/parameters/cmekId' get: x-speakeasy-entity-operation: terraform-resource: CMEK#read terraform-datasource: null operationId: get-cmek summary: Get a CMEK description: Get a customer managed encryption key. responses: '200': $ref: '#/components/responses/CMEK' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - CMEK put: x-speakeasy-entity-operation: 'CMEK#create,update' operationId: put-cmek summary: Create or replace a CMEK description: Create or replace a customer managed encryption key. requestBody: $ref: '#/components/requestBodies/ReplaceCMEK' responses: '200': $ref: '#/components/responses/CMEK' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - CMEK delete: x-speakeasy-entity-operation: CMEK#delete operationId: delete-cmek summary: Delete a CMEK description: 'Delete a customer managed encryption key. Avoid revoking or deleting a KMS key and CMEK that is actively used by Konnect, as this can lead to data loss or service disruptions.' responses: '204': description: Success '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - CMEK /v1/event-gateways: post: x-speakeasy-entity-operation: terraform-resource: EventGateway#create terraform-datasource: null operationId: create-event-gateway summary: Create Event Gateway description: Create a Event gateway in the Konnect Organization. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateGatewayRequest' responses: '201': $ref: '#/components/responses/CreateGatewayResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '500': $ref: '#/components/responses/Internal' '503': $ref: '#/components/responses/NotAvailable' tags: - Event Gateways '/v1/event-gateways/{gatewayId}': parameters: - name: gatewayId in: path description: The UUID of your Gateway. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: EventGateway#read terraform-datasource: null operationId: get-event-gateway summary: Get an Event Gateway description: Returns information about an individual Event gateway. responses: '200': description: A response to retrieving a single eventgateway. content: application/json: schema: $ref: '#/components/schemas/EventGatewayInfo' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/Internal' '503': $ref: '#/components/responses/NotAvailable' tags: - Event Gateways put: x-speakeasy-entity-operation: terraform-resource: EventGateway#update terraform-datasource: null operationId: update-event-gateway summary: Update Event Gateway description: Update an individual gateway. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateGatewayRequest' responses: '200': $ref: '#/components/responses/UpdateGatewayResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/Internal' '503': $ref: '#/components/responses/NotAvailable' tags: - Event Gateways delete: x-speakeasy-entity-operation: terraform-resource: EventGateway#delete terraform-datasource: null operationId: delete-event-gateway summary: Delete Event Gateway description: Delete an individual gateway. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateways '/v1/event-gateways/{gatewayId}/backend-clusters': parameters: - $ref: '#/components/parameters/gatewayId' post: x-speakeasy-entity-operation: terraform-resource: EventGatewayBackendCluster#create terraform-datasource: null operationId: create-event-gateway-backend-cluster summary: Create Backend Cluster description: Creates a new backend cluster. requestBody: $ref: '#/components/requestBodies/CreateBackendClusterRequest' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/BackendCluster' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Backend Clusters '/v1/event-gateways/{gatewayId}/backend-clusters/{backendClusterId}': parameters: - $ref: '#/components/parameters/gatewayId' - name: backendClusterId in: path description: The ID of the Backend Cluster. required: true schema: type: string format: uuid x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: EventGatewayBackendCluster#read terraform-datasource: null operationId: get-event-gateway-backend-cluster summary: Get a Backend Cluster description: Returns information about a specific backend cluster. responses: '200': description: A single backend cluster object. content: application/json: schema: $ref: '#/components/schemas/BackendCluster' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Backend Clusters put: x-speakeasy-entity-operation: terraform-resource: EventGatewayBackendCluster#update terraform-datasource: null operationId: update-event-gateway-backend-cluster summary: Update Backend Cluster description: Updates an existing backend cluster. requestBody: $ref: '#/components/requestBodies/UpdateBackendClusterRequest' responses: '200': description: Updated backend cluster object. content: application/json: schema: $ref: '#/components/schemas/BackendCluster' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Backend Clusters delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayBackendCluster#delete terraform-datasource: null operationId: delete-event-gateway-backend-cluster summary: Delete Backend Cluster description: Deletes a specific backend cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Backend Clusters '/v1/event-gateways/{gatewayId}/data-plane-certificates': parameters: - $ref: '#/components/parameters/gatewayId' post: x-speakeasy-entity-operation: terraform-resource: EventGatewayDataPlaneCertificate#create terraform-datasource: null operationId: create-event-gateway-data-plane-certificate summary: Create a New DataPlane Certificate description: Create new dataplane certificate to this event gateway. A dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this event gateway. requestBody: $ref: '#/components/requestBodies/CreateEventGatewayDataPlaneCertificateRequest' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayDataPlaneCertificate' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway DataPlane Certificates '/v1/event-gateways/{gatewayId}/data-plane-certificates/{certificateId}': parameters: - $ref: '#/components/parameters/gatewayId' - name: certificateId in: path description: The ID of the dataplane certificate. required: true schema: type: string format: uuid x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: EventGatewayDataPlaneCertificate#read terraform-datasource: null operationId: get-event-gateway-data-plane-certificate summary: Get a DataPlane Certificate description: Returns information about an individual dataplane certificate. responses: '200': description: A single dataplane certificate. content: application/json: schema: $ref: '#/components/schemas/EventGatewayDataPlaneCertificate' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway DataPlane Certificates put: x-speakeasy-entity-operation: terraform-resource: EventGatewayDataPlaneCertificate#update terraform-datasource: null operationId: update-event-gateway-data-plane-certificate summary: Update Event Gateway DataPlane Certificate description: Updates an existing dataplane certificate associated with the specified Event Gateway. requestBody: $ref: '#/components/requestBodies/UpdateEventGatewayDataPlaneCertificateRequest' responses: '200': description: Updated event gateway dataplane certificate object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayDataPlaneCertificate' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway DataPlane Certificates delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayDataPlaneCertificate#delete terraform-datasource: null operationId: delete-event-gateway-data-plane-certificate summary: Delete Event Gateway DataPlane Certificate description: Deletes a specific dataplane certificate associated with the Event Gateway. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway DataPlane Certificates '/v1/event-gateways/{gatewayId}/listeners': parameters: - $ref: '#/components/parameters/gatewayId' post: x-speakeasy-entity-operation: terraform-resource: EventGatewayListener#create terraform-datasource: null operationId: create-event-gateway-listener summary: Create Event Gateway Listener description: Creates a new listener associated with the specified Event Gateway. requestBody: $ref: '#/components/requestBodies/CreateEventGatewayListenerRequest' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayListener' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Listeners '/v1/event-gateways/{gatewayId}/listeners/{eventGatewayListenerId}': parameters: - $ref: '#/components/parameters/gatewayId' - name: eventGatewayListenerId in: path description: The ID of the Event Gateway Listener. required: true schema: type: string format: uuid x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: EventGatewayListener#read terraform-datasource: null operationId: get-event-gateway-listener summary: Get an Event Gateway Listener description: Returns information about a specific listener associated with the Event Gateway. responses: '200': description: A single event gateway listener object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayListener' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Listeners put: x-speakeasy-entity-operation: terraform-resource: EventGatewayListener#update terraform-datasource: null operationId: update-event-gateway-listener summary: Update Event Gateway Listener description: Updates an existing listener associated with the specified Event Gateway. requestBody: $ref: '#/components/requestBodies/UpdateEventGatewayListenerRequest' responses: '200': description: Updated event gateway listener object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayListener' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Listeners delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayListener#delete terraform-datasource: null operationId: delete-event-gateway-listener summary: Delete Event Gateway Listener description: Deletes a specific listener associated with the Event Gateway. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Listeners '/v1/event-gateways/{gatewayId}/listeners/{eventGatewayListenerId}/policies/{policyId}#ForwardToVirtualCluster': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayListenerPolicyForwardToVirtualCluster#read terraform-datasource: null operationId: get-event-gateway-listener-policy-forward-to_virtual_cluster summary: Get a Policy for Listener description: Returns information about a specific policy associated with the Event Gateway listener. responses: '200': description: A single policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayListenerPolicy' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Listener Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayListenerPolicyForwardToVirtualCluster#update terraform-datasource: null operationId: update-event-gateway-listener-policy-forward-to_virtual_cluster summary: Update Policy for Listener description: Updates an existing policy associated with the specified Event Gateway listener. requestBody: content: application/json: schema: $ref: '#/components/schemas/ForwardToVirtualClusterPolicy' responses: '200': description: Updated policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayListenerPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Listener Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayListenerPolicyForwardToVirtualCluster#delete terraform-datasource: null operationId: delete-event-gateway-listener-policy-forward-to_virtual_cluster summary: Delete Policy for Listener description: Deletes a specific policy associated with the Event Gateway listener. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Listener Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/eventGatewayListenerId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/listeners/{eventGatewayListenerId}/policies/{policyId}#TlsServer': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayListenerPolicyTlsServer#read terraform-datasource: null operationId: get-event-gateway-listener-policy-tls-server summary: Get a Policy for Listener description: Returns information about a specific policy associated with the Event Gateway listener. responses: '200': description: A single policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayListenerPolicy' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Listener Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayListenerPolicyTlsServer#update terraform-datasource: null operationId: update-event-gateway-listener-policy-tls-server summary: Update Policy for Listener description: Updates an existing policy associated with the specified Event Gateway listener. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayTLSListenerSensitiveDataAwarePolicy' responses: '200': description: Updated policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayListenerPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Listener Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayListenerPolicyTlsServer#delete terraform-datasource: null operationId: delete-event-gateway-listener-policy-tls-server summary: Delete Policy for Listener description: Deletes a specific policy associated with the Event Gateway listener. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Listener Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/eventGatewayListenerId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/listeners/{eventGatewayListenerId}/policies#ForwardToVirtualCluster': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayListenerPolicyForwardToVirtualCluster#create terraform-datasource: null operationId: create-event-gateway-listener-policy-forward-to_virtual_cluster summary: Create Policy for Listener description: Creates a new policy associated with the specified Event Gateway listener. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/ForwardToVirtualClusterPolicy' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayListenerPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Listener Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/eventGatewayListenerId' '/v1/event-gateways/{gatewayId}/listeners/{eventGatewayListenerId}/policies#TlsServer': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayListenerPolicyTlsServer#create terraform-datasource: null operationId: create-event-gateway-listener-policy-tls-server summary: Create Policy for Listener description: Creates a new policy associated with the specified Event Gateway listener. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayTLSListenerPolicy' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayListenerPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Listener Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/eventGatewayListenerId' '/v1/event-gateways/{gatewayId}/schema-registries': parameters: - $ref: '#/components/parameters/gatewayId' post: x-speakeasy-entity-operation: terraform-resource: EventGatewaySchemaRegistry#create terraform-datasource: null operationId: create-event-gateway-schema-registry summary: Create Schema Registry description: Creates a new schema registry associated with the specified Event Gateway. requestBody: $ref: '#/components/requestBodies/CreateSchemaRegistryRequest' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/SchemaRegistry' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Schema Registries '/v1/event-gateways/{gatewayId}/schema-registries/{schemaRegistryId}': parameters: - $ref: '#/components/parameters/gatewayId' - name: schemaRegistryId in: path description: The ID of the Schema Registry. required: true schema: type: string format: uuid x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: EventGatewaySchemaRegistry#read terraform-datasource: null operationId: get-event-gateway-schema-registry summary: Get a Schema Registry description: Returns information about a specific schema registry associated with the Event Gateway. responses: '200': description: A single schema registry object. content: application/json: schema: $ref: '#/components/schemas/SchemaRegistry' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Schema Registries put: x-speakeasy-entity-operation: terraform-resource: EventGatewaySchemaRegistry#update terraform-datasource: null operationId: update-event-gateway-schema-registry summary: Update Schema Registry description: Updates an existing schema registry associated with the specified Event Gateway. requestBody: $ref: '#/components/requestBodies/UpdateSchemaRegistryRequest' responses: '200': description: Updated schema registry object. content: application/json: schema: $ref: '#/components/schemas/SchemaRegistry' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Schema Registries delete: x-speakeasy-entity-operation: terraform-resource: EventGatewaySchemaRegistry#delete terraform-datasource: null operationId: delete-event-gateway-schema-registry summary: Delete Schema Registry description: Deletes a specific schema registry associated with the Event Gateway. responses: '204': description: No Content '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Schema Registries '/v1/event-gateways/{gatewayId}/static-keys': parameters: - $ref: '#/components/parameters/gatewayId' post: x-speakeasy-entity-operation: terraform-resource: EventGatewayStaticKey#create terraform-datasource: null operationId: create-event-gateway-static-key summary: Create a New Static Key description: Create new static key to this event gateway. requestBody: $ref: '#/components/requestBodies/CreateEventGatewayStaticKeyRequest' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayStaticKey' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Static Keys '/v1/event-gateways/{gatewayId}/static-keys/{staticKeyId}': parameters: - $ref: '#/components/parameters/gatewayId' - name: staticKeyId in: path description: The ID of the static key. required: true schema: type: string format: uuid x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: EventGatewayStaticKey#read terraform-datasource: null operationId: get-event-gateway-static-key summary: Get a Static Key description: Returns information about an individual static key. responses: '200': description: A single static key. content: application/json: schema: $ref: '#/components/schemas/EventGatewayStaticKey' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Static Keys delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayStaticKey#delete terraform-datasource: null operationId: delete-event-gateway-static-key summary: Delete Event Gateway Static Key description: Deletes a specific static key associated with the Event Gateway. responses: '204': description: No Content '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Static Keys '/v1/event-gateways/{gatewayId}/tls-trust-bundles': parameters: - $ref: '#/components/parameters/gatewayId' post: x-speakeasy-entity-operation: terraform-resource: EventGatewayTLSTrustBundle#create terraform-datasource: null operationId: create-event-gateway-tls-trust-bundle summary: Create TLS Trust Bundle description: |- Creates a new TLS trust bundle containing trusted CA certificates for client certificate verification. **Requires a minimum runtime version of `1.1`**. requestBody: $ref: '#/components/requestBodies/CreateTLSTrustBundleRequest' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/TLSTrustBundle' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway TLS Trust Bundles x-min-runtime-version: '1.1' x-speakeasy-param-computed: false '/v1/event-gateways/{gatewayId}/tls-trust-bundles/{tlsTrustBundleId}': parameters: - $ref: '#/components/parameters/gatewayId' - name: tlsTrustBundleId in: path description: The ID of the TLS trust bundle. required: true schema: type: string format: uuid x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: EventGatewayTLSTrustBundle#read terraform-datasource: null operationId: get-event-gateway-tls-trust-bundle summary: Get a TLS Trust Bundle description: |- Returns information about a specific TLS trust bundle. **Requires a minimum runtime version of `1.1`**. responses: '200': description: A single TLS trust bundle object. content: application/json: schema: $ref: '#/components/schemas/TLSTrustBundle' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway TLS Trust Bundles x-min-runtime-version: '1.1' x-speakeasy-param-computed: false put: x-speakeasy-entity-operation: terraform-resource: EventGatewayTLSTrustBundle#update terraform-datasource: null operationId: update-event-gateway-tls-trust-bundle summary: Update TLS Trust Bundle description: |- Updates an existing TLS trust bundle. **Requires a minimum runtime version of `1.1`**. requestBody: $ref: '#/components/requestBodies/UpdateTLSTrustBundleRequest' responses: '200': description: Updated TLS trust bundle object. content: application/json: schema: $ref: '#/components/schemas/TLSTrustBundle' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway TLS Trust Bundles x-min-runtime-version: '1.1' x-speakeasy-param-computed: false delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayTLSTrustBundle#delete terraform-datasource: null operationId: delete-event-gateway-tls-trust-bundle summary: Delete TLS Trust Bundle description: |- Deletes a specific TLS trust bundle associated with the Event Gateway. **Requires a minimum runtime version of `1.1`**. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway TLS Trust Bundles x-min-runtime-version: '1.1' x-speakeasy-param-computed: false '/v1/event-gateways/{gatewayId}/virtual-clusters': parameters: - $ref: '#/components/parameters/gatewayId' post: x-speakeasy-entity-operation: terraform-resource: EventGatewayVirtualCluster#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster summary: Create Virtual Cluster description: Creates a new virtual cluster associated with the specified Event Gateway. requestBody: $ref: '#/components/requestBodies/CreateVirtualClusterRequest' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/VirtualCluster' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Clusters '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}': parameters: - $ref: '#/components/parameters/gatewayId' - name: virtualClusterId in: path description: The ID of the Virtual Cluster. required: true schema: type: string format: uuid x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: EventGatewayVirtualCluster#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster summary: Get a Virtual Cluster description: Returns information about a specific virtual cluster associated with the Event Gateway. responses: '200': description: A single virtual cluster object. content: application/json: schema: $ref: '#/components/schemas/VirtualCluster' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Clusters put: x-speakeasy-entity-operation: terraform-resource: EventGatewayVirtualCluster#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster summary: Update Virtual Cluster description: Updates an existing virtual cluster associated with the specified Event Gateway. requestBody: $ref: '#/components/requestBodies/UpdateVirtualClusterRequest' responses: '200': description: Updated virtual cluster object. content: application/json: schema: $ref: '#/components/schemas/VirtualCluster' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Clusters delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayVirtualCluster#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster summary: Delete Virtual Cluster description: Deletes a specific virtual cluster associated with the Event Gateway. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Clusters '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/cluster-policies/{policyId}#Acls': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayClusterPolicyAcls#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster-cluster-level-policy-acls summary: Get a Cluster Policy for Virtual Cluster description: Returns information about a specific cluster-level policy associated with the Event Gateway virtual cluster. responses: '200': description: A single cluster-level policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayClusterPolicyAcls#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster-cluster-level-policy-acls summary: Update Cluster Policy for Virtual Cluster description: Updates an existing cluster-level policy associated with the specified Event Gateway virtual cluster. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayACLsPolicy' responses: '200': description: Updated cluster-level policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayClusterPolicyAcls#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster-cluster-level-policy-acls summary: Delete Cluster Policy for Virtual Cluster description: Deletes a specific cluster-level policy associated with the Event Gateway virtual cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/cluster-policies/{policyId}#RequestRuleValidator': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayClusterPolicyRequestRuleValidator#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster-cluster-level-policy-request-rule_validator summary: Get a Cluster Policy for Virtual Cluster description: Returns information about a specific cluster-level policy associated with the Event Gateway virtual cluster. responses: '200': description: A single cluster-level policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayClusterPolicyRequestRuleValidator#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster-cluster-level-policy-request-rule_validator summary: Update Cluster Policy for Virtual Cluster description: Updates an existing cluster-level policy associated with the specified Event Gateway virtual cluster. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayRequestRuleValidatorPolicy' responses: '200': description: Updated cluster-level policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayClusterPolicyRequestRuleValidator#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster-cluster-level-policy-request-rule_validator summary: Delete Cluster Policy for Virtual Cluster description: Deletes a specific cluster-level policy associated with the Event Gateway virtual cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/cluster-policies#Acls': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayClusterPolicyAcls#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster-cluster-level-policy-acls summary: Create Cluster Policy for Virtual Cluster description: Creates a new cluster-level policy associated with the specified Event Gateway virtual cluster. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayACLsPolicy' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/cluster-policies#RequestRuleValidator': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayClusterPolicyRequestRuleValidator#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster-cluster-level-policy-request-rule_validator summary: Create Cluster Policy for Virtual Cluster description: Creates a new cluster-level policy associated with the specified Event Gateway virtual cluster. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayRequestRuleValidatorPolicy' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies/{policyId}#Decrypt': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyDecrypt#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster-consume-policy-decrypt summary: Get a Consume Policy for Virtual Cluster description: Returns information about a specific consume policy associated with the Event Gateway virtual cluster. responses: '200': description: A single consume policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Consume Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyDecrypt#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster-consume-policy-decrypt summary: Update Consume Policy for Virtual Cluster description: Updates an existing consume policy associated with the specified Event Gateway virtual cluster. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayDecryptPolicy' responses: '200': description: Updated consume policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Consume Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyDecrypt#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster-consume-policy-decrypt summary: Delete Consume Policy for Virtual Cluster description: Deletes a specific consume policy associated with the Event Gateway virtual cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Consume Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies/{policyId}#DecryptFields': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyDecryptFields#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster-consume-policy-decrypt-fields summary: Get a Consume Policy for Virtual Cluster description: Returns information about a specific consume policy associated with the Event Gateway virtual cluster. responses: '200': description: A single consume policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Consume Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyDecryptFields#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster-consume-policy-decrypt-fields summary: Update Consume Policy for Virtual Cluster description: Updates an existing consume policy associated with the specified Event Gateway virtual cluster. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayParsedRecordDecryptFieldsPolicy' responses: '200': description: Updated consume policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Consume Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyDecryptFields#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster-consume-policy-decrypt-fields summary: Delete Consume Policy for Virtual Cluster description: Deletes a specific consume policy associated with the Event Gateway virtual cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Consume Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies/{policyId}#MaskFields': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyMaskFields#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster-consume-policy-mask-fields summary: Get a Consume Policy for Virtual Cluster description: Returns information about a specific consume policy associated with the Event Gateway virtual cluster. responses: '200': description: A single consume policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Consume Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyMaskFields#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster-consume-policy-mask-fields summary: Update Consume Policy for Virtual Cluster description: Updates an existing consume policy associated with the specified Event Gateway virtual cluster. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayParsedRecordMaskFieldsConsumePolicy' responses: '200': description: Updated consume policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Consume Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyMaskFields#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster-consume-policy-mask-fields summary: Delete Consume Policy for Virtual Cluster description: Deletes a specific consume policy associated with the Event Gateway virtual cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Consume Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies/{policyId}#ModifyHeaders': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyModifyHeaders#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster-consume-policy-modify-headers summary: Get a Consume Policy for Virtual Cluster description: Returns information about a specific consume policy associated with the Event Gateway virtual cluster. responses: '200': description: A single consume policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Consume Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyModifyHeaders#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster-consume-policy-modify-headers summary: Update Consume Policy for Virtual Cluster description: Updates an existing consume policy associated with the specified Event Gateway virtual cluster. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayModifyHeadersPolicy' responses: '200': description: Updated consume policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Consume Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyModifyHeaders#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster-consume-policy-modify-headers summary: Delete Consume Policy for Virtual Cluster description: Deletes a specific consume policy associated with the Event Gateway virtual cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Consume Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies/{policyId}#SchemaValidation': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicySchemaValidation#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster-consume-policy-schema-validation summary: Get a Consume Policy for Virtual Cluster description: Returns information about a specific consume policy associated with the Event Gateway virtual cluster. responses: '200': description: A single consume policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayConsumePolicySchemaValidationTFOnly' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Consume Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicySchemaValidation#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster-consume-policy-schema-validation summary: Update Consume Policy for Virtual Cluster description: Updates an existing consume policy associated with the specified Event Gateway virtual cluster. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayConsumeSchemaValidationPolicy' responses: '200': description: Updated consume policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayConsumePolicySchemaValidationTFOnly' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Consume Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicySchemaValidation#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster-consume-policy-schema-validation summary: Delete Consume Policy for Virtual Cluster description: Deletes a specific consume policy associated with the Event Gateway virtual cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Consume Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies/{policyId}#SkipRecord': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicySkipRecord#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster-consume-policy-skip-record summary: Get a Consume Policy for Virtual Cluster description: Returns information about a specific consume policy associated with the Event Gateway virtual cluster. responses: '200': description: A single consume policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Consume Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicySkipRecord#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster-consume-policy-skip-record summary: Update Consume Policy for Virtual Cluster description: Updates an existing consume policy associated with the specified Event Gateway virtual cluster. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewaySkipRecordPolicy' responses: '200': description: Updated consume policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Consume Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicySkipRecord#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster-consume-policy-skip-record summary: Delete Consume Policy for Virtual Cluster description: Deletes a specific consume policy associated with the Event Gateway virtual cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Consume Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies/{policyId}#Transcode': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyTranscode#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster-consume-policy-transcode summary: Get a Consume Policy for Virtual Cluster description: Returns information about a specific consume policy associated with the Event Gateway virtual cluster. responses: '200': description: A single consume policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayConsumePolicyTranscodeTFOnly' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Consume Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyTranscode#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster-consume-policy-transcode summary: Update Consume Policy for Virtual Cluster description: Updates an existing consume policy associated with the specified Event Gateway virtual cluster. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeConsumePolicy' responses: '200': description: Updated consume policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayConsumePolicyTranscodeTFOnly' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Consume Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyTranscode#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster-consume-policy-transcode summary: Delete Consume Policy for Virtual Cluster description: Deletes a specific consume policy associated with the Event Gateway virtual cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Consume Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies#Decrypt': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyDecrypt#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster-consume-policy-decrypt summary: Create Consume Policy for Virtual Cluster description: Creates a new consume policy associated with the specified Event Gateway virtual cluster. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayDecryptPolicy' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Consume Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies#DecryptFields': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyDecryptFields#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster-consume-policy-decrypt-fields summary: Create Consume Policy for Virtual Cluster description: Creates a new consume policy associated with the specified Event Gateway virtual cluster. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayParsedRecordDecryptFieldsPolicyCreate' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Consume Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies#MaskFields': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyMaskFields#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster-consume-policy-mask-fields summary: Create Consume Policy for Virtual Cluster description: Creates a new consume policy associated with the specified Event Gateway virtual cluster. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayParsedRecordMaskFieldsConsumePolicyCreate' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Consume Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies#ModifyHeaders': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyModifyHeaders#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster-consume-policy-modify-headers summary: Create Consume Policy for Virtual Cluster description: Creates a new consume policy associated with the specified Event Gateway virtual cluster. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayModifyHeadersPolicyCreate' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Consume Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies#SchemaValidation': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicySchemaValidation#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster-consume-policy-schema-validation summary: Create Consume Policy for Virtual Cluster description: Creates a new consume policy associated with the specified Event Gateway virtual cluster. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayConsumeSchemaValidationPolicy' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayConsumePolicySchemaValidationTFOnly' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Consume Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies#SkipRecord': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicySkipRecord#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster-consume-policy-skip-record summary: Create Consume Policy for Virtual Cluster description: Creates a new consume policy associated with the specified Event Gateway virtual cluster. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewaySkipRecordPolicyCreate' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Consume Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/consume-policies#Transcode': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayConsumePolicyTranscode#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster-consume-policy-transcode summary: Create Consume Policy for Virtual Cluster description: Creates a new consume policy associated with the specified Event Gateway virtual cluster. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeConsumePolicyCreate' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayConsumePolicyTranscodeTFOnly' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Consume Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies/{policyId}#Encrypt': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyEncrypt#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster-produce-policy-encrypt summary: Get a Produce Policy for Virtual Cluster description: Returns information about a specific produce policy associated with the Event Gateway virtual cluster. responses: '200': description: A single produce policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Produce Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyEncrypt#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster-produce-policy-encrypt summary: Update Produce Policy for Virtual Cluster description: Updates an existing produce policy associated with the specified Event Gateway virtual cluster. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayEncryptPolicy' responses: '200': description: Updated produce policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Produce Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyEncrypt#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster-produce-policy-encrypt summary: Delete Produce Policy for Virtual Cluster description: Deletes a specific produce policy associated with the Event Gateway virtual cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Produce Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies/{policyId}#EncryptFields': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyEncryptFields#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster-produce-policy-encrypt-fields summary: Get a Produce Policy for Virtual Cluster description: Returns information about a specific produce policy associated with the Event Gateway virtual cluster. responses: '200': description: A single produce policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Produce Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyEncryptFields#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster-produce-policy-encrypt-fields summary: Update Produce Policy for Virtual Cluster description: Updates an existing produce policy associated with the specified Event Gateway virtual cluster. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayParsedRecordEncryptFieldsPolicy' responses: '200': description: Updated produce policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Produce Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyEncryptFields#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster-produce-policy-encrypt-fields summary: Delete Produce Policy for Virtual Cluster description: Deletes a specific produce policy associated with the Event Gateway virtual cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Produce Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies/{policyId}#MaskFields': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyMaskFields#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster-produce-policy-mask-fields summary: Get a Produce Policy for Virtual Cluster description: Returns information about a specific produce policy associated with the Event Gateway virtual cluster. responses: '200': description: A single produce policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Produce Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyMaskFields#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster-produce-policy-mask-fields summary: Update Produce Policy for Virtual Cluster description: Updates an existing produce policy associated with the specified Event Gateway virtual cluster. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayParsedRecordMaskFieldsProducePolicy' responses: '200': description: Updated produce policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Produce Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyMaskFields#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster-produce-policy-mask-fields summary: Delete Produce Policy for Virtual Cluster description: Deletes a specific produce policy associated with the Event Gateway virtual cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Produce Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies/{policyId}#ModifyHeaders': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyModifyHeaders#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster-produce-policy-modify-headers summary: Get a Produce Policy for Virtual Cluster description: Returns information about a specific produce policy associated with the Event Gateway virtual cluster. responses: '200': description: A single produce policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Produce Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyModifyHeaders#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster-produce-policy-modify-headers summary: Update Produce Policy for Virtual Cluster description: Updates an existing produce policy associated with the specified Event Gateway virtual cluster. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayModifyHeadersPolicy' responses: '200': description: Updated produce policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Produce Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyModifyHeaders#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster-produce-policy-modify-headers summary: Delete Produce Policy for Virtual Cluster description: Deletes a specific produce policy associated with the Event Gateway virtual cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Produce Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies/{policyId}#SchemaValidation': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicySchemaValidation#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster-produce-policy-schema-validation summary: Get a Produce Policy for Virtual Cluster description: Returns information about a specific produce policy associated with the Event Gateway virtual cluster. responses: '200': description: A single produce policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayProducePolicySchemaValidationTFOnly' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Produce Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicySchemaValidation#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster-produce-policy-schema-validation summary: Update Produce Policy for Virtual Cluster description: Updates an existing produce policy associated with the specified Event Gateway virtual cluster. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayProduceSchemaValidationPolicy' responses: '200': description: Updated produce policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayProducePolicySchemaValidationTFOnly' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Produce Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicySchemaValidation#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster-produce-policy-schema-validation summary: Delete Produce Policy for Virtual Cluster description: Deletes a specific produce policy associated with the Event Gateway virtual cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Produce Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies/{policyId}#Transcode': get: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyTranscode#read terraform-datasource: null operationId: get-event-gateway-virtual-cluster-produce-policy-transcode summary: Get a Produce Policy for Virtual Cluster description: Returns information about a specific produce policy associated with the Event Gateway virtual cluster. responses: '200': description: A single produce policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayProducePolicyTranscodeTFOnly' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Produce Policies put: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyTranscode#update terraform-datasource: null operationId: update-event-gateway-virtual-cluster-produce-policy-transcode summary: Update Produce Policy for Virtual Cluster description: Updates an existing produce policy associated with the specified Event Gateway virtual cluster. requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeProducePolicy' responses: '200': description: Updated produce policy object. content: application/json: schema: $ref: '#/components/schemas/EventGatewayProducePolicyTranscodeTFOnly' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Produce Policies delete: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyTranscode#delete terraform-datasource: null operationId: delete-event-gateway-virtual-cluster-produce-policy-transcode summary: Delete Produce Policy for Virtual Cluster description: Deletes a specific produce policy associated with the Event Gateway virtual cluster. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Event Gateway Virtual Cluster Produce Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' - name: policyId in: path description: The UUID of the policy. required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 x-speakeasy-match: id '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies#Encrypt': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyEncrypt#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster-produce-policy-encrypt summary: Create Produce Policy for Virtual Cluster description: Creates a new produce policy associated with the specified Event Gateway virtual cluster. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayEncryptPolicy' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Produce Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies#EncryptFields': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyEncryptFields#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster-produce-policy-encrypt-fields summary: Create Produce Policy for Virtual Cluster description: Creates a new produce policy associated with the specified Event Gateway virtual cluster. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayParsedRecordEncryptFieldsPolicyCreate' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Produce Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies#MaskFields': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyMaskFields#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster-produce-policy-mask-fields summary: Create Produce Policy for Virtual Cluster description: Creates a new produce policy associated with the specified Event Gateway virtual cluster. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayParsedRecordMaskFieldsProducePolicyCreate' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Produce Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies#ModifyHeaders': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyModifyHeaders#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster-produce-policy-modify-headers summary: Create Produce Policy for Virtual Cluster description: Creates a new produce policy associated with the specified Event Gateway virtual cluster. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayModifyHeadersPolicyCreate' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayPolicy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Produce Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies#SchemaValidation': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicySchemaValidation#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster-produce-policy-schema-validation summary: Create Produce Policy for Virtual Cluster description: Creates a new produce policy associated with the specified Event Gateway virtual cluster. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayProduceSchemaValidationPolicy' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayProducePolicySchemaValidationTFOnly' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Produce Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' '/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies#Transcode': post: x-speakeasy-entity-operation: terraform-resource: EventGatewayProducePolicyTranscode#create terraform-datasource: null operationId: create-event-gateway-virtual-cluster-produce-policy-transcode summary: Create Produce Policy for Virtual Cluster description: Creates a new produce policy associated with the specified Event Gateway virtual cluster. parameters: - $ref: '#/components/parameters/EventGatewayPolicyBefore' - $ref: '#/components/parameters/EventGatewayPolicyAfter' requestBody: content: application/json: schema: $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeProducePolicyCreate' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/EventGatewayProducePolicyTranscodeTFOnly' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Event Gateway Virtual Cluster Produce Policies parameters: - $ref: '#/components/parameters/gatewayId' - $ref: '#/components/parameters/virtualClusterId' /v1/integration-instances: post: x-speakeasy-entity-operation: IntegrationInstance#create operationId: create-integration-instance summary: Create Integration Instance description: Creates an integration instance. requestBody: $ref: '#/components/requestBodies/CreateIntegrationInstanceRequest' responses: '201': $ref: '#/components/responses/IntegrationInstanceResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Integration Instances '/v1/integration-instances/{id}': parameters: - name: id in: path description: The `id` of the integration instance. required: true schema: type: string example: 3f51fa25-310a-421d-bd1a-007f859021a3 get: x-speakeasy-entity-operation: terraform-resource: IntegrationInstance#read terraform-datasource: null operationId: fetch-integration-instance summary: Get an Integration Instance description: Fetches a integration instance. responses: '200': $ref: '#/components/responses/IntegrationInstanceResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Integration Instances patch: x-speakeasy-entity-operation: IntegrationInstance#update operationId: update-integration-instance summary: Update Integration Instance description: Updates an integration instance. requestBody: $ref: '#/components/requestBodies/UpdateIntegrationInstanceRequest' responses: '200': $ref: '#/components/responses/IntegrationInstanceResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Integration Instances delete: x-speakeasy-entity-operation: IntegrationInstance#delete operationId: delete-integration-instance summary: Delete Integration Instance description: Deletes an integration instance. responses: '204': description: Integration Instance was deleted successfully. '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Integration Instances '/v1/integration-instances/{integrationInstanceId}/auth-config': parameters: - name: integrationInstanceId in: path description: The `id` of the integration instance. required: true schema: type: string example: 3f51fa25-310a-421d-bd1a-007f859021a3 get: x-speakeasy-entity-operation: terraform-resource: IntegrationInstanceAuthConfig#read terraform-datasource: null operationId: get-integration-instance-auth-config summary: Get Integration Instance Auth Config description: Fetches auth config scoped to the given integration instance. responses: '200': $ref: '#/components/responses/IntegrationInstanceAuthConfigResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Integration Instance Auth Config put: x-speakeasy-entity-operation: 'IntegrationInstanceAuthConfig#create,update' operationId: upsert-integration-instance-auth-config summary: Upsert Integration Instance Auth Config description: Upserts auth config scoped to the given integration instance. requestBody: $ref: '#/components/requestBodies/UpsertIntegrationInstanceAuthConfigRequest' responses: '200': $ref: '#/components/responses/IntegrationInstanceAuthConfigResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Integration Instance Auth Config delete: x-speakeasy-entity-operation: IntegrationInstanceAuthConfig#delete operationId: delete-integration-instance-auth-config summary: Delete Integration Instance Auth Config description: Deletes the auth config scoped to the given integration instance. responses: '204': description: Integration Instance Auth Config was deleted successfully. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Integration Instance Auth Config '/v1/integration-instances/{integrationInstanceId}/auth-credential': parameters: - name: integrationInstanceId in: path description: The `id` of the integration instance. required: true schema: type: string example: 3f51fa25-310a-421d-bd1a-007f859021a3 post: x-speakeasy-entity-operation: IntegrationInstanceAuthCredential#create operationId: create-integration-instance-auth-credential summary: Create Integration Instance Auth Credential description: | Creates an auth credential scoped to the given integration instance. Auth credentials are singleton resources that have a 1-to-1 relationship with an integration instance. An attempt to create subsequent auth credentials for an instance will result in a 409 response. requestBody: $ref: '#/components/requestBodies/CreateIntegrationInstanceAuthCredentialRequest' responses: '201': $ref: '#/components/responses/IntegrationInstanceAuthCredentialResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Integration Instance Auth Credentials get: x-speakeasy-entity-operation: terraform-resource: IntegrationInstanceAuthCredential#read terraform-datasource: null operationId: get-integration-instance-auth-credential summary: Get Integration Instance Auth Credential description: Fetches the auth credential scoped to the given integration instance. responses: '200': $ref: '#/components/responses/IntegrationInstanceAuthCredentialResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Integration Instance Auth Credentials delete: x-speakeasy-entity-operation: IntegrationInstanceAuthCredential#delete operationId: delete-integration-instance-auth-credential summary: Delete Integration Instance Auth Credential description: Deletes the auth credential scoped to the given integration instance. responses: '204': description: Integration Instance Auth Credential was deleted successfully. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Integration Instance Auth Credentials /v1/mcp-servers: post: x-speakeasy-entity-operation: terraform-resource: CatalogMCP#create terraform-datasource: null operationId: create-mcp summary: Create MCP description: | Creates a bare MCP. requestBody: $ref: '#/components/requestBodies/CreateCatalogMCPRequest' responses: '201': $ref: '#/components/responses/CatalogMCPResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' tags: - Catalog MCPs '/v1/mcp-servers/{mcpId}': parameters: - $ref: '#/components/parameters/CatalogMCPIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: CatalogMCP#read terraform-datasource: null operationId: get-mcp summary: Get MCP description: Returns a single MCP. responses: '200': $ref: '#/components/responses/CatalogMCPResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog MCPs put: x-speakeasy-entity-operation: terraform-resource: CatalogMCP#update terraform-datasource: null operationId: upsert-mcp summary: Replace MCP description: | Replaces an MCP. requestBody: $ref: '#/components/requestBodies/ReplaceCatalogMCPRequest' responses: '200': $ref: '#/components/responses/CatalogMCPResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Catalog MCPs delete: x-speakeasy-entity-operation: terraform-resource: CatalogMCP#delete terraform-datasource: null operationId: delete-mcp summary: Delete MCP description: | Deletes an MCP. responses: '204': description: Successfully deleted the MCP '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog MCPs '/v1/mcp-servers/{mcpId}/implementations': parameters: - $ref: '#/components/parameters/CatalogMCPIdForChildren' post: x-speakeasy-entity-operation: terraform-resource: CatalogMCPImplementation#create terraform-datasource: null operationId: create-mcp-implementation summary: Create MCP implementation description: | Creates an implementation record for the MCP. Returns `409` if the MCP has an existing implementation. requestBody: $ref: '#/components/requestBodies/CreateCatalogMCPImplementationRequest' responses: '201': $ref: '#/components/responses/CatalogMCPImplementationResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Catalog MCP Implementations '/v1/mcp-servers/{mcpId}/implementations/{implementationId}': parameters: - $ref: '#/components/parameters/CatalogMCPIdForChildren' - $ref: '#/components/parameters/CatalogMCPImplementationIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: CatalogMCPImplementation#read terraform-datasource: null operationId: get-mcp-implementation summary: Get MCP implementation description: Returns a single MCP implementation record. responses: '200': $ref: '#/components/responses/CatalogMCPImplementationResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog MCP Implementations delete: x-speakeasy-entity-operation: terraform-resource: CatalogMCPImplementation#delete terraform-datasource: null operationId: delete-mcp-implementation summary: Delete MCP implementation description: Removes a single MCP implementation (link) record by identifier. responses: '204': description: Successfully deleted the MCP implementation '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog MCP Implementations '/v1/mcp-servers/{mcpId}/versions': parameters: - $ref: '#/components/parameters/CatalogMCPIdForChildren' post: x-speakeasy-entity-operation: terraform-resource: CatalogMCPVersion#create terraform-datasource: null operationId: create-mcp-version summary: Create MCP version description: | Creates the `latest` version. Currently, a MCP only has a single version. Returns `409` if a version already exists. requestBody: $ref: '#/components/requestBodies/CreateCatalogMCPVersionRequest' responses: '201': $ref: '#/components/responses/CatalogMCPVersionResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Catalog MCP Versions '/v1/mcp-servers/{mcpId}/versions/latest': parameters: - $ref: '#/components/parameters/CatalogMCPIdForChildren' get: x-speakeasy-entity-operation: terraform-resource: CatalogMCPVersion#read terraform-datasource: null operationId: get-latest-mcp-version summary: Get latest MCP version description: | Returns the MCP's `latest` version. responses: '200': $ref: '#/components/responses/CatalogMCPVersionResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog MCP Versions put: x-speakeasy-entity-operation: terraform-resource: CatalogMCPVersion#update terraform-datasource: null operationId: upsert-latest-mcp-version summary: Replace latest MCP version description: | Replaces the `latest` version. requestBody: $ref: '#/components/requestBodies/ReplaceCatalogMCPVersionRequest' responses: '200': $ref: '#/components/responses/CatalogMCPVersionResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog MCP Versions delete: x-speakeasy-entity-operation: terraform-resource: CatalogMCPVersion#delete terraform-datasource: null operationId: delete-latest-mcp-version summary: Delete latest MCP version description: | Deletes the MCP's `latest` version. Returns `404` if no version exists yet. responses: '204': description: Successfully deleted the version '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Catalog MCP Versions /v1/mesh/control-planes: get: x-speakeasy-entity-operation: MeshControlPlanes#get operationId: list-mesh-control-planes summary: List Control Planes description: Returns an array of control planes objects. parameters: - $ref: '#/components/parameters/PageSize' - $ref: '#/components/parameters/PageNumber' - $ref: '#/components/parameters/MeshControlPlaneFilter' responses: '200': $ref: '#/components/responses/ListMeshControlPlanesResponse' '401': $ref: '#/components/responses/MeshControlPlaneUnauthorizedError' '403': $ref: '#/components/responses/MeshControlPlaneForbiddenError' tags: - Mesh x-speakeasy-pagination: type: offsetLimit inputs: - name: 'page[number]' in: parameters type: page - name: 'page[size]' in: parameters type: limit outputs: results: $.data numPages: $.meta.page.total post: x-speakeasy-entity-operation: terraform-resource: MeshControlPlane#create terraform-datasource: null operationId: create-cp summary: Create a new control plane description: Create a new control plane requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateMeshControlPlaneRequest' responses: '201': $ref: '#/components/responses/CreateMeshControlPlaneResponse' '400': $ref: '#/components/responses/CreateMeshControlPlaneValidationError' '401': $ref: '#/components/responses/MeshControlPlaneUnauthorizedError' '403': $ref: '#/components/responses/MeshControlPlaneForbiddenError' tags: - Mesh '/v1/mesh/control-planes/{cpId}': parameters: - name: cpId in: path description: Id of the Konnect resource required: true schema: type: string format: uuid example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-match: id x-speakeasy-param-suppress-computed-diff: true get: x-speakeasy-entity-operation: terraform-resource: MeshControlPlane#read terraform-datasource: null operationId: get-mesh-control-plane summary: Get the control plane description: Get the control plane responses: '200': $ref: '#/components/responses/RetrieveMeshControlPlaneResponse' '401': $ref: '#/components/responses/MeshControlPlaneUnauthorizedError' '403': $ref: '#/components/responses/MeshControlPlaneForbiddenError' '404': $ref: '#/components/responses/MeshControlPlaneNotFoundError' tags: - Mesh delete: x-speakeasy-entity-operation: terraform-resource: MeshControlPlane#delete terraform-datasource: null operationId: delete-mesh-control-plane summary: Delete the control plane description: Delete the control plane responses: '204': description: No Content '400': $ref: '#/components/responses/DeleteMeshControlPlaneValidationError' '401': $ref: '#/components/responses/MeshControlPlaneUnauthorizedError' '403': $ref: '#/components/responses/MeshControlPlaneForbiddenError' '404': $ref: '#/components/responses/MeshControlPlaneNotFoundError' tags: - Mesh x-speakeasy-retries: strategy: backoff backoff: initialInterval: 1000 maxInterval: 60000 maxElapsedTime: 360000 exponent: 2 statusCodes: - 400 retryConnectionErrors: true put: x-speakeasy-entity-operation: terraform-resource: MeshControlPlane#update terraform-datasource: null operationId: update-cp summary: Update a whole control plane description: Update a whole control plane requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PutMeshControlPlaneRequest' responses: '200': $ref: '#/components/responses/PutMeshControlPlaneResponse' '400': $ref: '#/components/responses/PutMeshControlPlaneValidationError' '401': $ref: '#/components/responses/MeshControlPlaneUnauthorizedError' '403': $ref: '#/components/responses/MeshControlPlaneForbiddenError' '404': $ref: '#/components/responses/MeshControlPlaneNotFoundError' tags: - Mesh '/v1/notifications/configurations/organization/{eventType}/subscriptions': parameters: - $ref: '#/components/parameters/eventType' post: x-speakeasy-entity-operation: terraform-resource: OrgNotificationSubscription#create terraform-datasource: null operationId: create-org-subscription summary: Create an org subscription description: |- Create a subscription for an org scoped event. The event ID to subscribe is placed in the URL. A destination may be used in multiple subscriptions. Only available to organization administrators. requestBody: $ref: '#/components/requestBodies/OrgSubscriptionCreateRequest' responses: '201': $ref: '#/components/responses/OrgSubscriptionResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Org Configurations '/v1/notifications/configurations/organization/{eventType}/subscriptions/{subscriptionId}': parameters: - $ref: '#/components/parameters/eventType' - $ref: '#/components/parameters/orgSubscriptionId' get: x-speakeasy-entity-operation: terraform-resource: OrgNotificationSubscription#read terraform-datasource: null operationId: get-org-subscription summary: Get an org subscription description: |- Fetch the details of a single org scoped subscription. Only available to organization administrators. responses: '200': $ref: '#/components/responses/OrgSubscriptionResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Org Configurations patch: x-speakeasy-entity-operation: terraform-resource: OrgNotificationSubscription#update terraform-datasource: null operationId: update-org-subscription summary: Update an org subscription description: |- Update the details of an org scoped subscription. Only available to organization administrators. requestBody: $ref: '#/components/requestBodies/OrgSubscriptionUpdateRequest' responses: '200': $ref: '#/components/responses/OrgSubscriptionResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Org Configurations delete: x-speakeasy-entity-operation: terraform-resource: OrgNotificationSubscription#delete terraform-datasource: null operationId: delete-org-subscription summary: Delete an org subscription description: |- Delete an org scoped subscription. Only available to organization administrators. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Org Configurations /v1/notifications/destinations: post: x-speakeasy-entity-operation: terraform-resource: OrgNotificationDestination#create terraform-datasource: null operationId: create-destination summary: Create a destination description: |- Creates a destination for organization event notifications. You can create up to 50 destinations for an organization. For an HTTP destination, the response includes the signing secret. Save it when you create the destination; later responses do not include it. requestBody: $ref: '#/components/requestBodies/DestinationCreateRequest' responses: '201': $ref: '#/components/responses/DestinationWithSecretResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' servers: - url: 'https://global.api.konghq.com/' tags: - Destinations '/v1/notifications/destinations/{destinationId}': parameters: - $ref: '#/components/parameters/destinationId' get: x-speakeasy-entity-operation: terraform-resource: OrgNotificationDestination#read terraform-datasource: null operationId: get-destination summary: Get a destination description: Show a destination's details. Does not return sensitive keys such as signing secret. responses: '200': $ref: '#/components/responses/DestinationResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Destinations patch: x-speakeasy-entity-operation: terraform-resource: OrgNotificationDestination#update terraform-datasource: null operationId: update-destination summary: Update a destination description: Update a destination's parameters requestBody: $ref: '#/components/requestBodies/DestinationUpdateRequest' responses: '200': $ref: '#/components/responses/DestinationResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' servers: - url: 'https://global.api.konghq.com/' tags: - Destinations delete: x-speakeasy-entity-operation: terraform-resource: OrgNotificationDestination#delete terraform-datasource: null operationId: delete-destination summary: Delete a destination description: |- Deletes the destination and removes it from all subscriptions that use it. If this leaves a subscription with no destinations, that subscription is also deleted. This action also deletes the destination's signing keys and delivery history. You cannot undo this action. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Destinations /v1/realms: post: x-speakeasy-entity-operation: terraform-resource: Realm#create terraform-datasource: null operationId: create-realm summary: Create a realm description: | Create a new Realm. Centrally Managed Consumers are created within a Realm. Each Realm can be restricted to a specific set of control planes if needed using `allowed_control_planes` or `allow_all_control_planes`. `ttl` and `negative_ttl` control how long the consumers are kept in memory by a running Gateway. Any `consumer_groups` added to the Realm are automatically applied to all consumers within this Realm. requestBody: $ref: '#/components/requestBodies/CreateConsumerRealm' responses: '201': $ref: '#/components/responses/CreateConsumerRealmResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' tags: - Realms '/v1/realms/{realmId}': parameters: - $ref: '#/components/parameters/realmId' get: x-speakeasy-entity-operation: terraform-resource: Realm#read terraform-datasource: null operationId: get-realm summary: Get a realm description: 'Fetch the details of a specific realm, identified by its UUID' responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/ConsumerRealm' tags: - Realms patch: x-speakeasy-entity-operation: terraform-resource: Realm#update terraform-datasource: null operationId: update-realm summary: Update a realm description: | Update a realm's details. Any consumers already cached in a running Gateway will not be affected body the changes to the Realm until `ttl` minutes have passed. requestBody: $ref: '#/components/requestBodies/UpdateConsumerRealm' responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/ConsumerRealm' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' tags: - Realms delete: x-speakeasy-entity-operation: terraform-resource: Realm#delete terraform-datasource: null operationId: delete-realm summary: Delete a realm description: | Delete a Realm, and all consumers and credentials containined within the Realm. Only empty Realms can be deleted, unless you specify `?force=true` as a query string parameter in your request. parameters: - name: force in: query description: | If set to "true", the realm and all consumers and credentials will be deleted when running `terraform destroy`. If set to "false", the realm will not be deleted until all child entities are manually removed. This will IRREVERSIBLY DELETE ALL REGISTERED CONSUMERS AND THEIR CREDENTIALS. Only set to "true" if you want this behavior. schema: type: string default: 'false' enum: - 'true' - 'false' x-speakeasy-name-override: force_destroy responses: '204': description: success '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '404': $ref: '#/components/responses/NotFound' tags: - Realms '/v1/realms/{realmId}/consumers': parameters: - $ref: '#/components/parameters/realmIdForChildren' post: x-speakeasy-entity-operation: terraform-resource: CentralizedConsumer#create terraform-datasource: null operationId: create-consumer-in-realm summary: Create a consumer description: | Create a new consumer in this Realm. It will be available to use for authentication within a few seconds, unless the consumer's username is blocked in the Gateway. If this is the case, the new consumer will be available in `negative_ttl` (see the Realm definition) seconds. requestBody: $ref: '#/components/requestBodies/CreateConsumer' responses: '201': $ref: '#/components/responses/CreateConsumerResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '404': $ref: '#/components/responses/NotFound' tags: - Centrally Managed Consumers '/v1/realms/{realmId}/consumers/{consumerId}': parameters: - $ref: '#/components/parameters/realmIdForChildren' - $ref: '#/components/parameters/consumerId' get: x-speakeasy-entity-operation: terraform-resource: CentralizedConsumer#read terraform-datasource: null operationId: get-consumer-from-realm summary: Get a consumer description: | Get a consumer from the given realm. responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/CentralizedConsumer' '404': $ref: '#/components/responses/NotFound' tags: - Centrally Managed Consumers patch: x-speakeasy-entity-operation: terraform-resource: CentralizedConsumer#update terraform-datasource: null operationId: update-consumer-in-realm summary: Update a consumer description: | Update a Consumer's details. Any consumers already cached in a running Gateway will not be affected body the changes to the Realm until `ttl` minutes have passed. requestBody: $ref: '#/components/requestBodies/UpdateConsumer' responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/CentralizedConsumer' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '404': $ref: '#/components/responses/NotFound' tags: - Centrally Managed Consumers delete: x-speakeasy-entity-operation: terraform-resource: CentralizedConsumer#delete terraform-datasource: null operationId: delete-consumer-in-realm summary: Delete a consumer description: | Delete a consumer. This operation removes the consumer from the system, causing all future authentication requests using keys associated with that consumer to fail. However, it does not immediately invalidate any cached keys stored in the gateway's state. These keys may remain usable until the cache expires, based on the TTL (Time-To-Live) configured for the realm. responses: '204': description: success '404': description: not found tags: - Centrally Managed Consumers '/v1/realms/{realmId}/consumers/{consumerId}/keys': parameters: - $ref: '#/components/parameters/realmIdForChildren' - $ref: '#/components/parameters/centralizedConsumerIdForChildren' post: x-speakeasy-entity-operation: terraform-resource: CentralizedConsumerKey#create terraform-datasource: null operationId: create-consumer-key summary: Create a key description: | This operation generates an API key for the specified consumer. The key is returned only at the time of creation and will not be retrievable in any subsequent GET requests on the entity. The API supports two key creation types: `new` and `legacy`. * `new`: The recommended and more efficient option. The API automatically generates the key and returns it during this operation. * `legacy`: Allows you to provide your own secret. This approach has a performance impact when proxying requests, as it involves additional processing and resource usage. Note: Regardless of the type selected, the key is only returned by the API when a key is created. It is not retrievable in the future. requestBody: $ref: '#/components/requestBodies/CreateApiKey' responses: '201': description: success content: application/json: schema: $ref: '#/components/schemas/CreateApiKeyResult' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '404': $ref: '#/components/responses/NotFound' tags: - Centrally Managed Keys '/v1/realms/{realmId}/consumers/{consumerId}/keys/{keyId}': parameters: - $ref: '#/components/parameters/realmIdForChildren' - $ref: '#/components/parameters/centralizedConsumerIdForChildren' - $ref: '#/components/parameters/keyId' get: x-speakeasy-entity-operation: terraform-resource: CentralizedConsumerKey#read terraform-datasource: null operationId: get-consumer-key summary: Get a key description: | Returns the key entity. This operation does **NOT** return the key itself. The key is only available at the time of creation. responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/ApiKey' '404': $ref: '#/components/responses/NotFound' tags: - Centrally Managed Keys delete: x-speakeasy-entity-operation: terraform-resource: CentralizedConsumerKey#delete terraform-datasource: null operationId: delete-consumer-key summary: Delete a key description: | Delete a key. This operation removes the key from the system, causing all future authentication requests using this key to fail. However, it does not immediately invalidate any cached keys stored in the gateway's state. These keys may remain usable until the cache expires, based on the TTL (Time-To-Live) configured for the realm. responses: '204': description: success '404': description: not found tags: - Centrally Managed Keys /v2/api-products: post: x-speakeasy-entity-operation: terraform-resource: ApiProduct#create terraform-datasource: null operationId: create-api-product summary: Create API Product description: | An API Product packages together associated APIs and their operations, backed by thorough documentation, with the objective of making API consumption straightforward for developers. requestBody: $ref: '#/components/requestBodies/CreateAPIProductRequest' responses: '201': $ref: '#/components/responses/APIProductResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - API Products '/v2/api-products/{apiProductId}/documents': parameters: - name: apiProductId in: path description: The API product identifier required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a post: x-speakeasy-entity-operation: terraform-resource: APIProductDocument#create terraform-datasource: null operationId: create-api-product-document summary: Create API Product Document description: Creates a document for an API product. requestBody: $ref: '#/components/requestBodies/CreateAPIProductDocumentRequest' responses: '201': $ref: '#/components/responses/APIProductDocumentResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ApiProductNotFound' '409': $ref: '#/components/responses/SlugConflict' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - API Product Documentation '/v2/api-products/{apiProductId}/documents/{id}': parameters: - name: apiProductId in: path description: The API product identifier required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a - name: id in: path description: The document identifier related to the API product required: true schema: type: string format: uuid example: de5c9818-be5c-42e6-b514-e3d4bc30ddeb get: x-speakeasy-entity-operation: terraform-resource: APIProductDocument#read terraform-datasource: null operationId: get-api-product-document summary: Get an API Product Document description: Returns a document for the API product. responses: '200': $ref: '#/components/responses/APIProductDocumentResponse' '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ApiProductNotFound' tags: - API Product Documentation patch: x-speakeasy-entity-operation: terraform-resource: APIProductDocument#update terraform-datasource: null operationId: update-api-product-document summary: Update an API Product Document description: Updates a document for an API product. requestBody: $ref: '#/components/requestBodies/UpdateAPIProductDocumentRequest' responses: '200': $ref: '#/components/responses/APIProductDocumentResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ApiProductNotFound' '409': $ref: '#/components/responses/SlugConflict' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - API Product Documentation delete: x-speakeasy-entity-operation: terraform-resource: APIProductDocument#delete terraform-datasource: null operationId: delete-api-product-document summary: Delete API Product Documentation description: Removes a document from an API product. responses: '204': description: Document for the API product was deleted successfully. '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ApiProductNotFound' tags: - API Product Documentation '/v2/api-products/{apiProductId}/product-versions': parameters: - name: apiProductId in: path description: The API Product ID required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a post: x-speakeasy-entity-operation: terraform-resource: ApiProductVersion#create terraform-datasource: null operationId: create-api-product-version summary: Create API Product Version description: Creates a version of an API product. requestBody: $ref: '#/components/requestBodies/CreateAPIProductVersionRequest' responses: '201': $ref: '#/components/responses/APIProductVersionResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ApiProductNotFound' '409': $ref: '#/components/responses/ApiProductImplementationConflict' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - API Product Versions '/v2/api-products/{apiProductId}/product-versions/{apiProductVersionId}/specifications': parameters: - name: apiProductId in: path description: The API product identifier required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a - name: apiProductVersionId in: path description: The API product version identifier required: true schema: type: string format: uuid example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 post: x-speakeasy-entity-operation: terraform-resource: APIProductSpecification#create terraform-datasource: null operationId: create-api-product-version-spec summary: Create API Product Version Specification description: | Creates a specification for a version of an API product. **Note:** You can only have one specification for a product version. requestBody: $ref: '#/components/requestBodies/CreateAPIProductVersionSpecRequest' responses: '201': $ref: '#/components/responses/APIProductVersionSpecResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ApiProductNotFound' '409': $ref: '#/components/responses/VersionSpecConflict' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - API Product Version Specification '/v2/api-products/{apiProductId}/product-versions/{apiProductVersionId}/specifications/{specificationId}': parameters: - name: apiProductId in: path description: The API product identifier required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a - name: apiProductVersionId in: path description: The API product version identifier required: true schema: type: string format: uuid example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 - name: specificationId in: path description: The API product version specification identifier required: true schema: type: string format: uuid example: 742ff9f1-fb89-4aeb-a599-f0e278c7aeaa x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: APIProductSpecification#read terraform-datasource: null operationId: get-api-product-version-spec summary: Get an API Product Version Specification description: Returns a specification for the version of an API product. responses: '200': $ref: '#/components/responses/APIProductVersionSpecResponse' '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ApiProductNotFound' tags: - API Product Version Specification patch: x-speakeasy-entity-operation: terraform-resource: APIProductSpecification#update terraform-datasource: null operationId: update-api-product-version-spec summary: Update an API Product Version Specification description: Updates a specification from an API product version. requestBody: $ref: '#/components/requestBodies/UpdateAPIProductVersionSpecRequest' responses: '200': $ref: '#/components/responses/APIProductVersionSpecResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ApiProductNotFound' '409': $ref: '#/components/responses/VersionSpecHiddenConflict' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - API Product Version Specification delete: x-speakeasy-entity-operation: terraform-resource: APIProductSpecification#delete terraform-datasource: null operationId: delete-api-product-version-spec summary: Delete API Product Version Specification description: Removes a specification from a verion of an API product. responses: '204': description: Specification for the version of an API product was deleted successfully. '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ApiProductNotFound' tags: - API Product Version Specification '/v2/api-products/{apiProductId}/product-versions/{id}': parameters: - name: apiProductId in: path description: The API product identifier required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a - name: id in: path description: The API product version identifier required: true schema: type: string format: uuid example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 get: x-speakeasy-entity-operation: terraform-resource: ApiProductVersion#read terraform-datasource: null operationId: get-api-product-version summary: Get an API Product Version description: Returns a version of an API product. responses: '200': $ref: '#/components/responses/APIProductVersionResponse' '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ApiProductNotFound' tags: - API Product Versions patch: x-speakeasy-entity-operation: terraform-resource: ApiProductVersion#update terraform-datasource: null operationId: update-api-product-version summary: Update an API Product Version description: Updates an API product version. requestBody: $ref: '#/components/requestBodies/UpdateAPIProductVersionRequest' responses: '200': $ref: '#/components/responses/APIProductVersionResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ApiProductNotFound' '409': $ref: '#/components/responses/ApiProductImplementationConflict' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - API Product Versions delete: x-speakeasy-entity-operation: terraform-resource: ApiProductVersion#delete terraform-datasource: null operationId: delete-api-product-version summary: Delete API Product Version description: Removes an API product version. responses: '204': description: API product version was deleted successfully. '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ApiProductNotFound' tags: - API Product Versions '/v2/api-products/{id}': parameters: - name: id in: path description: API product identifier required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a get: x-speakeasy-entity-operation: terraform-resource: ApiProduct#read terraform-datasource: null operationId: get-api-product summary: Get an API product description: Returns an API product. responses: '200': $ref: '#/components/responses/APIProductResponse' '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ApiProductNotFound' tags: - API Products patch: x-speakeasy-entity-operation: terraform-resource: ApiProduct#update terraform-datasource: null operationId: update-api-product summary: Update an individual API product description: Updates an API product. requestBody: $ref: '#/components/requestBodies/UpdateAPIProductRequest' responses: '200': $ref: '#/components/responses/APIProductResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ApiProductNotFound' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - API Products delete: x-speakeasy-entity-operation: terraform-resource: ApiProduct#delete terraform-datasource: null operationId: delete-api-product summary: Delete API Product description: Removes an individual API product. responses: '204': description: API product was deleted successfully. '401': $ref: '#/components/responses/ApiProductUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ApiProductNotFound' tags: - API Products /v2/application-auth-strategies: post: x-speakeasy-entity-operation: terraform-resource: ApplicationAuthStrategy#create terraform-datasource: null operationId: create-app-auth-strategy summary: Create App Auth Strategy description: Creates an application auth strategy. requestBody: $ref: '#/components/requestBodies/CreateAppAuthStrategy' responses: '201': $ref: '#/components/responses/CreateAppAuthStrategy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - App Auth Strategies '/v2/application-auth-strategies/{authStrategyId}': parameters: - $ref: '#/components/parameters/AuthStrategyId' get: x-speakeasy-entity-operation: terraform-resource: ApplicationAuthStrategy#read terraform-datasource: null operationId: get-app-auth-strategy summary: Get App Auth Strategy description: Returns an application auth strategy. responses: '200': $ref: '#/components/responses/GetAppAuthStrategy' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - App Auth Strategies put: x-speakeasy-entity-operation: terraform-resource: ApplicationAuthStrategy#update terraform-datasource: null operationId: replace-app-auth-strategy summary: Replace App Auth Strategy description: Replaces an application auth strategy. requestBody: $ref: '#/components/requestBodies/CreateAppAuthStrategy' responses: '200': $ref: '#/components/responses/CreateAppAuthStrategy' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - App Auth Strategies delete: x-speakeasy-entity-operation: terraform-resource: ApplicationAuthStrategy#delete terraform-datasource: null operationId: delete-app-auth-strategy summary: Delete App Auth Strategy description: Deletes an application auth strategy. An application auth strategy can be deleted ONLY if it's not used by any product version within any portal regardless of their publication statuses. If an application auth strategy is still in use the request will result in an HTTP 409 CONFLICT. responses: '204': description: No Content. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - App Auth Strategies /v2/audit-log-destinations: post: x-speakeasy-entity-operation: terraform-resource: AuditLogDestination#create terraform-datasource: null operationId: create-audit-log-destination summary: Create Audit Log Destination description: Creates a configuration for the audit log destination. requestBody: $ref: '#/components/requestBodies/CreateAuditLogDestination' responses: '201': $ref: '#/components/responses/AuditLogDestinationSingle' '400': $ref: '#/components/responses/AuditLogDestinationBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Audit Logs '/v2/audit-log-destinations/{auditLogDestinationId}': parameters: - $ref: '#/components/parameters/AuditLogDestinationId' get: x-speakeasy-entity-operation: terraform-resource: AuditLogDestination#read terraform-datasource: null operationId: get-audit-log-destination summary: Get Audit Log Destination description: Returns configuration for the audit log destination. responses: '200': $ref: '#/components/responses/AuditLogDestinationSingle' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Audit Logs patch: x-speakeasy-entity-operation: terraform-resource: AuditLogDestination#update terraform-datasource: null operationId: update-audit-log-destination summary: Update Audit Log Destination description: Updates configuration for the audit log destination. requestBody: $ref: '#/components/requestBodies/UpdateAuditLogDestination' responses: '200': $ref: '#/components/responses/AuditLogDestinationSingle' '400': $ref: '#/components/responses/AuditLogDestinationBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Audit Logs delete: x-speakeasy-entity-operation: terraform-resource: AuditLogDestination#delete terraform-datasource: null operationId: delete-audit-log-destination summary: Delete Audit Log Destination description: Deletes configuration for the audit log destination. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Audit Logs /v2/audit-log-webhook: patch: x-speakeasy-entity-operation: terraform-resource: - AuditLog#create - AuditLog#update terraform-datasource: null operationId: update-audit-log-webhook summary: Update Audit Log Webhook description: Updates the configuration for a webhook to receive audit logs. requestBody: $ref: '#/components/requestBodies/UpdateAuditLogWebhook' responses: '200': $ref: '#/components/responses/AuditLogWebhook' '400': $ref: '#/components/responses/WebhookBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Audit Logs get: x-speakeasy-entity-operation: terraform-resource: AuditLog#read terraform-datasource: null operationId: get-audit-log-webhook summary: Get Audit Log Webhook description: Returns configuration for the audit log webhook. responses: '200': $ref: '#/components/responses/AuditLogWebhook' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Audit Logs /v2/cloud-gateways/add-ons: post: x-speakeasy-entity-operation: terraform-resource: CloudGatewayAddon#create operationId: create-add-on summary: Create Add-On description: | Creates a new add-on for a control plane or control plane group. The add-on type is determined by the `config.kind` field — currently only `managed-cache.v0` is supported, which provisions a Redis-compatible cache co-located with your data planes. After it's created, the add-on transitions through `initializing → ready` as it deploys across data plane groups. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAddOnRequest' responses: '201': $ref: '#/components/responses/CreateAddOnResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': description: Unauthorized content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: Forbidden content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: Not Found content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' '409': description: Conflict content: application/problem+json: schema: $ref: '#/components/schemas/ConflictError' servers: - url: 'https://global.api.konghq.com/' tags: - Add-Ons x-speakeasy-group: CloudGateways '/v2/cloud-gateways/add-ons/{addOnId}': get: x-speakeasy-entity-operation: terraform-resource: CloudGatewayAddon#read operationId: get-add-on summary: Get Add-On description: 'Retrieves a single add-on by ID, including its current lifecycle state and per data plane group deployment status.' parameters: - $ref: '#/components/parameters/AddOnId' responses: '200': $ref: '#/components/responses/RetrieveAddOnResponse' '401': description: Unauthorized content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: Forbidden content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: Not Found content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' servers: - url: 'https://global.api.konghq.com/' tags: - Add-Ons x-speakeasy-group: CloudGateways delete: x-speakeasy-entity-operation: terraform-resource: CloudGatewayAddon#delete terraform-datasource: null operationId: delete-add-on summary: Delete Add-On description: | Deletes an add-on by ID. The request is rejected if any Kong plugins are still referencing the managed cache add-on — remove those plugin references before deleting. parameters: - $ref: '#/components/parameters/AddOnId' responses: '204': description: No Content '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': description: Unauthorized content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: Forbidden content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: Not Found content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' servers: - url: 'https://global.api.konghq.com/' tags: - Add-Ons x-speakeasy-group: CloudGateways patch: x-speakeasy-entity-operation: terraform-resource: CloudGatewayAddon#update terraform-datasource: null operationId: update-add-on summary: Update Add-On description: | Updates the configuration of an existing add-on, such as changing the managed cache capacity tier. Tier upgrades are supported; downgrades are not. parameters: - $ref: '#/components/parameters/AddOnId' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAddOnRequest' responses: '200': $ref: '#/components/responses/UpdateAddOnResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': description: Unauthorized content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' '403': description: Forbidden content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' '404': description: Not Found content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' servers: - url: 'https://global.api.konghq.com/' tags: - Add-Ons x-speakeasy-group: CloudGateways /v2/cloud-gateways/configurations: put: x-speakeasy-entity-operation: terraform-resource: 'CloudGatewayConfiguration#create,update' terraform-datasource: null operationId: create-configuration summary: Create Configuration description: | Creates or replaces the Cloud Gateway configuration for a control plane and geo. The request fully describes the desired state — Kong diffs it against the current configuration, then adds, removes, or updates data plane groups to match. Any network referenced in the request that is currently `offline` automatically transitions to `initializing`. For a `Dedicated API gateway`, use kind: dedicated.v0 and type: api (both defaults); version, cloud_gateway_network_id, and autoscale are required. For a `Dedicated AI gateway`, use kind: dedicated.v0 and type: ai; cloud_gateway_network_id is required, while version, autoscale, and environment must be omitted. For a `Serverless gateway`, use kind: serverless.v1; version, cloud_gateway_network_id, and autoscale must be omitted. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateConfigurationRequest' responses: '200': $ref: '#/components/responses/CreateConfigurationResponse' '400': $ref: '#/components/responses/CloudGatewaysBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/CloudGatewaysForbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/CloudGatewaysConflict' servers: - url: 'https://global.api.konghq.com/' tags: - Data-Plane Group Configurations x-speakeasy-group: CloudGateways '/v2/cloud-gateways/configurations/{configurationId}': get: x-speakeasy-entity-operation: terraform-resource: CloudGatewayConfiguration#get terraform-datasource: null operationId: get-configuration summary: Get Configuration description: | Retrieves a single Cloud Gateway configuration by ID, including the current state of each deployed data plane group. Access is restricted to control planes the caller has permission to read. parameters: - $ref: '#/components/parameters/ConfigurationId' responses: '200': $ref: '#/components/responses/RetrieveConfigurationResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Data-Plane Group Configurations x-speakeasy-group: CloudGateways /v2/cloud-gateways/custom-domains: post: x-speakeasy-entity-operation: terraform-resource: CloudGatewayCustomDomain#create terraform-datasource: null operationId: create-custom-domains summary: Create Custom Domain description: | Registers a custom domain for a control plane. After creation, Konnect provisions a TLS certificate and configures SNI routing, transitioning the domain through `initializing → ready`. To complete setup, configure two CNAME records at your DNS registrar: one pointing your domain to the Konnect gateway hostname, and one pointing `_acme-challenge.` to the ACME challenge hostname provided by Konnect. Use the online-status endpoint to verify both records are correctly configured. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateCustomDomainRequest' responses: '201': $ref: '#/components/responses/CreateCustomDomainResponse' '400': $ref: '#/components/responses/CloudGatewaysBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' servers: - url: 'https://global.api.konghq.com/' tags: - Custom Domains x-speakeasy-group: CloudGateways '/v2/cloud-gateways/custom-domains/{customDomainId}': get: x-speakeasy-entity-operation: terraform-resource: CloudGatewayCustomDomain#read terraform-datasource: null operationId: get-custom-domain summary: Get Custom Domain description: 'Retrieves a single custom domain by ID, including its current lifecycle state and any error metadata.' parameters: - $ref: '#/components/parameters/CustomDomainId' responses: '200': $ref: '#/components/responses/RetrieveCustomDomainResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Custom Domains x-speakeasy-group: CloudGateways delete: x-speakeasy-entity-operation: terraform-resource: CloudGatewayCustomDomain#delete terraform-datasource: null operationId: delete-custom-domain summary: Delete Custom Domain description: 'Deletes a custom domain by ID, removing the associated TLS certificate and SNI configuration from the control plane''s data planes.' parameters: - $ref: '#/components/parameters/CustomDomainId' responses: '204': description: No Content '400': $ref: '#/components/responses/CloudGatewaysBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Custom Domains x-speakeasy-group: CloudGateways x-speakeasy-retries: strategy: backoff backoff: initialInterval: 10000 maxInterval: 60000 maxElapsedTime: 1800000 exponent: 1.5 statusCodes: - 400 retryConnectionErrors: false /v2/cloud-gateways/networks: get: x-speakeasy-entity-operation: terraform-resource: null terraform-datasource: CloudGatewayNetwork#read operationId: list-networks summary: List Networks description: | Returns a paginated list of Cloud Gateway networks visible to the caller. Filter by `state` to narrow results — for example, poll for `state=ready` to find networks available for data plane group configurations. parameters: - $ref: '#/components/parameters/NetworksFilter' - $ref: '#/components/parameters/PageSize' - $ref: '#/components/parameters/PageNumber' responses: '200': $ref: '#/components/responses/ListNetworksResponse' '400': $ref: '#/components/responses/CloudGatewaysBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' servers: - url: 'https://global.api.konghq.com/' tags: - Networks x-speakeasy-group: CloudGateways post: x-speakeasy-entity-operation: terraform-resource: CloudGatewayNetwork#create terraform-datasource: null operationId: create-network summary: Create Network description: | Creates a new Cloud Gateway network in the specified provider account and region. Network creation is asynchronous — the network starts in `initializing` state and transitions to `ready` once provisioned. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateNetworkRequest' responses: '201': $ref: '#/components/responses/CreateNetworkResponse' '400': $ref: '#/components/responses/CloudGatewaysBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/CloudGatewaysForbidden' '409': $ref: '#/components/responses/Conflict' servers: - url: 'https://global.api.konghq.com/' tags: - Networks x-speakeasy-group: CloudGateways '/v2/cloud-gateways/networks/{networkId}': get: x-speakeasy-entity-operation: terraform-resource: CloudGatewayNetwork#read terraform-datasource: null operationId: get-network summary: Get Network description: 'Retrieves a Cloud Gateway network by ID, including its current state and provider metadata.' parameters: - $ref: '#/components/parameters/NetworkId' responses: '200': $ref: '#/components/responses/RetrieveNetworkResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Networks x-speakeasy-group: CloudGateways patch: x-speakeasy-entity-operation: terraform-resource: CloudGatewayNetwork#update terraform-datasource: null operationId: update-network summary: Update Network description: Updates a Cloud Gateway network by ID. You can also rename the network. parameters: - $ref: '#/components/parameters/NetworkId' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PatchNetworkRequest' responses: '200': $ref: '#/components/responses/PatchNetworkResponse' '400': $ref: '#/components/responses/CloudGatewaysBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/CloudGatewaysForbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' servers: - url: 'https://global.api.konghq.com/' tags: - Networks x-speakeasy-group: CloudGateways delete: x-speakeasy-entity-operation: terraform-resource: CloudGatewayNetwork#delete terraform-datasource: null operationId: delete-network summary: Delete Network description: Deletes a Cloud Gateway network by ID. The network cannot be referenced by any active configuration before it can be deleted. parameters: - $ref: '#/components/parameters/NetworkId' responses: '204': description: No Content '400': $ref: '#/components/responses/CloudGatewaysBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Networks x-speakeasy-group: CloudGateways x-speakeasy-retries: strategy: backoff backoff: initialInterval: 10000 maxInterval: 60000 maxElapsedTime: 1800000 exponent: 1.5 statusCodes: - 400 retryConnectionErrors: false '/v2/cloud-gateways/networks/{networkId}/private-dns': post: x-speakeasy-entity-operation: terraform-resource: CloudGatewayPrivateDns#create terraform-datasource: null operationId: create-private-dns summary: Create Private DNS description: | Creates a new private DNS attachment for a given network. The attachment type is determined by `private_dns_attachment_config.kind`. Supported types: `aws-private-hosted-zone-attachment`, `aws-outbound-resolver`, `gcp-private-hosted-zone-attachment`, `azure-private-hosted-zone-attachment`, and `azure-outbound-resolver`. parameters: - name: networkId in: path description: The network to operate on. required: true schema: $ref: '#/components/schemas/NetworkId' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreatePrivateDnsRequest' responses: '201': $ref: '#/components/responses/CreatePrivateDnsResponse' '400': $ref: '#/components/responses/CloudGatewaysBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' servers: - url: 'https://global.api.konghq.com/' tags: - Private DNS x-speakeasy-group: CloudGateways x-speakeasy-retries: strategy: backoff backoff: initialInterval: 30000 maxInterval: 60000 maxElapsedTime: 3600000 exponent: 1.5 statusCodes: - 400 retryConnectionErrors: false '/v2/cloud-gateways/networks/{networkId}/private-dns/{privateDnsId}': get: x-speakeasy-entity-operation: terraform-resource: CloudGatewayPrivateDns#read terraform-datasource: null operationId: get-private-dns summary: Get Private DNS description: 'Retrieves a private DNS attachment by ID, including its current state and attachment configuration.' parameters: - name: networkId in: path description: The network to operate on. required: true schema: $ref: '#/components/schemas/NetworkId' - $ref: '#/components/parameters/PrivateDnsId' responses: '200': $ref: '#/components/responses/RetrievePrivateDnsResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Private DNS x-speakeasy-group: CloudGateways delete: x-speakeasy-entity-operation: terraform-resource: CloudGatewayPrivateDns#delete terraform-datasource: null operationId: delete-private-dns summary: Delete Private DNS description: | Deletes a Private DNS attachment by ID. The attachment must be in a stable state (`ready` or `error`) before deletion — requests against attachments in a transitional state (`initializing`, `terminating`) will be rejected. parameters: - name: networkId in: path description: The network to operate on. required: true schema: $ref: '#/components/schemas/NetworkId' - $ref: '#/components/parameters/PrivateDnsId' responses: '204': description: No Content '400': $ref: '#/components/responses/CloudGatewaysBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Private DNS x-speakeasy-group: CloudGateways x-speakeasy-retries: strategy: backoff backoff: initialInterval: 10000 maxInterval: 60000 maxElapsedTime: 1800000 exponent: 1.5 statusCodes: - 400 retryConnectionErrors: false '/v2/cloud-gateways/networks/{networkId}/transit-gateways': post: x-speakeasy-entity-operation: terraform-resource: CloudGatewayTransitGateway#create terraform-datasource: null operationId: create-transit-gateway summary: Create Transit Gateway description: | Creates a new transit gateway attachment for a given network. The attachment type is determined by the `transit_gateway_attachment_config.kind` field. Supported types: `aws-transit-gateway-attachment`, `aws-vpc-peering-attachment`, `aws-resource-endpoint-attachment`, `azure-vnet-peering-attachment`, `azure-vhub-peering-attachment`, and `gcp-vpc-peering-attachment`. Creation is asynchronous — the transit gateway starts in `initializing` state and transitions to `ready` once provisioned. parameters: - name: networkId in: path description: The network to operate on. required: true schema: $ref: '#/components/schemas/NetworkId' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateTransitGatewayRequest' responses: '201': $ref: '#/components/responses/CreateTransitGatewayResponse' '400': $ref: '#/components/responses/CloudGatewaysBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' servers: - url: 'https://global.api.konghq.com/' tags: - Transit Gateways x-speakeasy-group: CloudGateways x-speakeasy-retries: strategy: backoff backoff: initialInterval: 30000 maxInterval: 60000 maxElapsedTime: 3600000 exponent: 1.5 statusCodes: - 400 retryConnectionErrors: false '/v2/cloud-gateways/networks/{networkId}/transit-gateways/{transitGatewayId}': get: x-speakeasy-entity-operation: terraform-resource: CloudGatewayTransitGateway#read terraform-datasource: null operationId: get-transit-gateway summary: Get Transit Gateway description: 'Retrieves a transit gateway by ID, including its current state and attachment configuration.' parameters: - name: networkId in: path description: The network to operate on. required: true schema: $ref: '#/components/schemas/NetworkId' x-speakeasy-param-force-new: true - $ref: '#/components/parameters/TransitGatewayId' responses: '200': $ref: '#/components/responses/RetrieveTransitGatewayResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Transit Gateways x-speakeasy-group: CloudGateways patch: x-speakeasy-entity-operation: terraform-resource: CloudGatewayTransitGateway#update terraform-datasource: null operationId: update-transit-gateway summary: Update Transit Gateway description: | Updates a transit gateway by ID. Supports updating CIDR blocks on an AWS Transit Gateway, or updating the resource endpoint configuration on an AWS Resource Endpoint gateway. parameters: - name: networkId in: path description: The network to operate on. required: true schema: $ref: '#/components/schemas/NetworkId' x-speakeasy-param-force-new: true - $ref: '#/components/parameters/TransitGatewayId' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PatchTransitGatewayRequest' responses: '200': $ref: '#/components/responses/PatchTransitGatewayResponse' '400': $ref: '#/components/responses/CloudGatewaysBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' servers: - url: 'https://global.api.konghq.com/' tags: - Transit Gateways x-speakeasy-group: CloudGateways delete: x-speakeasy-entity-operation: terraform-resource: CloudGatewayTransitGateway#delete terraform-datasource: null operationId: delete-transit-gateway summary: Delete Transit Gateway description: Deletes a transit gateway by ID. The transit gateway must be in a non-transitional state before deletion. parameters: - name: networkId in: path description: The network to operate on. required: true schema: $ref: '#/components/schemas/NetworkId' x-speakeasy-param-force-new: true - $ref: '#/components/parameters/TransitGatewayId' responses: '204': description: No Content '400': $ref: '#/components/responses/CloudGatewaysBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Transit Gateways x-speakeasy-group: CloudGateways x-speakeasy-retries: strategy: backoff backoff: initialInterval: 10000 maxInterval: 60000 maxElapsedTime: 1800000 exponent: 1.5 statusCodes: - 400 retryConnectionErrors: false /v2/cloud-gateways/provider-accounts: get: x-speakeasy-entity-operation: CloudGatewayProviderAccountList#read operationId: list-provider-accounts summary: List Provider Accounts description: Returns a paginated list of provider accounts linked to the organization. Filter by cloud provider to see accounts for a specific CSP. parameters: - $ref: '#/components/parameters/PageSize' - $ref: '#/components/parameters/PageNumber' responses: '200': $ref: '#/components/responses/ListProviderAccountsResponse' '400': $ref: '#/components/responses/CloudGatewaysBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' servers: - url: 'https://global.api.konghq.com/' tags: - Provider Accounts x-speakeasy-group: CloudGateways x-speakeasy-pagination: type: offsetLimit inputs: - name: 'page[number]' in: parameters type: page - name: 'page[size]' in: parameters type: limit outputs: results: $.data numPages: $.meta.page.total /v2/control-planes: get: x-speakeasy-entity-operation: terraform-resource: null terraform-datasource: - GatewayControlPlaneList#read operationId: list-control-planes summary: List Control Planes description: Returns an array of control plane objects containing information about the Konnect Control Planes. parameters: - name: 'page[size]' in: query description: The maximum number of items to include per page. The last page of a collection may include fewer items. required: true schema: type: integer const: 100 - $ref: '#/components/parameters/ControlPlanePageNumber' - $ref: '#/components/parameters/ControlPlaneFilter' - $ref: '#/components/parameters/FilterByLabels' - $ref: '#/components/parameters/ControlPlaneSort' responses: '200': $ref: '#/components/responses/ListControlPlanesResponse' '400': $ref: '#/components/responses/ControlPlanesBadRequest' '401': $ref: '#/components/responses/ControlPlaneUnauthenticated' '403': $ref: '#/components/responses/ControlPlanePermissionDenied' '500': $ref: '#/components/responses/Internal' '503': $ref: '#/components/responses/ServiceUnavailable' tags: - Control Planes x-speakeasy-pagination: type: offsetLimit inputs: - name: 'page[number]' in: parameters type: page - name: 'page[size]' in: parameters type: limit outputs: results: $.data numPages: $.meta.page.total post: x-speakeasy-entity-operation: terraform-resource: GatewayControlPlane#create terraform-datasource: null operationId: create-control-plane summary: Create Control Plane description: Create a control plane in the Konnect Organization. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateControlPlaneRequest' responses: '201': $ref: '#/components/responses/CreateControlPlaneResponse' '400': $ref: '#/components/responses/ControlPlanesBadRequest' '401': $ref: '#/components/responses/ControlPlaneUnauthenticated' '403': $ref: '#/components/responses/ControlPlanePermissionDenied' '409': $ref: '#/components/responses/ControlPlaneConflict' '500': $ref: '#/components/responses/InternalServerError' '503': $ref: '#/components/responses/ServiceUnavailable' tags: - Control Planes '/v2/control-planes/{controlPlaneId}': parameters: - name: controlPlaneId in: path description: The control plane ID required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: GatewayControlPlane#read terraform-datasource: null operationId: get-control-plane summary: Get a Control Plane description: Returns information about an individual control plane. responses: '200': $ref: '#/components/responses/RetrieveControlPlaneResponse' '400': $ref: '#/components/responses/ControlPlanesBadRequest' '401': $ref: '#/components/responses/ControlPlaneUnauthenticated' '403': $ref: '#/components/responses/ControlPlanePermissionDenied' '404': $ref: '#/components/responses/ControlPlaneNotFound' '500': $ref: '#/components/responses/Internal' '503': $ref: '#/components/responses/ServiceUnavailable' tags: - Control Planes patch: x-speakeasy-entity-operation: terraform-resource: GatewayControlPlane#update terraform-datasource: null operationId: update-control-plane summary: Update Control Plane description: Update an individual control plane. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateControlPlaneRequest' responses: '200': $ref: '#/components/responses/UpdateControlPlaneResponse' '400': $ref: '#/components/responses/ControlPlanesBadRequest' '401': $ref: '#/components/responses/ControlPlaneUnauthenticated' '403': $ref: '#/components/responses/ControlPlanePermissionDenied' '404': $ref: '#/components/responses/ControlPlaneNotFound' '500': $ref: '#/components/responses/InternalServerError' '503': $ref: '#/components/responses/ServiceUnavailable' tags: - Control Planes delete: x-speakeasy-entity-operation: terraform-resource: GatewayControlPlane#delete terraform-datasource: null operationId: delete-control-plane summary: Delete Control Plane description: Delete an individual control plane. responses: '204': description: No Content '400': $ref: '#/components/responses/ControlPlanesBadRequest' '401': $ref: '#/components/responses/ControlPlaneUnauthenticated' '403': $ref: '#/components/responses/ControlPlanePermissionDenied' '404': $ref: '#/components/responses/ControlPlaneNotFound' '500': $ref: '#/components/responses/InternalServerError' '503': $ref: '#/components/responses/ServiceUnavailable' tags: - Control Planes '/v2/control-planes/{controlPlaneId}/config-stores': post: x-speakeasy-entity-operation: terraform-resource: GatewayConfigStore#create terraform-datasource: null operationId: create-config-store summary: Create Config Store description: Create a Config Store parameters: - $ref: '#/components/parameters/controlPlaneId' requestBody: $ref: '#/components/requestBodies/CreateConfigStoreRequest' responses: '201': $ref: '#/components/responses/ConfigStoreResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ConfigStoreUnauthorized' '403': $ref: '#/components/responses/Forbidden' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - Config Stores '/v2/control-planes/{controlPlaneId}/config-stores/{configStoreId}': parameters: - $ref: '#/components/parameters/controlPlaneId' - $ref: '#/components/parameters/configStoreId' get: x-speakeasy-entity-operation: terraform-resource: GatewayConfigStore#read terraform-datasource: null operationId: get-config-store summary: Get a Config Store description: Returns a Config Store responses: '200': $ref: '#/components/responses/ConfigStoreResponse' '401': $ref: '#/components/responses/ConfigStoreUnauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Config Stores put: x-speakeasy-entity-operation: terraform-resource: GatewayConfigStore#update terraform-datasource: null operationId: update-config-store summary: Update an individual Config Store description: Updates a Config Store requestBody: $ref: '#/components/requestBodies/UpdateConfigStoreRequest' responses: '200': $ref: '#/components/responses/ConfigStoreResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ConfigStoreUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ConfigStoreNotFound' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - Config Stores delete: x-speakeasy-entity-operation: terraform-resource: GatewayConfigStore#delete terraform-datasource: null operationId: delete-config-store summary: Delete Config Store description: Removes a config store parameters: - name: force in: query description: '[Overlay change] Always cascade delete when being managed with declarative configuation' required: true schema: type: string const: 'true' responses: '204': description: Config Store was deleted successfully. '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ConfigStoreUnauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Config Stores '/v2/control-planes/{controlPlaneId}/config-stores/{configStoreId}/secrets': parameters: - $ref: '#/components/parameters/controlPlaneId' - $ref: '#/components/parameters/configStoreIdForSecret' post: x-speakeasy-entity-operation: GatewayConfigStoreSecret#create operationId: create-config-store-secret summary: Create Config Store Secret description: Creates a secret for a Config Store. requestBody: $ref: '#/components/requestBodies/CreateConfigStoreSecretRequest' responses: '201': $ref: '#/components/responses/ConfigStoreSecretResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ConfigStoreSecretUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ConfigStoreSecretNotFound' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - Config Store Secrets '/v2/control-planes/{controlPlaneId}/config-stores/{configStoreId}/secrets/{key}': parameters: - $ref: '#/components/parameters/controlPlaneId' - $ref: '#/components/parameters/configStoreIdForSecret' - name: key in: path description: Config Store Secret key required: true schema: type: string example: ConfigStoreSecretKey get: x-speakeasy-entity-operation: terraform-resource: GatewayConfigStoreSecret#read terraform-datasource: null operationId: get-config-store-secret summary: Get a Config Store Secret description: Returns the secret entity for the Config Store. Secret values once stored cannot be retrieved. responses: '200': $ref: '#/components/responses/ConfigStoreSecretResponse' '401': $ref: '#/components/responses/ConfigStoreSecretUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ConfigStoreSecretNotFound' tags: - Config Store Secrets put: x-speakeasy-entity-operation: GatewayConfigStoreSecret#update operationId: update-config-store-secret summary: Update Config Store Secret description: Updates a secret for a Config Store. requestBody: $ref: '#/components/requestBodies/UpdateConfigStoreSecretRequest' responses: '200': $ref: '#/components/responses/ConfigStoreSecretResponse' '201': $ref: '#/components/responses/ConfigStoreSecretResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ConfigStoreSecretUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ConfigStoreSecretNotFound' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - Config Store Secrets delete: x-speakeasy-entity-operation: GatewayConfigStoreSecret#delete operationId: delete-config-store-secret summary: Delete Config Store Secret description: Removes a secret from a Config Store. responses: '204': description: Secret for the Config Store was deleted successfully. '401': $ref: '#/components/responses/ConfigStoreSecretUnauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/ConfigStoreSecretNotFound' tags: - Config Store Secrets '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/certificates': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayCertificate#create operationId: create-certificate summary: Create a new Certificate in a workspace description: Create a new Certificate in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the new Certificate for creation required: true content: application/json: schema: $ref: '#/components/schemas/CertificateRequest' responses: '201': description: Successfully created Certificate content: application/json: schema: $ref: '#/components/schemas/Certificate' '401': $ref: '#/components/responses/HTTP401Error' tags: - Certificates '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/certificates/{CertificateId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayCertificate#delete operationId: delete-certificate summary: Delete a Certificate in a workspace description: Delete a Certificate in a workspace parameters: - $ref: '#/components/parameters/CertificateId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Certificate or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Certificates get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayCertificate#read operationId: get-certificate summary: Get a Certificate in a workspace description: Get a Certificate using ID in a workspace. parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched Certificate content: application/json: schema: $ref: '#/components/schemas/Certificate' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Certificates parameters: - $ref: '#/components/parameters/CertificateId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayCertificate#update operationId: upsert-certificate summary: Upsert a Certificate in a workspace description: Create or Update Certificate using ID in a workspace. parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the Certificate required: true content: application/json: schema: $ref: '#/components/schemas/CertificateRequest' responses: '200': description: Successfully upserted Certificate content: application/json: schema: $ref: '#/components/schemas/Certificate' '401': $ref: '#/components/responses/HTTP401Error' tags: - Certificates '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumer_groups': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayConsumerGroup#create operationId: create-consumer_group summary: Create a new Consumer Group in a workspace description: Create a new Consumer Group in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the new Consumer Group for creation required: true content: application/json: schema: $ref: '#/components/schemas/ConsumerGroup' responses: '201': description: Successfully created Consumer Group content: application/json: schema: $ref: '#/components/schemas/ConsumerGroup' '401': $ref: '#/components/responses/HTTP401Error' tags: - Consumer Groups '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumer_groups/{ConsumerGroupId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayConsumerGroup#delete operationId: delete-consumer_group summary: Delete a Consumer Group in a workspace description: Delete a Consumer Group in a workspace parameters: - $ref: '#/components/parameters/ConsumerGroupId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Consumer Group or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Consumer Groups get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayConsumerGroup#read operationId: get-consumer_group summary: Get a Consumer Group in a workspace description: Get a Consumer Group using ID in a workspace. parameters: - $ref: '#/components/parameters/Workspace' - $ref: '#/components/parameters/ListConsumers' responses: '200': description: Successfully fetched Consumer Group content: application/json: schema: $ref: '#/components/schemas/ConsumerGroupInsideWrapper' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Consumer Groups parameters: - $ref: '#/components/parameters/ConsumerGroupId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayConsumerGroup#update operationId: upsert-consumer_group summary: Upsert a Consumer Group in a workspace description: Create or Update Consumer Group using ID in a workspace. parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the Consumer Group required: true content: application/json: schema: $ref: '#/components/schemas/ConsumerGroup' responses: '200': description: Successfully upserted Consumer Group content: application/json: schema: $ref: '#/components/schemas/ConsumerGroup' '401': $ref: '#/components/responses/HTTP401Error' tags: - Consumer Groups '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumer_groups/{ConsumerGroupId}/consumers': parameters: - $ref: '#/components/parameters/ConsumerGroupIdManageConsumers' - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: GatewayConsumerGroupMember#create operationId: add-consumer-to-group summary: Add consumer to consumer group in a workspace description: Add a consumer to a consumer group in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: content: application/json: schema: type: object properties: consumer: type: string example: cf4c7e60-11db-49dd-b300-7c7e5f0f7e6b default: null nullable: true x-speakeasy-name-override: consumer_id x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 responses: '201': description: Consumer added to group tags: - Consumer Groups '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumer_groups/{ConsumerGroupId}/consumers/{ConsumerId}': delete: x-speakeasy-entity-operation: GatewayConsumerGroupMember#delete operationId: remove-consumer-from-group summary: Remove consumer from consumer group in a workspace description: Remove a consumer from a consumer group in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Consumer removed from group tags: - Consumer Groups parameters: - $ref: '#/components/parameters/ConsumerGroupIdManageConsumers' - name: ConsumerId in: path required: true schema: type: string x-speakeasy-name-override: consumer_id - $ref: '#/components/parameters/controlPlaneId' '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayConsumer#create operationId: create-consumer summary: Create a new Consumer in a workspace description: Create a new Consumer in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the new Consumer for creation required: true content: application/json: schema: $ref: '#/components/schemas/Consumer' responses: '201': description: Successfully created Consumer content: application/json: schema: $ref: '#/components/schemas/Consumer' '401': $ref: '#/components/responses/HTTP401Error' tags: - Consumers '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{ConsumerId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayConsumer#delete operationId: delete-consumer summary: Delete a Consumer in a workspace description: Delete a Consumer in a workspace parameters: - $ref: '#/components/parameters/ConsumerId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Consumer or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Consumers get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayConsumer#read operationId: get-consumer summary: Get a Consumer in a workspace description: Get a Consumer using ID or username in a workspace. parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched Consumer content: application/json: schema: $ref: '#/components/schemas/Consumer' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Consumers parameters: - $ref: '#/components/parameters/ConsumerId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayConsumer#update operationId: upsert-consumer summary: Upsert a Consumer in a workspace description: Create or Update Consumer using ID or username in a workspace. parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the Consumer required: true content: application/json: schema: $ref: '#/components/schemas/Consumer' responses: '200': description: Successfully upserted Consumer content: application/json: schema: $ref: '#/components/schemas/Consumer' '401': $ref: '#/components/responses/HTTP401Error' tags: - Consumers '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{ConsumerIdForNestedEntities}/acls': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayACL#create operationId: create-acl-with-consumer summary: Create a new ACL associated with a Consumer in a workspace description: Create a new ACL associated with a Consumer in a workspace parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/Workspace' requestBody: description: Description of new ACL for creation required: true content: application/json: schema: $ref: '#/components/schemas/ACLWithoutParents' responses: '201': description: Successfully created ACL content: application/json: schema: $ref: '#/components/schemas/ACL' tags: - ACLs '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{ConsumerIdForNestedEntities}/acls/{ACLId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayACL#delete operationId: delete-acl-with-consumer summary: Delete a an ACL associated with a Consumer in a workspace description: Delete a an ACL associated with a Consumer using ID in a workspace. parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/ACLId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted ACL or the resource didn't exist tags: - ACLs get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayACL#read operationId: get-acl-with-consumer summary: Get an ACL associated with a Consumer in a workspace description: Get an ACL associated with a Consumer using ID in a workspace. parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/ACLId' - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched ACL content: application/json: schema: $ref: '#/components/schemas/ACL' '404': description: Resource does not exist tags: - ACLs parameters: - $ref: '#/components/parameters/controlPlaneId' '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{ConsumerIdForNestedEntities}/basic-auth': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayBasicAuth#create operationId: create-basic-auth-with-consumer summary: Create a new Basic-auth credential associated with a Consumer in a workspace description: Create a new Basic-auth credential associated with a Consumer in a workspace parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/Workspace' requestBody: description: Description of new Basic-auth credential for creation required: true content: application/json: schema: $ref: '#/components/schemas/BasicAuthWithoutParents' responses: '201': description: Successfully created Basic-auth credential content: application/json: schema: $ref: '#/components/schemas/BasicAuth' tags: - Basic-auth credentials '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{ConsumerIdForNestedEntities}/basic-auth/{BasicAuthId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayBasicAuth#delete operationId: delete-basic-auth-with-consumer summary: Delete a a Basic-auth credential associated with a Consumer in a workspace description: Delete a a Basic-auth credential associated with a Consumer using ID in a workspace. parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/BasicAuthId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Basic-auth credential or the resource didn't exist tags: - Basic-auth credentials get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayBasicAuth#read operationId: get-basic-auth-with-consumer summary: Get a Basic-auth credential associated with a Consumer in a workspace description: Get a Basic-auth credential associated with a Consumer using ID in a workspace. parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/BasicAuthId' - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched Basic-auth credential content: application/json: schema: $ref: '#/components/schemas/BasicAuth' '404': description: Resource does not exist tags: - Basic-auth credentials parameters: - $ref: '#/components/parameters/controlPlaneId' '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{ConsumerIdForNestedEntities}/hmac-auth': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayHMACAuth#create operationId: create-hmac-auth-with-consumer summary: Create a new HMAC-auth credential associated with a Consumer in a workspace description: Create a new HMAC-auth credential associated with a Consumer in a workspace parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/Workspace' requestBody: description: Description of new HMAC-auth credential for creation required: true content: application/json: schema: $ref: '#/components/schemas/HMACAuthWithoutParents' responses: '201': description: Successfully created HMAC-auth credential content: application/json: schema: $ref: '#/components/schemas/HMACAuth' tags: - HMAC-auth credentials '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{ConsumerIdForNestedEntities}/hmac-auth/{HMACAuthId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayHMACAuth#delete operationId: delete-hmac-auth-with-consumer summary: Delete a a HMAC-auth credential associated with a Consumer in a workspace description: Delete a a HMAC-auth credential associated with a Consumer using ID in a workspace. parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/HMACAuthId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted HMAC-auth credential or the resource didn't exist tags: - HMAC-auth credentials get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayHMACAuth#read operationId: get-hmac-auth-with-consumer summary: Get a HMAC-auth credential associated with a Consumer in a workspace description: Get a HMAC-auth credential associated with a Consumer using ID in a workspace. parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/HMACAuthId' - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched HMAC-auth credential content: application/json: schema: $ref: '#/components/schemas/HMACAuth' '404': description: Resource does not exist tags: - HMAC-auth credentials parameters: - $ref: '#/components/parameters/controlPlaneId' '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{ConsumerIdForNestedEntities}/jwt': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayJWT#create operationId: create-jwt-with-consumer summary: Create a new JWT associated with a Consumer in a workspace description: Create a new JWT associated with a Consumer in a workspace parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/Workspace' requestBody: description: Description of new JWT for creation content: application/json: schema: $ref: '#/components/schemas/JWTWithoutParents' responses: '201': description: Successfully created JWT content: application/json: schema: $ref: '#/components/schemas/JWT' tags: - JWTs '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{ConsumerIdForNestedEntities}/jwt/{JWTId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayJWT#delete operationId: delete-jwt-with-consumer summary: Delete a a JWT associated with a Consumer in a workspace description: Delete a a JWT associated with a Consumer using ID in a workspace. parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/JWTId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted JWT or the resource didn't exist tags: - JWTs get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayJWT#read operationId: get-jwt-with-consumer summary: Get a JWT associated with a Consumer in a workspace description: Get a JWT associated with a Consumer using ID in a workspace. parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/JWTId' - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched JWT content: application/json: schema: $ref: '#/components/schemas/JWT' '404': description: Resource does not exist tags: - JWTs parameters: - $ref: '#/components/parameters/controlPlaneId' '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{ConsumerIdForNestedEntities}/key-auth': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayKeyAuth#create operationId: create-key-auth-with-consumer summary: Create a new API-key associated with a Consumer in a workspace description: Create a new API-key associated with a Consumer in a workspace parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/Workspace' requestBody: description: Description of new API-key for creation content: application/json: schema: $ref: '#/components/schemas/KeyAuthWithoutParents' responses: '201': description: Successfully created API-key content: application/json: schema: $ref: '#/components/schemas/KeyAuth' tags: - API-keys '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{ConsumerIdForNestedEntities}/key-auth/{KeyAuthId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayKeyAuth#delete operationId: delete-key-auth-with-consumer summary: Delete a an API-key associated with a Consumer in a workspace description: Delete a an API-key associated with a Consumer using ID in a workspace. parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/KeyAuthId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted API-key or the resource didn't exist tags: - API-keys get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayKeyAuth#read operationId: get-key-auth-with-consumer summary: Get an API-key associated with a Consumer in a workspace description: Get an API-key associated with a Consumer using ID in a workspace. parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/KeyAuthId' - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched API-key content: application/json: schema: $ref: '#/components/schemas/KeyAuth' '404': description: Resource does not exist tags: - API-keys parameters: - $ref: '#/components/parameters/controlPlaneId' '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{ConsumerIdForNestedEntities}/mtls-auth': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayMTLSAuth#create operationId: create-mtls-auth-with-consumer summary: Create a new MTLS-auth credential associated with a Consumer in a workspace description: Create a new MTLS-auth credential associated with a Consumer in a workspace parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/Workspace' requestBody: description: Description of new MTLS-auth credential for creation required: true content: application/json: schema: $ref: '#/components/schemas/MTLSAuthWithoutParents' responses: '201': description: Successfully created MTLS-auth credential content: application/json: schema: $ref: '#/components/schemas/MTLSAuth' tags: - MTLS-auth credentials '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/consumers/{ConsumerIdForNestedEntities}/mtls-auth/{MTLSAuthId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayMTLSAuth#delete operationId: delete-mtls-auth-with-consumer summary: Delete a a MTLS-auth credential associated with a Consumer in a workspace description: Delete a a MTLS-auth credential associated with a Consumer using ID in a workspace. parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/MTLSAuthId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted MTLS-auth credential or the resource didn't exist tags: - MTLS-auth credentials get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayMTLSAuth#read operationId: get-mtls-auth-with-consumer summary: Get a MTLS-auth credential associated with a Consumer in a workspace description: Get a MTLS-auth credential associated with a Consumer using ID in a workspace. parameters: - $ref: '#/components/parameters/ConsumerIdForNestedEntities' - $ref: '#/components/parameters/MTLSAuthId' - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched MTLS-auth credential content: application/json: schema: $ref: '#/components/schemas/MTLSAuth' '404': description: Resource does not exist tags: - MTLS-auth credentials parameters: - $ref: '#/components/parameters/controlPlaneId' '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/graphql-rate-limiting-advanced/costs/{GraphQLCostDecorationId}': get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayGraphQLCostDecoration#read operationId: get-graphql-rate-limiting-advanced-cost summary: Get a GraphQL Cost Decoration in a workspace description: Get a GraphQL Cost Decoration using ID in a workspace. parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched GraphQL Cost Decoration content: application/json: schema: $ref: '#/components/schemas/GraphQLCostDecoration' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - GraphQL Cost Decorations parameters: - $ref: '#/components/parameters/GraphQLCostDecorationId' - $ref: '#/components/parameters/controlPlaneId' '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/key-sets': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayKeySet#create operationId: create-key-set summary: Create a new KeySet in a workspace description: Create a new KeySet in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the new KeySet for creation content: application/json: schema: $ref: '#/components/schemas/KeySet' responses: '201': description: Successfully created KeySet content: application/json: schema: $ref: '#/components/schemas/KeySet' '401': $ref: '#/components/responses/HTTP401Error' tags: - KeySets '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/key-sets/{KeySetId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayKeySet#delete operationId: delete-key-set summary: Delete a KeySet in a workspace description: Delete a KeySet in a workspace parameters: - $ref: '#/components/parameters/KeySetId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted KeySet or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - KeySets get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayKeySet#read operationId: get-key-set summary: Get a KeySet in a workspace description: Get a KeySet using ID or name in a workspace. parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched KeySet content: application/json: schema: $ref: '#/components/schemas/KeySet' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - KeySets parameters: - $ref: '#/components/parameters/KeySetId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayKeySet#update operationId: upsert-key-set summary: Upsert a KeySet in a workspace description: Create or Update KeySet using ID or name in a workspace. parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the KeySet content: application/json: schema: $ref: '#/components/schemas/KeySet' responses: '200': description: Successfully upserted KeySet content: application/json: schema: $ref: '#/components/schemas/KeySet' '401': $ref: '#/components/responses/HTTP401Error' tags: - KeySets '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/keys': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayKey#create operationId: create-key summary: Create a new Key in a workspace description: Create a new Key in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the new Key for creation required: true content: application/json: schema: $ref: '#/components/schemas/Key' responses: '201': description: Successfully created Key content: application/json: schema: $ref: '#/components/schemas/Key' '401': $ref: '#/components/responses/HTTP401Error' tags: - Keys '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/keys/{KeyId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayKey#delete operationId: delete-key summary: Delete a Key in a workspace description: Delete a Key in a workspace parameters: - $ref: '#/components/parameters/KeyId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Key or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Keys get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayKey#read operationId: get-key summary: Get a Key in a workspace description: Get a Key using ID or name in a workspace. parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched Key content: application/json: schema: $ref: '#/components/schemas/Key' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Keys parameters: - $ref: '#/components/parameters/KeyId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayKey#update operationId: upsert-key summary: Upsert a Key in a workspace description: Create or Update Key using ID or name in a workspace. parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the Key required: true content: application/json: schema: $ref: '#/components/schemas/Key' responses: '200': description: Successfully upserted Key content: application/json: schema: $ref: '#/components/schemas/Key' '401': $ref: '#/components/responses/HTTP401Error' tags: - Keys '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/partials': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPartial#create operationId: create-partial summary: Create a new Partial in a workspace description: Create a new Partial in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the new Partial for creation required: true content: application/json: schema: $ref: '#/components/schemas/Partial' responses: '201': description: Successfully created Partial content: application/json: schema: $ref: '#/components/schemas/Partial' '401': $ref: '#/components/responses/HTTP401Error' tags: - Partials '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/partials/{PartialId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPartial#delete operationId: delete-partial summary: Delete a Partial in a workspace description: Delete a Partial in a workspace parameters: - $ref: '#/components/parameters/PartialId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Partial or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Partials get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPartial#read operationId: get-partial summary: Get a Partial in a workspace description: Get a Partial using ID in a workspace. parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched Partial content: application/json: schema: $ref: '#/components/schemas/Partial' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Partials parameters: - $ref: '#/components/parameters/PartialId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPartial#update operationId: upsert-partial summary: Upsert a Partial in a workspace description: Create or Update Partial using ID in a workspace. parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the Partial required: true content: application/json: schema: $ref: '#/components/schemas/Partial' responses: '200': description: Successfully upserted Partial content: application/json: schema: $ref: '#/components/schemas/Partial' '401': $ref: '#/components/responses/HTTP401Error' tags: - Partials '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins': parameters: - $ref: '#/components/parameters/controlPlaneId' post: operationId: create-plugin summary: Create a new Plugin in a workspace description: Create a new Plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the new Plugin for creation required: true content: application/json: schema: $ref: '#/components/schemas/Plugin' responses: '201': description: Successfully created Plugin content: application/json: schema: $ref: '#/components/schemas/Plugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}': delete: operationId: delete-plugin summary: Delete a Plugin in a workspace description: Delete a Plugin in a workspace parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: operationId: get-plugin summary: Get a Plugin in a workspace description: Get a Plugin using ID in a workspace. parameters: - $ref: '#/components/parameters/Workspace' - $ref: '#/components/parameters/ExpandPartials' responses: '200': description: Successfully fetched Plugin content: application/json: schema: $ref: '#/components/schemas/Plugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: operationId: upsert-plugin summary: Upsert a Plugin in a workspace description: Create or Update Plugin using ID in a workspace. parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the Plugin required: true content: application/json: schema: $ref: '#/components/schemas/Plugin' responses: '200': description: Successfully upserted Plugin content: application/json: schema: $ref: '#/components/schemas/Plugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Ace': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAce#delete operationId: delete-ace-plugin summary: Delete a Ace plugin in a workspace description: Delete a Ace plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAce#read operationId: get-ace-plugin summary: Get a Ace plugin in a workspace description: Get a Ace plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Ace plugin content: application/json: schema: $ref: '#/components/schemas/AcePlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAce#update operationId: update-ace-plugin summary: Update a Ace plugin in a workspace description: Update a Ace plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AcePlugin' responses: '200': description: Ace plugin content: application/json: schema: $ref: '#/components/schemas/AcePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#ACL': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginACL#delete operationId: delete-acl-plugin summary: Delete a ACL plugin in a workspace description: Delete a ACL plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginACL#read operationId: get-acl-plugin summary: Get a ACL plugin in a workspace description: Get a ACL plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: ACL plugin content: application/json: schema: $ref: '#/components/schemas/ACLPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginACL#update operationId: update-acl-plugin summary: Update a ACL plugin in a workspace description: Update a ACL plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ACLPlugin' responses: '200': description: ACL plugin content: application/json: schema: $ref: '#/components/schemas/ACLPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Acme': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAcme#delete operationId: delete-acme-plugin summary: Delete a Acme plugin in a workspace description: Delete a Acme plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAcme#read operationId: get-acme-plugin summary: Get a Acme plugin in a workspace description: Get a Acme plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Acme plugin content: application/json: schema: $ref: '#/components/schemas/AcmePlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAcme#update operationId: update-acme-plugin summary: Update a Acme plugin in a workspace description: Update a Acme plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AcmePlugin' responses: '200': description: Acme plugin content: application/json: schema: $ref: '#/components/schemas/AcmePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiA2aProxy': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiA2aProxy#delete operationId: delete-aia2aproxy-plugin summary: Delete a AiA2aProxy plugin in a workspace description: Delete a AiA2aProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiA2aProxy#read operationId: get-aia2aproxy-plugin summary: Get a AiA2aProxy plugin in a workspace description: Get a AiA2aProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiA2aProxy plugin content: application/json: schema: $ref: '#/components/schemas/AiA2aProxyPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiA2aProxy#update operationId: update-aia2aproxy-plugin summary: Update a AiA2aProxy plugin in a workspace description: Update a AiA2aProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiA2aProxyPlugin' responses: '200': description: AiA2aProxy plugin content: application/json: schema: $ref: '#/components/schemas/AiA2aProxyPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiAwsGuardrails': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiAwsGuardrails#delete operationId: delete-aiawsguardrails-plugin summary: Delete a AiAwsGuardrails plugin in a workspace description: Delete a AiAwsGuardrails plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiAwsGuardrails#read operationId: get-aiawsguardrails-plugin summary: Get a AiAwsGuardrails plugin in a workspace description: Get a AiAwsGuardrails plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiAwsGuardrails plugin content: application/json: schema: $ref: '#/components/schemas/AiAwsGuardrailsPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiAwsGuardrails#update operationId: update-aiawsguardrails-plugin summary: Update a AiAwsGuardrails plugin in a workspace description: Update a AiAwsGuardrails plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiAwsGuardrailsPlugin' responses: '200': description: AiAwsGuardrails plugin content: application/json: schema: $ref: '#/components/schemas/AiAwsGuardrailsPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiAzureContentSafety': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiAzureContentSafety#delete operationId: delete-aiazurecontentsafety-plugin summary: Delete a AiAzureContentSafety plugin in a workspace description: Delete a AiAzureContentSafety plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiAzureContentSafety#read operationId: get-aiazurecontentsafety-plugin summary: Get a AiAzureContentSafety plugin in a workspace description: Get a AiAzureContentSafety plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiAzureContentSafety plugin content: application/json: schema: $ref: '#/components/schemas/AiAzureContentSafetyPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiAzureContentSafety#update operationId: update-aiazurecontentsafety-plugin summary: Update a AiAzureContentSafety plugin in a workspace description: Update a AiAzureContentSafety plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiAzureContentSafetyPlugin' responses: '200': description: AiAzureContentSafety plugin content: application/json: schema: $ref: '#/components/schemas/AiAzureContentSafetyPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiCustomGuardrail': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiCustomGuardrail#delete operationId: delete-aicustomguardrail-plugin summary: Delete a AiCustomGuardrail plugin in a workspace description: Delete a AiCustomGuardrail plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiCustomGuardrail#read operationId: get-aicustomguardrail-plugin summary: Get a AiCustomGuardrail plugin in a workspace description: Get a AiCustomGuardrail plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiCustomGuardrail plugin content: application/json: schema: $ref: '#/components/schemas/AiCustomGuardrailPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiCustomGuardrail#update operationId: update-aicustomguardrail-plugin summary: Update a AiCustomGuardrail plugin in a workspace description: Update a AiCustomGuardrail plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiCustomGuardrailPlugin' responses: '200': description: AiCustomGuardrail plugin content: application/json: schema: $ref: '#/components/schemas/AiCustomGuardrailPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiGcpModelArmor': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiGcpModelArmor#delete operationId: delete-aigcpmodelarmor-plugin summary: Delete a AiGcpModelArmor plugin in a workspace description: Delete a AiGcpModelArmor plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiGcpModelArmor#read operationId: get-aigcpmodelarmor-plugin summary: Get a AiGcpModelArmor plugin in a workspace description: Get a AiGcpModelArmor plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiGcpModelArmor plugin content: application/json: schema: $ref: '#/components/schemas/AiGcpModelArmorPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiGcpModelArmor#update operationId: update-aigcpmodelarmor-plugin summary: Update a AiGcpModelArmor plugin in a workspace description: Update a AiGcpModelArmor plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiGcpModelArmorPlugin' responses: '200': description: AiGcpModelArmor plugin content: application/json: schema: $ref: '#/components/schemas/AiGcpModelArmorPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiLakeraGuard': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiLakeraGuard#delete operationId: delete-ailakeraguard-plugin summary: Delete a AiLakeraGuard plugin in a workspace description: Delete a AiLakeraGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiLakeraGuard#read operationId: get-ailakeraguard-plugin summary: Get a AiLakeraGuard plugin in a workspace description: Get a AiLakeraGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiLakeraGuard plugin content: application/json: schema: $ref: '#/components/schemas/AiLakeraGuardPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiLakeraGuard#update operationId: update-ailakeraguard-plugin summary: Update a AiLakeraGuard plugin in a workspace description: Update a AiLakeraGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiLakeraGuardPlugin' responses: '200': description: AiLakeraGuard plugin content: application/json: schema: $ref: '#/components/schemas/AiLakeraGuardPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiLlmAsJudge': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiLlmAsJudge#delete operationId: delete-aillmasjudge-plugin summary: Delete a AiLlmAsJudge plugin in a workspace description: Delete a AiLlmAsJudge plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiLlmAsJudge#read operationId: get-aillmasjudge-plugin summary: Get a AiLlmAsJudge plugin in a workspace description: Get a AiLlmAsJudge plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiLlmAsJudge plugin content: application/json: schema: $ref: '#/components/schemas/AiLlmAsJudgePlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiLlmAsJudge#update operationId: update-aillmasjudge-plugin summary: Update a AiLlmAsJudge plugin in a workspace description: Update a AiLlmAsJudge plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiLlmAsJudgePlugin' responses: '200': description: AiLlmAsJudge plugin content: application/json: schema: $ref: '#/components/schemas/AiLlmAsJudgePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiMcpOauth2': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiMcpOauth2#delete operationId: delete-aimcpoauth2-plugin summary: Delete a AiMcpOauth2 plugin in a workspace description: Delete a AiMcpOauth2 plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiMcpOauth2#read operationId: get-aimcpoauth2-plugin summary: Get a AiMcpOauth2 plugin in a workspace description: Get a AiMcpOauth2 plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiMcpOauth2 plugin content: application/json: schema: $ref: '#/components/schemas/AiMcpOauth2Plugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiMcpOauth2#update operationId: update-aimcpoauth2-plugin summary: Update a AiMcpOauth2 plugin in a workspace description: Update a AiMcpOauth2 plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiMcpOauth2Plugin' responses: '200': description: AiMcpOauth2 plugin content: application/json: schema: $ref: '#/components/schemas/AiMcpOauth2Plugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiMcpProxy': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiMcpProxy#delete operationId: delete-aimcpproxy-plugin summary: Delete a AiMcpProxy plugin in a workspace description: Delete a AiMcpProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiMcpProxy#read operationId: get-aimcpproxy-plugin summary: Get a AiMcpProxy plugin in a workspace description: Get a AiMcpProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiMcpProxy plugin content: application/json: schema: $ref: '#/components/schemas/AiMcpProxyPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiMcpProxy#update operationId: update-aimcpproxy-plugin summary: Update a AiMcpProxy plugin in a workspace description: Update a AiMcpProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiMcpProxyPlugin' responses: '200': description: AiMcpProxy plugin content: application/json: schema: $ref: '#/components/schemas/AiMcpProxyPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiPromptCompressor': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptCompressor#delete operationId: delete-aipromptcompressor-plugin summary: Delete a AiPromptCompressor plugin in a workspace description: Delete a AiPromptCompressor plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptCompressor#read operationId: get-aipromptcompressor-plugin summary: Get a AiPromptCompressor plugin in a workspace description: Get a AiPromptCompressor plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiPromptCompressor plugin content: application/json: schema: $ref: '#/components/schemas/AiPromptCompressorPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptCompressor#update operationId: update-aipromptcompressor-plugin summary: Update a AiPromptCompressor plugin in a workspace description: Update a AiPromptCompressor plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiPromptCompressorPlugin' responses: '200': description: AiPromptCompressor plugin content: application/json: schema: $ref: '#/components/schemas/AiPromptCompressorPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiPromptDecorator': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptDecorator#delete operationId: delete-aipromptdecorator-plugin summary: Delete a AiPromptDecorator plugin in a workspace description: Delete a AiPromptDecorator plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptDecorator#read operationId: get-aipromptdecorator-plugin summary: Get a AiPromptDecorator plugin in a workspace description: Get a AiPromptDecorator plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiPromptDecorator plugin content: application/json: schema: $ref: '#/components/schemas/AiPromptDecoratorPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptDecorator#update operationId: update-aipromptdecorator-plugin summary: Update a AiPromptDecorator plugin in a workspace description: Update a AiPromptDecorator plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiPromptDecoratorPlugin' responses: '200': description: AiPromptDecorator plugin content: application/json: schema: $ref: '#/components/schemas/AiPromptDecoratorPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiPromptGuard': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptGuard#delete operationId: delete-aipromptguard-plugin summary: Delete a AiPromptGuard plugin in a workspace description: Delete a AiPromptGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptGuard#read operationId: get-aipromptguard-plugin summary: Get a AiPromptGuard plugin in a workspace description: Get a AiPromptGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiPromptGuard plugin content: application/json: schema: $ref: '#/components/schemas/AiPromptGuardPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptGuard#update operationId: update-aipromptguard-plugin summary: Update a AiPromptGuard plugin in a workspace description: Update a AiPromptGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiPromptGuardPlugin' responses: '200': description: AiPromptGuard plugin content: application/json: schema: $ref: '#/components/schemas/AiPromptGuardPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiPromptTemplate': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptTemplate#delete operationId: delete-aiprompttemplate-plugin summary: Delete a AiPromptTemplate plugin in a workspace description: Delete a AiPromptTemplate plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptTemplate#read operationId: get-aiprompttemplate-plugin summary: Get a AiPromptTemplate plugin in a workspace description: Get a AiPromptTemplate plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiPromptTemplate plugin content: application/json: schema: $ref: '#/components/schemas/AiPromptTemplatePlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptTemplate#update operationId: update-aiprompttemplate-plugin summary: Update a AiPromptTemplate plugin in a workspace description: Update a AiPromptTemplate plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiPromptTemplatePlugin' responses: '200': description: AiPromptTemplate plugin content: application/json: schema: $ref: '#/components/schemas/AiPromptTemplatePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiProxy': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiProxy#delete operationId: delete-aiproxy-plugin summary: Delete a AiProxy plugin in a workspace description: Delete a AiProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiProxy#read operationId: get-aiproxy-plugin summary: Get a AiProxy plugin in a workspace description: Get a AiProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiProxy plugin content: application/json: schema: $ref: '#/components/schemas/AiProxyPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiProxy#update operationId: update-aiproxy-plugin summary: Update a AiProxy plugin in a workspace description: Update a AiProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiProxyPlugin' responses: '200': description: AiProxy plugin content: application/json: schema: $ref: '#/components/schemas/AiProxyPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiProxyAdvanced': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiProxyAdvanced#delete operationId: delete-aiproxyadvanced-plugin summary: Delete a AiProxyAdvanced plugin in a workspace description: Delete a AiProxyAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiProxyAdvanced#read operationId: get-aiproxyadvanced-plugin summary: Get a AiProxyAdvanced plugin in a workspace description: Get a AiProxyAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiProxyAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/AiProxyAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiProxyAdvanced#update operationId: update-aiproxyadvanced-plugin summary: Update a AiProxyAdvanced plugin in a workspace description: Update a AiProxyAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiProxyAdvancedPlugin' responses: '200': description: AiProxyAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/AiProxyAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiRagInjector': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiRagInjector#delete operationId: delete-airaginjector-plugin summary: Delete a AiRagInjector plugin in a workspace description: Delete a AiRagInjector plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiRagInjector#read operationId: get-airaginjector-plugin summary: Get a AiRagInjector plugin in a workspace description: Get a AiRagInjector plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiRagInjector plugin content: application/json: schema: $ref: '#/components/schemas/AiRagInjectorPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiRagInjector#update operationId: update-airaginjector-plugin summary: Update a AiRagInjector plugin in a workspace description: Update a AiRagInjector plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiRagInjectorPlugin' responses: '200': description: AiRagInjector plugin content: application/json: schema: $ref: '#/components/schemas/AiRagInjectorPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiRateLimitingAdvanced': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiRateLimitingAdvanced#delete operationId: delete-airatelimitingadvanced-plugin summary: Delete a AiRateLimitingAdvanced plugin in a workspace description: Delete a AiRateLimitingAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiRateLimitingAdvanced#read operationId: get-airatelimitingadvanced-plugin summary: Get a AiRateLimitingAdvanced plugin in a workspace description: Get a AiRateLimitingAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiRateLimitingAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/AiRateLimitingAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiRateLimitingAdvanced#update operationId: update-airatelimitingadvanced-plugin summary: Update a AiRateLimitingAdvanced plugin in a workspace description: Update a AiRateLimitingAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiRateLimitingAdvancedPlugin' responses: '200': description: AiRateLimitingAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/AiRateLimitingAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiRequestTransformer': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiRequestTransformer#delete operationId: delete-airequesttransformer-plugin summary: Delete a AiRequestTransformer plugin in a workspace description: Delete a AiRequestTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiRequestTransformer#read operationId: get-airequesttransformer-plugin summary: Get a AiRequestTransformer plugin in a workspace description: Get a AiRequestTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiRequestTransformer plugin content: application/json: schema: $ref: '#/components/schemas/AiRequestTransformerPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiRequestTransformer#update operationId: update-airequesttransformer-plugin summary: Update a AiRequestTransformer plugin in a workspace description: Update a AiRequestTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiRequestTransformerPlugin' responses: '200': description: AiRequestTransformer plugin content: application/json: schema: $ref: '#/components/schemas/AiRequestTransformerPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiResponseTransformer': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiResponseTransformer#delete operationId: delete-airesponsetransformer-plugin summary: Delete a AiResponseTransformer plugin in a workspace description: Delete a AiResponseTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiResponseTransformer#read operationId: get-airesponsetransformer-plugin summary: Get a AiResponseTransformer plugin in a workspace description: Get a AiResponseTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiResponseTransformer plugin content: application/json: schema: $ref: '#/components/schemas/AiResponseTransformerPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiResponseTransformer#update operationId: update-airesponsetransformer-plugin summary: Update a AiResponseTransformer plugin in a workspace description: Update a AiResponseTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiResponseTransformerPlugin' responses: '200': description: AiResponseTransformer plugin content: application/json: schema: $ref: '#/components/schemas/AiResponseTransformerPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiSanitizer': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSanitizer#delete operationId: delete-aisanitizer-plugin summary: Delete a AiSanitizer plugin in a workspace description: Delete a AiSanitizer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSanitizer#read operationId: get-aisanitizer-plugin summary: Get a AiSanitizer plugin in a workspace description: Get a AiSanitizer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiSanitizer plugin content: application/json: schema: $ref: '#/components/schemas/AiSanitizerPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSanitizer#update operationId: update-aisanitizer-plugin summary: Update a AiSanitizer plugin in a workspace description: Update a AiSanitizer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiSanitizerPlugin' responses: '200': description: AiSanitizer plugin content: application/json: schema: $ref: '#/components/schemas/AiSanitizerPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiSemanticCache': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSemanticCache#delete operationId: delete-aisemanticcache-plugin summary: Delete a AiSemanticCache plugin in a workspace description: Delete a AiSemanticCache plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSemanticCache#read operationId: get-aisemanticcache-plugin summary: Get a AiSemanticCache plugin in a workspace description: Get a AiSemanticCache plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiSemanticCache plugin content: application/json: schema: $ref: '#/components/schemas/AiSemanticCachePlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSemanticCache#update operationId: update-aisemanticcache-plugin summary: Update a AiSemanticCache plugin in a workspace description: Update a AiSemanticCache plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiSemanticCachePlugin' responses: '200': description: AiSemanticCache plugin content: application/json: schema: $ref: '#/components/schemas/AiSemanticCachePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiSemanticPromptGuard': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSemanticPromptGuard#delete operationId: delete-aisemanticpromptguard-plugin summary: Delete a AiSemanticPromptGuard plugin in a workspace description: Delete a AiSemanticPromptGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSemanticPromptGuard#read operationId: get-aisemanticpromptguard-plugin summary: Get a AiSemanticPromptGuard plugin in a workspace description: Get a AiSemanticPromptGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiSemanticPromptGuard plugin content: application/json: schema: $ref: '#/components/schemas/AiSemanticPromptGuardPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSemanticPromptGuard#update operationId: update-aisemanticpromptguard-plugin summary: Update a AiSemanticPromptGuard plugin in a workspace description: Update a AiSemanticPromptGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiSemanticPromptGuardPlugin' responses: '200': description: AiSemanticPromptGuard plugin content: application/json: schema: $ref: '#/components/schemas/AiSemanticPromptGuardPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AiSemanticResponseGuard': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSemanticResponseGuard#delete operationId: delete-aisemanticresponseguard-plugin summary: Delete a AiSemanticResponseGuard plugin in a workspace description: Delete a AiSemanticResponseGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSemanticResponseGuard#read operationId: get-aisemanticresponseguard-plugin summary: Get a AiSemanticResponseGuard plugin in a workspace description: Get a AiSemanticResponseGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AiSemanticResponseGuard plugin content: application/json: schema: $ref: '#/components/schemas/AiSemanticResponseGuardPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSemanticResponseGuard#update operationId: update-aisemanticresponseguard-plugin summary: Update a AiSemanticResponseGuard plugin in a workspace description: Update a AiSemanticResponseGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiSemanticResponseGuardPlugin' responses: '200': description: AiSemanticResponseGuard plugin content: application/json: schema: $ref: '#/components/schemas/AiSemanticResponseGuardPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AppDynamics': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAppDynamics#delete operationId: delete-appdynamics-plugin summary: Delete a AppDynamics plugin in a workspace description: Delete a AppDynamics plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAppDynamics#read operationId: get-appdynamics-plugin summary: Get a AppDynamics plugin in a workspace description: Get a AppDynamics plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AppDynamics plugin content: application/json: schema: $ref: '#/components/schemas/AppDynamicsPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAppDynamics#update operationId: update-appdynamics-plugin summary: Update a AppDynamics plugin in a workspace description: Update a AppDynamics plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AppDynamicsPlugin' responses: '200': description: AppDynamics plugin content: application/json: schema: $ref: '#/components/schemas/AppDynamicsPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AwsLambda': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAwsLambda#delete operationId: delete-awslambda-plugin summary: Delete a AwsLambda plugin in a workspace description: Delete a AwsLambda plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAwsLambda#read operationId: get-awslambda-plugin summary: Get a AwsLambda plugin in a workspace description: Get a AwsLambda plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AwsLambda plugin content: application/json: schema: $ref: '#/components/schemas/AwsLambdaPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAwsLambda#update operationId: update-awslambda-plugin summary: Update a AwsLambda plugin in a workspace description: Update a AwsLambda plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AwsLambdaPlugin' responses: '200': description: AwsLambda plugin content: application/json: schema: $ref: '#/components/schemas/AwsLambdaPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#AzureFunctions': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAzureFunctions#delete operationId: delete-azurefunctions-plugin summary: Delete a AzureFunctions plugin in a workspace description: Delete a AzureFunctions plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAzureFunctions#read operationId: get-azurefunctions-plugin summary: Get a AzureFunctions plugin in a workspace description: Get a AzureFunctions plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: AzureFunctions plugin content: application/json: schema: $ref: '#/components/schemas/AzureFunctionsPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAzureFunctions#update operationId: update-azurefunctions-plugin summary: Update a AzureFunctions plugin in a workspace description: Update a AzureFunctions plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AzureFunctionsPlugin' responses: '200': description: AzureFunctions plugin content: application/json: schema: $ref: '#/components/schemas/AzureFunctionsPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#BasicAuth': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginBasicAuth#delete operationId: delete-basicauth-plugin summary: Delete a BasicAuth plugin in a workspace description: Delete a BasicAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginBasicAuth#read operationId: get-basicauth-plugin summary: Get a BasicAuth plugin in a workspace description: Get a BasicAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: BasicAuth plugin content: application/json: schema: $ref: '#/components/schemas/BasicAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginBasicAuth#update operationId: update-basicauth-plugin summary: Update a BasicAuth plugin in a workspace description: Update a BasicAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/BasicAuthPlugin' responses: '200': description: BasicAuth plugin content: application/json: schema: $ref: '#/components/schemas/BasicAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#BotDetection': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginBotDetection#delete operationId: delete-botdetection-plugin summary: Delete a BotDetection plugin in a workspace description: Delete a BotDetection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginBotDetection#read operationId: get-botdetection-plugin summary: Get a BotDetection plugin in a workspace description: Get a BotDetection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: BotDetection plugin content: application/json: schema: $ref: '#/components/schemas/BotDetectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginBotDetection#update operationId: update-botdetection-plugin summary: Update a BotDetection plugin in a workspace description: Update a BotDetection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/BotDetectionPlugin' responses: '200': description: BotDetection plugin content: application/json: schema: $ref: '#/components/schemas/BotDetectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Canary': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginCanary#delete operationId: delete-canary-plugin summary: Delete a Canary plugin in a workspace description: Delete a Canary plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginCanary#read operationId: get-canary-plugin summary: Get a Canary plugin in a workspace description: Get a Canary plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Canary plugin content: application/json: schema: $ref: '#/components/schemas/CanaryPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginCanary#update operationId: update-canary-plugin summary: Update a Canary plugin in a workspace description: Update a Canary plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CanaryPlugin' responses: '200': description: Canary plugin content: application/json: schema: $ref: '#/components/schemas/CanaryPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Confluent': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginConfluent#delete operationId: delete-confluent-plugin summary: Delete a Confluent plugin in a workspace description: Delete a Confluent plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginConfluent#read operationId: get-confluent-plugin summary: Get a Confluent plugin in a workspace description: Get a Confluent plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Confluent plugin content: application/json: schema: $ref: '#/components/schemas/ConfluentPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginConfluent#update operationId: update-confluent-plugin summary: Update a Confluent plugin in a workspace description: Update a Confluent plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ConfluentPlugin' responses: '200': description: Confluent plugin content: application/json: schema: $ref: '#/components/schemas/ConfluentPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#ConfluentConsume': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginConfluentConsume#delete operationId: delete-confluentconsume-plugin summary: Delete a ConfluentConsume plugin in a workspace description: Delete a ConfluentConsume plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginConfluentConsume#read operationId: get-confluentconsume-plugin summary: Get a ConfluentConsume plugin in a workspace description: Get a ConfluentConsume plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: ConfluentConsume plugin content: application/json: schema: $ref: '#/components/schemas/ConfluentConsumePlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginConfluentConsume#update operationId: update-confluentconsume-plugin summary: Update a ConfluentConsume plugin in a workspace description: Update a ConfluentConsume plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ConfluentConsumePlugin' responses: '200': description: ConfluentConsume plugin content: application/json: schema: $ref: '#/components/schemas/ConfluentConsumePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#CorrelationId': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginCorrelationId#delete operationId: delete-correlationid-plugin summary: Delete a CorrelationId plugin in a workspace description: Delete a CorrelationId plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginCorrelationId#read operationId: get-correlationid-plugin summary: Get a CorrelationId plugin in a workspace description: Get a CorrelationId plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: CorrelationId plugin content: application/json: schema: $ref: '#/components/schemas/CorrelationIdPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginCorrelationId#update operationId: update-correlationid-plugin summary: Update a CorrelationId plugin in a workspace description: Update a CorrelationId plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CorrelationIdPlugin' responses: '200': description: CorrelationId plugin content: application/json: schema: $ref: '#/components/schemas/CorrelationIdPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Cors': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginCors#delete operationId: delete-cors-plugin summary: Delete a Cors plugin in a workspace description: Delete a Cors plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginCors#read operationId: get-cors-plugin summary: Get a Cors plugin in a workspace description: Get a Cors plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Cors plugin content: application/json: schema: $ref: '#/components/schemas/CorsPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginCors#update operationId: update-cors-plugin summary: Update a Cors plugin in a workspace description: Update a Cors plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CorsPlugin' responses: '200': description: Cors plugin content: application/json: schema: $ref: '#/components/schemas/CorsPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Datadog': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginDatadog#delete operationId: delete-datadog-plugin summary: Delete a Datadog plugin in a workspace description: Delete a Datadog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginDatadog#read operationId: get-datadog-plugin summary: Get a Datadog plugin in a workspace description: Get a Datadog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Datadog plugin content: application/json: schema: $ref: '#/components/schemas/DatadogPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginDatadog#update operationId: update-datadog-plugin summary: Update a Datadog plugin in a workspace description: Update a Datadog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DatadogPlugin' responses: '200': description: Datadog plugin content: application/json: schema: $ref: '#/components/schemas/DatadogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Datakit': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginDatakit#delete operationId: delete-datakit-plugin summary: Delete a Datakit plugin in a workspace description: Delete a Datakit plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginDatakit#read operationId: get-datakit-plugin summary: Get a Datakit plugin in a workspace description: Get a Datakit plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Datakit plugin content: application/json: schema: $ref: '#/components/schemas/DatakitPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginDatakit#update operationId: update-datakit-plugin summary: Update a Datakit plugin in a workspace description: Update a Datakit plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DatakitPlugin' responses: '200': description: Datakit plugin content: application/json: schema: $ref: '#/components/schemas/DatakitPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Degraphql': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginDegraphql#delete operationId: delete-degraphql-plugin summary: Delete a Degraphql plugin in a workspace description: Delete a Degraphql plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginDegraphql#read operationId: get-degraphql-plugin summary: Get a Degraphql plugin in a workspace description: Get a Degraphql plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Degraphql plugin content: application/json: schema: $ref: '#/components/schemas/DegraphqlPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginDegraphql#update operationId: update-degraphql-plugin summary: Update a Degraphql plugin in a workspace description: Update a Degraphql plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DegraphqlPlugin' responses: '200': description: Degraphql plugin content: application/json: schema: $ref: '#/components/schemas/DegraphqlPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#EntitlementEnforcement': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginEntitlementEnforcement#delete operationId: delete-entitlementenforcement-plugin summary: Delete a EntitlementEnforcement plugin in a workspace description: Delete a EntitlementEnforcement plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginEntitlementEnforcement#read operationId: get-entitlementenforcement-plugin summary: Get a EntitlementEnforcement plugin in a workspace description: Get a EntitlementEnforcement plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: EntitlementEnforcement plugin content: application/json: schema: $ref: '#/components/schemas/EntitlementEnforcementPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginEntitlementEnforcement#update operationId: update-entitlementenforcement-plugin summary: Update a EntitlementEnforcement plugin in a workspace description: Update a EntitlementEnforcement plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/EntitlementEnforcementPlugin' responses: '200': description: EntitlementEnforcement plugin content: application/json: schema: $ref: '#/components/schemas/EntitlementEnforcementPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#ExitTransformer': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginExitTransformer#delete operationId: delete-exittransformer-plugin summary: Delete a ExitTransformer plugin in a workspace description: Delete a ExitTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginExitTransformer#read operationId: get-exittransformer-plugin summary: Get a ExitTransformer plugin in a workspace description: Get a ExitTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: ExitTransformer plugin content: application/json: schema: $ref: '#/components/schemas/ExitTransformerPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginExitTransformer#update operationId: update-exittransformer-plugin summary: Update a ExitTransformer plugin in a workspace description: Update a ExitTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ExitTransformerPlugin' responses: '200': description: ExitTransformer plugin content: application/json: schema: $ref: '#/components/schemas/ExitTransformerPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#FileLog': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginFileLog#delete operationId: delete-filelog-plugin summary: Delete a FileLog plugin in a workspace description: Delete a FileLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginFileLog#read operationId: get-filelog-plugin summary: Get a FileLog plugin in a workspace description: Get a FileLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: FileLog plugin content: application/json: schema: $ref: '#/components/schemas/FileLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginFileLog#update operationId: update-filelog-plugin summary: Update a FileLog plugin in a workspace description: Update a FileLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/FileLogPlugin' responses: '200': description: FileLog plugin content: application/json: schema: $ref: '#/components/schemas/FileLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#ForwardProxy': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginForwardProxy#delete operationId: delete-forwardproxy-plugin summary: Delete a ForwardProxy plugin in a workspace description: Delete a ForwardProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginForwardProxy#read operationId: get-forwardproxy-plugin summary: Get a ForwardProxy plugin in a workspace description: Get a ForwardProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: ForwardProxy plugin content: application/json: schema: $ref: '#/components/schemas/ForwardProxyPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginForwardProxy#update operationId: update-forwardproxy-plugin summary: Update a ForwardProxy plugin in a workspace description: Update a ForwardProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ForwardProxyPlugin' responses: '200': description: ForwardProxy plugin content: application/json: schema: $ref: '#/components/schemas/ForwardProxyPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#GraphqlProxyCacheAdvanced': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGraphqlProxyCacheAdvanced#delete operationId: delete-graphqlproxycacheadvanced-plugin summary: Delete a GraphqlProxyCacheAdvanced plugin in a workspace description: Delete a GraphqlProxyCacheAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGraphqlProxyCacheAdvanced#read operationId: get-graphqlproxycacheadvanced-plugin summary: Get a GraphqlProxyCacheAdvanced plugin in a workspace description: Get a GraphqlProxyCacheAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: GraphqlProxyCacheAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/GraphqlProxyCacheAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGraphqlProxyCacheAdvanced#update operationId: update-graphqlproxycacheadvanced-plugin summary: Update a GraphqlProxyCacheAdvanced plugin in a workspace description: Update a GraphqlProxyCacheAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GraphqlProxyCacheAdvancedPlugin' responses: '200': description: GraphqlProxyCacheAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/GraphqlProxyCacheAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#GraphqlRateLimitingAdvanced': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGraphqlRateLimitingAdvanced#delete operationId: delete-graphqlratelimitingadvanced-plugin summary: Delete a GraphqlRateLimitingAdvanced plugin in a workspace description: Delete a GraphqlRateLimitingAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGraphqlRateLimitingAdvanced#read operationId: get-graphqlratelimitingadvanced-plugin summary: Get a GraphqlRateLimitingAdvanced plugin in a workspace description: Get a GraphqlRateLimitingAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: GraphqlRateLimitingAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/GraphqlRateLimitingAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGraphqlRateLimitingAdvanced#update operationId: update-graphqlratelimitingadvanced-plugin summary: Update a GraphqlRateLimitingAdvanced plugin in a workspace description: Update a GraphqlRateLimitingAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GraphqlRateLimitingAdvancedPlugin' responses: '200': description: GraphqlRateLimitingAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/GraphqlRateLimitingAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#GrpcGateway': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGrpcGateway#delete operationId: delete-grpcgateway-plugin summary: Delete a GrpcGateway plugin in a workspace description: Delete a GrpcGateway plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGrpcGateway#read operationId: get-grpcgateway-plugin summary: Get a GrpcGateway plugin in a workspace description: Get a GrpcGateway plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: GrpcGateway plugin content: application/json: schema: $ref: '#/components/schemas/GrpcGatewayPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGrpcGateway#update operationId: update-grpcgateway-plugin summary: Update a GrpcGateway plugin in a workspace description: Update a GrpcGateway plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GrpcGatewayPlugin' responses: '200': description: GrpcGateway plugin content: application/json: schema: $ref: '#/components/schemas/GrpcGatewayPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#GrpcWeb': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGrpcWeb#delete operationId: delete-grpcweb-plugin summary: Delete a GrpcWeb plugin in a workspace description: Delete a GrpcWeb plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGrpcWeb#read operationId: get-grpcweb-plugin summary: Get a GrpcWeb plugin in a workspace description: Get a GrpcWeb plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: GrpcWeb plugin content: application/json: schema: $ref: '#/components/schemas/GrpcWebPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGrpcWeb#update operationId: update-grpcweb-plugin summary: Update a GrpcWeb plugin in a workspace description: Update a GrpcWeb plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GrpcWebPlugin' responses: '200': description: GrpcWeb plugin content: application/json: schema: $ref: '#/components/schemas/GrpcWebPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#HeaderCertAuth': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginHeaderCertAuth#delete operationId: delete-headercertauth-plugin summary: Delete a HeaderCertAuth plugin in a workspace description: Delete a HeaderCertAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginHeaderCertAuth#read operationId: get-headercertauth-plugin summary: Get a HeaderCertAuth plugin in a workspace description: Get a HeaderCertAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: HeaderCertAuth plugin content: application/json: schema: $ref: '#/components/schemas/HeaderCertAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginHeaderCertAuth#update operationId: update-headercertauth-plugin summary: Update a HeaderCertAuth plugin in a workspace description: Update a HeaderCertAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/HeaderCertAuthPlugin' responses: '200': description: HeaderCertAuth plugin content: application/json: schema: $ref: '#/components/schemas/HeaderCertAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#HmacAuth': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginHmacAuth#delete operationId: delete-hmacauth-plugin summary: Delete a HmacAuth plugin in a workspace description: Delete a HmacAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginHmacAuth#read operationId: get-hmacauth-plugin summary: Get a HmacAuth plugin in a workspace description: Get a HmacAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: HmacAuth plugin content: application/json: schema: $ref: '#/components/schemas/HmacAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginHmacAuth#update operationId: update-hmacauth-plugin summary: Update a HmacAuth plugin in a workspace description: Update a HmacAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/HmacAuthPlugin' responses: '200': description: HmacAuth plugin content: application/json: schema: $ref: '#/components/schemas/HmacAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#HttpLog': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginHttpLog#delete operationId: delete-httplog-plugin summary: Delete a HttpLog plugin in a workspace description: Delete a HttpLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginHttpLog#read operationId: get-httplog-plugin summary: Get a HttpLog plugin in a workspace description: Get a HttpLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: HttpLog plugin content: application/json: schema: $ref: '#/components/schemas/HttpLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginHttpLog#update operationId: update-httplog-plugin summary: Update a HttpLog plugin in a workspace description: Update a HttpLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/HttpLogPlugin' responses: '200': description: HttpLog plugin content: application/json: schema: $ref: '#/components/schemas/HttpLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#InjectionProtection': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginInjectionProtection#delete operationId: delete-injectionprotection-plugin summary: Delete a InjectionProtection plugin in a workspace description: Delete a InjectionProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginInjectionProtection#read operationId: get-injectionprotection-plugin summary: Get a InjectionProtection plugin in a workspace description: Get a InjectionProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: InjectionProtection plugin content: application/json: schema: $ref: '#/components/schemas/InjectionProtectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginInjectionProtection#update operationId: update-injectionprotection-plugin summary: Update a InjectionProtection plugin in a workspace description: Update a InjectionProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/InjectionProtectionPlugin' responses: '200': description: InjectionProtection plugin content: application/json: schema: $ref: '#/components/schemas/InjectionProtectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#IpRestriction': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginIpRestriction#delete operationId: delete-iprestriction-plugin summary: Delete a IpRestriction plugin in a workspace description: Delete a IpRestriction plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginIpRestriction#read operationId: get-iprestriction-plugin summary: Get a IpRestriction plugin in a workspace description: Get a IpRestriction plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: IpRestriction plugin content: application/json: schema: $ref: '#/components/schemas/IpRestrictionPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginIpRestriction#update operationId: update-iprestriction-plugin summary: Update a IpRestriction plugin in a workspace description: Update a IpRestriction plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/IpRestrictionPlugin' responses: '200': description: IpRestriction plugin content: application/json: schema: $ref: '#/components/schemas/IpRestrictionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Jq': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJq#delete operationId: delete-jq-plugin summary: Delete a Jq plugin in a workspace description: Delete a Jq plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJq#read operationId: get-jq-plugin summary: Get a Jq plugin in a workspace description: Get a Jq plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Jq plugin content: application/json: schema: $ref: '#/components/schemas/JqPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJq#update operationId: update-jq-plugin summary: Update a Jq plugin in a workspace description: Update a Jq plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/JqPlugin' responses: '200': description: Jq plugin content: application/json: schema: $ref: '#/components/schemas/JqPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#JsonThreatProtection': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJsonThreatProtection#delete operationId: delete-jsonthreatprotection-plugin summary: Delete a JsonThreatProtection plugin in a workspace description: Delete a JsonThreatProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJsonThreatProtection#read operationId: get-jsonthreatprotection-plugin summary: Get a JsonThreatProtection plugin in a workspace description: Get a JsonThreatProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: JsonThreatProtection plugin content: application/json: schema: $ref: '#/components/schemas/JsonThreatProtectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJsonThreatProtection#update operationId: update-jsonthreatprotection-plugin summary: Update a JsonThreatProtection plugin in a workspace description: Update a JsonThreatProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/JsonThreatProtectionPlugin' responses: '200': description: JsonThreatProtection plugin content: application/json: schema: $ref: '#/components/schemas/JsonThreatProtectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#JweDecrypt': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJweDecrypt#delete operationId: delete-jwedecrypt-plugin summary: Delete a JweDecrypt plugin in a workspace description: Delete a JweDecrypt plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJweDecrypt#read operationId: get-jwedecrypt-plugin summary: Get a JweDecrypt plugin in a workspace description: Get a JweDecrypt plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: JweDecrypt plugin content: application/json: schema: $ref: '#/components/schemas/JweDecryptPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJweDecrypt#update operationId: update-jwedecrypt-plugin summary: Update a JweDecrypt plugin in a workspace description: Update a JweDecrypt plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/JweDecryptPlugin' responses: '200': description: JweDecrypt plugin content: application/json: schema: $ref: '#/components/schemas/JweDecryptPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Jwt': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJwt#delete operationId: delete-jwt-plugin summary: Delete a Jwt plugin in a workspace description: Delete a Jwt plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJwt#read operationId: get-jwt-plugin summary: Get a Jwt plugin in a workspace description: Get a Jwt plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Jwt plugin content: application/json: schema: $ref: '#/components/schemas/JwtPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJwt#update operationId: update-jwt-plugin summary: Update a Jwt plugin in a workspace description: Update a Jwt plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/JwtPlugin' responses: '200': description: Jwt plugin content: application/json: schema: $ref: '#/components/schemas/JwtPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#JwtSigner': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJwtSigner#delete operationId: delete-jwtsigner-plugin summary: Delete a JwtSigner plugin in a workspace description: Delete a JwtSigner plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJwtSigner#read operationId: get-jwtsigner-plugin summary: Get a JwtSigner plugin in a workspace description: Get a JwtSigner plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: JwtSigner plugin content: application/json: schema: $ref: '#/components/schemas/JwtSignerPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJwtSigner#update operationId: update-jwtsigner-plugin summary: Update a JwtSigner plugin in a workspace description: Update a JwtSigner plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/JwtSignerPlugin' responses: '200': description: JwtSigner plugin content: application/json: schema: $ref: '#/components/schemas/JwtSignerPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#KafkaConsume': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKafkaConsume#delete operationId: delete-kafkaconsume-plugin summary: Delete a KafkaConsume plugin in a workspace description: Delete a KafkaConsume plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKafkaConsume#read operationId: get-kafkaconsume-plugin summary: Get a KafkaConsume plugin in a workspace description: Get a KafkaConsume plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: KafkaConsume plugin content: application/json: schema: $ref: '#/components/schemas/KafkaConsumePlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKafkaConsume#update operationId: update-kafkaconsume-plugin summary: Update a KafkaConsume plugin in a workspace description: Update a KafkaConsume plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/KafkaConsumePlugin' responses: '200': description: KafkaConsume plugin content: application/json: schema: $ref: '#/components/schemas/KafkaConsumePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#KafkaLog': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKafkaLog#delete operationId: delete-kafkalog-plugin summary: Delete a KafkaLog plugin in a workspace description: Delete a KafkaLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKafkaLog#read operationId: get-kafkalog-plugin summary: Get a KafkaLog plugin in a workspace description: Get a KafkaLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: KafkaLog plugin content: application/json: schema: $ref: '#/components/schemas/KafkaLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKafkaLog#update operationId: update-kafkalog-plugin summary: Update a KafkaLog plugin in a workspace description: Update a KafkaLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/KafkaLogPlugin' responses: '200': description: KafkaLog plugin content: application/json: schema: $ref: '#/components/schemas/KafkaLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#KafkaUpstream': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKafkaUpstream#delete operationId: delete-kafkaupstream-plugin summary: Delete a KafkaUpstream plugin in a workspace description: Delete a KafkaUpstream plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKafkaUpstream#read operationId: get-kafkaupstream-plugin summary: Get a KafkaUpstream plugin in a workspace description: Get a KafkaUpstream plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: KafkaUpstream plugin content: application/json: schema: $ref: '#/components/schemas/KafkaUpstreamPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKafkaUpstream#update operationId: update-kafkaupstream-plugin summary: Update a KafkaUpstream plugin in a workspace description: Update a KafkaUpstream plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/KafkaUpstreamPlugin' responses: '200': description: KafkaUpstream plugin content: application/json: schema: $ref: '#/components/schemas/KafkaUpstreamPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#KeyAuth': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKeyAuth#delete operationId: delete-keyauth-plugin summary: Delete a KeyAuth plugin in a workspace description: Delete a KeyAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKeyAuth#read operationId: get-keyauth-plugin summary: Get a KeyAuth plugin in a workspace description: Get a KeyAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: KeyAuth plugin content: application/json: schema: $ref: '#/components/schemas/KeyAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKeyAuth#update operationId: update-keyauth-plugin summary: Update a KeyAuth plugin in a workspace description: Update a KeyAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/KeyAuthPlugin' responses: '200': description: KeyAuth plugin content: application/json: schema: $ref: '#/components/schemas/KeyAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#LdapAuth': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginLdapAuth#delete operationId: delete-ldapauth-plugin summary: Delete a LdapAuth plugin in a workspace description: Delete a LdapAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginLdapAuth#read operationId: get-ldapauth-plugin summary: Get a LdapAuth plugin in a workspace description: Get a LdapAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: LdapAuth plugin content: application/json: schema: $ref: '#/components/schemas/LdapAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginLdapAuth#update operationId: update-ldapauth-plugin summary: Update a LdapAuth plugin in a workspace description: Update a LdapAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LdapAuthPlugin' responses: '200': description: LdapAuth plugin content: application/json: schema: $ref: '#/components/schemas/LdapAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#LdapAuthAdvanced': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginLdapAuthAdvanced#delete operationId: delete-ldapauthadvanced-plugin summary: Delete a LdapAuthAdvanced plugin in a workspace description: Delete a LdapAuthAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginLdapAuthAdvanced#read operationId: get-ldapauthadvanced-plugin summary: Get a LdapAuthAdvanced plugin in a workspace description: Get a LdapAuthAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: LdapAuthAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/LdapAuthAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginLdapAuthAdvanced#update operationId: update-ldapauthadvanced-plugin summary: Update a LdapAuthAdvanced plugin in a workspace description: Update a LdapAuthAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LdapAuthAdvancedPlugin' responses: '200': description: LdapAuthAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/LdapAuthAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Loggly': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginLoggly#delete operationId: delete-loggly-plugin summary: Delete a Loggly plugin in a workspace description: Delete a Loggly plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginLoggly#read operationId: get-loggly-plugin summary: Get a Loggly plugin in a workspace description: Get a Loggly plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Loggly plugin content: application/json: schema: $ref: '#/components/schemas/LogglyPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginLoggly#update operationId: update-loggly-plugin summary: Update a Loggly plugin in a workspace description: Update a Loggly plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LogglyPlugin' responses: '200': description: Loggly plugin content: application/json: schema: $ref: '#/components/schemas/LogglyPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#MeteringAndBilling': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginMeteringAndBilling#delete operationId: delete-meteringandbilling-plugin summary: Delete a MeteringAndBilling plugin in a workspace description: Delete a MeteringAndBilling plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginMeteringAndBilling#read operationId: get-meteringandbilling-plugin summary: Get a MeteringAndBilling plugin in a workspace description: Get a MeteringAndBilling plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: MeteringAndBilling plugin content: application/json: schema: $ref: '#/components/schemas/MeteringAndBillingPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginMeteringAndBilling#update operationId: update-meteringandbilling-plugin summary: Update a MeteringAndBilling plugin in a workspace description: Update a MeteringAndBilling plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/MeteringAndBillingPlugin' responses: '200': description: MeteringAndBilling plugin content: application/json: schema: $ref: '#/components/schemas/MeteringAndBillingPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Mocking': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginMocking#delete operationId: delete-mocking-plugin summary: Delete a Mocking plugin in a workspace description: Delete a Mocking plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginMocking#read operationId: get-mocking-plugin summary: Get a Mocking plugin in a workspace description: Get a Mocking plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Mocking plugin content: application/json: schema: $ref: '#/components/schemas/MockingPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginMocking#update operationId: update-mocking-plugin summary: Update a Mocking plugin in a workspace description: Update a Mocking plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/MockingPlugin' responses: '200': description: Mocking plugin content: application/json: schema: $ref: '#/components/schemas/MockingPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#MtlsAuth': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginMtlsAuth#delete operationId: delete-mtlsauth-plugin summary: Delete a MtlsAuth plugin in a workspace description: Delete a MtlsAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginMtlsAuth#read operationId: get-mtlsauth-plugin summary: Get a MtlsAuth plugin in a workspace description: Get a MtlsAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: MtlsAuth plugin content: application/json: schema: $ref: '#/components/schemas/MtlsAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginMtlsAuth#update operationId: update-mtlsauth-plugin summary: Update a MtlsAuth plugin in a workspace description: Update a MtlsAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/MtlsAuthPlugin' responses: '200': description: MtlsAuth plugin content: application/json: schema: $ref: '#/components/schemas/MtlsAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#OasValidation': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOasValidation#delete operationId: delete-oasvalidation-plugin summary: Delete a OasValidation plugin in a workspace description: Delete a OasValidation plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOasValidation#read operationId: get-oasvalidation-plugin summary: Get a OasValidation plugin in a workspace description: Get a OasValidation plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: OasValidation plugin content: application/json: schema: $ref: '#/components/schemas/OasValidationPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOasValidation#update operationId: update-oasvalidation-plugin summary: Update a OasValidation plugin in a workspace description: Update a OasValidation plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/OasValidationPlugin' responses: '200': description: OasValidation plugin content: application/json: schema: $ref: '#/components/schemas/OasValidationPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Oauth2Introspection': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOauth2Introspection#delete operationId: delete-oauth2introspection-plugin summary: Delete a Oauth2Introspection plugin in a workspace description: Delete a Oauth2Introspection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOauth2Introspection#read operationId: get-oauth2introspection-plugin summary: Get a Oauth2Introspection plugin in a workspace description: Get a Oauth2Introspection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Oauth2Introspection plugin content: application/json: schema: $ref: '#/components/schemas/Oauth2IntrospectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOauth2Introspection#update operationId: update-oauth2introspection-plugin summary: Update a Oauth2Introspection plugin in a workspace description: Update a Oauth2Introspection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/Oauth2IntrospectionPlugin' responses: '200': description: Oauth2Introspection plugin content: application/json: schema: $ref: '#/components/schemas/Oauth2IntrospectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Opa': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOpa#delete operationId: delete-opa-plugin summary: Delete a Opa plugin in a workspace description: Delete a Opa plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOpa#read operationId: get-opa-plugin summary: Get a Opa plugin in a workspace description: Get a Opa plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Opa plugin content: application/json: schema: $ref: '#/components/schemas/OpaPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOpa#update operationId: update-opa-plugin summary: Update a Opa plugin in a workspace description: Update a Opa plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/OpaPlugin' responses: '200': description: Opa plugin content: application/json: schema: $ref: '#/components/schemas/OpaPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#OpenidConnect': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOpenidConnect#delete operationId: delete-openidconnect-plugin summary: Delete a OpenidConnect plugin in a workspace description: Delete a OpenidConnect plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOpenidConnect#read operationId: get-openidconnect-plugin summary: Get a OpenidConnect plugin in a workspace description: Get a OpenidConnect plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: OpenidConnect plugin content: application/json: schema: $ref: '#/components/schemas/OpenidConnectPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOpenidConnect#update operationId: update-openidconnect-plugin summary: Update a OpenidConnect plugin in a workspace description: Update a OpenidConnect plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/OpenidConnectPlugin' responses: '200': description: OpenidConnect plugin content: application/json: schema: $ref: '#/components/schemas/OpenidConnectPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Opentelemetry': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOpentelemetry#delete operationId: delete-opentelemetry-plugin summary: Delete a Opentelemetry plugin in a workspace description: Delete a Opentelemetry plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOpentelemetry#read operationId: get-opentelemetry-plugin summary: Get a Opentelemetry plugin in a workspace description: Get a Opentelemetry plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Opentelemetry plugin content: application/json: schema: $ref: '#/components/schemas/OpentelemetryPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOpentelemetry#update operationId: update-opentelemetry-plugin summary: Update a Opentelemetry plugin in a workspace description: Update a Opentelemetry plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/OpentelemetryPlugin' responses: '200': description: Opentelemetry plugin content: application/json: schema: $ref: '#/components/schemas/OpentelemetryPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#PostFunction': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginPostFunction#delete operationId: delete-postfunction-plugin summary: Delete a PostFunction plugin in a workspace description: Delete a PostFunction plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginPostFunction#read operationId: get-postfunction-plugin summary: Get a PostFunction plugin in a workspace description: Get a PostFunction plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: PostFunction plugin content: application/json: schema: $ref: '#/components/schemas/PostFunctionPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginPostFunction#update operationId: update-postfunction-plugin summary: Update a PostFunction plugin in a workspace description: Update a PostFunction plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PostFunctionPlugin' responses: '200': description: PostFunction plugin content: application/json: schema: $ref: '#/components/schemas/PostFunctionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#PreFunction': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginPreFunction#delete operationId: delete-prefunction-plugin summary: Delete a PreFunction plugin in a workspace description: Delete a PreFunction plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginPreFunction#read operationId: get-prefunction-plugin summary: Get a PreFunction plugin in a workspace description: Get a PreFunction plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: PreFunction plugin content: application/json: schema: $ref: '#/components/schemas/PreFunctionPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginPreFunction#update operationId: update-prefunction-plugin summary: Update a PreFunction plugin in a workspace description: Update a PreFunction plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PreFunctionPlugin' responses: '200': description: PreFunction plugin content: application/json: schema: $ref: '#/components/schemas/PreFunctionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Prometheus': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginPrometheus#delete operationId: delete-prometheus-plugin summary: Delete a Prometheus plugin in a workspace description: Delete a Prometheus plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginPrometheus#read operationId: get-prometheus-plugin summary: Get a Prometheus plugin in a workspace description: Get a Prometheus plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Prometheus plugin content: application/json: schema: $ref: '#/components/schemas/PrometheusPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginPrometheus#update operationId: update-prometheus-plugin summary: Update a Prometheus plugin in a workspace description: Update a Prometheus plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PrometheusPlugin' responses: '200': description: Prometheus plugin content: application/json: schema: $ref: '#/components/schemas/PrometheusPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#ProxyCache': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginProxyCache#delete operationId: delete-proxycache-plugin summary: Delete a ProxyCache plugin in a workspace description: Delete a ProxyCache plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginProxyCache#read operationId: get-proxycache-plugin summary: Get a ProxyCache plugin in a workspace description: Get a ProxyCache plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: ProxyCache plugin content: application/json: schema: $ref: '#/components/schemas/ProxyCachePlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginProxyCache#update operationId: update-proxycache-plugin summary: Update a ProxyCache plugin in a workspace description: Update a ProxyCache plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ProxyCachePlugin' responses: '200': description: ProxyCache plugin content: application/json: schema: $ref: '#/components/schemas/ProxyCachePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#ProxyCacheAdvanced': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginProxyCacheAdvanced#delete operationId: delete-proxycacheadvanced-plugin summary: Delete a ProxyCacheAdvanced plugin in a workspace description: Delete a ProxyCacheAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginProxyCacheAdvanced#read operationId: get-proxycacheadvanced-plugin summary: Get a ProxyCacheAdvanced plugin in a workspace description: Get a ProxyCacheAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: ProxyCacheAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/ProxyCacheAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginProxyCacheAdvanced#update operationId: update-proxycacheadvanced-plugin summary: Update a ProxyCacheAdvanced plugin in a workspace description: Update a ProxyCacheAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ProxyCacheAdvancedPlugin' responses: '200': description: ProxyCacheAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/ProxyCacheAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#RateLimiting': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRateLimiting#delete operationId: delete-ratelimiting-plugin summary: Delete a RateLimiting plugin in a workspace description: Delete a RateLimiting plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRateLimiting#read operationId: get-ratelimiting-plugin summary: Get a RateLimiting plugin in a workspace description: Get a RateLimiting plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: RateLimiting plugin content: application/json: schema: $ref: '#/components/schemas/RateLimitingPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRateLimiting#update operationId: update-ratelimiting-plugin summary: Update a RateLimiting plugin in a workspace description: Update a RateLimiting plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RateLimitingPlugin' responses: '200': description: RateLimiting plugin content: application/json: schema: $ref: '#/components/schemas/RateLimitingPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#RateLimitingAdvanced': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRateLimitingAdvanced#delete operationId: delete-ratelimitingadvanced-plugin summary: Delete a RateLimitingAdvanced plugin in a workspace description: Delete a RateLimitingAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRateLimitingAdvanced#read operationId: get-ratelimitingadvanced-plugin summary: Get a RateLimitingAdvanced plugin in a workspace description: Get a RateLimitingAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: RateLimitingAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/RateLimitingAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRateLimitingAdvanced#update operationId: update-ratelimitingadvanced-plugin summary: Update a RateLimitingAdvanced plugin in a workspace description: Update a RateLimitingAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RateLimitingAdvancedPlugin' responses: '200': description: RateLimitingAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/RateLimitingAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Redirect': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRedirect#delete operationId: delete-redirect-plugin summary: Delete a Redirect plugin in a workspace description: Delete a Redirect plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRedirect#read operationId: get-redirect-plugin summary: Get a Redirect plugin in a workspace description: Get a Redirect plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Redirect plugin content: application/json: schema: $ref: '#/components/schemas/RedirectPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRedirect#update operationId: update-redirect-plugin summary: Update a Redirect plugin in a workspace description: Update a Redirect plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RedirectPlugin' responses: '200': description: Redirect plugin content: application/json: schema: $ref: '#/components/schemas/RedirectPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#RequestCallout': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestCallout#delete operationId: delete-requestcallout-plugin summary: Delete a RequestCallout plugin in a workspace description: Delete a RequestCallout plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestCallout#read operationId: get-requestcallout-plugin summary: Get a RequestCallout plugin in a workspace description: Get a RequestCallout plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: RequestCallout plugin content: application/json: schema: $ref: '#/components/schemas/RequestCalloutPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestCallout#update operationId: update-requestcallout-plugin summary: Update a RequestCallout plugin in a workspace description: Update a RequestCallout plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RequestCalloutPlugin' responses: '200': description: RequestCallout plugin content: application/json: schema: $ref: '#/components/schemas/RequestCalloutPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#RequestSizeLimiting': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestSizeLimiting#delete operationId: delete-requestsizelimiting-plugin summary: Delete a RequestSizeLimiting plugin in a workspace description: Delete a RequestSizeLimiting plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestSizeLimiting#read operationId: get-requestsizelimiting-plugin summary: Get a RequestSizeLimiting plugin in a workspace description: Get a RequestSizeLimiting plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: RequestSizeLimiting plugin content: application/json: schema: $ref: '#/components/schemas/RequestSizeLimitingPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestSizeLimiting#update operationId: update-requestsizelimiting-plugin summary: Update a RequestSizeLimiting plugin in a workspace description: Update a RequestSizeLimiting plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RequestSizeLimitingPlugin' responses: '200': description: RequestSizeLimiting plugin content: application/json: schema: $ref: '#/components/schemas/RequestSizeLimitingPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#RequestTermination': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestTermination#delete operationId: delete-requesttermination-plugin summary: Delete a RequestTermination plugin in a workspace description: Delete a RequestTermination plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestTermination#read operationId: get-requesttermination-plugin summary: Get a RequestTermination plugin in a workspace description: Get a RequestTermination plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: RequestTermination plugin content: application/json: schema: $ref: '#/components/schemas/RequestTerminationPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestTermination#update operationId: update-requesttermination-plugin summary: Update a RequestTermination plugin in a workspace description: Update a RequestTermination plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RequestTerminationPlugin' responses: '200': description: RequestTermination plugin content: application/json: schema: $ref: '#/components/schemas/RequestTerminationPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#RequestTransformer': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestTransformer#delete operationId: delete-requesttransformer-plugin summary: Delete a RequestTransformer plugin in a workspace description: Delete a RequestTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestTransformer#read operationId: get-requesttransformer-plugin summary: Get a RequestTransformer plugin in a workspace description: Get a RequestTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: RequestTransformer plugin content: application/json: schema: $ref: '#/components/schemas/RequestTransformerPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestTransformer#update operationId: update-requesttransformer-plugin summary: Update a RequestTransformer plugin in a workspace description: Update a RequestTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RequestTransformerPlugin' responses: '200': description: RequestTransformer plugin content: application/json: schema: $ref: '#/components/schemas/RequestTransformerPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#RequestTransformerAdvanced': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestTransformerAdvanced#delete operationId: delete-requesttransformeradvanced-plugin summary: Delete a RequestTransformerAdvanced plugin in a workspace description: Delete a RequestTransformerAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestTransformerAdvanced#read operationId: get-requesttransformeradvanced-plugin summary: Get a RequestTransformerAdvanced plugin in a workspace description: Get a RequestTransformerAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: RequestTransformerAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/RequestTransformerAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestTransformerAdvanced#update operationId: update-requesttransformeradvanced-plugin summary: Update a RequestTransformerAdvanced plugin in a workspace description: Update a RequestTransformerAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RequestTransformerAdvancedPlugin' responses: '200': description: RequestTransformerAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/RequestTransformerAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#RequestValidator': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestValidator#delete operationId: delete-requestvalidator-plugin summary: Delete a RequestValidator plugin in a workspace description: Delete a RequestValidator plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestValidator#read operationId: get-requestvalidator-plugin summary: Get a RequestValidator plugin in a workspace description: Get a RequestValidator plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: RequestValidator plugin content: application/json: schema: $ref: '#/components/schemas/RequestValidatorPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestValidator#update operationId: update-requestvalidator-plugin summary: Update a RequestValidator plugin in a workspace description: Update a RequestValidator plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RequestValidatorPlugin' responses: '200': description: RequestValidator plugin content: application/json: schema: $ref: '#/components/schemas/RequestValidatorPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#ResponseRatelimiting': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginResponseRatelimiting#delete operationId: delete-responseratelimiting-plugin summary: Delete a ResponseRatelimiting plugin in a workspace description: Delete a ResponseRatelimiting plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginResponseRatelimiting#read operationId: get-responseratelimiting-plugin summary: Get a ResponseRatelimiting plugin in a workspace description: Get a ResponseRatelimiting plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: ResponseRatelimiting plugin content: application/json: schema: $ref: '#/components/schemas/ResponseRatelimitingPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginResponseRatelimiting#update operationId: update-responseratelimiting-plugin summary: Update a ResponseRatelimiting plugin in a workspace description: Update a ResponseRatelimiting plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ResponseRatelimitingPlugin' responses: '200': description: ResponseRatelimiting plugin content: application/json: schema: $ref: '#/components/schemas/ResponseRatelimitingPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#ResponseTransformer': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginResponseTransformer#delete operationId: delete-responsetransformer-plugin summary: Delete a ResponseTransformer plugin in a workspace description: Delete a ResponseTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginResponseTransformer#read operationId: get-responsetransformer-plugin summary: Get a ResponseTransformer plugin in a workspace description: Get a ResponseTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: ResponseTransformer plugin content: application/json: schema: $ref: '#/components/schemas/ResponseTransformerPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginResponseTransformer#update operationId: update-responsetransformer-plugin summary: Update a ResponseTransformer plugin in a workspace description: Update a ResponseTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ResponseTransformerPlugin' responses: '200': description: ResponseTransformer plugin content: application/json: schema: $ref: '#/components/schemas/ResponseTransformerPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#ResponseTransformerAdvanced': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginResponseTransformerAdvanced#delete operationId: delete-responsetransformeradvanced-plugin summary: Delete a ResponseTransformerAdvanced plugin in a workspace description: Delete a ResponseTransformerAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginResponseTransformerAdvanced#read operationId: get-responsetransformeradvanced-plugin summary: Get a ResponseTransformerAdvanced plugin in a workspace description: Get a ResponseTransformerAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: ResponseTransformerAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/ResponseTransformerAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginResponseTransformerAdvanced#update operationId: update-responsetransformeradvanced-plugin summary: Update a ResponseTransformerAdvanced plugin in a workspace description: Update a ResponseTransformerAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ResponseTransformerAdvancedPlugin' responses: '200': description: ResponseTransformerAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/ResponseTransformerAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#RouteByHeader': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRouteByHeader#delete operationId: delete-routebyheader-plugin summary: Delete a RouteByHeader plugin in a workspace description: Delete a RouteByHeader plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRouteByHeader#read operationId: get-routebyheader-plugin summary: Get a RouteByHeader plugin in a workspace description: Get a RouteByHeader plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: RouteByHeader plugin content: application/json: schema: $ref: '#/components/schemas/RouteByHeaderPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRouteByHeader#update operationId: update-routebyheader-plugin summary: Update a RouteByHeader plugin in a workspace description: Update a RouteByHeader plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RouteByHeaderPlugin' responses: '200': description: RouteByHeader plugin content: application/json: schema: $ref: '#/components/schemas/RouteByHeaderPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#RouteTransformerAdvanced': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRouteTransformerAdvanced#delete operationId: delete-routetransformeradvanced-plugin summary: Delete a RouteTransformerAdvanced plugin in a workspace description: Delete a RouteTransformerAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRouteTransformerAdvanced#read operationId: get-routetransformeradvanced-plugin summary: Get a RouteTransformerAdvanced plugin in a workspace description: Get a RouteTransformerAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: RouteTransformerAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/RouteTransformerAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRouteTransformerAdvanced#update operationId: update-routetransformeradvanced-plugin summary: Update a RouteTransformerAdvanced plugin in a workspace description: Update a RouteTransformerAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RouteTransformerAdvancedPlugin' responses: '200': description: RouteTransformerAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/RouteTransformerAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Saml': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSaml#delete operationId: delete-saml-plugin summary: Delete a Saml plugin in a workspace description: Delete a Saml plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSaml#read operationId: get-saml-plugin summary: Get a Saml plugin in a workspace description: Get a Saml plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Saml plugin content: application/json: schema: $ref: '#/components/schemas/SamlPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSaml#update operationId: update-saml-plugin summary: Update a Saml plugin in a workspace description: Update a Saml plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SamlPlugin' responses: '200': description: Saml plugin content: application/json: schema: $ref: '#/components/schemas/SamlPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#ServiceProtection': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginServiceProtection#delete operationId: delete-serviceprotection-plugin summary: Delete a ServiceProtection plugin in a workspace description: Delete a ServiceProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginServiceProtection#read operationId: get-serviceprotection-plugin summary: Get a ServiceProtection plugin in a workspace description: Get a ServiceProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: ServiceProtection plugin content: application/json: schema: $ref: '#/components/schemas/ServiceProtectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginServiceProtection#update operationId: update-serviceprotection-plugin summary: Update a ServiceProtection plugin in a workspace description: Update a ServiceProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ServiceProtectionPlugin' responses: '200': description: ServiceProtection plugin content: application/json: schema: $ref: '#/components/schemas/ServiceProtectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Session': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSession#delete operationId: delete-session-plugin summary: Delete a Session plugin in a workspace description: Delete a Session plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSession#read operationId: get-session-plugin summary: Get a Session plugin in a workspace description: Get a Session plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Session plugin content: application/json: schema: $ref: '#/components/schemas/SessionPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSession#update operationId: update-session-plugin summary: Update a Session plugin in a workspace description: Update a Session plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SessionPlugin' responses: '200': description: Session plugin content: application/json: schema: $ref: '#/components/schemas/SessionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#SolaceConsume': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSolaceConsume#delete operationId: delete-solaceconsume-plugin summary: Delete a SolaceConsume plugin in a workspace description: Delete a SolaceConsume plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSolaceConsume#read operationId: get-solaceconsume-plugin summary: Get a SolaceConsume plugin in a workspace description: Get a SolaceConsume plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: SolaceConsume plugin content: application/json: schema: $ref: '#/components/schemas/SolaceConsumePlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSolaceConsume#update operationId: update-solaceconsume-plugin summary: Update a SolaceConsume plugin in a workspace description: Update a SolaceConsume plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SolaceConsumePlugin' responses: '200': description: SolaceConsume plugin content: application/json: schema: $ref: '#/components/schemas/SolaceConsumePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#SolaceLog': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSolaceLog#delete operationId: delete-solacelog-plugin summary: Delete a SolaceLog plugin in a workspace description: Delete a SolaceLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSolaceLog#read operationId: get-solacelog-plugin summary: Get a SolaceLog plugin in a workspace description: Get a SolaceLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: SolaceLog plugin content: application/json: schema: $ref: '#/components/schemas/SolaceLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSolaceLog#update operationId: update-solacelog-plugin summary: Update a SolaceLog plugin in a workspace description: Update a SolaceLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SolaceLogPlugin' responses: '200': description: SolaceLog plugin content: application/json: schema: $ref: '#/components/schemas/SolaceLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#SolaceUpstream': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSolaceUpstream#delete operationId: delete-solaceupstream-plugin summary: Delete a SolaceUpstream plugin in a workspace description: Delete a SolaceUpstream plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSolaceUpstream#read operationId: get-solaceupstream-plugin summary: Get a SolaceUpstream plugin in a workspace description: Get a SolaceUpstream plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: SolaceUpstream plugin content: application/json: schema: $ref: '#/components/schemas/SolaceUpstreamPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSolaceUpstream#update operationId: update-solaceupstream-plugin summary: Update a SolaceUpstream plugin in a workspace description: Update a SolaceUpstream plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SolaceUpstreamPlugin' responses: '200': description: SolaceUpstream plugin content: application/json: schema: $ref: '#/components/schemas/SolaceUpstreamPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#StandardWebhooks': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginStandardWebhooks#delete operationId: delete-standardwebhooks-plugin summary: Delete a StandardWebhooks plugin in a workspace description: Delete a StandardWebhooks plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginStandardWebhooks#read operationId: get-standardwebhooks-plugin summary: Get a StandardWebhooks plugin in a workspace description: Get a StandardWebhooks plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: StandardWebhooks plugin content: application/json: schema: $ref: '#/components/schemas/StandardWebhooksPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginStandardWebhooks#update operationId: update-standardwebhooks-plugin summary: Update a StandardWebhooks plugin in a workspace description: Update a StandardWebhooks plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/StandardWebhooksPlugin' responses: '200': description: StandardWebhooks plugin content: application/json: schema: $ref: '#/components/schemas/StandardWebhooksPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Statsd': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginStatsd#delete operationId: delete-statsd-plugin summary: Delete a Statsd plugin in a workspace description: Delete a Statsd plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginStatsd#read operationId: get-statsd-plugin summary: Get a Statsd plugin in a workspace description: Get a Statsd plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Statsd plugin content: application/json: schema: $ref: '#/components/schemas/StatsdPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginStatsd#update operationId: update-statsd-plugin summary: Update a Statsd plugin in a workspace description: Update a Statsd plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/StatsdPlugin' responses: '200': description: Statsd plugin content: application/json: schema: $ref: '#/components/schemas/StatsdPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#StatsdAdvanced': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginStatsdAdvanced#delete operationId: delete-statsdadvanced-plugin summary: Delete a StatsdAdvanced plugin in a workspace description: Delete a StatsdAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginStatsdAdvanced#read operationId: get-statsdadvanced-plugin summary: Get a StatsdAdvanced plugin in a workspace description: Get a StatsdAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: StatsdAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/StatsdAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginStatsdAdvanced#update operationId: update-statsdadvanced-plugin summary: Update a StatsdAdvanced plugin in a workspace description: Update a StatsdAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/StatsdAdvancedPlugin' responses: '200': description: StatsdAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/StatsdAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Syslog': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSyslog#delete operationId: delete-syslog-plugin summary: Delete a Syslog plugin in a workspace description: Delete a Syslog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSyslog#read operationId: get-syslog-plugin summary: Get a Syslog plugin in a workspace description: Get a Syslog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Syslog plugin content: application/json: schema: $ref: '#/components/schemas/SyslogPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSyslog#update operationId: update-syslog-plugin summary: Update a Syslog plugin in a workspace description: Update a Syslog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SyslogPlugin' responses: '200': description: Syslog plugin content: application/json: schema: $ref: '#/components/schemas/SyslogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#TcpLog': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginTcpLog#delete operationId: delete-tcplog-plugin summary: Delete a TcpLog plugin in a workspace description: Delete a TcpLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginTcpLog#read operationId: get-tcplog-plugin summary: Get a TcpLog plugin in a workspace description: Get a TcpLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: TcpLog plugin content: application/json: schema: $ref: '#/components/schemas/TcpLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginTcpLog#update operationId: update-tcplog-plugin summary: Update a TcpLog plugin in a workspace description: Update a TcpLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/TcpLogPlugin' responses: '200': description: TcpLog plugin content: application/json: schema: $ref: '#/components/schemas/TcpLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#TlsHandshakeModifier': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginTlsHandshakeModifier#delete operationId: delete-tlshandshakemodifier-plugin summary: Delete a TlsHandshakeModifier plugin in a workspace description: Delete a TlsHandshakeModifier plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginTlsHandshakeModifier#read operationId: get-tlshandshakemodifier-plugin summary: Get a TlsHandshakeModifier plugin in a workspace description: Get a TlsHandshakeModifier plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: TlsHandshakeModifier plugin content: application/json: schema: $ref: '#/components/schemas/TlsHandshakeModifierPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginTlsHandshakeModifier#update operationId: update-tlshandshakemodifier-plugin summary: Update a TlsHandshakeModifier plugin in a workspace description: Update a TlsHandshakeModifier plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/TlsHandshakeModifierPlugin' responses: '200': description: TlsHandshakeModifier plugin content: application/json: schema: $ref: '#/components/schemas/TlsHandshakeModifierPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#TlsMetadataHeaders': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginTlsMetadataHeaders#delete operationId: delete-tlsmetadataheaders-plugin summary: Delete a TlsMetadataHeaders plugin in a workspace description: Delete a TlsMetadataHeaders plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginTlsMetadataHeaders#read operationId: get-tlsmetadataheaders-plugin summary: Get a TlsMetadataHeaders plugin in a workspace description: Get a TlsMetadataHeaders plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: TlsMetadataHeaders plugin content: application/json: schema: $ref: '#/components/schemas/TlsMetadataHeadersPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginTlsMetadataHeaders#update operationId: update-tlsmetadataheaders-plugin summary: Update a TlsMetadataHeaders plugin in a workspace description: Update a TlsMetadataHeaders plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/TlsMetadataHeadersPlugin' responses: '200': description: TlsMetadataHeaders plugin content: application/json: schema: $ref: '#/components/schemas/TlsMetadataHeadersPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#UdpLog': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginUdpLog#delete operationId: delete-udplog-plugin summary: Delete a UdpLog plugin in a workspace description: Delete a UdpLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginUdpLog#read operationId: get-udplog-plugin summary: Get a UdpLog plugin in a workspace description: Get a UdpLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: UdpLog plugin content: application/json: schema: $ref: '#/components/schemas/UdpLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginUdpLog#update operationId: update-udplog-plugin summary: Update a UdpLog plugin in a workspace description: Update a UdpLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UdpLogPlugin' responses: '200': description: UdpLog plugin content: application/json: schema: $ref: '#/components/schemas/UdpLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#UpstreamOauth': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginUpstreamOauth#delete operationId: delete-upstreamoauth-plugin summary: Delete a UpstreamOauth plugin in a workspace description: Delete a UpstreamOauth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginUpstreamOauth#read operationId: get-upstreamoauth-plugin summary: Get a UpstreamOauth plugin in a workspace description: Get a UpstreamOauth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: UpstreamOauth plugin content: application/json: schema: $ref: '#/components/schemas/UpstreamOauthPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginUpstreamOauth#update operationId: update-upstreamoauth-plugin summary: Update a UpstreamOauth plugin in a workspace description: Update a UpstreamOauth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpstreamOauthPlugin' responses: '200': description: UpstreamOauth plugin content: application/json: schema: $ref: '#/components/schemas/UpstreamOauthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#UpstreamTimeout': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginUpstreamTimeout#delete operationId: delete-upstreamtimeout-plugin summary: Delete a UpstreamTimeout plugin in a workspace description: Delete a UpstreamTimeout plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginUpstreamTimeout#read operationId: get-upstreamtimeout-plugin summary: Get a UpstreamTimeout plugin in a workspace description: Get a UpstreamTimeout plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: UpstreamTimeout plugin content: application/json: schema: $ref: '#/components/schemas/UpstreamTimeoutPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginUpstreamTimeout#update operationId: update-upstreamtimeout-plugin summary: Update a UpstreamTimeout plugin in a workspace description: Update a UpstreamTimeout plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpstreamTimeoutPlugin' responses: '200': description: UpstreamTimeout plugin content: application/json: schema: $ref: '#/components/schemas/UpstreamTimeoutPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#VaultAuth': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginVaultAuth#delete operationId: delete-vaultauth-plugin summary: Delete a VaultAuth plugin in a workspace description: Delete a VaultAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginVaultAuth#read operationId: get-vaultauth-plugin summary: Get a VaultAuth plugin in a workspace description: Get a VaultAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: VaultAuth plugin content: application/json: schema: $ref: '#/components/schemas/VaultAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginVaultAuth#update operationId: update-vaultauth-plugin summary: Update a VaultAuth plugin in a workspace description: Update a VaultAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/VaultAuthPlugin' responses: '200': description: VaultAuth plugin content: application/json: schema: $ref: '#/components/schemas/VaultAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#WebsocketSizeLimit': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginWebsocketSizeLimit#delete operationId: delete-websocketsizelimit-plugin summary: Delete a WebsocketSizeLimit plugin in a workspace description: Delete a WebsocketSizeLimit plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginWebsocketSizeLimit#read operationId: get-websocketsizelimit-plugin summary: Get a WebsocketSizeLimit plugin in a workspace description: Get a WebsocketSizeLimit plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: WebsocketSizeLimit plugin content: application/json: schema: $ref: '#/components/schemas/WebsocketSizeLimitPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginWebsocketSizeLimit#update operationId: update-websocketsizelimit-plugin summary: Update a WebsocketSizeLimit plugin in a workspace description: Update a WebsocketSizeLimit plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/WebsocketSizeLimitPlugin' responses: '200': description: WebsocketSizeLimit plugin content: application/json: schema: $ref: '#/components/schemas/WebsocketSizeLimitPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#WebsocketValidator': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginWebsocketValidator#delete operationId: delete-websocketvalidator-plugin summary: Delete a WebsocketValidator plugin in a workspace description: Delete a WebsocketValidator plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginWebsocketValidator#read operationId: get-websocketvalidator-plugin summary: Get a WebsocketValidator plugin in a workspace description: Get a WebsocketValidator plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: WebsocketValidator plugin content: application/json: schema: $ref: '#/components/schemas/WebsocketValidatorPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginWebsocketValidator#update operationId: update-websocketvalidator-plugin summary: Update a WebsocketValidator plugin in a workspace description: Update a WebsocketValidator plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/WebsocketValidatorPlugin' responses: '200': description: WebsocketValidator plugin content: application/json: schema: $ref: '#/components/schemas/WebsocketValidatorPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#XmlThreatProtection': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginXmlThreatProtection#delete operationId: delete-xmlthreatprotection-plugin summary: Delete a XmlThreatProtection plugin in a workspace description: Delete a XmlThreatProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginXmlThreatProtection#read operationId: get-xmlthreatprotection-plugin summary: Get a XmlThreatProtection plugin in a workspace description: Get a XmlThreatProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: XmlThreatProtection plugin content: application/json: schema: $ref: '#/components/schemas/XmlThreatProtectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginXmlThreatProtection#update operationId: update-xmlthreatprotection-plugin summary: Update a XmlThreatProtection plugin in a workspace description: Update a XmlThreatProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/XmlThreatProtectionPlugin' responses: '200': description: XmlThreatProtection plugin content: application/json: schema: $ref: '#/components/schemas/XmlThreatProtectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins/{PluginId}#Zipkin': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginZipkin#delete operationId: delete-zipkin-plugin summary: Delete a Zipkin plugin in a workspace description: Delete a Zipkin plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginZipkin#read operationId: get-zipkin-plugin summary: Get a Zipkin plugin in a workspace description: Get a Zipkin plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Zipkin plugin content: application/json: schema: $ref: '#/components/schemas/ZipkinPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Plugins parameters: - $ref: '#/components/parameters/PluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginZipkin#update operationId: update-zipkin-plugin summary: Update a Zipkin plugin in a workspace description: Update a Zipkin plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ZipkinPlugin' responses: '200': description: Zipkin plugin content: application/json: schema: $ref: '#/components/schemas/ZipkinPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Ace': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAce#create operationId: create-ace-plugin summary: Create a Ace plugin in a workspace description: Create a Ace plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AcePlugin' responses: '201': description: Created Ace plugin content: application/json: schema: $ref: '#/components/schemas/AcePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#ACL': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginACL#create operationId: create-acl-plugin summary: Create a ACL plugin in a workspace description: Create a ACL plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ACLPlugin' responses: '201': description: Created ACL plugin content: application/json: schema: $ref: '#/components/schemas/ACLPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Acme': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAcme#create operationId: create-acme-plugin summary: Create a Acme plugin in a workspace description: Create a Acme plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AcmePlugin' responses: '201': description: Created Acme plugin content: application/json: schema: $ref: '#/components/schemas/AcmePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiA2aProxy': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiA2aProxy#create operationId: create-aia2aproxy-plugin summary: Create a AiA2aProxy plugin in a workspace description: Create a AiA2aProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiA2aProxyPlugin' responses: '201': description: Created AiA2aProxy plugin content: application/json: schema: $ref: '#/components/schemas/AiA2aProxyPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiAwsGuardrails': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiAwsGuardrails#create operationId: create-aiawsguardrails-plugin summary: Create a AiAwsGuardrails plugin in a workspace description: Create a AiAwsGuardrails plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiAwsGuardrailsPlugin' responses: '201': description: Created AiAwsGuardrails plugin content: application/json: schema: $ref: '#/components/schemas/AiAwsGuardrailsPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiAzureContentSafety': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiAzureContentSafety#create operationId: create-aiazurecontentsafety-plugin summary: Create a AiAzureContentSafety plugin in a workspace description: Create a AiAzureContentSafety plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiAzureContentSafetyPlugin' responses: '201': description: Created AiAzureContentSafety plugin content: application/json: schema: $ref: '#/components/schemas/AiAzureContentSafetyPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiCustomGuardrail': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiCustomGuardrail#create operationId: create-aicustomguardrail-plugin summary: Create a AiCustomGuardrail plugin in a workspace description: Create a AiCustomGuardrail plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiCustomGuardrailPlugin' responses: '201': description: Created AiCustomGuardrail plugin content: application/json: schema: $ref: '#/components/schemas/AiCustomGuardrailPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiGcpModelArmor': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiGcpModelArmor#create operationId: create-aigcpmodelarmor-plugin summary: Create a AiGcpModelArmor plugin in a workspace description: Create a AiGcpModelArmor plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiGcpModelArmorPlugin' responses: '201': description: Created AiGcpModelArmor plugin content: application/json: schema: $ref: '#/components/schemas/AiGcpModelArmorPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiLakeraGuard': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiLakeraGuard#create operationId: create-ailakeraguard-plugin summary: Create a AiLakeraGuard plugin in a workspace description: Create a AiLakeraGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiLakeraGuardPlugin' responses: '201': description: Created AiLakeraGuard plugin content: application/json: schema: $ref: '#/components/schemas/AiLakeraGuardPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiLlmAsJudge': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiLlmAsJudge#create operationId: create-aillmasjudge-plugin summary: Create a AiLlmAsJudge plugin in a workspace description: Create a AiLlmAsJudge plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiLlmAsJudgePlugin' responses: '201': description: Created AiLlmAsJudge plugin content: application/json: schema: $ref: '#/components/schemas/AiLlmAsJudgePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiMcpOauth2': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiMcpOauth2#create operationId: create-aimcpoauth2-plugin summary: Create a AiMcpOauth2 plugin in a workspace description: Create a AiMcpOauth2 plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiMcpOauth2Plugin' responses: '201': description: Created AiMcpOauth2 plugin content: application/json: schema: $ref: '#/components/schemas/AiMcpOauth2Plugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiMcpProxy': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiMcpProxy#create operationId: create-aimcpproxy-plugin summary: Create a AiMcpProxy plugin in a workspace description: Create a AiMcpProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiMcpProxyPlugin' responses: '201': description: Created AiMcpProxy plugin content: application/json: schema: $ref: '#/components/schemas/AiMcpProxyPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiPromptCompressor': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptCompressor#create operationId: create-aipromptcompressor-plugin summary: Create a AiPromptCompressor plugin in a workspace description: Create a AiPromptCompressor plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiPromptCompressorPlugin' responses: '201': description: Created AiPromptCompressor plugin content: application/json: schema: $ref: '#/components/schemas/AiPromptCompressorPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiPromptDecorator': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptDecorator#create operationId: create-aipromptdecorator-plugin summary: Create a AiPromptDecorator plugin in a workspace description: Create a AiPromptDecorator plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiPromptDecoratorPlugin' responses: '201': description: Created AiPromptDecorator plugin content: application/json: schema: $ref: '#/components/schemas/AiPromptDecoratorPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiPromptGuard': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptGuard#create operationId: create-aipromptguard-plugin summary: Create a AiPromptGuard plugin in a workspace description: Create a AiPromptGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiPromptGuardPlugin' responses: '201': description: Created AiPromptGuard plugin content: application/json: schema: $ref: '#/components/schemas/AiPromptGuardPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiPromptTemplate': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiPromptTemplate#create operationId: create-aiprompttemplate-plugin summary: Create a AiPromptTemplate plugin in a workspace description: Create a AiPromptTemplate plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiPromptTemplatePlugin' responses: '201': description: Created AiPromptTemplate plugin content: application/json: schema: $ref: '#/components/schemas/AiPromptTemplatePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiProxy': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiProxy#create operationId: create-aiproxy-plugin summary: Create a AiProxy plugin in a workspace description: Create a AiProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiProxyPlugin' responses: '201': description: Created AiProxy plugin content: application/json: schema: $ref: '#/components/schemas/AiProxyPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiProxyAdvanced': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiProxyAdvanced#create operationId: create-aiproxyadvanced-plugin summary: Create a AiProxyAdvanced plugin in a workspace description: Create a AiProxyAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiProxyAdvancedPlugin' responses: '201': description: Created AiProxyAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/AiProxyAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiRagInjector': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiRagInjector#create operationId: create-airaginjector-plugin summary: Create a AiRagInjector plugin in a workspace description: Create a AiRagInjector plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiRagInjectorPlugin' responses: '201': description: Created AiRagInjector plugin content: application/json: schema: $ref: '#/components/schemas/AiRagInjectorPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiRateLimitingAdvanced': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiRateLimitingAdvanced#create operationId: create-airatelimitingadvanced-plugin summary: Create a AiRateLimitingAdvanced plugin in a workspace description: Create a AiRateLimitingAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiRateLimitingAdvancedPlugin' responses: '201': description: Created AiRateLimitingAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/AiRateLimitingAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiRequestTransformer': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiRequestTransformer#create operationId: create-airequesttransformer-plugin summary: Create a AiRequestTransformer plugin in a workspace description: Create a AiRequestTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiRequestTransformerPlugin' responses: '201': description: Created AiRequestTransformer plugin content: application/json: schema: $ref: '#/components/schemas/AiRequestTransformerPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiResponseTransformer': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiResponseTransformer#create operationId: create-airesponsetransformer-plugin summary: Create a AiResponseTransformer plugin in a workspace description: Create a AiResponseTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiResponseTransformerPlugin' responses: '201': description: Created AiResponseTransformer plugin content: application/json: schema: $ref: '#/components/schemas/AiResponseTransformerPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiSanitizer': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSanitizer#create operationId: create-aisanitizer-plugin summary: Create a AiSanitizer plugin in a workspace description: Create a AiSanitizer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiSanitizerPlugin' responses: '201': description: Created AiSanitizer plugin content: application/json: schema: $ref: '#/components/schemas/AiSanitizerPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiSemanticCache': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSemanticCache#create operationId: create-aisemanticcache-plugin summary: Create a AiSemanticCache plugin in a workspace description: Create a AiSemanticCache plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiSemanticCachePlugin' responses: '201': description: Created AiSemanticCache plugin content: application/json: schema: $ref: '#/components/schemas/AiSemanticCachePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiSemanticPromptGuard': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSemanticPromptGuard#create operationId: create-aisemanticpromptguard-plugin summary: Create a AiSemanticPromptGuard plugin in a workspace description: Create a AiSemanticPromptGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiSemanticPromptGuardPlugin' responses: '201': description: Created AiSemanticPromptGuard plugin content: application/json: schema: $ref: '#/components/schemas/AiSemanticPromptGuardPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AiSemanticResponseGuard': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAiSemanticResponseGuard#create operationId: create-aisemanticresponseguard-plugin summary: Create a AiSemanticResponseGuard plugin in a workspace description: Create a AiSemanticResponseGuard plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AiSemanticResponseGuardPlugin' responses: '201': description: Created AiSemanticResponseGuard plugin content: application/json: schema: $ref: '#/components/schemas/AiSemanticResponseGuardPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AppDynamics': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAppDynamics#create operationId: create-appdynamics-plugin summary: Create a AppDynamics plugin in a workspace description: Create a AppDynamics plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AppDynamicsPlugin' responses: '201': description: Created AppDynamics plugin content: application/json: schema: $ref: '#/components/schemas/AppDynamicsPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AwsLambda': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAwsLambda#create operationId: create-awslambda-plugin summary: Create a AwsLambda plugin in a workspace description: Create a AwsLambda plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AwsLambdaPlugin' responses: '201': description: Created AwsLambda plugin content: application/json: schema: $ref: '#/components/schemas/AwsLambdaPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#AzureFunctions': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginAzureFunctions#create operationId: create-azurefunctions-plugin summary: Create a AzureFunctions plugin in a workspace description: Create a AzureFunctions plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AzureFunctionsPlugin' responses: '201': description: Created AzureFunctions plugin content: application/json: schema: $ref: '#/components/schemas/AzureFunctionsPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#BasicAuth': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginBasicAuth#create operationId: create-basicauth-plugin summary: Create a BasicAuth plugin in a workspace description: Create a BasicAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/BasicAuthPlugin' responses: '201': description: Created BasicAuth plugin content: application/json: schema: $ref: '#/components/schemas/BasicAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#BotDetection': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginBotDetection#create operationId: create-botdetection-plugin summary: Create a BotDetection plugin in a workspace description: Create a BotDetection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/BotDetectionPlugin' responses: '201': description: Created BotDetection plugin content: application/json: schema: $ref: '#/components/schemas/BotDetectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Canary': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginCanary#create operationId: create-canary-plugin summary: Create a Canary plugin in a workspace description: Create a Canary plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CanaryPlugin' responses: '201': description: Created Canary plugin content: application/json: schema: $ref: '#/components/schemas/CanaryPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Confluent': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginConfluent#create operationId: create-confluent-plugin summary: Create a Confluent plugin in a workspace description: Create a Confluent plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ConfluentPlugin' responses: '201': description: Created Confluent plugin content: application/json: schema: $ref: '#/components/schemas/ConfluentPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#ConfluentConsume': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginConfluentConsume#create operationId: create-confluentconsume-plugin summary: Create a ConfluentConsume plugin in a workspace description: Create a ConfluentConsume plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ConfluentConsumePlugin' responses: '201': description: Created ConfluentConsume plugin content: application/json: schema: $ref: '#/components/schemas/ConfluentConsumePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#CorrelationId': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginCorrelationId#create operationId: create-correlationid-plugin summary: Create a CorrelationId plugin in a workspace description: Create a CorrelationId plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CorrelationIdPlugin' responses: '201': description: Created CorrelationId plugin content: application/json: schema: $ref: '#/components/schemas/CorrelationIdPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Cors': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginCors#create operationId: create-cors-plugin summary: Create a Cors plugin in a workspace description: Create a Cors plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CorsPlugin' responses: '201': description: Created Cors plugin content: application/json: schema: $ref: '#/components/schemas/CorsPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Datadog': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginDatadog#create operationId: create-datadog-plugin summary: Create a Datadog plugin in a workspace description: Create a Datadog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DatadogPlugin' responses: '201': description: Created Datadog plugin content: application/json: schema: $ref: '#/components/schemas/DatadogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Datakit': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginDatakit#create operationId: create-datakit-plugin summary: Create a Datakit plugin in a workspace description: Create a Datakit plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DatakitPlugin' responses: '201': description: Created Datakit plugin content: application/json: schema: $ref: '#/components/schemas/DatakitPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Degraphql': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginDegraphql#create operationId: create-degraphql-plugin summary: Create a Degraphql plugin in a workspace description: Create a Degraphql plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DegraphqlPlugin' responses: '201': description: Created Degraphql plugin content: application/json: schema: $ref: '#/components/schemas/DegraphqlPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#EntitlementEnforcement': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginEntitlementEnforcement#create operationId: create-entitlementenforcement-plugin summary: Create a EntitlementEnforcement plugin in a workspace description: Create a EntitlementEnforcement plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/EntitlementEnforcementPlugin' responses: '201': description: Created EntitlementEnforcement plugin content: application/json: schema: $ref: '#/components/schemas/EntitlementEnforcementPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#ExitTransformer': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginExitTransformer#create operationId: create-exittransformer-plugin summary: Create a ExitTransformer plugin in a workspace description: Create a ExitTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ExitTransformerPlugin' responses: '201': description: Created ExitTransformer plugin content: application/json: schema: $ref: '#/components/schemas/ExitTransformerPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#FileLog': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginFileLog#create operationId: create-filelog-plugin summary: Create a FileLog plugin in a workspace description: Create a FileLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/FileLogPlugin' responses: '201': description: Created FileLog plugin content: application/json: schema: $ref: '#/components/schemas/FileLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#ForwardProxy': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginForwardProxy#create operationId: create-forwardproxy-plugin summary: Create a ForwardProxy plugin in a workspace description: Create a ForwardProxy plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ForwardProxyPlugin' responses: '201': description: Created ForwardProxy plugin content: application/json: schema: $ref: '#/components/schemas/ForwardProxyPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#GraphqlProxyCacheAdvanced': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGraphqlProxyCacheAdvanced#create operationId: create-graphqlproxycacheadvanced-plugin summary: Create a GraphqlProxyCacheAdvanced plugin in a workspace description: Create a GraphqlProxyCacheAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GraphqlProxyCacheAdvancedPlugin' responses: '201': description: Created GraphqlProxyCacheAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/GraphqlProxyCacheAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#GraphqlRateLimitingAdvanced': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGraphqlRateLimitingAdvanced#create operationId: create-graphqlratelimitingadvanced-plugin summary: Create a GraphqlRateLimitingAdvanced plugin in a workspace description: Create a GraphqlRateLimitingAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GraphqlRateLimitingAdvancedPlugin' responses: '201': description: Created GraphqlRateLimitingAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/GraphqlRateLimitingAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#GrpcGateway': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGrpcGateway#create operationId: create-grpcgateway-plugin summary: Create a GrpcGateway plugin in a workspace description: Create a GrpcGateway plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GrpcGatewayPlugin' responses: '201': description: Created GrpcGateway plugin content: application/json: schema: $ref: '#/components/schemas/GrpcGatewayPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#GrpcWeb': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginGrpcWeb#create operationId: create-grpcweb-plugin summary: Create a GrpcWeb plugin in a workspace description: Create a GrpcWeb plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GrpcWebPlugin' responses: '201': description: Created GrpcWeb plugin content: application/json: schema: $ref: '#/components/schemas/GrpcWebPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#HeaderCertAuth': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginHeaderCertAuth#create operationId: create-headercertauth-plugin summary: Create a HeaderCertAuth plugin in a workspace description: Create a HeaderCertAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/HeaderCertAuthPlugin' responses: '201': description: Created HeaderCertAuth plugin content: application/json: schema: $ref: '#/components/schemas/HeaderCertAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#HmacAuth': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginHmacAuth#create operationId: create-hmacauth-plugin summary: Create a HmacAuth plugin in a workspace description: Create a HmacAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/HmacAuthPlugin' responses: '201': description: Created HmacAuth plugin content: application/json: schema: $ref: '#/components/schemas/HmacAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#HttpLog': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginHttpLog#create operationId: create-httplog-plugin summary: Create a HttpLog plugin in a workspace description: Create a HttpLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/HttpLogPlugin' responses: '201': description: Created HttpLog plugin content: application/json: schema: $ref: '#/components/schemas/HttpLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#InjectionProtection': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginInjectionProtection#create operationId: create-injectionprotection-plugin summary: Create a InjectionProtection plugin in a workspace description: Create a InjectionProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/InjectionProtectionPlugin' responses: '201': description: Created InjectionProtection plugin content: application/json: schema: $ref: '#/components/schemas/InjectionProtectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#IpRestriction': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginIpRestriction#create operationId: create-iprestriction-plugin summary: Create a IpRestriction plugin in a workspace description: Create a IpRestriction plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/IpRestrictionPlugin' responses: '201': description: Created IpRestriction plugin content: application/json: schema: $ref: '#/components/schemas/IpRestrictionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Jq': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJq#create operationId: create-jq-plugin summary: Create a Jq plugin in a workspace description: Create a Jq plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/JqPlugin' responses: '201': description: Created Jq plugin content: application/json: schema: $ref: '#/components/schemas/JqPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#JsonThreatProtection': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJsonThreatProtection#create operationId: create-jsonthreatprotection-plugin summary: Create a JsonThreatProtection plugin in a workspace description: Create a JsonThreatProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/JsonThreatProtectionPlugin' responses: '201': description: Created JsonThreatProtection plugin content: application/json: schema: $ref: '#/components/schemas/JsonThreatProtectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#JweDecrypt': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJweDecrypt#create operationId: create-jwedecrypt-plugin summary: Create a JweDecrypt plugin in a workspace description: Create a JweDecrypt plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/JweDecryptPlugin' responses: '201': description: Created JweDecrypt plugin content: application/json: schema: $ref: '#/components/schemas/JweDecryptPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Jwt': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJwt#create operationId: create-jwt-plugin summary: Create a Jwt plugin in a workspace description: Create a Jwt plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/JwtPlugin' responses: '201': description: Created Jwt plugin content: application/json: schema: $ref: '#/components/schemas/JwtPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#JwtSigner': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginJwtSigner#create operationId: create-jwtsigner-plugin summary: Create a JwtSigner plugin in a workspace description: Create a JwtSigner plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/JwtSignerPlugin' responses: '201': description: Created JwtSigner plugin content: application/json: schema: $ref: '#/components/schemas/JwtSignerPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#KafkaConsume': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKafkaConsume#create operationId: create-kafkaconsume-plugin summary: Create a KafkaConsume plugin in a workspace description: Create a KafkaConsume plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/KafkaConsumePlugin' responses: '201': description: Created KafkaConsume plugin content: application/json: schema: $ref: '#/components/schemas/KafkaConsumePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#KafkaLog': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKafkaLog#create operationId: create-kafkalog-plugin summary: Create a KafkaLog plugin in a workspace description: Create a KafkaLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/KafkaLogPlugin' responses: '201': description: Created KafkaLog plugin content: application/json: schema: $ref: '#/components/schemas/KafkaLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#KafkaUpstream': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKafkaUpstream#create operationId: create-kafkaupstream-plugin summary: Create a KafkaUpstream plugin in a workspace description: Create a KafkaUpstream plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/KafkaUpstreamPlugin' responses: '201': description: Created KafkaUpstream plugin content: application/json: schema: $ref: '#/components/schemas/KafkaUpstreamPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#KeyAuth': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginKeyAuth#create operationId: create-keyauth-plugin summary: Create a KeyAuth plugin in a workspace description: Create a KeyAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/KeyAuthPlugin' responses: '201': description: Created KeyAuth plugin content: application/json: schema: $ref: '#/components/schemas/KeyAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#LdapAuth': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginLdapAuth#create operationId: create-ldapauth-plugin summary: Create a LdapAuth plugin in a workspace description: Create a LdapAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LdapAuthPlugin' responses: '201': description: Created LdapAuth plugin content: application/json: schema: $ref: '#/components/schemas/LdapAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#LdapAuthAdvanced': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginLdapAuthAdvanced#create operationId: create-ldapauthadvanced-plugin summary: Create a LdapAuthAdvanced plugin in a workspace description: Create a LdapAuthAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LdapAuthAdvancedPlugin' responses: '201': description: Created LdapAuthAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/LdapAuthAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Loggly': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginLoggly#create operationId: create-loggly-plugin summary: Create a Loggly plugin in a workspace description: Create a Loggly plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LogglyPlugin' responses: '201': description: Created Loggly plugin content: application/json: schema: $ref: '#/components/schemas/LogglyPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#MeteringAndBilling': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginMeteringAndBilling#create operationId: create-meteringandbilling-plugin summary: Create a MeteringAndBilling plugin in a workspace description: Create a MeteringAndBilling plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/MeteringAndBillingPlugin' responses: '201': description: Created MeteringAndBilling plugin content: application/json: schema: $ref: '#/components/schemas/MeteringAndBillingPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Mocking': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginMocking#create operationId: create-mocking-plugin summary: Create a Mocking plugin in a workspace description: Create a Mocking plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/MockingPlugin' responses: '201': description: Created Mocking plugin content: application/json: schema: $ref: '#/components/schemas/MockingPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#MtlsAuth': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginMtlsAuth#create operationId: create-mtlsauth-plugin summary: Create a MtlsAuth plugin in a workspace description: Create a MtlsAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/MtlsAuthPlugin' responses: '201': description: Created MtlsAuth plugin content: application/json: schema: $ref: '#/components/schemas/MtlsAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#OasValidation': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOasValidation#create operationId: create-oasvalidation-plugin summary: Create a OasValidation plugin in a workspace description: Create a OasValidation plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/OasValidationPlugin' responses: '201': description: Created OasValidation plugin content: application/json: schema: $ref: '#/components/schemas/OasValidationPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Oauth2Introspection': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOauth2Introspection#create operationId: create-oauth2introspection-plugin summary: Create a Oauth2Introspection plugin in a workspace description: Create a Oauth2Introspection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/Oauth2IntrospectionPlugin' responses: '201': description: Created Oauth2Introspection plugin content: application/json: schema: $ref: '#/components/schemas/Oauth2IntrospectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Opa': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOpa#create operationId: create-opa-plugin summary: Create a Opa plugin in a workspace description: Create a Opa plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/OpaPlugin' responses: '201': description: Created Opa plugin content: application/json: schema: $ref: '#/components/schemas/OpaPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#OpenidConnect': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOpenidConnect#create operationId: create-openidconnect-plugin summary: Create a OpenidConnect plugin in a workspace description: Create a OpenidConnect plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/OpenidConnectPlugin' responses: '201': description: Created OpenidConnect plugin content: application/json: schema: $ref: '#/components/schemas/OpenidConnectPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Opentelemetry': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginOpentelemetry#create operationId: create-opentelemetry-plugin summary: Create a Opentelemetry plugin in a workspace description: Create a Opentelemetry plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/OpentelemetryPlugin' responses: '201': description: Created Opentelemetry plugin content: application/json: schema: $ref: '#/components/schemas/OpentelemetryPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#PostFunction': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginPostFunction#create operationId: create-postfunction-plugin summary: Create a PostFunction plugin in a workspace description: Create a PostFunction plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PostFunctionPlugin' responses: '201': description: Created PostFunction plugin content: application/json: schema: $ref: '#/components/schemas/PostFunctionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#PreFunction': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginPreFunction#create operationId: create-prefunction-plugin summary: Create a PreFunction plugin in a workspace description: Create a PreFunction plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PreFunctionPlugin' responses: '201': description: Created PreFunction plugin content: application/json: schema: $ref: '#/components/schemas/PreFunctionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Prometheus': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginPrometheus#create operationId: create-prometheus-plugin summary: Create a Prometheus plugin in a workspace description: Create a Prometheus plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PrometheusPlugin' responses: '201': description: Created Prometheus plugin content: application/json: schema: $ref: '#/components/schemas/PrometheusPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#ProxyCache': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginProxyCache#create operationId: create-proxycache-plugin summary: Create a ProxyCache plugin in a workspace description: Create a ProxyCache plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ProxyCachePlugin' responses: '201': description: Created ProxyCache plugin content: application/json: schema: $ref: '#/components/schemas/ProxyCachePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#ProxyCacheAdvanced': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginProxyCacheAdvanced#create operationId: create-proxycacheadvanced-plugin summary: Create a ProxyCacheAdvanced plugin in a workspace description: Create a ProxyCacheAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ProxyCacheAdvancedPlugin' responses: '201': description: Created ProxyCacheAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/ProxyCacheAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#RateLimiting': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRateLimiting#create operationId: create-ratelimiting-plugin summary: Create a RateLimiting plugin in a workspace description: Create a RateLimiting plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RateLimitingPlugin' responses: '201': description: Created RateLimiting plugin content: application/json: schema: $ref: '#/components/schemas/RateLimitingPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#RateLimitingAdvanced': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRateLimitingAdvanced#create operationId: create-ratelimitingadvanced-plugin summary: Create a RateLimitingAdvanced plugin in a workspace description: Create a RateLimitingAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RateLimitingAdvancedPlugin' responses: '201': description: Created RateLimitingAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/RateLimitingAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Redirect': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRedirect#create operationId: create-redirect-plugin summary: Create a Redirect plugin in a workspace description: Create a Redirect plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RedirectPlugin' responses: '201': description: Created Redirect plugin content: application/json: schema: $ref: '#/components/schemas/RedirectPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#RequestCallout': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestCallout#create operationId: create-requestcallout-plugin summary: Create a RequestCallout plugin in a workspace description: Create a RequestCallout plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RequestCalloutPlugin' responses: '201': description: Created RequestCallout plugin content: application/json: schema: $ref: '#/components/schemas/RequestCalloutPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#RequestSizeLimiting': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestSizeLimiting#create operationId: create-requestsizelimiting-plugin summary: Create a RequestSizeLimiting plugin in a workspace description: Create a RequestSizeLimiting plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RequestSizeLimitingPlugin' responses: '201': description: Created RequestSizeLimiting plugin content: application/json: schema: $ref: '#/components/schemas/RequestSizeLimitingPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#RequestTermination': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestTermination#create operationId: create-requesttermination-plugin summary: Create a RequestTermination plugin in a workspace description: Create a RequestTermination plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RequestTerminationPlugin' responses: '201': description: Created RequestTermination plugin content: application/json: schema: $ref: '#/components/schemas/RequestTerminationPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#RequestTransformer': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestTransformer#create operationId: create-requesttransformer-plugin summary: Create a RequestTransformer plugin in a workspace description: Create a RequestTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RequestTransformerPlugin' responses: '201': description: Created RequestTransformer plugin content: application/json: schema: $ref: '#/components/schemas/RequestTransformerPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#RequestTransformerAdvanced': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestTransformerAdvanced#create operationId: create-requesttransformeradvanced-plugin summary: Create a RequestTransformerAdvanced plugin in a workspace description: Create a RequestTransformerAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RequestTransformerAdvancedPlugin' responses: '201': description: Created RequestTransformerAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/RequestTransformerAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#RequestValidator': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRequestValidator#create operationId: create-requestvalidator-plugin summary: Create a RequestValidator plugin in a workspace description: Create a RequestValidator plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RequestValidatorPlugin' responses: '201': description: Created RequestValidator plugin content: application/json: schema: $ref: '#/components/schemas/RequestValidatorPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#ResponseRatelimiting': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginResponseRatelimiting#create operationId: create-responseratelimiting-plugin summary: Create a ResponseRatelimiting plugin in a workspace description: Create a ResponseRatelimiting plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ResponseRatelimitingPlugin' responses: '201': description: Created ResponseRatelimiting plugin content: application/json: schema: $ref: '#/components/schemas/ResponseRatelimitingPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#ResponseTransformer': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginResponseTransformer#create operationId: create-responsetransformer-plugin summary: Create a ResponseTransformer plugin in a workspace description: Create a ResponseTransformer plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ResponseTransformerPlugin' responses: '201': description: Created ResponseTransformer plugin content: application/json: schema: $ref: '#/components/schemas/ResponseTransformerPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#ResponseTransformerAdvanced': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginResponseTransformerAdvanced#create operationId: create-responsetransformeradvanced-plugin summary: Create a ResponseTransformerAdvanced plugin in a workspace description: Create a ResponseTransformerAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ResponseTransformerAdvancedPlugin' responses: '201': description: Created ResponseTransformerAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/ResponseTransformerAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#RouteByHeader': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRouteByHeader#create operationId: create-routebyheader-plugin summary: Create a RouteByHeader plugin in a workspace description: Create a RouteByHeader plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RouteByHeaderPlugin' responses: '201': description: Created RouteByHeader plugin content: application/json: schema: $ref: '#/components/schemas/RouteByHeaderPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#RouteTransformerAdvanced': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginRouteTransformerAdvanced#create operationId: create-routetransformeradvanced-plugin summary: Create a RouteTransformerAdvanced plugin in a workspace description: Create a RouteTransformerAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RouteTransformerAdvancedPlugin' responses: '201': description: Created RouteTransformerAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/RouteTransformerAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Saml': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSaml#create operationId: create-saml-plugin summary: Create a Saml plugin in a workspace description: Create a Saml plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SamlPlugin' responses: '201': description: Created Saml plugin content: application/json: schema: $ref: '#/components/schemas/SamlPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#ServiceProtection': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginServiceProtection#create operationId: create-serviceprotection-plugin summary: Create a ServiceProtection plugin in a workspace description: Create a ServiceProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ServiceProtectionPlugin' responses: '201': description: Created ServiceProtection plugin content: application/json: schema: $ref: '#/components/schemas/ServiceProtectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Session': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSession#create operationId: create-session-plugin summary: Create a Session plugin in a workspace description: Create a Session plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SessionPlugin' responses: '201': description: Created Session plugin content: application/json: schema: $ref: '#/components/schemas/SessionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#SolaceConsume': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSolaceConsume#create operationId: create-solaceconsume-plugin summary: Create a SolaceConsume plugin in a workspace description: Create a SolaceConsume plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SolaceConsumePlugin' responses: '201': description: Created SolaceConsume plugin content: application/json: schema: $ref: '#/components/schemas/SolaceConsumePlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#SolaceLog': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSolaceLog#create operationId: create-solacelog-plugin summary: Create a SolaceLog plugin in a workspace description: Create a SolaceLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SolaceLogPlugin' responses: '201': description: Created SolaceLog plugin content: application/json: schema: $ref: '#/components/schemas/SolaceLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#SolaceUpstream': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSolaceUpstream#create operationId: create-solaceupstream-plugin summary: Create a SolaceUpstream plugin in a workspace description: Create a SolaceUpstream plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SolaceUpstreamPlugin' responses: '201': description: Created SolaceUpstream plugin content: application/json: schema: $ref: '#/components/schemas/SolaceUpstreamPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#StandardWebhooks': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginStandardWebhooks#create operationId: create-standardwebhooks-plugin summary: Create a StandardWebhooks plugin in a workspace description: Create a StandardWebhooks plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/StandardWebhooksPlugin' responses: '201': description: Created StandardWebhooks plugin content: application/json: schema: $ref: '#/components/schemas/StandardWebhooksPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Statsd': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginStatsd#create operationId: create-statsd-plugin summary: Create a Statsd plugin in a workspace description: Create a Statsd plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/StatsdPlugin' responses: '201': description: Created Statsd plugin content: application/json: schema: $ref: '#/components/schemas/StatsdPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#StatsdAdvanced': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginStatsdAdvanced#create operationId: create-statsdadvanced-plugin summary: Create a StatsdAdvanced plugin in a workspace description: Create a StatsdAdvanced plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/StatsdAdvancedPlugin' responses: '201': description: Created StatsdAdvanced plugin content: application/json: schema: $ref: '#/components/schemas/StatsdAdvancedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Syslog': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginSyslog#create operationId: create-syslog-plugin summary: Create a Syslog plugin in a workspace description: Create a Syslog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SyslogPlugin' responses: '201': description: Created Syslog plugin content: application/json: schema: $ref: '#/components/schemas/SyslogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#TcpLog': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginTcpLog#create operationId: create-tcplog-plugin summary: Create a TcpLog plugin in a workspace description: Create a TcpLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/TcpLogPlugin' responses: '201': description: Created TcpLog plugin content: application/json: schema: $ref: '#/components/schemas/TcpLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#TlsHandshakeModifier': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginTlsHandshakeModifier#create operationId: create-tlshandshakemodifier-plugin summary: Create a TlsHandshakeModifier plugin in a workspace description: Create a TlsHandshakeModifier plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/TlsHandshakeModifierPlugin' responses: '201': description: Created TlsHandshakeModifier plugin content: application/json: schema: $ref: '#/components/schemas/TlsHandshakeModifierPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#TlsMetadataHeaders': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginTlsMetadataHeaders#create operationId: create-tlsmetadataheaders-plugin summary: Create a TlsMetadataHeaders plugin in a workspace description: Create a TlsMetadataHeaders plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/TlsMetadataHeadersPlugin' responses: '201': description: Created TlsMetadataHeaders plugin content: application/json: schema: $ref: '#/components/schemas/TlsMetadataHeadersPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#UdpLog': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginUdpLog#create operationId: create-udplog-plugin summary: Create a UdpLog plugin in a workspace description: Create a UdpLog plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UdpLogPlugin' responses: '201': description: Created UdpLog plugin content: application/json: schema: $ref: '#/components/schemas/UdpLogPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#UpstreamOauth': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginUpstreamOauth#create operationId: create-upstreamoauth-plugin summary: Create a UpstreamOauth plugin in a workspace description: Create a UpstreamOauth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpstreamOauthPlugin' responses: '201': description: Created UpstreamOauth plugin content: application/json: schema: $ref: '#/components/schemas/UpstreamOauthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#UpstreamTimeout': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginUpstreamTimeout#create operationId: create-upstreamtimeout-plugin summary: Create a UpstreamTimeout plugin in a workspace description: Create a UpstreamTimeout plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpstreamTimeoutPlugin' responses: '201': description: Created UpstreamTimeout plugin content: application/json: schema: $ref: '#/components/schemas/UpstreamTimeoutPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#VaultAuth': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginVaultAuth#create operationId: create-vaultauth-plugin summary: Create a VaultAuth plugin in a workspace description: Create a VaultAuth plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/VaultAuthPlugin' responses: '201': description: Created VaultAuth plugin content: application/json: schema: $ref: '#/components/schemas/VaultAuthPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#WebsocketSizeLimit': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginWebsocketSizeLimit#create operationId: create-websocketsizelimit-plugin summary: Create a WebsocketSizeLimit plugin in a workspace description: Create a WebsocketSizeLimit plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/WebsocketSizeLimitPlugin' responses: '201': description: Created WebsocketSizeLimit plugin content: application/json: schema: $ref: '#/components/schemas/WebsocketSizeLimitPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#WebsocketValidator': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginWebsocketValidator#create operationId: create-websocketvalidator-plugin summary: Create a WebsocketValidator plugin in a workspace description: Create a WebsocketValidator plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/WebsocketValidatorPlugin' responses: '201': description: Created WebsocketValidator plugin content: application/json: schema: $ref: '#/components/schemas/WebsocketValidatorPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#XmlThreatProtection': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginXmlThreatProtection#create operationId: create-xmlthreatprotection-plugin summary: Create a XmlThreatProtection plugin in a workspace description: Create a XmlThreatProtection plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/XmlThreatProtectionPlugin' responses: '201': description: Created XmlThreatProtection plugin content: application/json: schema: $ref: '#/components/schemas/XmlThreatProtectionPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/plugins#Zipkin': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayPluginZipkin#create operationId: create-zipkin-plugin summary: Create a Zipkin plugin in a workspace description: Create a Zipkin plugin in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ZipkinPlugin' responses: '201': description: Created Zipkin plugin content: application/json: schema: $ref: '#/components/schemas/ZipkinPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Plugins '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/routes': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayRoute#create operationId: create-route summary: Create a new Route in a workspace description: Create a new Route in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the new Route for creation required: true content: application/json: schema: $ref: '#/components/schemas/RouteJson' responses: '201': description: Successfully created Route content: application/json: schema: $ref: '#/components/schemas/RouteJson' '401': $ref: '#/components/responses/HTTP401Error' tags: - Routes '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/routes/{RouteId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayRoute#delete operationId: delete-route summary: Delete a Route in a workspace description: Delete a Route in a workspace parameters: - $ref: '#/components/parameters/RouteId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Route or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Routes get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayRoute#read operationId: get-route summary: Get a Route in a workspace description: Get a Route using ID or name in a workspace. parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched Route content: application/json: schema: $ref: '#/components/schemas/RouteJson' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Routes parameters: - $ref: '#/components/parameters/RouteId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayRoute#update operationId: upsert-route summary: Upsert a Route in a workspace description: Create or Update Route using ID or name in a workspace. parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the Route required: true content: application/json: schema: $ref: '#/components/schemas/RouteJson' responses: '200': description: Successfully upserted Route content: application/json: schema: $ref: '#/components/schemas/RouteJson' '401': $ref: '#/components/responses/HTTP401Error' tags: - Routes '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/routes/{RouteId}#RouteExpression': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayRouteExpression#delete operationId: delete-route-RouteExpression summary: Delete a Route in a workspace description: Delete a Route in a workspace parameters: - $ref: '#/components/parameters/RouteId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Route or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Routes get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayRouteExpression#read operationId: get-route-RouteExpression summary: Get a Route in a workspace description: Get a Route using ID or name in a workspace. parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched Route content: application/json: schema: $ref: '#/components/schemas/RouteExpression' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Routes parameters: - $ref: '#/components/parameters/RouteId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayRouteExpression#update operationId: upsert-route-RouteExpression summary: Upsert a Route in a workspace description: Create or Update Route using ID or name in a workspace. parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the Route required: true content: application/json: schema: $ref: '#/components/schemas/RouteExpression' responses: '200': description: Successfully upserted Route content: application/json: schema: $ref: '#/components/schemas/RouteExpression' '401': $ref: '#/components/responses/HTTP401Error' tags: - Routes '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/routes#RouteExpression': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayRouteExpression#create operationId: create-route-RouteExpression summary: Create a new Route in a workspace description: Create a new Route in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the new Route for creation required: true content: application/json: schema: $ref: '#/components/schemas/RouteExpression' responses: '201': description: Successfully created Route content: application/json: schema: $ref: '#/components/schemas/RouteExpression' '401': $ref: '#/components/responses/HTTP401Error' tags: - Routes '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/services': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayService#create operationId: create-service summary: Create a new Service in a workspace description: Create a new Service in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the new Service for creation required: true content: application/json: schema: $ref: '#/components/schemas/ServiceRequest' responses: '201': description: Successfully created Service content: application/json: schema: $ref: '#/components/schemas/Service' '401': $ref: '#/components/responses/HTTP401Error' tags: - Services '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/services/{ServiceId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayService#delete operationId: delete-service summary: Delete a Service in a workspace description: Delete a Service in a workspace parameters: - $ref: '#/components/parameters/ServiceId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Service or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Services get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayService#read operationId: get-service summary: Get a Service in a workspace description: Get a Service using ID or name in a workspace. parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched Service content: application/json: schema: $ref: '#/components/schemas/Service' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Services parameters: - $ref: '#/components/parameters/ServiceId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayService#update operationId: upsert-service summary: Upsert a Service in a workspace description: Create or Update Service using ID or name in a workspace. parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the Service required: true content: application/json: schema: $ref: '#/components/schemas/ServiceRequest' responses: '200': description: Successfully upserted Service content: application/json: schema: $ref: '#/components/schemas/Service' '401': $ref: '#/components/responses/HTTP401Error' tags: - Services '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/snis': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewaySNI#create operationId: create-sni summary: Create a new SNI in a workspace description: Create a new SNI in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the new SNI for creation required: true content: application/json: schema: $ref: '#/components/schemas/SNI' responses: '201': description: Successfully created SNI content: application/json: schema: $ref: '#/components/schemas/SNI' '401': $ref: '#/components/responses/HTTP401Error' tags: - SNIs '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/snis/{SNIId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewaySNI#delete operationId: delete-sni summary: Delete an SNI in a workspace description: Delete an SNI in a workspace parameters: - $ref: '#/components/parameters/SNIId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted SNI or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - SNIs get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewaySNI#read operationId: get-sni summary: Get an SNI in a workspace description: Get an SNI using ID or name in a workspace. parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched SNI content: application/json: schema: $ref: '#/components/schemas/SNI' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - SNIs parameters: - $ref: '#/components/parameters/SNIId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewaySNI#update operationId: upsert-sni summary: Upsert a SNI in a workspace description: Create or Update SNI using ID or name in a workspace. parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the SNI required: true content: application/json: schema: $ref: '#/components/schemas/SNI' responses: '200': description: Successfully upserted SNI content: application/json: schema: $ref: '#/components/schemas/SNI' '401': $ref: '#/components/responses/HTTP401Error' tags: - SNIs '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/upstreams': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayUpstream#create operationId: create-upstream summary: Create a new Upstream in a workspace description: Create a new Upstream in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the new Upstream for creation required: true content: application/json: schema: $ref: '#/components/schemas/Upstream' responses: '201': description: Successfully created Upstream content: application/json: schema: $ref: '#/components/schemas/Upstream' '401': $ref: '#/components/responses/HTTP401Error' tags: - Upstreams '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/upstreams/{UpstreamId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayUpstream#delete operationId: delete-upstream summary: Delete an Upstream in a workspace description: Delete an Upstream in a workspace parameters: - $ref: '#/components/parameters/UpstreamId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Upstream or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Upstreams get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayUpstream#read operationId: get-upstream summary: Get an Upstream in a workspace description: Get an Upstream using ID or name in a workspace. parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched Upstream content: application/json: schema: $ref: '#/components/schemas/Upstream' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Upstreams parameters: - $ref: '#/components/parameters/UpstreamId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayUpstream#update operationId: upsert-upstream summary: Upsert a Upstream in a workspace description: Create or Update Upstream using ID or name in a workspace. parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the Upstream required: true content: application/json: schema: $ref: '#/components/schemas/Upstream' responses: '200': description: Successfully upserted Upstream content: application/json: schema: $ref: '#/components/schemas/Upstream' '401': $ref: '#/components/responses/HTTP401Error' tags: - Upstreams '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/upstreams/{UpstreamIdForTarget}/targets': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayTarget#create operationId: create-target-with-upstream summary: Create a new Target associated with an Upstream in a workspace description: Create a new Target associated with an Upstream in a workspace parameters: - $ref: '#/components/parameters/UpstreamIdForTarget' - $ref: '#/components/parameters/Workspace' requestBody: description: Description of new Target for creation required: true content: application/json: schema: $ref: '#/components/schemas/TargetWithoutParents' responses: '201': description: Successfully created Target content: application/json: schema: $ref: '#/components/schemas/Target' tags: - Targets '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/upstreams/{UpstreamIdForTarget}/targets/{TargetId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayTarget#delete operationId: delete-target-with-upstream summary: Delete a a Target associated with an Upstream in a workspace description: Delete a a Target associated with an Upstream using ID or target in a workspace. parameters: - $ref: '#/components/parameters/UpstreamIdForTarget' - $ref: '#/components/parameters/TargetId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Target or the resource didn't exist tags: - Targets get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayTarget#read operationId: get-target-with-upstream summary: Get a Target associated with an Upstream in a workspace description: Get a Target associated with an Upstream using ID or target in a workspace. parameters: - $ref: '#/components/parameters/UpstreamIdForTarget' - $ref: '#/components/parameters/TargetId' - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched Target content: application/json: schema: $ref: '#/components/schemas/Target' '404': description: Resource does not exist tags: - Targets parameters: - $ref: '#/components/parameters/controlPlaneId' '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/vaults': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayVault#create operationId: create-vault summary: Create a new Vault in a workspace description: Create a new Vault in a workspace parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the new Vault for creation required: true content: application/json: schema: $ref: '#/components/schemas/Vault' responses: '201': description: Successfully created Vault content: application/json: schema: $ref: '#/components/schemas/Vault' '401': $ref: '#/components/responses/HTTP401Error' tags: - Vaults '/v2/control-planes/{controlPlaneId}/core-entities/{workspace}/vaults/{VaultId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayVault#delete operationId: delete-vault summary: Delete a Vault in a workspace description: Delete a Vault in a workspace parameters: - $ref: '#/components/parameters/VaultId' - $ref: '#/components/parameters/Workspace' responses: '204': description: Successfully deleted Vault or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Vaults get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayVault#read operationId: get-vault summary: Get a Vault in a workspace description: Get a Vault using ID or prefix in a workspace. parameters: - $ref: '#/components/parameters/Workspace' responses: '200': description: Successfully fetched Vault content: application/json: schema: $ref: '#/components/schemas/Vault' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Vaults parameters: - $ref: '#/components/parameters/VaultId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayVault#update operationId: upsert-vault summary: Upsert a Vault in a workspace description: Create or Update Vault using ID or prefix in a workspace. parameters: - $ref: '#/components/parameters/Workspace' requestBody: description: Description of the Vault required: true content: application/json: schema: $ref: '#/components/schemas/Vault' responses: '200': description: Successfully upserted Vault content: application/json: schema: $ref: '#/components/schemas/Vault' '401': $ref: '#/components/responses/HTTP401Error' tags: - Vaults '/v2/control-planes/{controlPlaneId}/core-entities/ca_certificates': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayCACertificate#create operationId: create-ca_certificate summary: Create a new CA Certificate description: Create a new CA Certificate requestBody: description: Description of the new CA Certificate for creation required: true content: application/json: schema: $ref: '#/components/schemas/CACertificate' responses: '201': description: Successfully created CA Certificate content: application/json: schema: $ref: '#/components/schemas/CACertificate' '401': $ref: '#/components/responses/HTTP401Error' tags: - CA Certificates '/v2/control-planes/{controlPlaneId}/core-entities/ca_certificates/{CACertificateId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayCACertificate#delete operationId: delete-ca_certificate summary: Delete a CA Certificate description: Delete a CA Certificate parameters: - $ref: '#/components/parameters/CACertificateId' responses: '204': description: Successfully deleted CA Certificate or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - CA Certificates get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayCACertificate#read operationId: get-ca_certificate summary: Get a CA Certificate description: Get a CA Certificate using ID. responses: '200': description: Successfully fetched CA Certificate content: application/json: schema: $ref: '#/components/schemas/CACertificate' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - CA Certificates parameters: - $ref: '#/components/parameters/CACertificateId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayCACertificate#update operationId: upsert-ca_certificate summary: Upsert a CA Certificate description: Create or Update CA Certificate using ID. requestBody: description: Description of the CA Certificate required: true content: application/json: schema: $ref: '#/components/schemas/CACertificate' responses: '200': description: Successfully upserted CA Certificate content: application/json: schema: $ref: '#/components/schemas/CACertificate' '401': $ref: '#/components/responses/HTTP401Error' tags: - CA Certificates '/v2/control-planes/{controlPlaneId}/core-entities/cloned-plugins': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayClonedPlugin#create operationId: create-cloned-plugin summary: Create a new Cloned Plugin description: Create a new Cloned Plugin requestBody: description: Description of the new Cloned Plugin for creation required: true content: application/json: schema: $ref: '#/components/schemas/ClonedPlugin' responses: '201': description: Successfully created Cloned Plugin content: application/json: schema: $ref: '#/components/schemas/ClonedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Cloned Plugins '/v2/control-planes/{controlPlaneId}/core-entities/cloned-plugins/{ClonedPluginId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayClonedPlugin#delete operationId: delete-cloned-plugin summary: Delete a Cloned Plugin description: Delete a Cloned Plugin parameters: - $ref: '#/components/parameters/ClonedPluginId' responses: '204': description: Successfully deleted Cloned Plugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - Cloned Plugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayClonedPlugin#read operationId: get-cloned-plugin summary: Get a Cloned Plugin description: Get a Cloned Plugin using ID or name. responses: '200': description: Successfully fetched Cloned Plugin content: application/json: schema: $ref: '#/components/schemas/ClonedPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - Cloned Plugins parameters: - $ref: '#/components/parameters/ClonedPluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayClonedPlugin#update operationId: upsert-cloned-plugin summary: Upsert a Cloned Plugin description: Create or Update Cloned Plugin using ID or name. requestBody: description: Description of the Cloned Plugin required: true content: application/json: schema: $ref: '#/components/schemas/ClonedPlugin' responses: '200': description: Successfully upserted Cloned Plugin content: application/json: schema: $ref: '#/components/schemas/ClonedPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - Cloned Plugins '/v2/control-planes/{controlPlaneId}/core-entities/custom-plugins': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayCustomPluginStreaming#create operationId: create-custom-plugin summary: Create a new CustomPlugin description: Create a new CustomPlugin requestBody: description: Description of the new CustomPlugin for creation required: true content: application/json: schema: $ref: '#/components/schemas/CustomPlugin' responses: '201': description: Successfully created CustomPlugin content: application/json: schema: $ref: '#/components/schemas/CustomPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - CustomPlugins '/v2/control-planes/{controlPlaneId}/core-entities/custom-plugins/{CustomPluginId}': delete: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayCustomPluginStreaming#delete operationId: delete-custom-plugin summary: Delete a CustomPlugin description: Delete a CustomPlugin parameters: - $ref: '#/components/parameters/CustomPluginId' responses: '204': description: Successfully deleted CustomPlugin or the resource didn't exist '401': $ref: '#/components/responses/HTTP401Error' tags: - CustomPlugins get: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayCustomPluginStreaming#read operationId: get-custom-plugin summary: Get a CustomPlugin description: Get a CustomPlugin using ID or name. responses: '200': description: Successfully fetched CustomPlugin content: application/json: schema: $ref: '#/components/schemas/CustomPlugin' '401': $ref: '#/components/responses/HTTP401Error' '404': description: Resource does not exist tags: - CustomPlugins parameters: - $ref: '#/components/parameters/CustomPluginId' - $ref: '#/components/parameters/controlPlaneId' put: x-speakeasy-entity-operation: terraform-datasource: null terraform-resource: GatewayCustomPluginStreaming#update operationId: upsert-custom-plugin summary: Upsert a CustomPlugin description: Create or Update CustomPlugin using ID or name. requestBody: description: Description of the CustomPlugin required: true content: application/json: schema: $ref: '#/components/schemas/CustomPlugin' responses: '200': description: Successfully upserted CustomPlugin content: application/json: schema: $ref: '#/components/schemas/CustomPlugin' '401': $ref: '#/components/responses/HTTP401Error' tags: - CustomPlugins '/v2/control-planes/{controlPlaneId}/core-entities/plugin-schemas': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-resource: GatewayCustomPluginSchema#create terraform-datasource: null operationId: create-plugin-schemas summary: Upload custom plugin schema description: Upload a custom plugin schema associated with a control plane. requestBody: $ref: '#/components/requestBodies/create-plugin-schemas' responses: '201': $ref: '#/components/responses/plugin-schemas' '400': $ref: '#/components/responses/KonnectCPLegacyBadRequest' '401': $ref: '#/components/responses/KonnectCPLegacyUnauthorized' '403': $ref: '#/components/responses/KonnectCPLegacyForbidden' '409': $ref: '#/components/responses/KonnectCPLegacyConflict' tags: - Custom Plugin Schemas '/v2/control-planes/{controlPlaneId}/core-entities/plugin-schemas/{name}': parameters: - $ref: '#/components/parameters/controlPlaneId' - name: name in: path description: The custom plugin name required: true schema: type: string example: myplugin get: x-speakeasy-entity-operation: terraform-resource: GatewayCustomPluginSchema#read terraform-datasource: null operationId: get-plugin-schema summary: Get a custom plugin schema description: Returns information about a custom plugin from a given name. responses: '200': $ref: '#/components/responses/plugin-schemas' '401': $ref: '#/components/responses/KonnectCPLegacyUnauthorized' '403': $ref: '#/components/responses/KonnectCPLegacyForbidden' '404': $ref: '#/components/responses/KonnectCPLegacyNotFound' tags: - Custom Plugin Schemas delete: x-speakeasy-entity-operation: terraform-resource: GatewayCustomPluginSchema#delete terraform-datasource: null operationId: delete-plugin-schemas summary: Delete custom plugin schema description: Delete an individual custom plugin schema. responses: '204': description: No Content '401': $ref: '#/components/responses/KonnectCPLegacyUnauthorized' '403': $ref: '#/components/responses/KonnectCPLegacyForbidden' '404': $ref: '#/components/responses/KonnectCPLegacyNotFound' tags: - Custom Plugin Schemas put: x-speakeasy-entity-operation: terraform-resource: GatewayCustomPluginSchema#update terraform-datasource: null operationId: update-plugin-schemas summary: Create or update a custom plugin schema description: Create or update an individual custom plugin schema. requestBody: $ref: '#/components/requestBodies/create-plugin-schemas' responses: '200': $ref: '#/components/responses/plugin-schemas' '400': $ref: '#/components/responses/KonnectCPLegacyBadRequest' '401': $ref: '#/components/responses/KonnectCPLegacyUnauthorized' '403': $ref: '#/components/responses/KonnectCPLegacyForbidden' '404': $ref: '#/components/responses/KonnectCPLegacyNotFound' tags: - Custom Plugin Schemas '/v2/control-planes/{controlPlaneId}/core-entities/schemas/plugins/{pluginName}': get: operationId: fetch-plugin-schema summary: Get plugin schema description: Get the schema for a plugin responses: '200': $ref: '#/components/responses/GetPluginSchemaResponse' tags: - Plugins x-keep-sdk: true parameters: - name: pluginName in: path description: The name of the plugin required: true schema: type: string - $ref: '#/components/parameters/controlPlaneId' '/v2/control-planes/{controlPlaneId}/core-entities/workspaces': parameters: - name: controlPlaneId in: path description: ID of a control plane required: true schema: type: string format: uuid x-speakeasy-param-force-new: true post: x-speakeasy-entity-operation: terraform-resource: GatewayWorkspace#create terraform-datasource: null operationId: create-workspace summary: Create a Workspace requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateWorkspaceRequest' responses: '201': $ref: '#/components/responses/CreateWorkspaceResponse' '400': $ref: '#/components/responses/KonnectCPLegacyBadRequest' '401': $ref: '#/components/responses/KonnectCPLegacyUnauthorized' '403': $ref: '#/components/responses/KonnectCPLegacyForbidden' '404': $ref: '#/components/responses/KonnectCPLegacyNotFound' '409': $ref: '#/components/responses/KonnectCPLegacyConflict' '500': $ref: '#/components/responses/Internal' '501': $ref: '#/components/responses/NotImplemented' tags: - Workspaces '/v2/control-planes/{controlPlaneId}/core-entities/workspaces/{workspaceIdOrName}': parameters: - name: controlPlaneId in: path description: ID of a control plane required: true schema: type: string format: uuid x-speakeasy-param-force-new: true - name: workspaceIdOrName in: path description: ID or name of the workspace to retreive required: true schema: type: string example: 2747d1e5-8246-4f65-a939-b392f1ee17f8 x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: GatewayWorkspace#read terraform-datasource: null operationId: get-workspace summary: Get a Workspace description: Get a Workspace using ID or name. responses: '200': $ref: '#/components/responses/RetrieveWorkspaceResponse' '400': $ref: '#/components/responses/KonnectCPLegacyBadRequest' '401': $ref: '#/components/responses/KonnectCPLegacyUnauthorized' '403': $ref: '#/components/responses/KonnectCPLegacyForbidden' '404': $ref: '#/components/responses/KonnectCPLegacyNotFound' '500': $ref: '#/components/responses/Internal' '501': $ref: '#/components/responses/NotImplemented' '503': $ref: '#/components/responses/ServiceUnavailable' tags: - Workspaces delete: x-speakeasy-entity-operation: terraform-resource: GatewayWorkspace#delete terraform-datasource: null operationId: delete-workspace summary: Delete a Workspace description: Delete an individual workspace. responses: '204': description: No Content '400': $ref: '#/components/responses/KonnectCPLegacyBadRequest' '401': $ref: '#/components/responses/KonnectCPLegacyUnauthorized' '403': $ref: '#/components/responses/KonnectCPLegacyForbidden' '404': $ref: '#/components/responses/KonnectCPLegacyNotFound' '500': $ref: '#/components/responses/Internal' '501': $ref: '#/components/responses/NotImplemented' '503': $ref: '#/components/responses/ServiceUnavailable' tags: - Workspaces put: x-speakeasy-entity-operation: terraform-resource: GatewayWorkspace#update terraform-datasource: null operationId: upsert-workspace summary: Upsert a Workspace description: Create or Update Workspace using ID or name. requestBody: description: Description of the Workspace required: true content: application/json: schema: $ref: '#/components/schemas/Workspace' responses: '200': description: Successfully upserted Workspace content: application/json: schema: $ref: '#/components/schemas/Workspace' '400': $ref: '#/components/responses/KonnectCPLegacyBadRequest' '401': $ref: '#/components/responses/KonnectCPLegacyUnauthorized' '403': $ref: '#/components/responses/KonnectCPLegacyForbidden' '404': $ref: '#/components/responses/KonnectCPLegacyNotFound' '409': $ref: '#/components/responses/KonnectCPLegacyConflict' '500': $ref: '#/components/responses/Internal' '501': $ref: '#/components/responses/NotImplemented' '503': $ref: '#/components/responses/ServiceUnavailable' tags: - Workspaces '/v2/control-planes/{controlPlaneId}/dp-client-certificates': parameters: - $ref: '#/components/parameters/controlPlaneId' post: x-speakeasy-entity-operation: terraform-resource: GatewayDataPlaneClientCertificate#create terraform-datasource: null operationId: create-dataplane-certificate summary: Pin New DP Client Certificate description: Pin a new DP Client Certificate to this control plane. A pinned dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this control plane. requestBody: $ref: '#/components/requestBodies/DataPlaneClientCertificateRequest' responses: '201': $ref: '#/components/responses/DataPlaneClientCertificateResponse' '400': $ref: '#/components/responses/KonnectCPLegacyBadRequest' '401': $ref: '#/components/responses/KonnectCPLegacyUnauthorized' '403': $ref: '#/components/responses/KonnectCPLegacyForbidden' '404': $ref: '#/components/responses/KonnectCPLegacyNotFound' tags: - DP Certificates '/v2/control-planes/{controlPlaneId}/dp-client-certificates/{certificateId}': parameters: - $ref: '#/components/parameters/controlPlaneId' - $ref: '#/components/parameters/DataPlaneCertificateId' get: x-speakeasy-entity-operation: terraform-resource: GatewayDataPlaneClientCertificate#read terraform-datasource: null operationId: get-dataplane-certificate summary: Get a DP Client Certificate description: Retrieve a pinned dataplane client certificate associated to this control plane. A pinned dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this control plane. responses: '200': $ref: '#/components/responses/DataPlaneClientCertificateResponse' '401': $ref: '#/components/responses/KonnectCPLegacyUnauthorized' '403': $ref: '#/components/responses/KonnectCPLegacyForbidden' '404': $ref: '#/components/responses/KonnectCPLegacyNotFound' tags: - DP Certificates put: x-speakeasy-entity-operation: terraform-resource: GatewayDataPlaneClientCertificate#update terraform-datasource: null operationId: update-dataplane-certificate summary: Update DP Client Certificate description: Update a DP Client Certificate for this control plane. A dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this control plane. requestBody: $ref: '#/components/requestBodies/DataPlaneClientCertificateRequest' responses: '200': $ref: '#/components/responses/DataPlaneClientCertificateResponse' '400': $ref: '#/components/responses/KonnectCPLegacyBadRequest' '401': $ref: '#/components/responses/KonnectCPLegacyUnauthorized' '403': $ref: '#/components/responses/KonnectCPLegacyForbidden' '404': $ref: '#/components/responses/KonnectCPLegacyNotFound' tags: - DP Certificates delete: x-speakeasy-entity-operation: terraform-resource: GatewayDataPlaneClientCertificate#delete terraform-datasource: null operationId: delete-dataplane-certificate summary: Delete DP Client Certificate description: Remove a pinned dataplane client certificate associated to this control plane. Removing a pinned dataplane certificate would invalidate any dataplanes currently connected to this control plane using this certificate. responses: '204': description: No Content '401': $ref: '#/components/responses/KonnectCPLegacyUnauthorized' '403': $ref: '#/components/responses/KonnectCPLegacyForbidden' '404': $ref: '#/components/responses/KonnectCPLegacyNotFound' tags: - DP Certificates '/v2/control-planes/{controlPlaneId}/group-memberships/add': parameters: - name: controlPlaneId in: path description: ID of a control plane group required: true schema: type: string x-speakeasy-name-override: id post: x-speakeasy-entity-operation: terraform-resource: GatewayControlPlaneMembership#create terraform-datasource: null operationId: post-control-planes-id-group-memberships-add summary: Add Control Plane Group Members description: Adds one or more control planes as a member of a control plane group. requestBody: $ref: '#/components/requestBodies/GroupMembershipAdd' responses: '204': description: No Content '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/Internal' '503': $ref: '#/components/responses/ServiceUnavailable' tags: - Control Plane Groups '/v2/control-planes/{controlPlaneId}/group-memberships/remove': parameters: - name: controlPlaneId in: path description: ID of a control plane group required: true schema: type: string x-speakeasy-name-override: id post: x-speakeasy-entity-operation: terraform-resource: GatewayControlPlaneMembership#delete terraform-datasource: null operationId: post-control-planes-id-group-memberships-remove summary: Remove Control Plane Group Members description: Removes one or more control planes from the members of a control plane group. requestBody: $ref: '#/components/requestBodies/GroupMembershipRemove' responses: '204': description: No Content '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/Internal' '503': $ref: '#/components/responses/ServiceUnavailable' tags: - Control Plane Groups /v2/dcr-providers: post: x-speakeasy-entity-operation: terraform-resource: DcrProvider#create terraform-datasource: null operationId: create-dcr-provider summary: Create DCR provider description: Creates a DCR provider. requestBody: $ref: '#/components/requestBodies/CreateDcrProvider' responses: '201': $ref: '#/components/responses/CreateDcrProvider' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - DCR Providers '/v2/dcr-providers/{dcrProviderId}': parameters: - name: dcrProviderId in: path description: DCR provider identifier required: true schema: $ref: '#/components/schemas/UUID' x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: DcrProvider#read terraform-datasource: null operationId: get-dcr-provider summary: Get a DCR provider description: Returns a DCR provider. responses: '200': $ref: '#/components/responses/GetDcrProvider' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - DCR Providers patch: x-speakeasy-entity-operation: terraform-resource: DcrProvider#update terraform-datasource: null operationId: update-dcr-provider summary: Update DCR provider description: Updates a DCR provider. requestBody: $ref: '#/components/requestBodies/UpdateDcrProvider' responses: '200': $ref: '#/components/responses/GetDcrProvider' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - DCR Providers delete: x-speakeasy-entity-operation: terraform-resource: DcrProvider#delete terraform-datasource: null operationId: delete-dcr-provider summary: Delete DCR provider description: Deletes a DCR provider. responses: '204': description: No Content. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - DCR Providers /v2/directories: post: x-speakeasy-entity-operation: terraform-resource: IdentityDirectory#create terraform-datasource: null operationId: createDirectory summary: Create a new Directory description: | Creates a new directory for grouping principals around an organizational identity boundary. Directories can be configured with metadata, labels, and control plane access restrictions. requestBody: $ref: '#/components/requestBodies/CreateDirectoryRequest' responses: '201': $ref: '#/components/responses/KongDirectoryResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' tags: - Kong Identity Directories '/v2/directories/{directoryId}': parameters: - $ref: '#/components/parameters/IdentityDirectoryIdMatchingParam' put: x-speakeasy-entity-operation: terraform-resource: IdentityDirectory#update terraform-datasource: null operationId: replaceDirectory summary: Replace a Directory description: | Completely replaces an existing directory with the provided data. All fields must be specified; any omitted fields will be reset to their defaults. requestBody: $ref: '#/components/requestBodies/ReplaceDirectoryRequest' responses: '200': $ref: '#/components/responses/KongDirectoryResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' tags: - Kong Identity Directories get: x-speakeasy-entity-operation: terraform-resource: IdentityDirectory#read terraform-datasource: null operationId: getDirectory summary: Get a Directory description: Retrieves detailed information about a specific directory by its ID. responses: '200': $ref: '#/components/responses/KongDirectoryResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Kong Identity Directories delete: x-speakeasy-entity-operation: terraform-resource: IdentityDirectory#delete terraform-datasource: null operationId: deleteDirectory summary: Delete a Directory description: | Deletes a directory and optionally all its associated resources (principals, keys, etc.). Use the force parameter to control deletion behavior when dependencies exist. parameters: - name: force in: query description: 'If true, delete the specified directory and all its associated resources. If false, only allow deletion if no clients, scopes or claims are associated with the auth server.' schema: type: string default: 'false' enum: - 'true' - 'false' x-speakeasy-name-override: force_destroy responses: '204': description: Success '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Kong Identity Directories '/v2/directories/{directoryId}/groups': parameters: - $ref: '#/components/parameters/directoryId' post: x-speakeasy-entity-operation: terraform-resource: IdentityGroup#create terraform-datasource: null operationId: createGroup summary: Create a Group in a Directory description: | Creates a new group within the specified directory. Groups organize principals, or other groups, for authorization purposes. `name` must be unique within the directory; creating a group with a `name` already in use returns 409. requestBody: $ref: '#/components/requestBodies/CreateGroupRequest' responses: '201': $ref: '#/components/responses/KongGroupResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - PrincipalGroup '/v2/directories/{directoryId}/groups/{groupId}': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/IdentityGroupIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: IdentityGroup#read terraform-datasource: null operationId: getGroup summary: Get a Group description: Retrieves detailed information about a specific group by its ID. responses: '200': $ref: '#/components/responses/KongGroupResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - PrincipalGroup put: x-speakeasy-entity-operation: terraform-resource: IdentityGroup#update terraform-datasource: null operationId: replaceGroup summary: Replace a Group description: | Completely replaces an existing group with the provided data. All fields must be specified; any omitted fields will be reset to their defaults. `name` must be unique within the directory; replacing a group with a `name` already used by another group returns 409. requestBody: $ref: '#/components/requestBodies/ReplaceGroupRequest' responses: '200': $ref: '#/components/responses/KongGroupResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - PrincipalGroup delete: x-speakeasy-entity-operation: terraform-resource: IdentityGroup#delete terraform-datasource: null operationId: deleteGroup summary: Delete a Group description: | Permanently deletes a group from the directory. responses: '204': description: Success '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - PrincipalGroup '/v2/directories/{directoryId}/groups/{groupId}/api-keys': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/groupId' post: x-speakeasy-entity-operation: terraform-resource: IdentityGroupAPIKey#create terraform-datasource: null operationId: create-group-key summary: Create a group API key description: | Creates a new API key for the specified group. Keys can be system-generated (v1) or imported with a custom secret, and may have an optional expiration date. requestBody: $ref: '#/components/requestBodies/CreateKeyRequest' responses: '201': $ref: '#/components/responses/KongPrincipalCreateKeyResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - PrincipalGroup '/v2/directories/{directoryId}/groups/{groupId}/api-keys/{apiKeyId}': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/groupId' - $ref: '#/components/parameters/IdentityAPIKeyIdMatchingParam' patch: x-speakeasy-entity-operation: terraform-resource: IdentityGroupAPIKey#update terraform-datasource: null operationId: update-group-key summary: Update a group API key description: | Partially updates an existing API key's metadata. Note: The key secret cannot be modified after creation. requestBody: $ref: '#/components/requestBodies/UpdateKeyRequest' responses: '200': $ref: '#/components/responses/KongPrincipalKeyResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - PrincipalGroup get: x-speakeasy-entity-operation: terraform-resource: IdentityGroupAPIKey#read terraform-datasource: null operationId: get-group-key summary: Get a group API key description: | Retrieves detailed information about a specific API key. Note: The key secret is not returned; it is only available when the key is first created. responses: '200': $ref: '#/components/responses/KongPrincipalKeyResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - PrincipalGroup delete: x-speakeasy-entity-operation: terraform-resource: IdentityGroupAPIKey#delete terraform-datasource: null operationId: delete-group-key summary: Delete an API key description: | Permanently deletes an API key, immediately revoking its access. This operation cannot be undone. responses: '204': description: Success '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - PrincipalGroup '/v2/directories/{directoryId}/groups/{groupId}/membership': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/groupId' post: x-speakeasy-entity-operation: terraform-resource: IdentityGroupMembership#create terraform-datasource: null operationId: createGroupMembershipEntry summary: Add a member to a Group description: | Adds a single member, either a principal or another group, to a group's membership. requestBody: $ref: '#/components/requestBodies/CreateGroupMembershipEntryRequest' responses: '201': $ref: '#/components/responses/KongGroupMembershipEntryResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - PrincipalGroup '/v2/directories/{directoryId}/groups/{groupId}/membership/{groupMembershipId}': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/groupId' - $ref: '#/components/parameters/IdentityGroupMembershipIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: IdentityGroupMembership#read terraform-datasource: null operationId: getGroupMembershipEntry summary: Get a Group membership entry description: Retrieves a specific group membership entry by the member's ID. responses: '200': $ref: '#/components/responses/KongGroupMembershipEntryResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - PrincipalGroup delete: x-speakeasy-entity-operation: terraform-resource: IdentityGroupMembership#delete terraform-datasource: null operationId: deleteGroupMembershipEntry summary: Remove a member from a Group description: | Removes a single member, either a principal or another group, from a group's membership. responses: '204': description: Success '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - PrincipalGroup '/v2/directories/{directoryId}/principals': parameters: - $ref: '#/components/parameters/directoryId' post: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipal#create terraform-datasource: null operationId: createPrincipal summary: Create a Principal in a Directory description: | Creates a new principal identity within the specified directory. Principals can be configured with metadata and labels for organizational purposes. requestBody: $ref: '#/components/requestBodies/CreatePrincipalRequest' responses: '201': $ref: '#/components/responses/KongPrincipalResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - KongPrincipal '/v2/directories/{directoryId}/principals/{principalId}': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/IdentityPrincipalIdMatchingParam' put: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipal#update terraform-datasource: null operationId: replacePrincipal summary: Replace a Principal description: | Completely replaces an existing principal with the provided data. All fields must be specified; any omitted fields will be reset to their defaults. requestBody: $ref: '#/components/requestBodies/ReplacePrincipalRequest' responses: '200': $ref: '#/components/responses/KongPrincipalResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' tags: - KongPrincipal get: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipal#read terraform-datasource: null operationId: getPrincipal summary: Get a Principal description: Retrieves detailed information about a specific principal by its ID. responses: '200': $ref: '#/components/responses/KongPrincipalResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - KongPrincipal delete: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipal#delete terraform-datasource: null operationId: deletePrincipal summary: Delete a Principal description: | Permanently deletes a principal from the directory. responses: '204': description: Success '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - KongPrincipal '/v2/directories/{directoryId}/principals/{principalId}/api-keys': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/principalId' post: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalAPIKey#create terraform-datasource: null operationId: create-principal-key summary: Create a principal API key description: | Creates a new API key for the specified principal. Keys can be system-generated (v1) or imported with a custom secret, and may have an optional expiration date. requestBody: $ref: '#/components/requestBodies/CreateKeyRequest' responses: '201': $ref: '#/components/responses/KongPrincipalCreateKeyResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' tags: - KongPrincipalCredential '/v2/directories/{directoryId}/principals/{principalId}/api-keys/{apiKeyId}': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/principalId' - $ref: '#/components/parameters/IdentityAPIKeyIdMatchingParam' patch: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalAPIKey#update terraform-datasource: null operationId: update-principal-key summary: Update a principal API key description: | Partially updates an existing API key's metadata. Note: The key secret cannot be modified after creation. requestBody: $ref: '#/components/requestBodies/UpdateKeyRequest' responses: '200': $ref: '#/components/responses/KongPrincipalKeyResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' tags: - KongPrincipalCredential get: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalAPIKey#read terraform-datasource: null operationId: get-identity-key summary: Get a principal API key description: | Retrieves detailed information about a specific API key. Note: The key secret is not returned; it is only available when the key is first created. responses: '200': $ref: '#/components/responses/KongPrincipalKeyResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - KongPrincipalCredential delete: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalAPIKey#delete terraform-datasource: null operationId: delete-principal-key summary: Delete an API key description: | Permanently deletes an API key, immediately revoking its access. This operation cannot be undone. responses: '204': description: Success '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - KongPrincipalCredential '/v2/directories/{directoryId}/principals/{principalId}/basic-auths': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/principalId' post: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalBasicAuth#create terraform-datasource: null operationId: create-principal-basic-auth summary: Create a basic auth credential description: | Creates a new basic auth credential for the specified principal. requestBody: $ref: '#/components/requestBodies/CreateBasicAuthRequest' responses: '201': $ref: '#/components/responses/KongBasicAuthResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' tags: - KongPrincipalCredential '/v2/directories/{directoryId}/principals/{principalId}/basic-auths/{basicAuthId}': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/principalId' - $ref: '#/components/parameters/IdentityPrincipalBasicAuthIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalBasicAuth#read terraform-datasource: null operationId: get-principal-basic-auth summary: Get a basic auth credential description: | Retrieves a specific basic auth credential by ID. responses: '200': $ref: '#/components/responses/KongBasicAuthResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - KongPrincipalCredential put: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalBasicAuth#update terraform-datasource: null operationId: replace-principal-basic-auth summary: Replace a basic auth credential description: | Fully replaces an existing basic auth credential with the provided values. requestBody: $ref: '#/components/requestBodies/ReplaceBasicAuthRequest' responses: '200': $ref: '#/components/responses/KongBasicAuthResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - KongPrincipalCredential delete: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalBasicAuth#delete terraform-datasource: null operationId: delete-principal-basic-auth summary: Delete a basic auth credential description: | Permanently deletes a basic auth credential and all associated passwords. This operation cannot be undone. responses: '204': description: Success '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - KongPrincipalCredential '/v2/directories/{directoryId}/principals/{principalId}/basic-auths/{basicAuthId}/passwords': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/principalId' - $ref: '#/components/parameters/basicAuthId' post: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalBasicAuthPassword#create terraform-datasource: null operationId: createPassword summary: Create a password for a basic auth credential description: | Creates a new password for the specified basic auth credential. The password value is only returned on creation and cannot be retrieved again. requestBody: $ref: '#/components/requestBodies/CreatePasswordRequest' responses: '201': $ref: '#/components/responses/KongPasswordCreateResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' tags: - KongPrincipalCredential '/v2/directories/{directoryId}/principals/{principalId}/basic-auths/{basicAuthId}/passwords/{passwordId}': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/principalId' - $ref: '#/components/parameters/basicAuthId' - $ref: '#/components/parameters/IdentityPrincipalBasicAuthPasswordIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalBasicAuthPassword#read terraform-datasource: null operationId: getPassword summary: Get a password description: | Retrieves a specific password by ID. The password value is not returned. responses: '200': $ref: '#/components/responses/KongPasswordResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - KongPrincipalCredential put: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalBasicAuthPassword#update terraform-datasource: null operationId: replacePassword summary: Replace a password description: | Fully replaces an existing password with the provided values. requestBody: $ref: '#/components/requestBodies/ReplacePasswordRequest' responses: '200': $ref: '#/components/responses/KongPasswordResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - KongPrincipalCredential delete: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalBasicAuthPassword#delete terraform-datasource: null operationId: deletePassword summary: Delete a password description: | Permanently deletes a password, immediately revoking its access. This operation cannot be undone. responses: '204': description: Success '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - KongPrincipalCredential '/v2/directories/{directoryId}/principals/{principalId}/identities': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/principalId' post: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalIdentity#create terraform-datasource: null operationId: createIdentity summary: Create an identity for a principal description: | Creates a new identity association for the specified principal. requestBody: $ref: '#/components/requestBodies/CreatePrincipalIdentityRequest' responses: '201': $ref: '#/components/responses/KongPrincipalIdentityResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - KongPrincipalIdentity '/v2/directories/{directoryId}/principals/{principalId}/identities/{identityId}': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/principalId' - $ref: '#/components/parameters/IdentityPrincipalIdentityIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalIdentity#read terraform-datasource: null operationId: getIdentity summary: Get an identity description: Retrieves detailed information about a specific principal identity by its ID. responses: '200': $ref: '#/components/responses/KongPrincipalIdentityResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - KongPrincipalIdentity put: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalIdentity#update terraform-datasource: null operationId: replaceIdentity summary: Replace an identity description: | Completely replaces an existing principal identity with the provided data. All fields must be specified; any omitted fields will be reset to their defaults. requestBody: $ref: '#/components/requestBodies/ReplacePrincipalIdentityRequest' responses: '200': $ref: '#/components/responses/KongPrincipalIdentityResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - KongPrincipalIdentity delete: x-speakeasy-entity-operation: terraform-resource: IdentityPrincipalIdentity#delete terraform-datasource: null operationId: deleteIdentity summary: Delete an identity description: | Permanently deletes an identity association from the principal. This operation cannot be undone. responses: '204': description: Success '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - KongPrincipalIdentity '/v2/directories/{directoryId}/trusted-idps': parameters: - $ref: '#/components/parameters/directoryId' post: x-speakeasy-entity-operation: terraform-resource: IdentityTrustedIdp#create terraform-datasource: null operationId: createTrustedIdp summary: Create a new trusted IdP description: | Create a trusted IdP for a given directory. The `issuer_url` must be unique within the directory. requestBody: $ref: '#/components/requestBodies/CreateTrustedIdpRequest' responses: '201': $ref: '#/components/responses/TrustedIdpResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Trusted IdPs '/v2/directories/{directoryId}/trusted-idps/{trustedIdpId}': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/IdentityTrustedIdpIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: IdentityTrustedIdp#read terraform-datasource: null operationId: getTrustedIdp summary: Get a trusted IdP description: Get a trusted IdP for a directory. responses: '200': $ref: '#/components/responses/TrustedIdpResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Trusted IdPs put: x-speakeasy-entity-operation: terraform-resource: IdentityTrustedIdp#update terraform-datasource: null operationId: updateTrustedIdp summary: Update a trusted IdP description: | Replace a trusted IdP for a given directory. The request body is the full representation; omitted optional fields are reset to their defaults. requestBody: $ref: '#/components/requestBodies/ReplaceTrustedIdpRequest' responses: '200': $ref: '#/components/responses/TrustedIdpResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Trusted IdPs delete: x-speakeasy-entity-operation: terraform-resource: IdentityTrustedIdp#delete terraform-datasource: null operationId: deleteTrustedIdp summary: Delete a trusted IdP description: Delete a trusted IdP for a given directory. responses: '204': description: Success '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Trusted IdPs '/v2/directories/{directoryId}/vault/keys': parameters: - $ref: '#/components/parameters/directoryId' post: x-speakeasy-entity-operation: terraform-resource: IdentityVaultKey#create terraform-datasource: null operationId: createVaultKey summary: Create a vault key description: | Adds a PEM-encoded RSA or EC public key used to encrypt token vault data for a vault-enabled directory. Keys must be at least 2048 bits (RSA) or 256 bits (EC). A directory can hold at most 5 vault keys. requestBody: $ref: '#/components/requestBodies/CreateVaultKeyRequest' responses: '201': $ref: '#/components/responses/VaultKeyResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - TokenVaultKeys '/v2/directories/{directoryId}/vault/keys/{keyId}': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/IdentityVaultKeyIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: IdentityVaultKey#read terraform-datasource: null operationId: getVaultKey summary: Get a vault key description: Retrieves a single vault key by its ID. responses: '200': $ref: '#/components/responses/VaultKeyResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - TokenVaultKeys patch: x-speakeasy-entity-operation: terraform-resource: IdentityVaultKey#update terraform-datasource: null operationId: updateVaultKey summary: Update a vault key description: | Partially updates an existing vault key. Only the key's name can be changed; the public key material is immutable. A PUT operation is not offered because key material cannot be replaced. requestBody: $ref: '#/components/requestBodies/PatchVaultKeyRequest' responses: '200': $ref: '#/components/responses/VaultKeyResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - TokenVaultKeys delete: x-speakeasy-entity-operation: terraform-resource: IdentityVaultKey#delete terraform-datasource: null operationId: deleteVaultKey summary: Delete a vault key description: | Deletes a vault key from a directory. Deleting a key does not affect credentials that were already encrypted with it; the key simply stops receiving newly encrypted credentials. responses: '204': description: Success '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - TokenVaultKeys '/v2/directories/{directoryId}/vault/providers': parameters: - $ref: '#/components/parameters/directoryId' post: x-speakeasy-entity-operation: terraform-resource: IdentityVaultProvider#create terraform-datasource: null operationId: createVaultProvider summary: Create a vault provider description: | Creates a new credential provider configuration for a vault-enabled directory. requestBody: $ref: '#/components/requestBodies/CreateVaultProviderRequest' responses: '201': $ref: '#/components/responses/VaultProviderResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - TokenVaultProviders '/v2/directories/{directoryId}/vault/providers/{providerId}': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/IdentityVaultProviderIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: IdentityVaultProvider#read terraform-datasource: null operationId: getVaultProvider summary: Get a vault provider description: Retrieves a single vault provider by its ID. responses: '200': $ref: '#/components/responses/VaultProviderResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - TokenVaultProviders put: x-speakeasy-entity-operation: terraform-resource: IdentityVaultProvider#update terraform-datasource: null operationId: replaceVaultProvider summary: Replace a vault provider description: | Completely replaces an existing vault provider's configuration. All fields must be specified; any omitted fields will be reset to their defaults. requestBody: $ref: '#/components/requestBodies/ReplaceVaultProviderRequest' responses: '200': $ref: '#/components/responses/VaultProviderResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - TokenVaultProviders delete: x-speakeasy-entity-operation: terraform-resource: IdentityVaultProvider#delete terraform-datasource: null operationId: deleteVaultProvider summary: Delete a vault provider description: Deletes a vault provider from a directory. responses: '204': description: Success '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - TokenVaultProviders '/v2/directories/{directoryId}/vault/providers/{providerId}/credentials': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/providerId' post: x-speakeasy-entity-operation: terraform-resource: IdentityVaultProviderCredential#create terraform-datasource: null operationId: createVaultProviderCredential summary: Create a shared credential for a provider description: | Creates a shared credential for a provider. For a static_secret provider, stores a literal secret value (at most one, a second create returns 409). For a shared authorization_code provider, mints an OAuth enrollment URL for an admin to complete once instead of accepting a secret value. requestBody: $ref: '#/components/requestBodies/CreateVaultProviderCredentialRequest' responses: '201': $ref: '#/components/responses/VaultProviderCredentialSharedResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - TokenVaultProviders '/v2/directories/{directoryId}/vault/providers/{providerId}/credentials/{credentialId}': parameters: - $ref: '#/components/parameters/directoryId' - $ref: '#/components/parameters/providerId' - $ref: '#/components/parameters/IdentityVaultProviderCredentialIdMatchingParam' get: x-speakeasy-entity-operation: terraform-resource: IdentityVaultProviderCredential#read terraform-datasource: null operationId: getVaultProviderCredential summary: Get a specific credential description: | Returns a single credential by id. For a shared authorization_code credential, always mints a fresh enrollment_url on every call, regardless of whether the credential is pending or active, so an admin can re-enroll at any time. responses: '200': $ref: '#/components/responses/VaultProviderCredentialResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - TokenVaultProviders put: x-speakeasy-entity-operation: terraform-resource: IdentityVaultProviderCredential#update terraform-datasource: null operationId: updateVaultProviderCredential summary: Update a shared credential's value description: | Replaces the value of an existing credential and returns 200 with the updated credential body, for both static_secret providers and shared authorization_code providers (the latter re-mints a fresh enrollment URL). Returns 404 when no secret/credential exists yet for this provider. requestBody: $ref: '#/components/requestBodies/UpdateVaultProviderCredentialRequest' responses: '200': $ref: '#/components/responses/VaultProviderCredentialSharedResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - TokenVaultProviders delete: x-speakeasy-entity-operation: terraform-resource: IdentityVaultProviderCredential#delete terraform-datasource: null operationId: deleteVaultProviderCredential summary: Delete a specific provider credential responses: '204': description: Success '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - TokenVaultProviders '/v2/portals/{portalId}/appearance': get: x-speakeasy-entity-operation: terraform-resource: PortalAppearance#read terraform-datasource: null operationId: get-portal-appearance summary: Get Appearance Configuration description: 'Returns the current portal appearance configuration including any custom theme, colors, fonts, and image settings. Portals using the fully-customizable portal client may override or ignore these settings by disregarding them in the code.' parameters: - $ref: '#/components/parameters/PortalId' responses: '200': $ref: '#/components/responses/V2GetPortalAppearance' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Appearance patch: x-speakeasy-entity-operation: terraform-resource: 'PortalAppearance#create,update' terraform-datasource: null operationId: update-portal-appearance summary: Update Appearance Configuration description: 'Updates the current appearance configuration for this portal including setting pre-defined or custom themes, fonts, colors, and images. Note that portals using the fully-customizable portal client may override or ignore these settings by disregarding them in the code.' parameters: - $ref: '#/components/parameters/PortalId' requestBody: $ref: '#/components/requestBodies/V2UpdatePortalAppearance' responses: '200': $ref: '#/components/responses/V2UpdatePortalAppearance' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Appearance '/v2/portals/{portalId}/product-versions/{productVersionId}': parameters: - $ref: '#/components/parameters/V2ProductVersionId' - $ref: '#/components/parameters/PortalId' get: x-speakeasy-entity-operation: terraform-resource: PortalProductVersion#read terraform-datasource: null operationId: get-portal-product-version summary: Get a portal product version description: Get a portal product version responses: '200': $ref: '#/components/responses/V2PortalProductVersion' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Product Versions put: x-speakeasy-entity-operation: terraform-resource: 'PortalProductVersion#create,update' terraform-datasource: null operationId: replace-portal-product-version summary: Replace a portal product version description: Replace a portal product version requestBody: $ref: '#/components/requestBodies/V2ReplacePortalProductVersion' responses: '200': $ref: '#/components/responses/V2PortalProductVersion' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Product Versions delete: x-speakeasy-entity-operation: terraform-resource: PortalProductVersion#delete terraform-datasource: null operationId: delete-portal-product-version summary: Delete a portal product version description: Delete a portal product version responses: '204': description: No Content. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Product Versions '/v2/portals/{portalId}#classic': parameters: - name: portalId in: path description: ID of the portal. required: true schema: type: string format: uuid x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: PortalClassic#read terraform-datasource: null operationId: get-portal-classic summary: Get Portal description: 'Returns the configuration for a single developer portal. This allows you to understand the current visibility, access, and domain settings.' responses: '200': $ref: '#/components/responses/V2GetPortal' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portals patch: x-speakeasy-entity-operation: terraform-resource: PortalClassic#update terraform-datasource: null operationId: update-portal-classic summary: Update Portal description: 'Updates the configuration for a single portal including the visibility, access, and custom domain settings.' requestBody: $ref: '#/components/requestBodies/V2UpdatePortal' responses: '200': $ref: '#/components/responses/V2UpdatePortal' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Portals delete: x-speakeasy-entity-operation: terraform-resource: PortalClassic#delete terraform-datasource: null operationId: delete-portal-classic summary: Delete Portal description: 'Deletes a single portal, along with all related entities. Will not allow deletion if there are developers registered to portal or if there are portal product versions with application registration enabled, unless force=true query param is included in the request.' parameters: - name: force in: query description: 'If true, delete specified portal and all related entities, even if there are developers registered to portal or if there are portal product versions with application registration enabled. If false, do not allow deletion if there are developers registered to portal or if there are portal product versions with application registration enabled.' schema: type: string default: 'false' enum: - 'true' - 'false' responses: '204': description: No Content '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portals /v2/portals#classic: get: x-speakeasy-entity-operation: PortalClassicList#read operationId: list-portals-classic summary: List Portals description: 'Lists developer portals defined in this region for this organization. Each developer portal is available at a unique address and has isolated appearance, configuration, developers, and applications.' parameters: - $ref: '#/components/parameters/PageSize' - $ref: '#/components/parameters/PageNumber' - $ref: '#/components/parameters/V2SortPortals' responses: '200': $ref: '#/components/responses/V2ListPortals' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Portals x-speakeasy-pagination: type: offsetLimit inputs: - name: 'page[number]' in: parameters type: page - name: 'page[size]' in: parameters type: limit outputs: results: $.data numPages: $.meta.page.total post: x-speakeasy-entity-operation: terraform-resource: PortalClassic#create terraform-datasource: null operationId: create-portal-classic summary: Create Portal description: Creates a new developer portal scoped in this region for this organization. requestBody: $ref: '#/components/requestBodies/V2CreatePortal' responses: '201': $ref: '#/components/responses/V2CreatePortal' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Portals /v3/apis: post: x-speakeasy-entity-operation: terraform-resource: Api#create terraform-datasource: null operationId: create-api summary: Create API description: Creates an API. requestBody: $ref: '#/components/requestBodies/CreateApiRequest' responses: '201': $ref: '#/components/responses/ApiResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - API '/v3/apis/{apiId}': parameters: - name: apiId in: path description: The UUID API identifier required: true schema: type: string format: uuid example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: Api#read terraform-datasource: null operationId: fetch-api summary: Get an API description: Get an API. responses: '200': $ref: '#/components/responses/ApiResponse' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' tags: - API patch: x-speakeasy-entity-operation: terraform-resource: Api#update terraform-datasource: null operationId: update-api summary: Update API description: Updates an API. parameters: - name: force in: query description: | If true, allows operations to be removed from the current version when using access control enforcement. If false, operations removal will be rejected with a 409 error. Omitting the value means true. schema: type: string default: 'false' enum: - 'true' - 'false' requestBody: $ref: '#/components/requestBodies/UpdateApiRequest' responses: '200': $ref: '#/components/responses/ApiResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' '409': $ref: '#/components/responses/ApiVersionPatchConflict' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - API delete: x-speakeasy-entity-operation: terraform-resource: Api#delete terraform-datasource: null operationId: delete-api summary: Delete API description: Deletes an API. responses: '204': description: API was deleted successfully. '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' tags: - API '/v3/apis/{apiId}/documents': parameters: - $ref: '#/components/parameters/ApiId' post: x-speakeasy-entity-operation: terraform-resource: ApiDocument#create terraform-datasource: null operationId: create-api-document summary: Create API Document description: | Publish a new document attached to an API. All configuration options may be provided in the frontmatter section of `content`. If you set values in both the `POST` request _and_ in the frontmatter, the values in the `POST` request will take precedence. requestBody: $ref: '#/components/requestBodies/CreateApiDocumentRequest' responses: '201': $ref: '#/components/responses/ApiDocumentResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' '409': $ref: '#/components/responses/ApiSlugConflict' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - API Documentation '/v3/apis/{apiId}/documents/{documentId}': parameters: - $ref: '#/components/parameters/ApiId' - $ref: '#/components/parameters/DocumentId' get: x-speakeasy-entity-operation: terraform-resource: ApiDocument#read terraform-datasource: null operationId: fetch-api-document summary: Get an API Document description: Returns a document for the API. responses: '200': $ref: '#/components/responses/ApiDocumentResponse' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' tags: - API Documentation patch: x-speakeasy-entity-operation: terraform-resource: ApiDocument#update terraform-datasource: null operationId: update-api-document summary: Update API Document description: Updates a document for an API. requestBody: $ref: '#/components/requestBodies/UpdateApiDocumentRequest' responses: '200': $ref: '#/components/responses/ApiDocumentResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' '409': $ref: '#/components/responses/ApiSlugConflict' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - API Documentation delete: x-speakeasy-entity-operation: terraform-resource: ApiDocument#delete terraform-datasource: null operationId: delete-api-document summary: Delete API Documentation description: Removes a document from an API. responses: '204': description: Document for the API was deleted successfully. '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' tags: - API Documentation '/v3/apis/{apiId}/implementations': parameters: - $ref: '#/components/parameters/ApiId' post: x-speakeasy-entity-operation: terraform-resource: ApiImplementation#create terraform-datasource: null operationId: create-api-implementation summary: Create API Implementation description: | Creates an implementation for an API. If all operations in an API are implemented by a single gateway service and the service has no routes that are not part of the API, then the API can be linked to the service. For cases where an API is implemented by multiple gateway services, only a subset of routes in one or more gateway services, or API operations need to be made available for API packages, then the API should be linked to the control plane that defines the routes that overlap with the API. requestBody: $ref: '#/components/requestBodies/CreateApiImplementationRequest' responses: '201': $ref: '#/components/responses/ApiImplementationResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' '409': $ref: '#/components/responses/ApiImplementationConflict' tags: - API Implementation x-terraform-id-to-object: environment_id: environment.id '/v3/apis/{apiId}/implementations/{implementationId}': parameters: - $ref: '#/components/parameters/ApiId' - $ref: '#/components/parameters/ImplementationId' get: x-speakeasy-entity-operation: terraform-resource: ApiImplementation#read terraform-datasource: null operationId: fetch-api-implementation summary: Get an API Implementation description: Retrieve a gateway implementation for this API responses: '200': $ref: '#/components/responses/ApiImplementationResponse' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' tags: - API Implementation delete: x-speakeasy-entity-operation: terraform-resource: ApiImplementation#delete terraform-datasource: null operationId: delete-api-implementation summary: Delete API Implementation description: Unlink a gateway implementation from this API responses: '204': description: API implementation was unlinked successfully. '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' tags: - API Implementation '/v3/apis/{apiId}/publications/{portalId}': parameters: - $ref: '#/components/parameters/ApiId' - $ref: '#/components/parameters/PortalId' put: x-speakeasy-entity-operation: terraform-resource: 'ApiPublication#create,update' terraform-datasource: null operationId: publish-api-to-portal summary: Publish API description: | Publish an API to a portal. requestBody: $ref: '#/components/requestBodies/PutApiPublicationRequest' responses: '200': $ref: '#/components/responses/ApiPublicationResponse' '400': $ref: '#/components/responses/ApiPublicationBadRequest' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' tags: - API Publication get: x-speakeasy-entity-operation: terraform-resource: ApiPublication#read terraform-datasource: null operationId: fetch-publication summary: Get a Publication description: | Retrieve an API's publication in a portal. If the API is not published to the portal, a 404 response is returned. responses: '200': $ref: '#/components/responses/ApiPublicationResponse' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' tags: - API Publication delete: x-speakeasy-entity-operation: terraform-resource: ApiPublication#delete terraform-datasource: null operationId: delete-publication summary: Delete Publication description: Unpublish an API from a portal. responses: '204': description: API was successfully unpublished from portal. '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' tags: - API Publication '/v3/apis/{apiId}/specifications': parameters: - $ref: '#/components/parameters/ApiId' post: x-speakeasy-entity-operation: terraform-resource: ApiSpecification#create terraform-datasource: null operationId: create-api-spec summary: Create API Specification description: | Creates a specification (OpenAPI or AsyncAPI) for an API. **Note:** You can only have one specification for an API. This endpoint is deprecated and will be removed: use /versions instead. requestBody: $ref: '#/components/requestBodies/CreateApiSpecRequest' responses: '201': $ref: '#/components/responses/ApiSpecResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' '409': $ref: '#/components/responses/ApiSpecConflict' '415': $ref: '#/components/responses/UnsupportedMediaType' deprecated: true tags: - API Specification '/v3/apis/{apiId}/specifications/{specId}': parameters: - $ref: '#/components/parameters/ApiId' - $ref: '#/components/parameters/SpecId' get: x-speakeasy-entity-operation: terraform-resource: ApiSpecification#read terraform-datasource: null operationId: fetch-api-spec summary: Get API Specification description: | Fetches the specification (OpenAPI or AsyncAPI) of an API. **Note:** This endpoint is deprecated and will be removed: use /versions instead. responses: '200': $ref: '#/components/responses/ApiSpecResponse' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' deprecated: true tags: - API Specification patch: x-speakeasy-entity-operation: terraform-resource: ApiSpecification#update terraform-datasource: null operationId: update-api-spec summary: Update API Specification description: | Updates the specification (OpenAPI or AsyncAPI) of an API. **Note:** This endpoint is deprecated and will be removed: use /versions instead. requestBody: $ref: '#/components/requestBodies/UpdateApiSpecRequest' responses: '200': $ref: '#/components/responses/ApiSpecResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' '409': $ref: '#/components/responses/ApiSpecHiddenConflict' '415': $ref: '#/components/responses/UnsupportedMediaType' deprecated: true tags: - API Specification delete: x-speakeasy-entity-operation: terraform-resource: ApiSpecification#delete terraform-datasource: null operationId: delete-api-spec summary: Delete API Specification description: | Deletes the specification (OpenAPI or AsyncAPI) of an API. **Note:** This endpoint is deprecated and will be removed: use /versions instead. responses: '204': description: API Specification was deleted successfully. '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' deprecated: true tags: - API Specification '/v3/apis/{apiId}/versions': parameters: - $ref: '#/components/parameters/ApiId' post: x-speakeasy-entity-operation: terraform-resource: ApiVersion#create terraform-datasource: null operationId: create-api-version summary: Create API Version description: | Creates a version (OpenAPI or AsyncAPI) for an API. requestBody: $ref: '#/components/requestBodies/CreateApiVersionRequest' responses: '201': $ref: '#/components/responses/ApiVersionResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' '409': $ref: '#/components/responses/ApiSpecConflict' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - API Version '/v3/apis/{apiId}/versions/{versionId}': parameters: - $ref: '#/components/parameters/ApiId' - $ref: '#/components/parameters/VersionId' get: x-speakeasy-entity-operation: terraform-resource: ApiVersion#read terraform-datasource: null operationId: fetch-api-version summary: Get an API Version description: Fetches the version (OpenAPI or AsyncAPI) of an API. responses: '200': $ref: '#/components/responses/ApiVersionResponse' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' tags: - API Version patch: x-speakeasy-entity-operation: terraform-resource: ApiVersion#update terraform-datasource: null operationId: update-api-version summary: Update API Version description: Updates the version (OpenAPI or AsyncAPI) of an API. parameters: - name: force in: query description: | If true, allows operations to be removed from the current version when using access control enforcement. If false, operations removal will be rejected with a 409 error. Omitting the value (i.e., setting `?force`) means true. schema: type: string default: 'false' enum: - 'true' - 'false' requestBody: $ref: '#/components/requestBodies/UpdateApiVersionRequest' responses: '200': $ref: '#/components/responses/ApiVersionResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' '409': $ref: '#/components/responses/ApiVersionPatchConflict' '415': $ref: '#/components/responses/UnsupportedMediaType' tags: - API Version delete: x-speakeasy-entity-operation: terraform-resource: ApiVersion#delete terraform-datasource: null operationId: delete-api-version summary: Delete API Version description: Deletes the version (OpenAPI or AsyncAPI) of an API. responses: '204': description: API Version was deleted successfully. '401': $ref: '#/components/responses/ApiUnauthorized' '403': $ref: '#/components/responses/ApiForbidden' '404': $ref: '#/components/responses/ApiNotFound' tags: - API Version /v3/authentication-settings: get: x-speakeasy-entity-operation: terraform-resource: AuthenticationSettings#read terraform-datasource: null operationId: get-authentication-settings summary: Get Auth Settings description: 'Returns authentication configuration, which determines how users can log in and how they are assigned to teams.' responses: '200': $ref: '#/components/responses/AuthenticationSettings' '401': $ref: '#/components/responses/IdentityUnauthenticated' servers: - url: 'https://global.api.konghq.com/' tags: - Auth Settings patch: x-speakeasy-entity-operation: 'AuthenticationSettings#create,update' operationId: update-authentication-settings summary: Update Auth Settings description: Updates authentication configuration. requestBody: $ref: '#/components/requestBodies/UpdateAuthenticationSettings' responses: '200': $ref: '#/components/responses/AuthenticationSettings' '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/Unauthorized' servers: - url: 'https://global.api.konghq.com/' tags: - Auth Settings /v3/identity-providers: get: x-speakeasy-entity-operation: terraform-resource: null terraform-datasource: IdentityProviderList#read operationId: get-identity-providers summary: List Identity Providers description: | Retrieves the identity providers available within the organization. This operation provides information about various identity providers for SAML or OIDC authentication integrations. parameters: - name: filter in: query description: Filter identity providers returned in the response. required: false schema: type: object properties: type: $ref: '#/components/schemas/StringFieldEqualsFilter' style: deepObject responses: '200': $ref: '#/components/responses/IdentityProviders' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/IdentityPermissionDenied' servers: - url: 'https://global.api.konghq.com/' tags: - Auth Settings post: x-speakeasy-entity-operation: IdentityProvider#create operationId: create-identity-provider summary: Create Identity Provider description: | Creates a new identity provider. This operation allows the creation of a new identity provider for authentication purposes. requestBody: $ref: '#/components/requestBodies/CreateIdentityProviderRequest' responses: '201': $ref: '#/components/responses/IdentityProvider' '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/CreateIdentityProviderPermissionDenied' '409': $ref: '#/components/responses/Conflict' servers: - url: 'https://global.api.konghq.com/' tags: - Auth Settings '/v3/identity-providers/{id}': parameters: - name: id in: path description: ID of the identity provider. required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a get: x-speakeasy-entity-operation: terraform-resource: IdentityProvider#read terraform-datasource: IdentityProvider#read operationId: get-identity-provider summary: Get Identity Provider description: | Retrieves the configuration of a single identity provider. This operation returns information about a specific identity provider's settings and authentication integration details. responses: '200': $ref: '#/components/responses/IdentityProvider' '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/IdentityPermissionDenied' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Auth Settings patch: x-speakeasy-entity-operation: IdentityProvider#update operationId: update-identity-provider summary: Update Identity Provider description: | Updates the configuration of an existing identity provider. This operation allows modifications to be made to an existing identity provider's configuration. requestBody: $ref: '#/components/requestBodies/UpdateIdentityProviderRequest' responses: '200': $ref: '#/components/responses/IdentityProvider' '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/IdentityPermissionDenied' '404': $ref: '#/components/responses/IdentityNotFound' '409': $ref: '#/components/responses/Conflict' servers: - url: 'https://global.api.konghq.com/' tags: - Auth Settings delete: x-speakeasy-entity-operation: IdentityProvider#delete operationId: delete-identity-provider summary: Delete Identity Provider description: | Deletes an existing identity provider configuration. This operation removes a specific identity provider from the organization. responses: '204': description: No Content '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/IdentityPermissionDenied' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Auth Settings '/v3/identity-providers/{idpId}/team-group-mappings': parameters: - name: idpId in: path description: ID of the identity provider. required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a x-speakeasy-name-override: identityProviderId post: x-speakeasy-entity-operation: terraform-resource: IdentityProviderTeamGroupMapping#create terraform-datasource: null operationId: create-idp-team-group-mapping summary: Create Team Group Mapping description: | Creates a new team group mapping for the specified identity provider. A mapping associates an identity provider group with a Konnect team. requestBody: $ref: '#/components/requestBodies/CreateIdpTeamGroupMappingRequest' responses: '201': $ref: '#/components/responses/IdpTeamGroupMapping' '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/IdentityPermissionDenied' '404': $ref: '#/components/responses/IdentityNotFound' '409': $ref: '#/components/responses/Conflict' servers: - url: 'https://global.api.konghq.com/' tags: - Auth Settings '/v3/identity-providers/{idpId}/team-group-mappings/{id}': parameters: - name: idpId in: path description: ID of the identity provider. required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a x-speakeasy-name-override: identityProviderId - name: id in: path description: ID of the team group mapping. required: true schema: type: string format: uuid example: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7 get: x-speakeasy-entity-operation: terraform-resource: IdentityProviderTeamGroupMapping#read terraform-datasource: null operationId: get-idp-team-group-mapping summary: Get Team Group Mapping description: Returns the team group mapping for the specified ID. responses: '200': $ref: '#/components/responses/IdpTeamGroupMapping' '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/IdentityPermissionDenied' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Auth Settings delete: x-speakeasy-entity-operation: terraform-resource: IdentityProviderTeamGroupMapping#delete terraform-datasource: null operationId: delete-idp-team-group-mapping summary: Delete Team Group Mapping description: | Deletes a team group mapping by ID. Returns 204 if the mapping was deleted, or 404 if the mapping was not found. responses: '204': description: No Content '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/IdentityPermissionDenied' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Auth Settings '/v3/organizations/{organizationId}/personal-access-token-settings': parameters: - name: organizationId in: path description: A UUID representing an organization. required: true schema: description: UUID representing an organization type: string format: uuid example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 get: x-speakeasy-entity-operation: terraform-resource: OrganizationPersonalAccessTokenSettings#read terraform-datasource: null operationId: get-organizations-personal-access-token-settings summary: Get personal access token policy settings description: Get personal access token policy settings. Only organization administrators are authorized to perform this action. responses: '200': $ref: '#/components/responses/PersonalAccessTokenSettingsResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' security: - personalAccessToken: [] - konnectAccessToken: [] - serviceAccessToken: [] - systemAccountAccessToken: [] servers: - url: 'https://global.api.konghq.com/' tags: - Personal Access Tokens patch: x-speakeasy-entity-operation: terraform-resource: 'OrganizationPersonalAccessTokenSettings#create,update' terraform-datasource: null operationId: update-personal-access-token-settings summary: Update personal access token policy settings description: Update personal access token policy settings. Only organization administrators are authorized to perform this action. requestBody: $ref: '#/components/requestBodies/PersonalAccessTokenSettingsUpdateRequest' responses: '200': $ref: '#/components/responses/PersonalAccessTokenSettingsResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' security: - personalAccessToken: [] - konnectAccessToken: [] - systemAccountAccessToken: [] servers: - url: 'https://global.api.konghq.com/' tags: - Personal Access Tokens '/v3/organizations/{organizationId}/vpce-id-allow-list': parameters: - $ref: '#/components/parameters/OrganizationIdParameter' put: x-speakeasy-entity-operation: 'OrganizationVpceIdAllowList#create,update' operationId: put-vpce-id-allow-list summary: Set VPCE ID restriction for organization description: | Sets the VPCE ID restriction for an organization, replacing any existing configuration. Returns `201` when the configuration is created and `200` when an existing configuration is replaced. requestBody: $ref: '#/components/requestBodies/CreateOrganizationVpceIdRestriction' responses: '200': $ref: '#/components/responses/OrganizationVpceIdRestriction' '201': $ref: '#/components/responses/OrganizationVpceIdRestriction' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' servers: - url: 'https://global.api.konghq.com/' tags: - Organizations get: x-speakeasy-entity-operation: terraform-resource: OrganizationVpceIdAllowList#read terraform-datasource: null operationId: get-vpce-id-allow-list summary: Get VPCE ID restriction for organization description: | Gets the VPCE ID restriction configuration for an organization. responses: '200': $ref: '#/components/responses/OrganizationVpceIdRestriction' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Organizations /v3/portals: get: x-speakeasy-entity-operation: terraform-resource: null terraform-datasource: - Portal#read operationId: list-portals summary: List Portals description: 'Lists developer portals defined in this region for this organization. Each developer portal is available at a unique address and has isolated configuration, customization, developers, and applications.' parameters: - $ref: '#/components/parameters/PageSize' - $ref: '#/components/parameters/PageNumber' - $ref: '#/components/parameters/SortPortals' - name: filter in: query description: Filter portals returned in the response. required: false schema: $ref: '#/components/schemas/PortalFilterParameters' style: deepObject responses: '200': $ref: '#/components/responses/ListPortalsResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Portals post: x-speakeasy-entity-operation: terraform-resource: Portal#create terraform-datasource: null operationId: create-portal summary: Create Portal description: Creates a new developer portal scoped in this region for this organization. requestBody: $ref: '#/components/requestBodies/CreatePortal' responses: '201': $ref: '#/components/responses/PortalResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Portals '/v3/portals/{portalId}': parameters: - name: portalId in: path description: ID of the portal. required: true schema: type: string format: uuid x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: Portal#read terraform-datasource: null operationId: get-portal summary: Get a Portal description: 'Returns the configuration for a single developer portal, including the current visibility, access, and domain settings.' responses: '200': $ref: '#/components/responses/PortalResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portals patch: x-speakeasy-entity-operation: terraform-resource: Portal#update terraform-datasource: null operationId: update-portal summary: Update Portal description: 'Updates the configuration for a single portal including the visibility, access, and custom domain settings.' requestBody: $ref: '#/components/requestBodies/UpdatePortal' responses: '200': $ref: '#/components/responses/PortalResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Portals delete: x-speakeasy-entity-operation: terraform-resource: Portal#delete terraform-datasource: null operationId: delete-portal summary: Delete Portal description: 'Deletes a single portal, along with all related entities.' parameters: - name: force in: query description: | If set to "true", the portal and all child entities will be deleted when running `terraform destroy`. If set to "false", the portal will not be deleted until all child entities are manually removed. This will IRREVERSIBLY DELETE ALL REGISTERED DEVELOPERS AND THEIR CREDENTIALS. Only set to "true" if you want this behavior. schema: type: string default: 'false' enum: - 'true' - 'false' x-speakeasy-name-override: force_destroy responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portals '/v3/portals/{portalId}/applications': post: x-speakeasy-entity-operation: PortalApplication#create operationId: create-application summary: Create Application description: 'Creates a new application for this portal. The application must be assigned to a developer or a team. An application can be registered for various APIs, issuing credentials for API access. If using DCR, an application will be linked to an Identity Provider''s application by its `client_id`.' parameters: - $ref: '#/components/parameters/PortalId' requestBody: $ref: '#/components/requestBodies/CreateApplication' responses: '201': $ref: '#/components/responses/GetApplication' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Applications x-terraform-id-to-object: auth_strategy_id: auth_strategy.id environment_id: environment.id '/v3/portals/{portalId}/applications/{applicationId}': parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/ApplicationIdToMatchResourceID' get: x-speakeasy-entity-operation: terraform-resource: PortalApplication#read terraform-datasource: null operationId: get-application summary: Get an Application by Portal description: 'Returns the configuration of a single application in this portal. If an application is linked to a DCR Provider, the `dcr_provider.id` and `client_id` can be used to correlate it. An application manages a set of credentials and registrations for specific APIs.' responses: '200': $ref: '#/components/responses/GetApplication' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Applications patch: x-speakeasy-entity-operation: PortalApplication#update operationId: update-application summary: Update Application description: Updates an application. requestBody: $ref: '#/components/requestBodies/UpdateApplication' responses: '200': $ref: '#/components/responses/GetApplication' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Applications delete: x-speakeasy-entity-operation: PortalApplication#delete operationId: delete-application summary: Delete Application by Portal description: 'Delete a single application in this portal, along with its registrations and credentials.' responses: '204': description: The application has been deleted. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Applications '/v3/portals/{portalId}/applications/{applicationId}/registrations': parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/ApplicationId' post: x-speakeasy-entity-operation: PortalApplicationRegistration#create operationId: create-application-registration summary: Create Registration description: Creates a new registration for this application to access a specific API. Registrations created through the portal management API will respect the auto-approve settings of the portal and/or API publication. API publications that do not use auto-approve must be manually approved by an administrator after creation. requestBody: $ref: '#/components/requestBodies/CreateApplicationRegistration' responses: '201': $ref: '#/components/responses/GetApplicationRegistration' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': description: Conflict content: application/problem+json: schema: $ref: '#/components/schemas/ConflictError' tags: - Application Registrations x-terraform-id-to-object: api_id: api.id '/v3/portals/{portalId}/applications/{applicationId}/registrations/{registrationId}': parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/ApplicationId' - $ref: '#/components/parameters/RegistrationIdToMatchResourceID' get: x-speakeasy-entity-operation: terraform-resource: PortalApplicationRegistration#read terraform-datasource: null operationId: get-application-registration summary: Get a Registration description: Returns information about an application's registration status for a particular API. responses: '200': $ref: '#/components/responses/GetApplicationRegistration' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Application Registrations patch: x-speakeasy-entity-operation: PortalApplicationRegistration#update operationId: update-application-registration summary: Update Registration description: 'Updates the status of a particular application registration to an API. Approved application registrations will allow API traffic to the corresponding API. Revoked, rejected, or pending will not allow API traffic.' requestBody: $ref: '#/components/requestBodies/UpdateApplicationRegistration' responses: '200': $ref: '#/components/responses/UpdateApplicationRegistration' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Application Registrations delete: x-speakeasy-entity-operation: PortalApplicationRegistration#delete operationId: delete-application-registration summary: Delete Registration description: |- Deletes an application registration, which if currently approved will immediately block API traffic to the API. Note: Developers can request a new application registration for the given API as long as they have RBAC access to consume. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Application Registrations '/v3/portals/{portalId}/assets/favicon': parameters: - $ref: '#/components/parameters/PortalId' get: x-speakeasy-entity-operation: terraform-resource: PortalFavicon#read terraform-datasource: null operationId: get-portal-asset-favicon summary: Get Favicon description: Returns the favicon of the portal. responses: '200': $ref: '#/components/responses/PortalAssetResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Assets put: x-speakeasy-entity-operation: terraform-resource: 'PortalFavicon#create,update' terraform-datasource: null operationId: replace-portal-asset-favicon summary: Replace Favicon description: Replaces the favicon of the portal. The favicon is used in the browser tab of the portal. requestBody: $ref: '#/components/requestBodies/ReplacePortalImageAsset' responses: '200': $ref: '#/components/responses/PortalAssetResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Assets '/v3/portals/{portalId}/assets/logo': parameters: - $ref: '#/components/parameters/PortalId' get: x-speakeasy-entity-operation: terraform-resource: PortalLogo#read terraform-datasource: null operationId: get-portal-asset-logo summary: Get Logo description: Returns the logo of the portal. responses: '200': $ref: '#/components/responses/PortalAssetResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Assets put: x-speakeasy-entity-operation: terraform-resource: 'PortalLogo#create,update' terraform-datasource: null operationId: replace-portal-asset-logo summary: Replace Logo description: Replaces the logo of the portal. requestBody: $ref: '#/components/requestBodies/ReplacePortalImageAsset' responses: '200': $ref: '#/components/responses/PortalAssetResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Assets '/v3/portals/{portalId}/audit-log-webhook': parameters: - $ref: '#/components/parameters/PortalId' patch: x-speakeasy-entity-operation: terraform-resource: 'PortalAuditLogWebhook#create,update' terraform-datasource: null operationId: update-portal-audit-log-webhook summary: Update Portal Audit Log Webhook description: Updates the configuration for a webhook to receive audit logs. requestBody: $ref: '#/components/requestBodies/UpdatePortalAuditLogWebhook' responses: '200': $ref: '#/components/responses/PortalAuditLogWebhook' '400': $ref: '#/components/responses/PortalWebhookBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Audit Logs get: x-speakeasy-entity-operation: terraform-resource: PortalAuditLogWebhook#read terraform-datasource: null operationId: get-portal-audit-log-webhook summary: Get Portal Audit Log Webhook description: Returns configuration for the audit log webhook. responses: '200': $ref: '#/components/responses/PortalAuditLogWebhook' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Audit Logs delete: x-speakeasy-entity-operation: terraform-resource: PortalAuditLogWebhook#delete terraform-datasource: null operationId: delete-portal-audit-log-webhook summary: Delete Portal Audit Log Webhook description: 'Removes configuration for the audit log webhook. The destination ID is set to empty, and the webhook enabled field is set to false' responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Portal Audit Logs '/v3/portals/{portalId}/authentication-settings': parameters: - $ref: '#/components/parameters/PortalId' get: x-speakeasy-entity-operation: terraform-resource: PortalAuth#read terraform-datasource: null operationId: get-portal-authentication-settings summary: Get Auth Settings description: 'Returns the developer authentication configuration for a portal, which determines how developers can log in and how they are assigned to teams.' responses: '200': $ref: '#/components/responses/PortalAuthenticationSettings' '401': $ref: '#/components/responses/Unauthorized' tags: - Portal Auth Settings patch: x-speakeasy-entity-operation: terraform-resource: 'PortalAuth#create,update' terraform-datasource: null operationId: update-portal-authentication-settings summary: Update Auth Settings description: Updates the developer authentication configuration for a portal. Developers can be allowed to login using basic auth (email & password) or use Single-Sign-On through an Identity Provider. Developers can be automatically assigned to teams by mapping claims from their IdP account. requestBody: $ref: '#/components/requestBodies/UpdatePortalAuthenticationSettings' responses: '200': $ref: '#/components/responses/PortalAuthenticationSettings' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Portal Auth Settings '/v3/portals/{portalId}/custom-domain': parameters: - $ref: '#/components/parameters/PortalId' get: x-speakeasy-entity-operation: terraform-resource: PortalCustomDomain#read terraform-datasource: null operationId: get-portal-custom-domain summary: Get Custom Domain description: Get the custom domain associated to the portal. responses: '200': $ref: '#/components/responses/PortalCustomDomain' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Custom Domains post: x-speakeasy-entity-operation: terraform-resource: PortalCustomDomain#create terraform-datasource: null operationId: create-portal-custom-domain summary: Create Custom Domain description: Creates the custom domain associated with the portal. Only one custom domain can be associated with a portal at a time. requestBody: $ref: '#/components/requestBodies/CreatePortalCustomDomain' responses: '201': $ref: '#/components/responses/PortalCustomDomain' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Custom Domains patch: x-speakeasy-entity-operation: terraform-resource: PortalCustomDomain#update terraform-datasource: null operationId: update-portal-custom-domain summary: Enable or Disable Domain description: Updates the portal domain associated with the portal. requestBody: $ref: '#/components/requestBodies/UpdatePortalCustomDomain' responses: '200': $ref: '#/components/responses/PortalCustomDomain' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Portal Custom Domains delete: x-speakeasy-entity-operation: terraform-resource: PortalCustomDomain#delete terraform-datasource: null operationId: delete-portal-custom-domain summary: Remove Domain description: Deletes the custom domain associated with the portal. responses: '204': description: No Content '404': $ref: '#/components/responses/NotFound' tags: - Portal Custom Domains '/v3/portals/{portalId}/customization': get: x-speakeasy-entity-operation: terraform-resource: PortalCustomization#read terraform-datasource: null operationId: get-portal-customization summary: Get Customization description: Returns the portal customization options. parameters: - $ref: '#/components/parameters/PortalId' responses: '200': $ref: '#/components/responses/PortalCustomizationResponse' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Customization put: x-speakeasy-entity-operation: terraform-resource: 'PortalCustomization#create,update' terraform-datasource: null operationId: replace-portal-customization summary: Replace Customization description: Replace the portal customization options. parameters: - $ref: '#/components/parameters/PortalId' requestBody: $ref: '#/components/requestBodies/ReplacePortalCustomization' responses: '200': $ref: '#/components/responses/PortalCustomizationResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Customization '/v3/portals/{portalId}/developers': parameters: - $ref: '#/components/parameters/PortalId' post: x-speakeasy-entity-operation: PortalDeveloper#create operationId: create-developer summary: Create Developer Account description: Creates a new developer account in the specified portal. SAML login is currently not supported. requestBody: $ref: '#/components/requestBodies/CreateDeveloper' responses: '201': $ref: '#/components/responses/CreateDeveloperResponse' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': description: Conflict content: application/problem+json: schema: $ref: '#/components/schemas/ConflictError' tags: - Portal Developers '/v3/portals/{portalId}/developers/{developerId}': parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/DeveloperIdToMatchResourceID' get: x-speakeasy-entity-operation: terraform-resource: PortalDeveloper#read terraform-datasource: null operationId: get-developer summary: Get a Developer description: 'Returns information about a single developer in this portal. Each developer manages a set applications, providing them credentials to access registered APIs. Developer registration access can be limited to specific APIs using RBAC.' responses: '200': $ref: '#/components/responses/GetDeveloper' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Developers patch: x-speakeasy-entity-operation: PortalDeveloper#update operationId: update-developer summary: Update Developer description: 'Updates the status of a particular developer. Approved developers have access to login to the portal. Revoked, rejected, or pending are not allowed to login. Even if a developer''s status is no longer approved, they will still be able to using any existing credentials generated while they were approved, until each application registration is revoked or deleted.' requestBody: $ref: '#/components/requestBodies/UpdateDeveloper' responses: '200': $ref: '#/components/responses/UpdateDeveloper' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Developers delete: x-speakeasy-entity-operation: PortalDeveloper#delete operationId: delete-developer summary: Delete Developer description: 'Deletes a developer, which will discontinue their ability to login, view any non-public resources, and delete all applications owned by them. All credentials issued to the developer will no longer provide access to any APIs. A deleted developer''s unique email must be re-registered and approved to gain access again.' responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Developers '/v3/portals/{portalId}/forms': post: x-speakeasy-entity-operation: terraform-resource: PortalForm#create terraform-datasource: null operationId: create-portal-form summary: Create Form description: | Creates a custom form for a portal. * `developer_registration` forms appear in the portal's developer signup flow * `api_registration` forms are shown to developers when they request access to a specific API. Requirements: * Every form's `fields` array must include exactly one `submit` field. * `developer_registration` forms must also include the built-in `full_name` and `email` fields. parameters: - $ref: '#/components/parameters/PortalId' requestBody: $ref: '#/components/requestBodies/CreatePortalForm' responses: '201': $ref: '#/components/responses/PortalForm' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Portal Forms '/v3/portals/{portalId}/forms/{formId}': get: x-speakeasy-entity-operation: terraform-resource: PortalForm#read terraform-datasource: null operationId: get-portal-form summary: Get Form description: Retrieves a single custom form by ID. parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/FormIdToMatchResourceID' responses: '200': $ref: '#/components/responses/PortalForm' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Forms put: x-speakeasy-entity-operation: terraform-resource: PortalForm#update terraform-datasource: null operationId: replace-portal-form summary: Replace Form description: | Replaces a custom form with the supplied fields and settings. To remove a field, leave it out of the `fields` array; to rename a field, change its `label` (a field's `name` can't change once set). The form's `type` can't be changed. Its `name` is fixed for `developer_registration` forms but can be changed for `api_registration` forms. `developer_registration` forms must include the built-in `full_name` and `email` fields. parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/FormIdToMatchResourceID' requestBody: $ref: '#/components/requestBodies/ReplacePortalForm' responses: '200': $ref: '#/components/responses/PortalForm' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Forms delete: x-speakeasy-entity-operation: terraform-resource: PortalForm#delete terraform-datasource: null operationId: delete-portal-form summary: Delete Form description: Deletes a custom form. Any API publications linked to this form are unlinked. Responses developers already submitted are kept and remain viewable. parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/FormIdToMatchResourceID' responses: '204': description: The form has been deleted. '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Forms '/v3/portals/{portalId}/identity-providers': parameters: - $ref: '#/components/parameters/PortalId' post: x-speakeasy-entity-operation: PortalIdentityProvider#create operationId: create-portal-identity-provider summary: Create Identity Provider description: | Creates a new identity provider. This operation allows the creation of a new identity provider for authentication purposes. requestBody: $ref: '#/components/requestBodies/PortalCreateIdentityProviderRequest' responses: '201': $ref: '#/components/responses/PortalIdentityProvider' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '409': $ref: '#/components/responses/Conflict' tags: - Portal Auth Settings '/v3/portals/{portalId}/identity-providers/{id}': parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/IdentityProviderId' get: x-speakeasy-entity-operation: terraform-resource: PortalIdentityProvider#read terraform-datasource: null operationId: get-portal-identity-provider summary: Get Identity Provider description: | Retrieves the configuration of a single identity provider. This operation returns information about a specific identity provider's settings and authentication integration details. responses: '200': $ref: '#/components/responses/PortalIdentityProvider' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Auth Settings patch: x-speakeasy-entity-operation: PortalIdentityProvider#update operationId: update-portal-identity-provider summary: Update Identity Provider description: | Updates the configuration of an existing identity provider. This operation allows modifications to be made to an existing identity provider's configuration. requestBody: $ref: '#/components/requestBodies/PortalUpdateIdentityProviderRequest' responses: '200': $ref: '#/components/responses/PortalIdentityProvider' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Portal Auth Settings delete: x-speakeasy-entity-operation: PortalIdentityProvider#delete operationId: delete-portal-identity-provider summary: Delete Identity Provider description: | Deletes an existing identity provider configuration. This operation removes a specific identity provider from the portal. responses: '204': description: No Content '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Auth Settings '/v3/portals/{portalId}/identity-providers/{id}/team-group-mappings': parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/PortalIdentityProviderId' post: x-speakeasy-entity-operation: PortalIdentityProviderTeamGroupMapping#create operationId: create-portal-idp-team-group-mapping summary: Create Team Group Mapping description: | Creates a new team group mapping for the specified identity provider. requestBody: $ref: '#/components/requestBodies/CreatePortalIdpTeamGroupMapping' responses: '201': $ref: '#/components/responses/PortalIdpTeamGroupMapping' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Portal Auth Settings '/v3/portals/{portalId}/identity-providers/{id}/team-group-mappings/{mappingId}': parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/PortalIdentityProviderId' - name: mappingId in: path description: ID of the team group mapping. required: true schema: type: string format: uuid x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: PortalIdentityProviderTeamGroupMapping#read terraform-datasource: null operationId: get-portal-idp-team-group-mapping summary: Get Team Group Mapping description: Returns the team group mapping for the specified ID. responses: '200': $ref: '#/components/responses/PortalIdpTeamGroupMapping' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Auth Settings delete: x-speakeasy-entity-operation: PortalIdentityProviderTeamGroupMapping#delete operationId: delete-portal-idp-team-group-mapping summary: Delete Team Group Mapping description: | Deletes a team group mapping by ID. Returns 204 if the mapping was deleted, or 404 if the mapping was not found. responses: '204': description: No Content '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Auth Settings '/v3/portals/{portalId}/ip-allow-list': parameters: - $ref: '#/components/parameters/PortalId' post: x-speakeasy-entity-operation: terraform-resource: PortalIPAllowList#create terraform-datasource: null operationId: create-portal-ip-allow-list summary: Create an IP allow list for a portal description: | Create an IP allow list for a portal. requestBody: $ref: '#/components/requestBodies/CreatePortalSourceIPRestriction' responses: '201': $ref: '#/components/responses/PortalSourceIPRestriction' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Portals IP Allow List '/v3/portals/{portalId}/ip-allow-list/{id}': parameters: - $ref: '#/components/parameters/PortalId' - name: id in: path description: ID of the allow list. required: true schema: type: string format: uuid get: x-speakeasy-entity-operation: terraform-resource: PortalIPAllowList#read terraform-datasource: null operationId: get-portal-ip-allow-list summary: Get an IP allow list for a portal description: | Get an IP allow list for a portal. responses: '200': $ref: '#/components/responses/PortalSourceIPRestriction' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portals IP Allow List put: x-speakeasy-entity-operation: terraform-resource: PortalIPAllowList#update terraform-datasource: null operationId: put-portal-ip-allow-list summary: Replace an IP allow list for a portal description: | Replace an IP allow list for a portal. requestBody: $ref: '#/components/requestBodies/CreatePortalSourceIPRestriction' responses: '200': $ref: '#/components/responses/PortalSourceIPRestriction' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portals IP Allow List delete: x-speakeasy-entity-operation: terraform-resource: PortalIPAllowList#delete terraform-datasource: null operationId: delete-portal-ip-allow-list summary: Delete an IP allow list from a portal description: | Delete the IP allow list for a portal. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portals IP Allow List '/v3/portals/{portalId}/pages': post: x-speakeasy-entity-operation: terraform-resource: PortalPage#create terraform-datasource: null operationId: create-portal-page summary: Create Page description: 'Creates a new custom page for this portal. Custom pages can be used to display static content, documentation, or other information to developers. Title and Description properties may be provided in the frontmatter section of `content`. If you set values in both the `POST` request _and_ in the frontmatter, the values in frontmatter will take precedence.' parameters: - $ref: '#/components/parameters/PortalId' requestBody: $ref: '#/components/requestBodies/CreatePortalPage' responses: '201': $ref: '#/components/responses/PortalPage' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Pages x-speakeasy-group: Portal Pages '/v3/portals/{portalId}/pages/{pageId}': get: x-speakeasy-entity-operation: terraform-resource: PortalPage#read terraform-datasource: null operationId: get-portal-page summary: Get a Page description: 'Returns the configuration of a single custom page for this portal. Custom pages can be used to display static content, documentation, or other information to developers.' parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/PageId' responses: '200': $ref: '#/components/responses/PortalPage' '401': $ref: '#/components/responses/Unauthorized' '404': $ref: '#/components/responses/NotFound' tags: - Pages x-speakeasy-group: Portal Pages patch: x-speakeasy-entity-operation: terraform-resource: PortalPage#update terraform-datasource: null operationId: update-portal-page summary: Update Page description: Updates the configuration of a single custom page for this portal. parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/PageId' requestBody: $ref: '#/components/requestBodies/UpdatePortalPage' responses: '200': $ref: '#/components/responses/PortalPage' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Pages x-speakeasy-group: Portal Pages delete: x-speakeasy-entity-operation: terraform-resource: PortalPage#delete terraform-datasource: null operationId: delete-portal-page summary: Delete Page description: Deletes a single custom page for this portal. parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/PageId' responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Pages x-speakeasy-group: Portal Pages '/v3/portals/{portalId}/snippets': post: x-speakeasy-entity-operation: terraform-resource: PortalSnippet#create terraform-datasource: null operationId: create-portal-snippet summary: Create Snippet description: 'Creates a new custom snippet for this portal. Custom snippets can be used to display static content, documentation, or other information to developers. Title and Description properties may be provided in the frontmatter section of `content`. If you set values in both the `POST` request _and_ in the frontmatter, the values in the frontmatter will take precedence.' parameters: - $ref: '#/components/parameters/PortalId' requestBody: $ref: '#/components/requestBodies/CreatePortalSnippet' responses: '201': $ref: '#/components/responses/PortalSnippet' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Snippets '/v3/portals/{portalId}/snippets/{snippetId}': get: x-speakeasy-entity-operation: terraform-resource: PortalSnippet#read terraform-datasource: null operationId: get-portal-snippet summary: Get a Snippet description: 'Returns the configuration of a single custom snippet for this portal. Custom snippets can be used to display static content, documentation, or other information to developers.' parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/SnippetId' responses: '200': $ref: '#/components/responses/PortalSnippet' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Snippets patch: x-speakeasy-entity-operation: terraform-resource: PortalSnippet#update terraform-datasource: null operationId: update-portal-snippet summary: Update Snippet description: Updates the configuration of a single custom snippet for this portal. parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/SnippetId' requestBody: $ref: '#/components/requestBodies/UpdatePortalSnippet' responses: '200': $ref: '#/components/responses/PortalSnippet' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Snippets delete: x-speakeasy-entity-operation: terraform-resource: PortalSnippet#delete terraform-datasource: null operationId: delete-portal-snippet summary: Delete Snippet description: Deletes a single custom snippet for this portal. parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/SnippetId' responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Snippets '/v3/portals/{portalId}/teams': parameters: - $ref: '#/components/parameters/PortalId' post: x-speakeasy-entity-operation: terraform-resource: PortalTeam#create terraform-datasource: null operationId: create-portal-team summary: Create Team description: Creates a developer team in a portal. Developers can be added to teams to provide RBAC access to API products. Teams can be assigned roles that grant permissions to perform an action on a resource. requestBody: $ref: '#/components/requestBodies/PortalCreateTeam' responses: '201': $ref: '#/components/responses/PortalTeam' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Teams '/v3/portals/{portalId}/teams/{teamId}': parameters: - name: teamId in: path description: ID of the team. required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a x-speakeasy-match: id - $ref: '#/components/parameters/PortalId' get: x-speakeasy-entity-operation: terraform-resource: PortalTeam#read terraform-datasource: null operationId: get-portal-team summary: Get Team description: Get an individual team. responses: '200': $ref: '#/components/responses/PortalTeam' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Teams patch: x-speakeasy-entity-operation: terraform-resource: PortalTeam#update terraform-datasource: null operationId: update-portal-team summary: Update Team description: Updates an individual developer team for a portal. requestBody: $ref: '#/components/requestBodies/PortalUpdateTeam' responses: '200': $ref: '#/components/responses/PortalTeam' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Teams delete: x-speakeasy-entity-operation: terraform-resource: PortalTeam#delete terraform-datasource: null operationId: delete-portal-team summary: Delete Team description: 'Deletes a developer team from a portal. Deleting a team also deletes its assigned roles. Members of the team are not deleted, but they will lose any access provided through the team.' responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Teams '/v3/portals/{portalId}/teams/{teamId}/assigned-roles': parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/TeamId' - $ref: '#/components/parameters/PageSize' - $ref: '#/components/parameters/PageNumber' post: x-speakeasy-entity-operation: terraform-resource: PortalTeamRole#create terraform-datasource: null operationId: assign-role-to-portal-teams summary: Assign Role description: 'Assign a role to a developer team. This associates the set of permissions in a role with the team, so that they will be applied to any developer who is a member of the team.' requestBody: $ref: '#/components/requestBodies/PortalAssignRole' responses: '201': $ref: '#/components/responses/PortalAssignedRole' '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Portal Team Roles '/v3/portals/{portalId}/teams/{teamId}/assigned-roles/{roleId}': parameters: - name: roleId in: path description: ID of the assigned role. required: true schema: type: string format: uuid example: 8350205f-a305-4e39-abe9-bc082a80091a x-speakeasy-match: id - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/TeamId' delete: x-speakeasy-entity-operation: terraform-resource: PortalTeamRole#delete terraform-datasource: null operationId: remove-role-from-portal-team summary: Remove Role description: Removes an assigned role from a developer team. This deletes the association of the role with team and each of its members. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Team Roles '/v3/portals/{portalId}/teams/{teamId}/developers': parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/TeamId' post: x-speakeasy-entity-operation: terraform-resource: PortalTeamDeveloper#create terraform-datasource: null operationId: add-developer-to-portal-team summary: Add Developer to Team description: 'Adds a developer to a team. This associates them with all of the roles that have been assigned to the team, providing specific permissions to perform actions on resources.' requestBody: $ref: '#/components/requestBodies/AddDeveloperToTeam' responses: '201': description: Created '400': description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' tags: - Portal Team Membership '/v3/portals/{portalId}/teams/{teamId}/developers/{developerId}': parameters: - $ref: '#/components/parameters/PortalId' - $ref: '#/components/parameters/DeveloperId' - $ref: '#/components/parameters/TeamId' delete: x-speakeasy-entity-operation: terraform-resource: PortalTeamDeveloper#delete terraform-datasource: null operationId: remove-developer-from-portal-team summary: Remove Developer from Team description: Removes a developer from a team. This removes the association of the team's roles from the developer. responses: '204': description: No Content '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' tags: - Portal Team Membership /v3/system-accounts: get: x-speakeasy-entity-operation: terraform-datasource: - SystemAccount#read - SystemAccountList#read operationId: get-system-accounts summary: List System Accounts description: Returns an array of system accounts (SA) in the organization. Returns 400 if any filter parameters are invalid. parameters: - $ref: '#/components/parameters/PageSize' - $ref: '#/components/parameters/PageNumber' - name: filter in: query description: Filter system accounts returned in the response. required: false schema: type: object properties: name: $ref: '#/components/schemas/LegacyStringFieldFilter' description: $ref: '#/components/schemas/LegacyStringFieldFilter' konnect_managed: $ref: '#/components/schemas/BooleanFieldFilter' style: deepObject responses: '200': $ref: '#/components/responses/SystemAccountCollection' '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/Unauthorized' servers: - url: 'https://global.api.konghq.com/' tags: - System Accounts x-speakeasy-pagination: type: offsetLimit inputs: - name: 'page[number]' in: parameters type: page - name: 'page[size]' in: parameters type: limit outputs: results: $.data numPages: $.meta.page.total post: x-speakeasy-entity-operation: terraform-resource: SystemAccount#create terraform-datasource: null operationId: post-system-accounts summary: Create System Account description: Creates a system account. Returns a 409 if a system account with the same name already exists. requestBody: $ref: '#/components/requestBodies/CreateSystemAccount' responses: '201': $ref: '#/components/responses/SystemAccountSingle' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/Unauthorized' '409': $ref: '#/components/responses/IdentityConflict' servers: - url: 'https://global.api.konghq.com/' tags: - System Accounts '/v3/system-accounts/{accountId}': get: x-speakeasy-entity-operation: terraform-resource: SystemAccount#read terraform-datasource: null operationId: get-system-accounts-id summary: Get a System Account description: Returns the system account (SA) for the SA ID specified as a path parameter. responses: '200': $ref: '#/components/responses/SystemAccountSingle' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/Unauthorized' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - System Accounts parameters: - name: accountId in: path description: ID of the system account. required: true schema: type: string x-speakeasy-match: id patch: x-speakeasy-entity-operation: terraform-resource: SystemAccount#update terraform-datasource: null operationId: patch-system-accounts-id summary: Update System Account description: Updates the specified system account. Returns a 409 if the updated name is the same as another system account in the organization. requestBody: $ref: '#/components/requestBodies/UpdateSystemAccount' responses: '200': $ref: '#/components/responses/SystemAccountSingle' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/Unauthorized' '404': $ref: '#/components/responses/IdentityNotFound' '409': $ref: '#/components/responses/IdentityConflict' servers: - url: 'https://global.api.konghq.com/' tags: - System Accounts delete: x-speakeasy-entity-operation: terraform-resource: SystemAccount#delete terraform-datasource: null operationId: delete-system-accounts-id summary: Delete System Account description: Deletes the specified system account. Returns 404 if the requested account was not found. responses: '204': description: No Content '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/Unauthorized' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - System Accounts '/v3/system-accounts/{accountId}/access-tokens': parameters: - name: accountId in: path description: ID of the system account. required: true schema: type: string post: x-speakeasy-entity-operation: terraform-resource: SystemAccountAccessToken#create terraform-datasource: null operationId: post-system-accounts-id-access-tokens summary: Create System Account Access Token description: Creates an access token for the specified system account (SA). The access token can be used for authenticating API and CLI requests. The token will only be displayed once on creation. Returns a 409 if the system account already has a token with the same name. requestBody: $ref: '#/components/requestBodies/CreateSystemAccountAccessToken' responses: '201': $ref: '#/components/responses/SystemAccountAccessTokenCreated' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/Unauthorized' '404': $ref: '#/components/responses/IdentityNotFound' '409': $ref: '#/components/responses/IdentityConflict' servers: - url: 'https://global.api.konghq.com/' tags: - System Accounts - Access Tokens '/v3/system-accounts/{accountId}/access-tokens/{tokenId}': get: x-speakeasy-entity-operation: terraform-resource: SystemAccountAccessToken#read terraform-datasource: null operationId: get-system-accounts-id-access-tokens-id summary: Get a System Account Access Token description: Returns the system account (SA) access token for the SA Access Token ID specified as a path parameter. responses: '200': $ref: '#/components/responses/SystemAccountAccessTokenSingle' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/Unauthorized' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - System Accounts - Access Tokens parameters: - name: accountId in: path description: ID of the system account. required: true schema: type: string - name: tokenId in: path description: ID of the system account access token. required: true schema: type: string x-speakeasy-match: id patch: x-speakeasy-entity-operation: terraform-resource: SystemAccountAccessToken#update terraform-datasource: null operationId: patch-system-accounts-id-access-tokens-id summary: Update System Account Access Token description: Updates the specified access token. Returns a 409 if the updated name is the same as another token belonging to the specified system user. requestBody: $ref: '#/components/requestBodies/UpdateSystemAccountAccessToken' responses: '200': $ref: '#/components/responses/SystemAccountAccessTokenSingle' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/Unauthorized' '404': $ref: '#/components/responses/IdentityNotFound' '409': $ref: '#/components/responses/IdentityConflict' servers: - url: 'https://global.api.konghq.com/' tags: - System Accounts - Access Tokens delete: x-speakeasy-entity-operation: terraform-resource: SystemAccountAccessToken#delete terraform-datasource: null operationId: delete-system-accounts-id-access-tokens-id summary: Delete System Account Access Token description: Deletes the specified token. Returns 404 if the token was not found. responses: '204': description: No Content '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/Unauthorized' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - System Accounts - Access Tokens '/v3/system-accounts/{accountId}/assigned-roles': parameters: - name: accountId in: path description: ID of the system account. required: true schema: type: string post: x-speakeasy-entity-operation: terraform-resource: SystemAccountRole#create terraform-datasource: null operationId: post-system-accounts-accountId-assigned-roles summary: Create Assigned Role for System Account description: Assigns a role to a system account. Returns 409 if role is already assigned. requestBody: $ref: '#/components/requestBodies/AssignRole' responses: '201': $ref: '#/components/responses/AssignedRoleSingle' '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/Unauthorized' '404': $ref: '#/components/responses/IdentityNotFound' '409': $ref: '#/components/responses/IdentityConflict' servers: - url: 'https://global.api.konghq.com/' tags: - System Accounts - Roles '/v3/system-accounts/{accountId}/assigned-roles/{roleId}': parameters: - name: accountId in: path description: ID of the system account. required: true schema: type: string - name: roleId in: path description: ID of the role. required: true schema: type: string x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: SystemAccountRole#read terraform-datasource: null operationId: get-system-account-role summary: Get System Account Role description: Returns the assigned role for the specified ID. responses: '200': $ref: '#/components/responses/AssignedRoleSingle' '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/IdentityPermissionDenied' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - System Accounts - Roles delete: x-speakeasy-entity-operation: terraform-resource: SystemAccountRole#delete terraform-datasource: null operationId: delete-system-accounts-accountId-assigned-roles-roleId summary: Delete Assigned Role from System Account description: Removes an assigned role from a system account. Returns 404 if the system account or assigned role were not found. responses: '204': description: No Content '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/Unauthorized' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - System Accounts - Roles /v3/teams: get: x-speakeasy-entity-operation: terraform-datasource: - Team#read - TeamList#read operationId: list-teams summary: List Teams description: Returns an array of team objects containing information about the Konnect Teams. parameters: - $ref: '#/components/parameters/PageSize' - $ref: '#/components/parameters/PageNumber' - name: filter in: query description: |- Filter teams returned in the response. Supports filtering by label value using dot-notation, e.g. `filter[labels.][]=`, where `` is one of `eq`, `contains`, or `exists`. required: false schema: type: object properties: name: $ref: '#/components/schemas/LegacyStringFieldFilter' labels: type: object additionalProperties: $ref: '#/components/schemas/LegacyStringFieldFilterWithExists' konnect_managed: $ref: '#/components/schemas/BooleanFieldFilter' style: deepObject responses: '200': $ref: '#/components/responses/TeamCollectionResponse' '400': $ref: '#/components/responses/IdentityBadRequest' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Teams x-speakeasy-pagination: type: offsetLimit inputs: - name: 'page[number]' in: parameters type: page - name: 'page[size]' in: parameters type: limit outputs: results: $.data numPages: $.meta.page.total post: x-speakeasy-entity-operation: terraform-resource: Team#create terraform-datasource: null operationId: create-team summary: Create Team description: 'Creates a team in the Konnect Organization. ' requestBody: $ref: '#/components/requestBodies/CreateTeam' responses: '201': $ref: '#/components/responses/TeamSingle' '400': $ref: '#/components/responses/IdentityBadRequest' '403': $ref: '#/components/responses/IdentityPermissionDenied' servers: - url: 'https://global.api.konghq.com/' tags: - Teams '/v3/teams/{teamId}': parameters: - name: teamId in: path description: The team ID required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: Team#read terraform-datasource: null operationId: get-team summary: Get a Team description: Returns information about a team from a given team ID. responses: '200': $ref: '#/components/responses/TeamSingle' '400': $ref: '#/components/responses/IdentityBadRequest' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Teams patch: x-speakeasy-entity-operation: terraform-resource: Team#update terraform-datasource: null operationId: update-team summary: Update Team description: Updates an individual team. requestBody: $ref: '#/components/requestBodies/UpdateTeam' responses: '200': $ref: '#/components/responses/TeamSingle' '400': $ref: '#/components/responses/IdentityBadRequest' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Teams delete: x-speakeasy-entity-operation: terraform-resource: Team#delete terraform-datasource: null operationId: delete-team summary: Delete Team description: Deletes an individual team. Returns 404 if the team is not found. responses: '204': description: No Content '400': $ref: '#/components/responses/IdentityBadRequest' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Teams '/v3/teams/{teamId}/assigned-roles': parameters: - name: teamId in: path description: The team ID required: true schema: type: string format: uuid example: e81bc3e5-e9db-4764-b7dd-e81e39072cbe post: x-speakeasy-entity-operation: terraform-resource: TeamRole#create terraform-datasource: null operationId: teams-assign-role summary: Assign Team Role description: Assigns a role to a team. Returns 409 if role is already assigned. requestBody: $ref: '#/components/requestBodies/AssignRole' responses: '201': $ref: '#/components/responses/AssignedRoleSingle' '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/IdentityPermissionDenied' '404': $ref: '#/components/responses/IdentityNotFound' '409': $ref: '#/components/responses/IdentityConflict' servers: - url: 'https://global.api.konghq.com/' tags: - Roles '/v3/teams/{teamId}/assigned-roles/{roleId}': parameters: - name: teamId in: path description: The team ID. required: true schema: type: string format: uuid example: e81bc3e5-e9db-4764-b7dd-e81e39072cbe - name: roleId in: path description: The role ID. required: true schema: type: string format: uuid example: 8350205f-a305-4e39-abe9-bc082a80091a x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: TeamRole#read terraform-datasource: null operationId: get-team-role summary: Get Team Role description: Returns the assigned role for the specified ID. responses: '200': $ref: '#/components/responses/AssignedRoleSingle' '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/IdentityPermissionDenied' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Roles delete: x-speakeasy-entity-operation: terraform-resource: TeamRole#delete terraform-datasource: null operationId: teams-remove-role summary: Remove Team Role description: Removes an assigned role from a team. Returns 404 if the requested team or assigned role were not found. responses: '204': description: No Content '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/IdentityPermissionDenied' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Roles '/v3/teams/{teamId}/system-accounts': parameters: - name: teamId in: path description: ID of the team. required: true schema: type: string post: x-speakeasy-entity-operation: terraform-resource: SystemAccountTeam#create terraform-datasource: null operationId: post-teams-teamId-system-accounts summary: Add System Account to a Team description: Adds a system account to a team. Returns a 409 if the system account is already a member of the team. requestBody: $ref: '#/components/requestBodies/AddSystemAccountToTeam' responses: '201': description: Created '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/Unauthorized' '404': $ref: '#/components/responses/IdentityNotFound' '409': $ref: '#/components/responses/IdentityConflict' servers: - url: 'https://global.api.konghq.com/' tags: - System Accounts - Team Membership '/v3/teams/{teamId}/system-accounts/{accountId}': parameters: - name: teamId in: path description: ID of the team. required: true schema: type: string - name: accountId in: path description: ID of the system account. required: true schema: type: string delete: x-speakeasy-entity-operation: terraform-resource: SystemAccountTeam#delete terraform-datasource: null operationId: delete-teams-teamId-system-accounts-accountId summary: Remove System Account From Team description: Removes a system account from a team. Returns 404 if the team or system account were not found. responses: '204': description: No Content '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/Unauthorized' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - System Accounts - Team Membership '/v3/teams/{teamId}/users': parameters: - name: teamId in: path description: ID of the team. required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a post: x-speakeasy-entity-operation: terraform-resource: TeamUser#create terraform-datasource: null operationId: add-user-to-team summary: Add User description: Adds a user to a team. requestBody: $ref: '#/components/requestBodies/AddUserToTeam' responses: '201': description: Created '400': $ref: '#/components/responses/IdentityBadRequest' '404': $ref: '#/components/responses/IdentityNotFound' '409': $ref: '#/components/responses/IdentityConflict' servers: - url: 'https://global.api.konghq.com/' tags: - Team Membership '/v3/teams/{teamId}/users/{userId}': parameters: - name: userId in: path description: User ID required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a - name: teamId in: path description: Team ID. required: true schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a delete: x-speakeasy-entity-operation: terraform-resource: TeamUser#delete terraform-datasource: null operationId: remove-user-from-team summary: Remove User description: |- Removes a user from a team. If the user was removed, returns a 204 empty response. Returns 404 if the user or team were not found. responses: '204': description: No Content '400': $ref: '#/components/responses/IdentityBadRequest' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Team Membership '/v3/users/{userId}/assigned-roles': parameters: - name: userId in: path description: The user ID required: true schema: type: string format: uuid example: e81bc3e5-e9db-4764-b7dd-e81e39072cbe post: x-speakeasy-entity-operation: UserRole#create operationId: users-assign-role summary: Assign Role description: Assigns a role to a user. Returns 409 if role is already assigned. requestBody: $ref: '#/components/requestBodies/AssignRole' responses: '201': $ref: '#/components/responses/AssignedRoleSingle' '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/IdentityPermissionDenied' '404': $ref: '#/components/responses/IdentityNotFound' '409': $ref: '#/components/responses/IdentityConflict' servers: - url: 'https://global.api.konghq.com/' tags: - Roles '/v3/users/{userId}/assigned-roles/{roleId}': parameters: - name: userId in: path description: ID of the user. required: true schema: type: string format: uuid example: e81bc3e5-e9db-4764-b7dd-e81e39072cbe - name: roleId in: path description: ID of the role. required: true schema: type: string format: uuid example: 8350205f-a305-4e39-abe9-bc082a80091a x-speakeasy-match: id get: x-speakeasy-entity-operation: terraform-resource: UserRole#read terraform-datasource: null operationId: get-user-role summary: Get User Role description: Returns the assigned role for the specified ID. responses: '200': $ref: '#/components/responses/AssignedRoleSingle' '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/IdentityPermissionDenied' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Roles delete: x-speakeasy-entity-operation: UserRole#delete operationId: users-remove-role summary: Remove Role description: Removes an assigned role from a user. Returns 404 if the requested user or assigned role were not found. responses: '204': description: No Content '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '404': $ref: '#/components/responses/IdentityNotFound' servers: - url: 'https://global.api.konghq.com/' tags: - Roles /v2/control-planes#single-resource: get: x-speakeasy-entity-operation: terraform-resource: null terraform-datasource: - GatewayControlPlane#read operationId: list-control-planes-single-resource summary: List Control Planes Datasource description: Returns an array of control plane objects containing information about the Konnect Control Planes. parameters: - $ref: '#/components/parameters/ControlPlaneFilter' - $ref: '#/components/parameters/FilterByLabels' - $ref: '#/components/parameters/ControlPlaneSort' responses: '200': $ref: '#/components/responses/ListControlPlanesResponse' '400': $ref: '#/components/responses/ControlPlanesBadRequest' '401': $ref: '#/components/responses/ControlPlaneUnauthenticated' '403': $ref: '#/components/responses/ControlPlanePermissionDenied' '500': $ref: '#/components/responses/Internal' '503': $ref: '#/components/responses/ServiceUnavailable' tags: - Control Planes '/v2/control-planes/{controlPlaneId}/core-entities/workspaces#single-resource': get: x-speakeasy-entity-operation: terraform-resource: null terraform-datasource: - GatewayWorkspace#read operationId: list-workspaces-single-resource summary: List Workspaces Datasource description: 'Returns a Workspace within a control plane, filtered by name.' parameters: - name: controlPlaneId in: path description: ID of a control plane required: true schema: type: string format: uuid - $ref: '#/components/parameters/WorkspaceFilter' responses: '200': $ref: '#/components/responses/ListWorkspacesResponse' '400': $ref: '#/components/responses/KonnectCPLegacyBadRequest' '401': $ref: '#/components/responses/KonnectCPLegacyUnauthorized' '403': $ref: '#/components/responses/KonnectCPLegacyForbidden' '404': $ref: '#/components/responses/KonnectCPLegacyNotFound' tags: - Workspaces /v2/cloud-gateways/configurations#delete: put: x-speakeasy-entity-operation: CloudGatewayConfiguration#delete operationId: delete-cloud-gateway-configuration summary: Delete Configuration description: | Deletes a control plane's Cloud Gateway configuration by replacing it with an empty data-plane group set, which tears down all deployed data planes for that control plane. requestBody: description: Replaces the configuration's data-plane groups with an empty set. required: true content: application/json: schema: type: object properties: control_plane_id: $ref: '#/components/schemas/ControlPlaneId' control_plane_geo: $ref: '#/components/schemas/ControlPlaneGeo' version: $ref: '#/components/schemas/GatewayVersion' kind: $ref: '#/components/schemas/ConfigurationKind' type: $ref: '#/components/schemas/ConfigurationType' dataplane_groups: type: array items: $ref: '#/components/schemas/CreateConfigurationDataPlaneGroup' format: set const: [] additionalProperties: false required: - control_plane_id - control_plane_geo - dataplane_groups x-speakeasy-transform-to-api: jq: '.dataplane_groups = []' responses: '200': $ref: '#/components/responses/CreateConfigurationResponse' '400': $ref: '#/components/responses/CloudGatewaysBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/CloudGatewaysForbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/CloudGatewaysConflict' servers: - url: 'https://global.api.konghq.com/' tags: - Data-Plane Group Configurations x-speakeasy-group: CloudGateways /v2/audit-log-webhook#delete: patch: x-speakeasy-entity-operation: terraform-resource: AuditLog#delete terraform-datasource: null operationId: delete-audit-log-webhook summary: Delete the audit log webhook description: Disables the audit log webhook. requestBody: description: The request schema to disable an audit log webhook. content: application/json: schema: type: object properties: enabled: description: Indicates that the data should not be sent to the webhook. type: boolean const: false nullable: false responses: '200': $ref: '#/components/responses/AuditLogWebhook' '400': $ref: '#/components/responses/WebhookBadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' tags: - Audit Logs '/v3/organizations/{organizationId}/vpce-id-allow-list#delete': put: x-speakeasy-entity-operation: OrganizationVpceIdAllowList#delete operationId: reset-organization-vpce-id-allow-list summary: Reset organization VPCE ID allow list description: Disable the VPCE ID allow list. parameters: - $ref: '#/components/parameters/OrganizationIdParameter' requestBody: description: Reset the VPCE ID allow list to disabled content: application/json: schema: type: object properties: enabled: type: boolean default: null const: false nullable: true x-speakeasy-param-computed: false allowed_vpce_ids: type: array items: type: string const: [] responses: '200': $ref: '#/components/responses/OrganizationVpceIdRestriction' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' servers: - url: 'https://global.api.konghq.com/' /v3/authentication-settings#delete: patch: x-speakeasy-entity-operation: AuthenticationSettings#delete operationId: reset-authentication-settings summary: Reset Auth Settings description: Reset authentication configuration. requestBody: description: Reset authentication settings to defaults content: application/json: schema: type: object properties: basic_auth_enabled: type: boolean const: true oidc_auth_enabled: type: boolean default: null const: false nullable: true x-speakeasy-param-computed: false saml_auth_enabled: type: boolean default: null const: false nullable: true x-speakeasy-param-computed: false idp_mapping_enabled: type: boolean default: null const: false nullable: true x-speakeasy-param-computed: false konnect_mapping_enabled: type: boolean const: true responses: '200': $ref: '#/components/responses/AuthenticationSettings' '400': $ref: '#/components/responses/IdentityBadRequest' '401': $ref: '#/components/responses/IdentityUnauthenticated' '403': $ref: '#/components/responses/Unauthorized' components: parameters: ACLId: description: ID of the ACL to lookup example: f28acbfa-c866-4587-b688-0208ac24df21 in: path name: ACLId required: true schema: type: string x-speakeasy-match: id AddOnId: name: addOnId description: ID of the add-on to operate on. required: true in: path schema: $ref: '#/components/schemas/AddOnId' x-speakeasy-match: id AIGatewayAgentIdMatchingParam: name: agentIdOrName in: path required: true description: The unique ID of the AI Gateway agent. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: agentId x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayAuthStrategyIdMatchingParam: name: authStrategyIdOrName in: path required: true description: The unique ID of the AI Gateway Auth Strategy. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: authStrategyId x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayCACertificateIdMatchingParam: name: caCertificateIdOrName in: path required: true description: The unique ID of the AI Gateway CA Certificate. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: caCertificateId x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayCertificateIdMatchingParam: name: certificateIdOrName in: path required: true description: The unique ID of the AI Gateway Certificate. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: certificateId x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayConfigStoreIdMatchingParam: name: configStoreIdOrName in: path required: true description: The unique ID of the AI Gateway Config Store. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: configStoreId x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayConfigStoreIdParam: name: configStoreIdOrName in: path required: true description: The unique ID of the AI Gateway Config Store. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: configStoreId schema: $ref: '#/components/schemas/UUID' AIGatewayConsumerCredentialIdMatchingParam: name: credentialId in: path required: true description: The unique ID of the AI Gateway consumer credential. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayConsumerGroupId: name: consumerGroupId in: path required: true description: The unique ID of the AI Gateway Consumer Group. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b schema: $ref: '#/components/schemas/UUID' AIGatewayConsumerGroupIdMatchingParam: name: consumerGroupIdOrName in: path required: true description: The unique ID of the AI Gateway Consumer Group. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: consumerGroupId x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayConsumerGroupMemberIdParam: name: consumerIdOrName in: path required: true description: The unique ID of the AI Gateway consumer. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: consumerId schema: $ref: '#/components/schemas/UUID' AIGatewayConsumerId: name: consumerId in: path required: true description: The unique ID of the AI Gateway consumer. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b schema: $ref: '#/components/schemas/UUID' AIGatewayConsumerIdMatchingParam: name: consumerIdOrName in: path required: true description: The unique ID of the AI Gateway consumer. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: consumerId x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayCustomPolicyIdMatchingParam: name: customPolicyIdOrName in: path required: true description: The unique ID of the AI Gateway custom policy. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: customPolicyId x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayDataPlaneCertificateIdMatchingParam: name: certificateId in: path required: true description: The unique ID of the DataPlane Certificate. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayDatastoreIdMatchingParam: name: datastoreIdOrName in: path required: true description: The unique ID of the AI Gateway Datastore. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: datastoreId x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayId: name: gatewayId in: path required: true description: The unique ID of the AI Gateway. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b schema: $ref: '#/components/schemas/UUID' AIGatewayIdMatchingParam: name: gatewayId in: path required: true description: The unique ID of the AI Gateway. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayMcpServerIdMatchingParam: name: mcpServerIdOrName in: path required: true description: The unique ID of the MCP Server. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: mcpServerId x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayModelIdMatchingParam: name: modelIdOrName in: path required: true description: The unique ID of the AI Gateway model. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: modelId x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayModelProviderIdMatchingParam: name: modelProviderIdOrName in: path required: true description: The unique ID of the AI Gateway model provider. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: modelProviderId x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayPolicyIdMatchingParam: name: policyIdOrName in: path required: true description: The unique ID of the AI Gateway policy. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: policyId x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewaySNIIdMatchingParam: name: sniIdOrName in: path required: true description: The unique ID of the AI Gateway SNI. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: sniId x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AIGatewayVaultIdMatchingParam: name: vaultIdOrName in: path required: true description: The unique ID of the AI Gateway Vault. example: bf138ba2-c9b1-4229-b268-04d9d8a6410b x-speakeasy-name-override: vaultId x-speakeasy-match: id schema: $ref: '#/components/schemas/UUID' AiModelIdForChildren: name: aiModelId in: path required: true description: The unique identifier of the AI Model. x-speakeasy-name-override: catalogAiModelId schema: type: string format: uuid example: 123e4567-e89b-12d3-a456-426614174000 AiModelIdMatchingParam: name: aiModelId in: path required: true description: The unique identifier of the AI Model. example: 123e4567-e89b-12d3-a456-426614174000 x-speakeasy-match: id schema: type: string format: uuid AiModelImplementationIdMatchingParam: name: implementationId in: path required: true description: The unique identifier of the AI Model implementation. example: d2e1f0a9-8b7c-6d5e-4f3a-2b1c0d9e8f7a x-speakeasy-match: id schema: type: string format: uuid ApiId: schema: type: string format: uuid example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 name: apiId in: path required: true description: The UUID API identifier ApplicationId: name: applicationId in: path required: true description: ID of the application. schema: type: string format: uuid ApplicationIdToMatchResourceID: name: applicationId in: path required: true description: ID of the application. schema: type: string format: uuid x-speakeasy-match: id AuditLogDestinationId: schema: type: string format: uuid name: auditLogDestinationId in: path required: true description: ID of the Audit Log Destination. x-speakeasy-match: id authServerId: schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a name: authServerId in: path required: true description: The auth server ID x-speakeasy-match: id authServerIdForChildren: schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a name: authServerId in: path required: true description: The auth server ID x-speakeasy-name-override: auth_server_id AuthStrategyId: name: authStrategyId description: Application auth strategy identifier in: path required: true schema: $ref: '#/components/schemas/UUID' x-speakeasy-match: id basicAuthId: name: basicAuthId in: path required: true description: Unique identifier of the basic auth credential (UUID format) schema: type: string format: uuid BasicAuthId: description: ID of the Basic-auth credential to lookup example: 80db1b58-ca7c-4d21-b92a-64eb07725872 in: path name: BasicAuthId required: true schema: type: string x-speakeasy-match: id CACertificateId: description: ID of the CA Certificate to lookup example: 3c31f18a-f27a-4f9b-8cd4-bf841554612f in: path name: CACertificateId required: true schema: type: string x-speakeasy-match: id CatalogMCPIdForChildren: name: mcpId in: path required: true description: The unique identifier of the MCP. x-speakeasy-name-override: catalogMCPId schema: type: string format: uuid example: a0119846-f179-4d9f-a168-d701facce7fb CatalogMCPIdMatchingParam: name: mcpId in: path required: true description: The unique identifier of the MCP. example: a0119846-f179-4d9f-a168-d701facce7fb x-speakeasy-match: id schema: type: string format: uuid CatalogMCPImplementationIdMatchingParam: name: implementationId in: path required: true description: The unique identifier of the MCP implementation. example: 7703e2f2-f9c0-47e3-9146-5fa50486b871 x-speakeasy-match: id schema: type: string format: uuid centralizedConsumerIdForChildren: name: consumerId in: path required: true description: ID of the of the consumer schema: type: string CertificateId: description: ID of the Certificate to lookup example: ddf3cdaa-3329-4961-822a-ce6dbd38eff7 in: path name: CertificateId required: true schema: type: string x-speakeasy-match: id claimId: schema: type: string format: uuid example: 07d05309-45cc-4b37-92fb-1524846deec3 name: claimId in: path required: true description: The claim ID x-speakeasy-match: id clientId: schema: $ref: '#/components/schemas/ClientId' name: clientId in: path required: true description: 'The OAuth 2.0 client ID. A client whose client_id is the URL of its Client ID Metadata Document is registered and managed by that document: it is not addressable through these endpoints, and any request that targets it is rejected.' x-speakeasy-match: id clientIdForChildren: schema: $ref: '#/components/schemas/ClientId' name: clientId in: path required: true description: The OAuth 2.0 client ID x-speakeasy-name-override: client_id clientSecretId: schema: type: string format: uuid example: 07d05309-45cc-4b37-92fb-1524846deec3 name: clientSecretId in: path required: true description: The client secret ID x-speakeasy-match: id ClonedPluginId: description: ID of the Cloned Plugin to lookup example: '' in: path name: ClonedPluginId required: true schema: type: string x-speakeasy-match: id cmekId: name: cmekId in: path required: true description: 'Customer Managed Encryption Key identifier. This ID is selected from a predefined, Konnect-specific list of allowed values and uniquely identifies a CMEK configuration within a given organization and Konnect region. While not global in function, these IDs behave like scoped namespaces with enforced uniqueness and enumeration constraints.' schema: type: string example: default default: default enum: - default x-speakeasy-name-override: id configStoreId: schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a name: configStoreId in: path required: true description: Config Store identifier x-speakeasy-match: id configStoreIdForSecret: schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a name: configStoreId in: path required: true description: Config Store identifier ConfigurationId: name: configurationId in: path description: The ID of the configuration to operate on. required: true schema: $ref: '#/components/schemas/ConfigurationId' x-speakeasy-match: id ConsumerGroupId: description: ID of the Consumer Group to lookup example: '' in: path name: ConsumerGroupId required: true schema: type: string x-speakeasy-match: id ConsumerGroupIdManageConsumers: description: The UUID or name of the consumer group in: path name: ConsumerGroupId required: true schema: type: string example: cf4c7e60-11db-49dd-b300-7c7e5f0f7e6b x-speakeasy-name-override: consumer_group_id consumerId: x-speakeasy-match: id name: consumerId in: path required: true description: ID of the of the consumer schema: type: string ConsumerId: description: ID of the Consumer to lookup example: c1059869-6fa7-4329-a5f5-5946d14ca2c5 in: path name: ConsumerId required: true schema: type: string x-speakeasy-match: id ConsumerIdForNestedEntities: description: Consumer ID for nested entities example: '' in: path name: ConsumerIdForNestedEntities required: true schema: type: string x-speakeasy-name-override: consumer_id ControlPlaneFilter: name: filter description: Filters a collection of control-planes. required: false in: query schema: $ref: '#/components/schemas/ControlPlaneFilterParameters' style: deepObject controlPlaneId: x-speakeasy-param-force-new: true name: controlPlaneId in: path required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 description: The UUID of your control plane. This variable is available in the Konnect manager. ControlPlanePageNumber: name: 'page[number]' description: Determines which page of the entities to retrieve. required: false in: query allowEmptyValue: true schema: type: integer example: 1 minimum: 1 x-speakeasy-terraform-ignore: true ControlPlaneSort: name: sort description: | Sorts a collection of control-planes. Supported sort attributes are: - created_at required: false in: query schema: $ref: '#/components/schemas/ControlPlaneSortQuery' CustomDomainId: name: customDomainId description: ID of the custom domain to operate on. required: true in: path schema: $ref: '#/components/schemas/CustomDomainId' x-speakeasy-match: id CustomPluginId: description: ID of the CustomPlugin to lookup example: '' in: path name: CustomPluginId required: true schema: type: string x-speakeasy-match: id DataPlaneCertificateId: name: certificateId in: path schema: type: string required: true x-speakeasy-match: id destinationId: name: destinationId in: path required: true description: 'ID of the destination, a UUID v7.' schema: type: string format: uuid x-speakeasy-match: id DeveloperId: schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a name: developerId in: path required: true description: ID of the developer. DeveloperIdToMatchResourceID: name: developerId in: path required: true description: ID of the developer. schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a x-speakeasy-match: id directoryId: name: directoryId in: path required: true description: ID of the directory schema: type: string format: uuid DocumentId: schema: type: string format: uuid example: de5c9818-be5c-42e6-b514-e3d4bc30ddeb name: documentId description: The document identifier related to the API in: path required: true x-speakeasy-match: id eventGatewayListenerId: schema: type: string format: uuid name: eventGatewayListenerId in: path required: true description: The ID of the Event Gateway Listener. x-speakeasy-name-override: listenerId EventGatewayPolicyAfter: schema: type: string format: uuid in: query name: after x-speakeasy-terraform-ignore: true description: | Determines the id of the existing policy the new policy should be inserted after. Either 'before' or 'after' can be provided, when both are omitted the new policy is added to the end of the chain. When both are provided, the request fails with a 400 Bad Request. required: false EventGatewayPolicyBefore: schema: type: string format: uuid in: query name: before x-speakeasy-terraform-ignore: true description: | Determines the id of the existing policy the new policy should be inserted before. Either 'before' or 'after' can be provided, when both are omitted the new policy is added to the end of the chain. When both are provided, the request fails with a 400 Bad Request. required: false eventType: name: eventType in: path required: true description: Formatted string ID of the notification event. schema: type: string example: invoice-ready x-speakeasy-param-computed: false x-speakeasy-param-force-new: true ExpandPartials: description: Expand partials for the plugin. example: true in: query name: expand_partials schema: type: boolean x-speakeasy-terraform-ignore: true FilterByLabels: x-speakeasy-name-override: filter_labels name: labels description: Filter control planes in the response by associated labels. in: query required: false schema: type: string example: 'key:value,existCheck' FormIdToMatchResourceID: name: formId in: path required: true description: ID of the portal form. schema: type: string format: uuid example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 x-speakeasy-match: id gatewayId: name: gatewayId in: path required: true schema: type: string format: uuid example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 description: The UUID of your Gateway. GraphQLCostDecorationId: description: ID of the GraphQL Cost Decoration to lookup example: '' in: path name: GraphQLCostDecorationId required: true schema: type: string x-speakeasy-match: id groupId: name: groupId in: path required: true description: Unique identifier of the group (UUID format) schema: type: string format: uuid HMACAuthId: description: ID of the HMAC-auth credential to lookup example: 70e7b00b-72f2-471b-a5ce-9c4171775360 in: path name: HMACAuthId required: true schema: type: string x-speakeasy-match: id IdentityAPIKeyIdMatchingParam: name: apiKeyId in: path required: true description: Unique identifier of the API key (UUID format) x-speakeasy-match: id schema: type: string format: uuid IdentityDirectoryIdMatchingParam: name: directoryId in: path required: true description: ID of the directory x-speakeasy-match: id schema: type: string format: uuid IdentityGroupIdMatchingParam: name: groupId in: path required: true description: Unique identifier of the group (UUID format) x-speakeasy-match: id schema: type: string format: uuid IdentityGroupMembershipIdMatchingParam: name: groupMembershipId in: path required: true description: Unique identifier of the group membership entry x-speakeasy-match: id schema: type: string format: uuid IdentityPrincipalBasicAuthIdMatchingParam: name: basicAuthId in: path required: true description: Unique identifier of the basic auth credential (UUID format) x-speakeasy-match: id schema: type: string format: uuid IdentityPrincipalBasicAuthPasswordIdMatchingParam: name: passwordId in: path required: true description: Unique identifier of the password (UUID format) x-speakeasy-match: id schema: type: string format: uuid IdentityPrincipalIdentityIdMatchingParam: name: identityId in: path required: true description: Unique identifier of the principal identity (UUID format) x-speakeasy-match: id schema: type: string format: uuid IdentityPrincipalIdMatchingParam: name: principalId in: path required: true description: Unique identifier of the principal (UUID format) x-speakeasy-match: id schema: type: string format: uuid IdentityProviderId: schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a name: id in: path required: true description: ID of the identity provider. IdentityTrustedIdpIdMatchingParam: name: trustedIdpId in: path required: true description: Unique identifier of the trusted idp for the vault x-speakeasy-match: id schema: type: string format: uuid IdentityVaultKeyIdMatchingParam: name: keyId in: path required: true description: ID of the vault key x-speakeasy-match: id schema: type: string format: uuid IdentityVaultProviderCredentialIdMatchingParam: name: credentialId in: path required: true description: ID of the shared credential x-speakeasy-match: id schema: type: string format: uuid IdentityVaultProviderIdMatchingParam: name: providerId in: path required: true description: ID of the vault provider x-speakeasy-match: id schema: type: string format: uuid ImplementationId: schema: type: string format: uuid example: 032d905a-ed33-46a3-a093-d8f536af9a8a name: implementationId in: path required: true description: The Portal identifier x-speakeasy-match: id JWTId: description: ID of the JWT to lookup example: 4a7f5faa-8c96-46d6-8214-c87573ef2ac4 in: path name: JWTId required: true schema: type: string x-speakeasy-match: id KeyAuthId: description: ID of the API-key to lookup example: '' in: path name: KeyAuthId required: true schema: type: string x-speakeasy-match: id keyId: x-speakeasy-match: id name: keyId in: path required: true description: ID of the key schema: type: string KeyId: description: ID of the Key to lookup example: bba22c06-a632-42be-a018-1b9ff357b5b9 in: path name: KeyId required: true schema: type: string x-speakeasy-match: id KeySetId: description: ID of the KeySet to lookup example: 6cc34248-50b4-4a81-9201-3bdf7a83f712 in: path name: KeySetId required: true schema: type: string x-speakeasy-match: id ListConsumers: description: Expand the consumer group to include a list of its consumers. example: false in: query name: list_consumers schema: type: boolean MeshControlPlaneFilter: name: filter description: Filters a collection of control planes. required: false in: query schema: $ref: '#/components/schemas/MeshControlPlaneFilterParameters' style: deepObject MTLSAuthId: description: ID of the MTLS-auth credential to lookup example: '' in: path name: MTLSAuthId required: true schema: type: string x-speakeasy-match: id NetworkId: name: networkId in: path description: The network to operate on. required: true schema: $ref: '#/components/schemas/NetworkId' x-speakeasy-match: id NetworksFilter: name: filter description: Filters supported for networks. required: false in: query schema: $ref: '#/components/schemas/NetworksFilterParameters' style: deepObject OrganizationIdParameter: name: organizationId in: path description: UUID representing an organization. required: true schema: $ref: '#/components/schemas/OrganizationId' orgSubscriptionId: name: subscriptionId in: path required: true description: 'ID of the org subscription, a UUID v7.' schema: type: string format: uuid x-speakeasy-match: id PageId: schema: type: string format: uuid example: ebbac5b0-ac89-45c3-9d2e-c4542c657e79 name: pageId in: path required: true description: ID of the page. x-speakeasy-match: id PageNumber: name: 'page[number]' description: Determines which page of the entities to retrieve. required: false in: query allowEmptyValue: true schema: type: integer example: 1 x-speakeasy-terraform-ignore: true PageSize: name: 'page[size]' description: The maximum number of items to include per page. The last page of a collection may include fewer items. required: false in: query allowEmptyValue: true schema: type: integer example: 100 x-speakeasy-terraform-ignore: true PartialId: description: ID of the Partial to lookup example: '' in: path name: PartialId required: true schema: type: string x-speakeasy-match: id PluginId: description: ID of the Plugin to lookup example: 3473c251-5b6c-4f45-b1ff-7ede735a366d in: path name: PluginId required: true schema: type: string x-speakeasy-match: id PortalId: schema: type: string format: uuid example: f32d905a-ed33-46a3-a093-d8f536af9a8a name: portalId in: path required: true description: The Portal identifier PortalIdentityProviderId: name: id in: path required: true description: ID of the identity provider. schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a x-speakeasy-name-override: identityProviderId principalId: name: principalId in: path required: true description: Unique identifier of the principal (UUID format) schema: type: string format: uuid PrivateDnsId: name: privateDnsId in: path description: The ID of the Private DNS to operate on. required: true schema: $ref: '#/components/schemas/PrivateDnsId' x-speakeasy-match: id providerId: name: providerId in: path required: true description: ID of the vault provider schema: type: string format: uuid realmId: x-speakeasy-match: id name: realmId in: path required: true description: ID of the realm schema: type: string format: uuid realmIdForChildren: name: realmId in: path required: true description: ID of the realm schema: type: string format: uuid RegistrationIdToMatchResourceID: name: registrationId in: path required: true description: ID of the application registration. schema: type: string format: uuid x-speakeasy-match: id RouteId: description: ID of the Route to lookup example: a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 in: path name: RouteId required: true schema: type: string x-speakeasy-match: id scopeId: schema: type: string format: uuid example: c5e12516-182c-4928-ae04-05374b3b1cca name: scopeId in: path required: true description: The scope ID x-speakeasy-match: id ServiceId: description: ID of the Service to lookup example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 in: path name: ServiceId required: true schema: type: string x-speakeasy-match: id SNIId: description: ID of the SNI to lookup example: 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f in: path name: SNIId required: true schema: type: string x-speakeasy-match: id SnippetId: schema: type: string format: uuid example: ebbac5b0-ac89-45c3-9d2e-c4542c657e79 name: snippetId in: path required: true description: ID of the snippet. x-speakeasy-match: id SortPortals: name: sort description: | Sorts a collection of portals. Supported sort attributes are: - name - description - authentication_enabled - rbac_enabled - auto_approve_applications - auto_approve_developers - default_domain - canonical_domain - created_at - updated_at in: query required: false schema: type: string SpecId: schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a name: specId description: The API specification identifier in: path required: true x-speakeasy-match: id TargetId: description: ID of the Target to lookup example: 5a078780-5d4c-4aae-984a-bdc6f52113d8 in: path name: TargetId required: true schema: type: string x-speakeasy-match: id TeamId: schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a name: teamId in: path required: true description: ID of the team. TransitGatewayId: name: transitGatewayId in: path description: The ID of the transit gateway to operate on. required: true schema: $ref: '#/components/schemas/TransitGatewayId' x-speakeasy-match: id UpstreamId: description: ID of the Upstream to lookup example: 426d620c-7058-4ae6-aacc-f85a3204a2c5 in: path name: UpstreamId required: true schema: type: string x-speakeasy-match: id UpstreamIdForTarget: description: ID or target of the Target to lookup example: 5a078780-5d4c-4aae-984a-bdc6f52113d8 in: path name: UpstreamIdForTarget required: true schema: type: string x-speakeasy-name-override: upstream_id V2ProductVersionId: name: productVersionId description: API product version identifier in: path required: true schema: $ref: '#/components/schemas/UUID' V2SortPortals: name: sort description: | Sorts a collection of portals. Supported sort attributes are: - name - description - is_public - rbac_enabled - auto_approve_applications - auto_approve_developers - default_domain - custom_domain - custom_client_domain - created_at - updated_at in: query required: false schema: type: string VaultId: description: ID of the Vault to lookup example: 9d4d6d19-77c6-428e-a965-9bc9647633e9 in: path name: VaultId required: true schema: type: string x-speakeasy-match: id VersionId: schema: type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a name: versionId description: The API version identifier in: path required: true x-speakeasy-match: id virtualClusterId: schema: type: string format: uuid name: virtualClusterId in: path required: true description: The ID of the Virtual Cluster. Workspace: description: The name of the workspace in: path name: workspace required: true schema: type: string example: team-payments default: default x-speakeasy-param-force-new: true WorkspaceFilter: name: filter description: Filters a collection of workspaces. required: false in: query schema: $ref: '#/components/schemas/WorkspaceFilterParameters' style: deepObject schemas: ControlPlaneSortQuery: type: string example: created_at desc enum: - created_at - created_at asc - created_at desc title: SortQuery x-speakeasy-unknown-values: allow GroupMembership: x-speakeasy-entity: GatewayControlPlaneMembership type: object properties: members: type: array items: type: object required: - id properties: id: type: string required: - members CreateControlPlaneRequest: x-speakeasy-entity: GatewayControlPlane description: The request schema for the create control plane request. type: object properties: name: description: The name of the control plane. type: string example: Test Control Plane maxLength: 256 minLength: 2 description: description: The description of the control plane in Konnect. type: string example: A test control plane for exploration. maxLength: 2048 nullable: false cluster_type: description: The ClusterType value of the cluster associated with the Control Plane. type: string example: CLUSTER_TYPE_CONTROL_PLANE enum: - CLUSTER_TYPE_CONTROL_PLANE - CLUSTER_TYPE_K8S_INGRESS_CONTROLLER - CLUSTER_TYPE_CONTROL_PLANE_GROUP - CLUSTER_TYPE_SERVERLESS - CLUSTER_TYPE_HYBRID - CLUSTER_TYPE_SERVERLESS_V1 x-speakeasy-unknown-values: allow auth_type: description: The auth type value of the cluster associated with the Runtime Group. type: string example: pinned_client_certs enum: - pinned_client_certs - pki_client_certs x-speakeasy-unknown-values: allow cloud_gateway: description: Whether this control-plane can be used for cloud-gateways. type: boolean example: false default: false nullable: false proxy_urls: $ref: '#/components/schemas/ProxyURLs' labels: $ref: '#/components/schemas/Labels' additionalProperties: false required: - name title: CreateControlPlaneRequest UpdateControlPlaneRequest: description: The request schema for the update control plane request. type: object properties: name: description: The name of the control plane. type: string example: Test Control Plane default: null maxLength: 256 minLength: 2 nullable: true x-speakeasy-param-computed: false description: description: The description of the control plane in Konnect. type: string example: A test control plane for exploration. maxLength: 2048 nullable: false auth_type: description: The auth type value of the cluster associated with the Runtime Group. type: string example: pinned_client_certs enum: - pinned_client_certs - pki_client_certs x-speakeasy-unknown-values: allow proxy_urls: $ref: '#/components/schemas/ProxyURLs' labels: $ref: '#/components/schemas/Labels' additionalProperties: false title: UpdateControlPlaneRequest ControlPlane: x-speakeasy-entity: GatewayControlPlane description: The control plane object contains information about a Kong control plane. type: object properties: id: description: The control plane ID. type: string format: uuid example: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: description: The name of the control plane. type: string example: Test Control Plane description: description: The description of the control plane in Konnect. type: string example: A test control plane for exploration. nullable: false labels: $ref: '#/components/schemas/Labels' config: description: CP configuration object for related access endpoints. type: object additionalProperties: false properties: control_plane_endpoint: description: Control Plane Endpoint. type: string format: url example: 'https://acfe5f253f.cp.konghq.com' readOnly: true x-speakeasy-param-suppress-computed-diff: true telemetry_endpoint: description: Telemetry Endpoint. type: string format: url example: 'https://acfe5f253f.tp0.konghq.com' readOnly: true x-speakeasy-param-suppress-computed-diff: true cluster_type: description: The ClusterType value of the cluster associated with the Control Plane. type: string example: CLUSTER_TYPE_CONTROL_PLANE enum: - CLUSTER_TYPE_CONTROL_PLANE - CLUSTER_TYPE_K8S_INGRESS_CONTROLLER - CLUSTER_TYPE_CONTROL_PLANE_GROUP - CLUSTER_TYPE_SERVERLESS - CLUSTER_TYPE_HYBRID - CLUSTER_TYPE_SERVERLESS_V1 readOnly: true x-speakeasy-param-suppress-computed-diff: true x-speakeasy-unknown-values: allow auth_type: description: The auth type value of the cluster associated with the Runtime Group. type: string example: pinned_client_certs enum: - pinned_client_certs - pki_client_certs readOnly: true x-speakeasy-param-suppress-computed-diff: true x-speakeasy-unknown-values: allow cloud_gateway: description: Whether the Control Plane can be used for cloud-gateways. type: boolean example: false nullable: false readOnly: true x-speakeasy-param-suppress-computed-diff: true proxy_urls: description: Array of proxy URLs associated with reaching the data-planes connected to a control-plane. type: array items: $ref: '#/components/schemas/ProxyURL' format: set example: - host: example.com port: 443 protocol: https maxItems: 5 readOnly: true title: ProxyURLs x-speakeasy-param-suppress-computed-diff: true readOnly: true required: - control_plane_endpoint - telemetry_endpoint - cluster_type - auth_type - cloud_gateway - proxy_urls x-speakeasy-param-suppress-computed-diff: true created_at: description: An ISO-8604 timestamp representation of control plane creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true x-speakeasy-terraform-ignore: true updated_at: description: An ISO-8604 timestamp representation of control plane update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true x-speakeasy-terraform-ignore: true auth_type: description: The auth type value of the cluster associated with the Runtime Group. type: string example: pinned_client_certs default: pinned_client_certs x-speakeasy-param-computed: true cluster_type: description: The ClusterType value of the cluster associated with the Control Plane. type: string default: CLUSTER_TYPE_CONTROL_PLANE x-speakeasy-param-computed: true cloud_gateway: description: Whether this control-plane can be used for cloud-gateways. type: boolean example: false default: false x-speakeasy-param-computed: true proxy_urls: description: Array of proxy URLs associated with reaching the data-planes connected to a control-plane. type: array items: $ref: '#/components/schemas/ProxyURL' format: set example: - host: example.com port: 443 protocol: https maxItems: 5 title: ProxyURLs x-speakeasy-param-computed: true additionalProperties: false required: - id - name - config - created_at - updated_at - description - labels x-speakeasy-transform-from-api: jq: | . + { auth_type: .config.auth_type, cluster_type: .config.cluster_type, cloud_gateway: .config.cloud_gateway, proxy_urls: .config.proxy_urls } Labels: description: | Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". type: object example: env: test additionalProperties: type: string pattern: '^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$' minLength: 1 maxLength: 63 nullable: true maxProperties: 50 title: Labels ProxyURL: description: Proxy URL associated with reaching the data-planes connected to a control-plane. type: object properties: host: description: Hostname of the proxy URL. type: string maxLength: 120 minLength: 1 port: description: Port of the proxy URL. type: integer minimum: 1 protocol: description: Protocol of the proxy URL. type: string maxLength: 32 minLength: 1 example: host: example.com port: 443 protocol: https additionalProperties: false required: - host - port - protocol title: ProxyURL ProxyURLs: description: Array of proxy URLs associated with reaching the data-planes connected to a control-plane. type: array items: $ref: '#/components/schemas/ProxyURL' format: set example: - host: example.com port: 443 protocol: https maxItems: 5 title: ProxyURLs ControlPlaneFilterParameters: type: object properties: id: description: 'Filter using **one** of the following operators: `eq`, `oeq`' type: object additionalProperties: false properties: eq: description: The field exactly matches the provided value. type: string oeq: description: The field matches any of the provided values. type: string name: description: 'Filter using **one** of the following operators: `eq`, `neq`, `contains`' type: object additionalProperties: false properties: eq: description: The field exactly matches the provided value. type: string contains: description: The field contains the provided value. type: string neq: description: The field does not match the provided value. type: string cluster_type: description: 'Filter using **one** of the following operators: `eq`, `oeq`, `neq`' type: object additionalProperties: false properties: eq: description: The field exactly matches the provided value. type: string neq: description: The field does not match the provided value. type: string oeq: description: The field matches any of the provided values. type: string cloud_gateway: $ref: '#/components/schemas/BooleanFieldFilter' additionalProperties: false title: ControlPlaneFilterParameters Workspace: x-speakeasy-entity: GatewayWorkspace description: Workspaces provide a way to segment Kong entities. type: object properties: id: description: The unique UUID for this resource. type: string name: type: string x-speakeasy-param-force-new: true comment: type: string nullable: false description: type: string nullable: false managed_by: $ref: '#/components/schemas/ManagedBy' created_at: description: Unix epoch when the resource was created. type: integer example: 1667592606 readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: Unix epoch when the resource was last updated. type: integer example: 1667592606 readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - name CreateWorkspaceRequest: description: The request schema for the create a workspace request. type: object properties: name: description: The name of the workspace. type: string example: team-1 x-speakeasy-param-force-new: true comment: description: The description of the workspace. type: string example: A test workspace for team 1 nullable: false description: description: The description of the workspace. type: string example: A test workspace for team 1 nullable: false managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - name title: CreateWorkspaceRequest StringFieldEqualsFilter: description: Filters on the given string field value by exact match. properties: eq: type: string title: StringFieldEqualsFilter BooleanFieldFilter: description: Filter by a boolean value (true/false). type: boolean title: BooleanFieldFilter PageMeta: description: Contains pagination query parameters and the total number of objects returned. type: object properties: number: type: number example: 1 x-speakeasy-terraform-ignore: true size: type: number example: 10 x-speakeasy-terraform-ignore: true total: type: number example: 100 x-speakeasy-terraform-ignore: true required: - number - size - total PaginatedMeta: description: returns the pagination information type: object properties: page: $ref: '#/components/schemas/PageMeta' required: - page title: PaginatedMeta x-speakeasy-terraform-ignore: true InvalidRules: description: invalid parameters rules type: string enum: - required - unique - is_array - is_base64 - is_boolean - is_date_time - is_integer - is_null - is_number - is_object - is_string - is_uuid - is_fqdn - is_arn - unknown_property - missing_reference - is_label - key_invalid - matches_regex - invalid - is_supported_network_availability_zone_list - is_supported_network_cidr_block - is_supported_provider_region - type nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true x-speakeasy-unknown-values: allow InvalidParameterStandard: type: object properties: field: type: string example: name readOnly: true x-speakeasy-param-suppress-computed-diff: true rule: $ref: '#/components/schemas/InvalidRules' source: type: string example: body default: null nullable: true x-speakeasy-param-computed: false reason: type: string example: is a required field readOnly: true x-speakeasy-param-suppress-computed-diff: true additionalProperties: false required: - field - reason InvalidParameterMinimumLength: type: object properties: field: type: string example: name readOnly: true x-speakeasy-param-suppress-computed-diff: true rule: description: invalid parameters rules type: string enum: - min_length - min_digits - min_lowercase - min_uppercase - min_symbols - min_items - min nullable: false readOnly: true x-speakeasy-param-suppress-computed-diff: true x-speakeasy-unknown-values: allow minimum: type: integer example: 8 source: type: string example: body default: null nullable: true x-speakeasy-param-computed: false reason: type: string example: must have at least 8 characters readOnly: true x-speakeasy-param-suppress-computed-diff: true additionalProperties: false required: - field - reason - rule - minimum InvalidParameterMaximumLength: type: object properties: field: type: string example: name readOnly: true x-speakeasy-param-suppress-computed-diff: true rule: description: invalid parameters rules type: string enum: - max_length - max_items - max nullable: false readOnly: true x-speakeasy-param-suppress-computed-diff: true x-speakeasy-unknown-values: allow maximum: type: integer example: 8 source: type: string example: body default: null nullable: true x-speakeasy-param-computed: false reason: type: string example: must not have more than 8 characters readOnly: true x-speakeasy-param-suppress-computed-diff: true additionalProperties: false required: - field - reason - rule - maximum InvalidParameterMinimumTime: type: object properties: field: type: string example: to readOnly: true x-speakeasy-param-suppress-computed-diff: true rule: description: invalid parameters rules type: string enum: - min_time nullable: false readOnly: true x-speakeasy-param-suppress-computed-diff: true minimum: type: string format: date-time example: '2026-10-01T00:00:00Z' source: type: string example: body default: null nullable: true x-speakeasy-param-computed: false reason: type: string example: 'must be no earlier than 2026-10-01T00:00:00Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true additionalProperties: false required: - field - reason - rule - minimum InvalidParameterMaximumTime: type: object properties: field: type: string example: to readOnly: true x-speakeasy-param-suppress-computed-diff: true rule: description: invalid parameters rules type: string enum: - max_time nullable: false readOnly: true x-speakeasy-param-suppress-computed-diff: true maximum: type: string format: date-time example: '2026-10-31T23:59:59Z' source: type: string example: body default: null nullable: true x-speakeasy-param-computed: false reason: type: string example: 'must be no later than 2026-10-31T23:59:59Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true additionalProperties: false required: - field - reason - rule - maximum InvalidParameterChoiceItem: type: object properties: field: type: string example: name readOnly: true x-speakeasy-param-suppress-computed-diff: true rule: description: invalid parameters rules type: string enum: - enum nullable: false readOnly: true x-speakeasy-param-suppress-computed-diff: true reason: type: string example: is a required field readOnly: true x-speakeasy-param-suppress-computed-diff: true choices: type: array items: type: string minItems: 1 nullable: false readOnly: true uniqueItems: true x-speakeasy-param-suppress-computed-diff: true source: type: string example: body default: null nullable: true x-speakeasy-param-computed: false additionalProperties: false required: - field - reason - rule - choices InvalidParameterDependentItem: type: object properties: field: type: string example: name readOnly: true x-speakeasy-param-suppress-computed-diff: true rule: description: invalid parameters rules type: string enum: - dependent_fields nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true reason: type: string example: is a required field readOnly: true x-speakeasy-param-suppress-computed-diff: true dependents: type: array items: type: string nullable: true readOnly: true uniqueItems: true x-speakeasy-param-suppress-computed-diff: true source: type: string example: body default: null nullable: true x-speakeasy-param-computed: false additionalProperties: false required: - field - rule - reason - dependents InvalidParameters: description: invalid parameters type: array items: oneOf: - $ref: '#/components/schemas/InvalidParameterStandard' - $ref: '#/components/schemas/InvalidParameterMinimumLength' - $ref: '#/components/schemas/InvalidParameterMaximumLength' - $ref: '#/components/schemas/InvalidParameterMinimumTime' - $ref: '#/components/schemas/InvalidParameterMaximumTime' - $ref: '#/components/schemas/InvalidParameterChoiceItem' - $ref: '#/components/schemas/InvalidParameterDependentItem' minItems: 1 nullable: false uniqueItems: true BadRequestError: description: standard error type: object properties: status: description: | The HTTP status code of the error. Useful when passing the response body to child properties in a frontend UI. Must be returned as an integer. type: integer enum: - 400 readOnly: true x-speakeasy-param-suppress-computed-diff: true title: description: | A short, human-readable summary of the problem. It should not change between occurences of a problem, except for localization. Should be provided as "Sentence case" for direct use in the UI. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true type: description: The error type. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true instance: description: | Used to return the correlation ID back to the user, in the format kong:trace:. This helps us find the relevant logs when a customer reports an issue. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true detail: description: | A human readable explanation specific to this occurence of the problem. This field may contain request/entity data to help the user understand what went wrong. Enclose variable values in square brackets. Should be provided as "Sentence case" for direct use in the UI. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true invalid_parameters: $ref: '#/components/schemas/InvalidParameters' required: - status - title - instance - detail - invalid_parameters UnauthorizedError: description: standard error type: object properties: status: description: | The HTTP status code of the error. Useful when passing the response body to child properties in a frontend UI. Must be returned as an integer. type: integer example: 401 enum: - 401 readOnly: true x-speakeasy-param-suppress-computed-diff: true title: description: | A short, human-readable summary of the problem. It should not change between occurences of a problem, except for localization. Should be provided as "Sentence case" for direct use in the UI. type: string example: Unauthorized readOnly: true x-speakeasy-param-suppress-computed-diff: true type: description: The error type. type: string example: 'https://httpstatuses.com/401' readOnly: true x-speakeasy-param-suppress-computed-diff: true instance: description: | Used to return the correlation ID back to the user, in the format kong:trace:. This helps us find the relevant logs when a customer reports an issue. type: string example: 'kong:trace:1234567890' readOnly: true x-speakeasy-param-suppress-computed-diff: true detail: description: | A human readable explanation specific to this occurence of the problem. This field may contain request/entity data to help the user understand what went wrong. Enclose variable values in square brackets. Should be provided as "Sentence case" for direct use in the UI. type: string example: Invalid credentials readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - status - title - instance - detail ForbiddenError: description: standard error type: object properties: status: description: | The HTTP status code of the error. Useful when passing the response body to child properties in a frontend UI. Must be returned as an integer. type: integer example: 403 enum: - 403 readOnly: true x-speakeasy-param-suppress-computed-diff: true title: description: | A short, human-readable summary of the problem. It should not change between occurences of a problem, except for localization. Should be provided as "Sentence case" for direct use in the UI. type: string example: Forbidden readOnly: true x-speakeasy-param-suppress-computed-diff: true type: description: The error type. type: string example: 'https://httpstatuses.com/403' readOnly: true x-speakeasy-param-suppress-computed-diff: true instance: description: | Used to return the correlation ID back to the user, in the format kong:trace:. This helps us find the relevant logs when a customer reports an issue. type: string example: 'kong:trace:1234567890' readOnly: true x-speakeasy-param-suppress-computed-diff: true detail: description: | A human readable explanation specific to this occurence of the problem. This field may contain request/entity data to help the user understand what went wrong. Enclose variable values in square brackets. Should be provided as "Sentence case" for direct use in the UI. type: string example: Forbidden readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - status - title - instance - detail InternalError: description: standard error type: object properties: status: description: | The HTTP status code of the error. Useful when passing the response body to child properties in a frontend UI. Must be returned as an integer. type: integer example: 500 enum: - 500 readOnly: true x-speakeasy-param-suppress-computed-diff: true title: description: | A short, human-readable summary of the problem. It should not change between occurences of a problem, except for localization. Should be provided as "Sentence case" for direct use in the UI. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true type: description: The error type. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true instance: description: | Used to return the correlation ID back to the user, in the format kong:trace:. This helps us find the relevant logs when a customer reports an issue. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true detail: description: | A human readable explanation specific to this occurence of the problem. This field may contain request/entity data to help the user understand what went wrong. Enclose variable values in square brackets. Should be provided as "Sentence case" for direct use in the UI. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - status - title - instance - detail ConflictError: description: standard error type: object properties: status: description: | The HTTP status code of the error. Useful when passing the response body to child properties in a frontend UI. Must be returned as an integer. type: integer example: 409 enum: - 409 readOnly: true x-speakeasy-param-suppress-computed-diff: true title: description: | A short, human-readable summary of the problem. It should not change between occurences of a problem, except for localization. Should be provided as "Sentence case" for direct use in the UI. type: string example: Conflict readOnly: true x-speakeasy-param-suppress-computed-diff: true type: description: The error type. type: string example: 'https://httpstatuses.com/409' readOnly: true x-speakeasy-param-suppress-computed-diff: true instance: description: | Used to return the correlation ID back to the user, in the format kong:trace:. This helps us find the relevant logs when a customer reports an issue. type: string example: 'kong:trace:1234567890' readOnly: true x-speakeasy-param-suppress-computed-diff: true detail: description: | A human readable explanation specific to this occurence of the problem. This field may contain request/entity data to help the user understand what went wrong. Enclose variable values in square brackets. Should be provided as "Sentence case" for direct use in the UI. type: string example: Conflict readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - status - title - instance - detail NotFoundError: description: standard error type: object properties: status: description: | The HTTP status code of the error. Useful when passing the response body to child properties in a frontend UI. Must be returned as an integer. type: integer example: 404 enum: - 404 readOnly: true x-speakeasy-param-suppress-computed-diff: true title: description: | A short, human-readable summary of the problem. It should not change between occurences of a problem, except for localization. Should be provided as "Sentence case" for direct use in the UI. type: string example: Not Found readOnly: true x-speakeasy-param-suppress-computed-diff: true type: description: The error type. type: string example: 'https://httpstatuses.com/404' readOnly: true x-speakeasy-param-suppress-computed-diff: true instance: description: | Used to return the correlation ID back to the user, in the format kong:trace:. This helps us find the relevant logs when a customer reports an issue. type: string example: 'kong:trace:1234567890' readOnly: true x-speakeasy-param-suppress-computed-diff: true detail: description: | A human readable explanation specific to this occurence of the problem. This field may contain request/entity data to help the user understand what went wrong. Enclose variable values in square brackets. Should be provided as "Sentence case" for direct use in the UI. type: string example: Not found readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - status - title - instance - detail NotImplementedError: description: standard error type: object properties: status: description: | The HTTP status code of the error. Useful when passing the response body to child properties in a frontend UI. Must be returned as an integer. type: integer example: 501 readOnly: true x-speakeasy-param-suppress-computed-diff: true title: description: | A short, human-readable summary of the problem. It should not change between occurences of a problem, except for localization. Should be provided as "Sentence case" for direct use in the UI. type: string example: Not Implemented readOnly: true x-speakeasy-param-suppress-computed-diff: true type: description: The error type. type: string example: 'https://httpstatuses.com/501' readOnly: true x-speakeasy-param-suppress-computed-diff: true instance: description: | Used to return the correlation ID back to the user, in the format kong:trace:. This helps us find the relevant logs when a customer reports an issue. type: string example: 'kong:trace:1234567890' readOnly: true x-speakeasy-param-suppress-computed-diff: true detail: description: | A human readable explanation specific to this occurence of the problem. This field may contain request/entity data to help the user understand what went wrong. Enclose variable values in square brackets. Should be provided as "Sentence case" for direct use in the UI. type: string example: Not Implemented readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - status - title - instance - detail CreatedAt: description: An ISO-8601 timestamp representation of entity creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true UpdatedAt: description: An ISO-8601 timestamp representation of entity update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true NotAvailableError: description: standard error type: object properties: status: description: | The HTTP status code of the error. Useful when passing the response body to child properties in a frontend UI. Must be returned as an integer. type: integer example: 503 enum: - 503 readOnly: true x-speakeasy-param-suppress-computed-diff: true title: description: | A short, human-readable summary of the problem. It should not change between occurences of a problem, except for localization. Should be provided as "Sentence case" for direct use in the UI. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true type: description: The error type. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true instance: description: | Used to return the correlation ID back to the user, in the format kong:trace:. This helps us find the relevant logs when a customer reports an issue. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true detail: description: | A human readable explanation specific to this occurence of the problem. This field may contain request/entity data to help the user understand what went wrong. Enclose variable values in square brackets. Should be provided as "Sentence case" for direct use in the UI. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - status - title - instance - detail ManagedBy: description: | Stores information about what manages this entity, such as the tool or system responsible for its lifecycle (for example, `terraform`). Keys must be 1–63 characters long, start and end with an alphanumeric character, and may contain dashes (`-`), underscores (`_`), and dots (`.`). Values must be 1–127 characters long and must not be empty. Keys and values must not contain spaces or control characters. type: object example: owner: terraform additionalProperties: type: string pattern: '^[^\s\x00-\x1F\x7F-\x9F]+$' minLength: 1 maxLength: 127 maxProperties: 5 title: ManagedBy PaginationNextResponse: description: URI to the next page (may be null) type: string PaginationOffsetResponse: description: Offset is used to paginate through the API. Provide this value to the next list operation to fetch the next page type: string KonnectCPLegacyErrorDetail: description: A field level failure on a rejected request. type: object properties: field: description: | The field the failure applies to. type: string example: name readOnly: true x-speakeasy-param-suppress-computed-diff: true messages: description: | The reasons the field was rejected. type: array items: type: string example: - 'name (type: unique) constraint failed' readOnly: true x-speakeasy-param-suppress-computed-diff: true type: description: | The kind of failure. `ERROR_TYPE_FIELD` for a field that failed validation, `ERROR_TYPE_REFERENCE` for a value that is already in use or that points at a missing resource. type: string example: ERROR_TYPE_FIELD readOnly: true x-speakeasy-param-suppress-computed-diff: true KonnectCPLegacyBadRequestError: description: standard error type: object properties: code: description: | The Kong error code for this failure. `3` indicates a validation error and `5` a missing resource. type: integer example: 3 readOnly: true x-speakeasy-param-suppress-computed-diff: true message: description: | A short summary of the problem. type: string example: Bad Request readOnly: true x-speakeasy-param-suppress-computed-diff: true details: description: | The fields that caused the request to be rejected, when the failure is attributable to values in the request. type: array items: $ref: '#/components/schemas/KonnectCPLegacyErrorDetail' readOnly: true x-speakeasy-param-suppress-computed-diff: true KonnectCPLegacyUnauthorizedError: description: standard error type: object properties: code: description: | The Kong error code for this failure. `3` indicates a validation error and `5` a missing resource. type: integer example: 3 readOnly: true x-speakeasy-param-suppress-computed-diff: true message: description: | A short summary of the problem. type: string example: Unauthorized readOnly: true x-speakeasy-param-suppress-computed-diff: true details: description: | The fields that caused the request to be rejected, when the failure is attributable to values in the request. type: array items: $ref: '#/components/schemas/KonnectCPLegacyErrorDetail' readOnly: true x-speakeasy-param-suppress-computed-diff: true KonnectCPLegacyForbiddenError: description: standard error type: object properties: code: description: | The Kong error code for this failure. `3` indicates a validation error and `5` a missing resource. type: integer example: 3 readOnly: true x-speakeasy-param-suppress-computed-diff: true message: description: | A short summary of the problem. type: string example: Forbidden readOnly: true x-speakeasy-param-suppress-computed-diff: true details: description: | The fields that caused the request to be rejected, when the failure is attributable to values in the request. type: array items: $ref: '#/components/schemas/KonnectCPLegacyErrorDetail' readOnly: true x-speakeasy-param-suppress-computed-diff: true KonnectCPLegacyNotFoundError: description: standard error type: object properties: code: description: | The Kong error code for this failure. `3` indicates a validation error and `5` a missing resource. type: integer example: 3 readOnly: true x-speakeasy-param-suppress-computed-diff: true message: description: | A short summary of the problem. type: string example: Not Found readOnly: true x-speakeasy-param-suppress-computed-diff: true details: description: | The fields that caused the request to be rejected, when the failure is attributable to values in the request. type: array items: $ref: '#/components/schemas/KonnectCPLegacyErrorDetail' readOnly: true x-speakeasy-param-suppress-computed-diff: true KonnectCPLegacyConflictError: description: standard error type: object properties: code: description: | The Kong error code for this failure. `3` indicates a validation error and `5` a missing resource. type: integer example: 3 readOnly: true x-speakeasy-param-suppress-computed-diff: true message: description: | A short summary of the problem. type: string example: Conflict readOnly: true x-speakeasy-param-suppress-computed-diff: true details: description: | The fields that caused the request to be rejected, when the failure is attributable to values in the request. type: array items: $ref: '#/components/schemas/KonnectCPLegacyErrorDetail' readOnly: true x-speakeasy-param-suppress-computed-diff: true ControlPlaneId: description: ID of the Konnect control plane. Can be retrieved from the Control Planes API or the Konnect UI. type: string format: uuid example: 0949471e-b759-45ba-87ab-ee63fb781388 ConfigurationId: type: string format: uuid example: edaf40f9-9fb0-4ffe-bb74-4e763a6bd471 DataPlaneGroupId: description: ID of the data-plane group that represents a deployment target for a set of data-planes. type: string format: uuid example: cbb8872a-1f83-4806-bf69-fdf0b4783c7e readOnly: true x-speakeasy-param-suppress-computed-diff: true CustomDomainId: type: string format: uuid example: 39ed3790-085d-4605-9627-f96d86aaf425 readOnly: true x-speakeasy-param-suppress-computed-diff: true NetworkId: description: 'The network ID to operate on. For serverless.v1 kind of cloud gateways, this field should be omitted.' type: string format: uuid example: 36ae63d3-efd1-4bec-b246-62aa5d3f5695 x-speakeasy-param-suppress-computed-diff: true TransitGatewayId: type: string format: uuid example: 0850820b-d153-4a2a-b9be-7d2204779139 readOnly: true x-speakeasy-param-suppress-computed-diff: true PrivateDnsId: type: string format: uuid example: 1850820b-c69f-4a2a-b9be-bbcdbc5cd618 readOnly: true x-speakeasy-param-suppress-computed-diff: true ProviderAccountId: type: string format: uuid example: 929b2449-c69f-44c4-b6ad-9ecec6f811ae ControlPlaneGeo: description: | Geographic region of the control plane. Supported values: - `us` — United States - `eu` — Europe - `au` — Australia - `me` — Middle East - `in` — India - `sg` — Singapore - `uk` — United Kingdom type: string enum: - us - eu - au - me - in - sg - uk title: Control-Plane Geo x-speakeasy-unknown-values: allow GatewayVersion: description: | Supported gateway version. For `serverless.v1` cloud gateways and dedicated AI gateways (`kind: dedicated.v0` and `type: ai`), this field should be omitted. type: string example: '3.10' title: Gateway Version InstanceTypeName: description: Instance type name to indicate capacity. type: string enum: - small - medium - large x-speakeasy-unknown-values: allow ApiAccess: description: | Controls how data planes in a configuration are exposed. Supported values: - `private` — data planes are accessible only within the VPC network; no public internet exposure - `public` — data planes are accessible from the public internet - `private+public` — equivalent to `public`; data planes are accessible from the public internet Dedicated AI gateways (`kind: dedicated.v0` and `type: ai`) support only private or public; the default is `public`. The private+public value is not supported for dedicated AI gateways. For other gateway types, the default is `private+public`. type: string example: private+public enum: - private - public - private+public x-speakeasy-param-computed: true x-speakeasy-unknown-values: allow ProviderRegionId: description: Region ID for cloud provider region. type: string example: us-east-2 title: Provider Region ID ProviderName: description: Name of cloud provider. type: string example: aws enum: - aws - azure - gcp title: Provider Name x-speakeasy-unknown-values: allow ConfigurationDataPlaneGroupAutoscale: description: | Autoscaling configuration for a data-plane group. For dedicated AI gateways (`kind: dedicated.v0` and `type: ai`) and serverless.v1 kind gateways, this field should be omitted. oneOf: - $ref: '#/components/schemas/ConfigurationDataPlaneGroupAutoscaleStatic' - $ref: '#/components/schemas/ConfigurationDataPlaneGroupAutoscaleAutopilot' ConfigurationDataPlaneGroupAutoscaleStatic: description: Object that describes the static autoscaling strategy. Deprecated in favor of the autopilot autoscaling strategy. Static autoscaling will be removed in a future version. type: object properties: kind: type: string enum: - static instance_type: $ref: '#/components/schemas/InstanceTypeName' requested_instances: description: Number of data-planes the deployment target will contain. type: integer example: 3 additionalProperties: false deprecated: true required: - kind - instance_type - requested_instances title: Configuration Autoscale Static ConfigurationDataPlaneGroupAutoscaleAutopilot: description: Object that describes the autopilot autoscaling strategy. type: object properties: kind: type: string enum: - autopilot base_rps: description: Base number of requests per second that the deployment target should support. type: integer example: 100 minimum: 1 max_rps: description: 'Max number of requests per second that the deployment target should support. If not set, this defaults to 10x base_rps. This field is deprecated and shouldn''t be used in new configurations as it will be removed in a future version. max_rps is now calculated as 10x base_rps.' type: integer example: 1000 deprecated: true readOnly: true x-speakeasy-param-computed: true x-speakeasy-param-suppress-computed-diff: true additionalProperties: false required: - kind - base_rps title: Configuration Autoscale Autopilot ConfigurationDataPlaneGroupEnvironment: description: | Array of environment variables to set for a data-plane group. For dedicated AI gateways (`kind: dedicated.v0` and `type: ai`), this field should be omitted. type: array items: $ref: '#/components/schemas/ConfigurationDataPlaneGroupEnvironmentField' title: Configuration Data-Plane Group Environment ConfigurationDataPlaneGroupEnvironmentField: description: | Environment variable name and value to set for a data-plane group. For dedicated AI gateways (`kind: dedicated.v0` and `type: ai`), this field should be omitted. type: object properties: name: description: | Name of the environment variable field to set for the data-plane group. Must be prefixed by KONG_ or OTEL_. type: string format: '^(KONG|OTEL)_[a-zA-Z_]+[a-zA-Z0-9_]*' example: KONG_LOG_LEVEL maxLength: 120 minLength: 6 value: description: Value assigned to the environment variable field for the data-plane group. type: string example: info maxLength: 2048 minLength: 1 required: - name - value title: Configuration Data-Plane Group Environment Field ConfigurationDataPlaneGroupConfig: description: 'Object that describes where a data-plane group will be deployed to, along with how many instances.' type: object properties: provider: $ref: '#/components/schemas/ProviderName' region: $ref: '#/components/schemas/ProviderRegionId' cloud_gateway_network_id: $ref: '#/components/schemas/NetworkId' autoscale: $ref: '#/components/schemas/ConfigurationDataPlaneGroupAutoscale' environment: $ref: '#/components/schemas/ConfigurationDataPlaneGroupEnvironment' additionalProperties: false required: - provider - region title: Configuration Data-Plane Group Config Item ConfigurationDataPlaneGroup: description: Object that describes the set of data-plane groups currently pointed to this configuration. type: object properties: id: $ref: '#/components/schemas/DataPlaneGroupId' provider: $ref: '#/components/schemas/ProviderName' region: $ref: '#/components/schemas/ProviderRegionId' autoscale: $ref: '#/components/schemas/ConfigurationDataPlaneGroupAutoscale' environment: $ref: '#/components/schemas/ConfigurationDataPlaneGroupEnvironment' cloud_gateway_network_id: $ref: '#/components/schemas/NetworkId' state: description: State of the data-plane group. type: string enum: - created - initializing - ready - terminating - terminated x-speakeasy-unknown-values: allow state_metadata: description: | Metadata describing the backing state of the dataplane group and why it may be in an erroneous state. type: object additionalProperties: false properties: reported_status: description: Reported status of the dataplane group from backing infrastructure. type: string example: ERROR default: null nullable: true x-speakeasy-param-computed: false reason: description: | Reason why the dataplane group may be in an erroneous state, reported from backing infrastructure. type: string example: | Dataplane group could not be deployed due to insufficient cloud provider compute instances. default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-terraform-ignore: true private_ip_addresses: description: | List of private IP addresses of the internal load balancer that proxies traffic to this data-plane group. type: array items: type: string example: - 192.168.248.132 - 192.168.66.81 - 192.168.137.135 default: null nullable: true x-speakeasy-param-computed: false egress_ip_addresses: description: | List of egress IP addresses for the network that this data-plane group runs on. type: array items: type: string example: - 71.78.149.75 - 91.149.112.244 - 51.235.15.121 default: null nullable: true x-speakeasy-param-computed: false hostnames: description: List of hostnames for proxying to the data-plane group. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false created_at: description: An RFC-3339 timestamp representation of data-plane group creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of data-plane group update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - id - provider - region - state - created_at - updated_at title: Cloud Gateway Configuration Data-Plane Group ConfigurationKind: description: |- **Pre-release Feature** This feature is currently in beta and is subject to change. Kind of the Cloud Gateway deployment. If serverless.v1 is specified, the following fields should be omitted (will be ignored if provided): autoscale, cloud_gateway_network_id, version. type: string default: dedicated.v0 enum: - dedicated.v0 - serverless.v1 title: ConfigurationKind x-speakeasy-unknown-values: allow ConfigurationType: description: |- **Pre-release Feature** This feature is currently in beta and is subject to change. Type of Cloud Gateway: `api` for an API Gateway or `ai` for an AI Gateway. Applies only to dedicated Cloud Gateways. Defaults to `api` when omitted. type: string default: api enum: - api - ai title: ConfigurationType x-speakeasy-unknown-values: allow CustomDomainType: description: |- **Pre-release Feature** This feature is currently in beta and is subject to change. Type of gateway the custom domain belongs to: `api` for an API Gateway or `ai` for an AI Gateway. Applies only to dedicated custom domains. Defaults to `api` when omitted. type: string default: api enum: - api - ai title: CustomDomainType x-speakeasy-unknown-values: allow CustomDomainKind: description: |- **Pre-release Feature** This feature is currently in beta and is subject to change. Kind of the custom domain based on Cloud Gateway deployment. type: string default: dedicated.v0 enum: - dedicated.v0 - serverless.v1 title: CustomDomainKind x-speakeasy-unknown-values: allow ConfigurationManifest: x-speakeasy-entity: CloudGatewayConfiguration description: Object containing information about a control-plane's cloud-gateways configuration. type: object properties: id: $ref: '#/components/schemas/ConfigurationId' version: $ref: '#/components/schemas/GatewayVersion' api_access: $ref: '#/components/schemas/ApiAccess' dataplane_group_config: description: 'Object that describes where data-planes will be deployed to, along with how many instances.' type: array items: $ref: '#/components/schemas/ConfigurationDataPlaneGroupConfig' title: Configuration Data-Plane Group Configs x-speakeasy-terraform-ignore: true dataplane_groups: description: | List of data-plane groups that describe where data-planes will be deployed to, along with how many instances. type: array items: $ref: '#/components/schemas/ConfigurationDataPlaneGroup' format: set kind: $ref: '#/components/schemas/ConfigurationKind' type: $ref: '#/components/schemas/ConfigurationType' entity_version: description: | Positive, monotonically increasing version integer, to serialize configuration changes. type: number example: 1 readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: An RFC-3339 timestamp representation of configuration creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of configuration update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true control_plane_id: $ref: '#/components/schemas/ControlPlaneId' control_plane_geo: $ref: '#/components/schemas/ControlPlaneGeo' required: - id - control_plane_id - control_plane_geo - dataplane_group_config - dataplane_groups - entity_version - created_at - updated_at title: Configuration CreateConfigurationDataPlaneGroup: description: 'Object that describes where to deploy a data-plane group, along with how many instances.' type: object properties: provider: $ref: '#/components/schemas/ProviderName' region: $ref: '#/components/schemas/ProviderRegionId' cloud_gateway_network_id: $ref: '#/components/schemas/NetworkId' autoscale: $ref: '#/components/schemas/ConfigurationDataPlaneGroupAutoscale' environment: $ref: '#/components/schemas/ConfigurationDataPlaneGroupEnvironment' additionalProperties: false required: - provider - region title: CreateConfigurationDataPlaneGroup ProviderAccount: description: Object containing mapping for organization and cloud provider to account ID. type: object properties: id: $ref: '#/components/schemas/ProviderAccountId' provider: $ref: '#/components/schemas/ProviderName' provider_account_id: description: ID of the cloud provider account. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: An RFC-3339 timestamp representation of provider account creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of provider account update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - id - provider - provider_account_id - created_at - updated_at title: Cloud Gateway Provider Account NetworkCreateState: description: Initial state for creating a network. type: string default: initializing enum: - initializing - offline title: Network Create State x-speakeasy-unknown-values: allow NetworkState: description: | The current state of the network. Possible values: - `created`: The network was created, but provisioning hasn't started yet. - `initializing`: The network is being provisioned in the cloud provider. - `offline`: The network was created but isn't provisioned; no data planes can be deployed. - `ready`: The network is fully provisioned and available for data plane groups. - `terminating`: The network is being deleted and is no longer accepting new resources. - `terminated`: The network has been fully deleted and is no longer available. type: string enum: - created - initializing - offline - ready - terminating - terminated readOnly: true title: Network State x-speakeasy-param-suppress-computed-diff: true x-speakeasy-terraform-ignore: true x-speakeasy-unknown-values: allow NetworkStateMetadata: description: | Metadata describing the backing state of the network and why it may be in an erroneous state. type: object properties: reported_status: description: Reported status of the network from backing infrastructure. type: string example: INVALID reason: description: | Reason why the network may be in an erroneous state, reported from backing infrastructure. type: string example: | Network could not be deployed due to insufficient cloud provider compute instances. additionalProperties: false readOnly: true title: Network State Metadata x-speakeasy-param-suppress-computed-diff: true x-speakeasy-terraform-ignore: true NetworkProviderMetadata: description: Metadata describing attributes returned by cloud-provider for the network. type: object properties: vpc_id: type: string title: VPC ID subnet_ids: type: array items: type: string title: Subnet IDs additionalProperties: false readOnly: true title: Network Provider Metadata x-speakeasy-param-suppress-computed-diff: true NetworkName: description: Human-readable name of the network. type: string example: us-east-2-network title: Network Name NetworkCIDRBlock: description: CIDR block for the network. Must not overlap with reserved blocks for the target region. Query the Resource Availability endpoint for valid CIDR ranges per region and provider. type: string example: 10.0.0.0/16 title: Network CIDR Block NetworkAvailabilityZones: description: List of availability zones that the network is attached to. type: array items: type: string example: - use2-az1 - use2-az2 - use2-az3 Network: x-speakeasy-entity: CloudGatewayNetwork description: Object containing information about a network to be used in configurations. type: object properties: id: $ref: '#/components/schemas/NetworkId' name: $ref: '#/components/schemas/NetworkName' default: description: | Whether the network is a default network or not. Default networks are Networks that are created automatically by Konnect when an organization is linked to a provider account. type: boolean example: false x-speakeasy-param-suppress-computed-diff: true cloud_gateway_provider_account_id: $ref: '#/components/schemas/ProviderAccountId' region: $ref: '#/components/schemas/ProviderRegionId' availability_zones: $ref: '#/components/schemas/NetworkAvailabilityZones' cidr_block: $ref: '#/components/schemas/NetworkCIDRBlock' state: $ref: '#/components/schemas/NetworkState' state_metadata: $ref: '#/components/schemas/NetworkStateMetadata' provider_metadata: $ref: '#/components/schemas/NetworkProviderMetadata' transit_gateway_count: description: The number of transit gateways attached to this network. type: integer example: 0 readOnly: true x-speakeasy-param-suppress-computed-diff: true configuration_reference_count: description: The number of configurations that reference this network. type: integer example: 0 readOnly: true x-speakeasy-param-suppress-computed-diff: true entity_version: description: | Monotonically-increasing version count of the network, to indicate the order of updates to the network. type: integer example: 1 readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: An RFC-3339 timestamp representation of network creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of network update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - id - name - default - cloud_gateway_provider_account_id - region - availability_zones - cidr_block - provider_metadata - state - transit_gateway_count - configuration_reference_count - entity_version - created_at - updated_at title: Network CreateNetworkRequest: x-speakeasy-entity: CloudGatewayNetwork description: Request schema for creating a network. type: object properties: name: $ref: '#/components/schemas/NetworkName' cloud_gateway_provider_account_id: $ref: '#/components/schemas/ProviderAccountId' region: $ref: '#/components/schemas/ProviderRegionId' availability_zones: $ref: '#/components/schemas/NetworkAvailabilityZones' cidr_block: $ref: '#/components/schemas/NetworkCIDRBlock' state: $ref: '#/components/schemas/NetworkCreateState' additionalProperties: false required: - name - cloud_gateway_provider_account_id - region - availability_zones - cidr_block title: CreateNetworkRequest PatchNetworkRequest: x-speakeasy-entity: CloudGatewayNetwork description: Request schema for updating a network. type: object properties: name: $ref: '#/components/schemas/NetworkName' additionalProperties: false title: PatchNetworkRequest TransitGatewayState: description: | The current state of the Transit Gateway. Possible values: - `created` - The attachment has been created but is not attached to transit gateway. - `initializing` - The attachment is in the process of being initialized and is setting up necessary resources. - `pending-acceptance` The attachment request is awaiting acceptance in customer VPC. - `pending-user-action` The attachment request is awaiting user action in customer VPC. - `ready` - The transit gateway attachment is fully operational and can route traffic as configured. - `terminating` - The attachment is in the process of being deleted and is no longer accepting new traffic. - `terminated` - The attachment has been fully deleted and is no longer available. - `error` - The attachment is in an error state. type: string enum: - created - initializing - pending-acceptance - pending-user-action - ready - terminating - terminated - error readOnly: true title: Transit Gateway State x-speakeasy-param-suppress-computed-diff: true x-speakeasy-unknown-values: allow AwsResourceEndpointConfigState: description: | The current state of the resource config in AWS Resource Endpoint. Possible values: - `initializing` - The config is in the process of being initialized and is setting up necessary resources. - `missing` - The config is missing and is no longer accepting new traffic. - `ready` - The config is fully operational and can route traffic as configured. - `error` - The config is in an error state, and is not operational. - `terminating` - The config is in the process of being deleted and is no longer accepting new traffic. type: string enum: - initializing - missing - ready - error - terminating readOnly: true title: AWS Resource Endpoint Config State x-speakeasy-param-suppress-computed-diff: true x-speakeasy-unknown-values: allow AwsTransitGatewayAttachmentConfig: type: object properties: kind: enum: - aws-transit-gateway-attachment title: AWS Transit Gateway Attachment Type transit_gateway_id: description: AWS Transit Gateway ID to create attachment to. type: string title: Transit Gateway ID ram_share_arn: description: Resource Share ARN to verify request to create transit gateway attachment. type: string title: RAM Share ARN additionalProperties: false required: - kind - transit_gateway_id - ram_share_arn title: AWS Transit Gateway Attachment Config AwsTransitGatewayAttachmentConfigForResponse: type: object properties: kind: enum: - aws-transit-gateway-attachment title: AWS Transit Gateway Attachment Type transit_gateway_id: description: AWS Transit Gateway ID to create attachment to. type: string title: Transit Gateway ID ram_share_arn: description: Resource Share ARN to verify request to create transit gateway attachment. type: string title: RAM Share ARN attachment_id: description: ID of the AWS Transit Gateway attachment. type: string default: null nullable: true title: AWS Transit Gateway Attachment ID x-speakeasy-param-computed: false additionalProperties: false required: - kind - transit_gateway_id - ram_share_arn title: AWS Transit Gateway Attachment Config AwsVpcPeeringGatewayAttachmentConfig: type: object properties: kind: enum: - aws-vpc-peering-attachment title: AWS VPC Peering Attachment Config peer_account_id: description: AWS account ID of the peer VPC owner. type: string example: '123456789012' peer_vpc_id: description: ID of the peer VPC to establish the peering connection with. type: string example: vpc-0a1b2c3d4e5f67890 peer_vpc_region: description: AWS region where the peer VPC is located. type: string example: us-east-2 additionalProperties: false required: - kind - peer_account_id - peer_vpc_id - peer_vpc_region title: AWS VPC Peering Attachment Config AwsVpcPeeringGatewayAttachmentConfigForResponse: type: object properties: kind: enum: - aws-vpc-peering-attachment title: AWS VPC Peering Attachment Config peer_account_id: description: AWS account ID of the peer VPC owner. type: string example: '123456789012' peer_vpc_id: description: ID of the peer VPC to establish the peering connection with. type: string example: vpc-0a1b2c3d4e5f67890 peer_vpc_region: description: AWS region where the peer VPC is located. type: string example: us-east-2 peering_connection_id: description: 'ID of the AWS VPC peering connection, assigned after the peering request is accepted.' type: string example: pcx-0a1b2c3d4e5f67890 default: null nullable: true x-speakeasy-param-computed: false additionalProperties: false required: - kind - peer_account_id - peer_vpc_id - peer_vpc_region title: AWS VPC Peering Attachment Config AwsResourceEndpointAttachmentConfig: type: object properties: kind: enum: - aws-resource-endpoint-attachment title: AWS Resource Endpoint Attachment Type ram_share_arn: description: Resource Share ARN to verify request to create transit gateway attachment. type: string title: RAM Share ARN resource_config: $ref: '#/components/schemas/AwsResourceEndpointConfig' additionalProperties: false required: - kind - ram_share_arn title: AWS Resource Endpoint Attachment Config AwsResourceEndpointAttachmentConfigResponse: type: object properties: kind: enum: - aws-resource-endpoint-attachment title: AWS Resource Endpoint Attachment Type ram_share_arn: description: Resource Share ARN to verify request to create transit gateway attachment. type: string title: RAM Share ARN resource_config: $ref: '#/components/schemas/AwsResourceEndpointConfigResponse' additionalProperties: false required: - kind - ram_share_arn - resource_config title: AWS Resource Endpoint Attachment Config Response AwsResourceEndpointConfig: description: | List of unique resource config mapping for aws resource endpoint. type: array items: type: object additionalProperties: false properties: resource_config_id: description: Resource Config ID to uniquely identify a resource configuration. type: string title: Resource Config ID domain_name: description: Domain Name to uniquely identify a resource configuration. type: string title: Domain Name required: - resource_config_id - domain_name title: AWS Resource Endpoint Config AwsResourceEndpointConfigResponse: description: | List of unique resource config mapping for aws resource endpoint. type: array items: type: object additionalProperties: false properties: resource_config_id: description: Resource Config ID to uniquely identify a resource configuration. type: string title: Resource Config ID domain_name: description: Domain Name to uniquely identify a resource configuration. type: string title: Domain Name state: $ref: '#/components/schemas/AwsResourceEndpointConfigState' required: - resource_config_id - domain_name - state title: AWS Resource Endpoint Config Response AzureVNETPeeringAttachmentConfig: type: object properties: kind: enum: - azure-vnet-peering-attachment title: Azure VNET Peering Attachment Type tenant_id: description: Tenant ID for the Azure VNET Peering attachment. type: string title: Tenant ID subscription_id: description: Subscription ID for the Azure VNET Peering attachment. type: string title: Subscription ID resource_group_name: description: Resource Group Name for the Azure VNET Peering attachment. type: string title: Resource Group Name vnet_name: description: VNET Name for the Azure VNET Peering attachment. type: string title: VNET Name additionalProperties: false required: - kind - tenant_id - subscription_id - resource_group_name - vnet_name title: Azure VNET Peering Attachment Config AzureVHubPeeringAttachmentConfig: type: object properties: kind: enum: - azure-vhub-peering-attachment title: Azure Virtual Hub Peering Attachment Type tenant_id: description: Tenant ID of the Azure Virtual Hub resource. type: string title: Tenant ID subscription_id: description: Subscription ID of the Azure Virtual Hub resource. type: string title: Subscription ID resource_group_name: description: Resource Group Name of the Azure Virtual Hub resource. type: string title: Resource Group Name vhub_name: description: Name of the Azure Virtual Hub resource. type: string title: Virtual Hub Name additionalProperties: false required: - kind - tenant_id - subscription_id - resource_group_name - vhub_name title: Azure Virtual Hub Peering Attachment Config GCPVPCPeeringAttachmentConfig: type: object properties: kind: enum: - gcp-vpc-peering-attachment title: GCP VPC Peering Attachment Type peer_project_id: description: GCP Project ID of the peer account to create attachment to. type: string title: GCP Project ID peer_vpc_name: description: GCP VPC Name of the peer account to create attachment to. type: string title: GCP VPC Name additionalProperties: false required: - kind - peer_project_id - peer_vpc_name title: GCP VPC Peering Attachment Config TransitGatewayDnsConfig: description: | List of mappings from remote DNS server IP address sets to proxied internal domains, for a transit gateway attachment. type: array items: type: object additionalProperties: false properties: remote_dns_server_ip_addresses: description: Remote DNS Server IP Addresses to connect to for resolving internal DNS via a transit gateway. type: array items: type: string example: - 10.0.0.2 title: Remote DNS Server IP Addresses domain_proxy_list: description: | Internal domain names to proxy for DNS resolution from the listed remote DNS server IP addresses, for a transit gateway. type: array items: type: string example: - foobar.com title: Domain Proxy List required: - remote_dns_server_ip_addresses - domain_proxy_list title: Transit Gateway DNS Config TransitGatewayName: description: Human-readable name of the transit gateway. type: string example: us-east-2 transit gateway title: Transit Gateway Name TransitGatewayCIDRBlocks: description: | CIDR blocks for constructing a route table for the transit gateway, when attaching to the owning network. type: array items: type: string example: - 10.0.0.0/8 - 100.64.0.0/10 - 172.16.0.0/12 title: Transit Gateway CIDR Blocks PrivateDnsResponse: oneOf: - $ref: '#/components/schemas/AwsPrivateHostedZoneResponse' - $ref: '#/components/schemas/AwsPrivateDnsResolverResponse' - $ref: '#/components/schemas/GcpPrivateHostedZoneResponse' - $ref: '#/components/schemas/AzurePrivateHostedZoneResponse' - $ref: '#/components/schemas/AzurePrivateDnsResolverResponse' AwsPrivateHostedZoneResponse: type: object properties: id: $ref: '#/components/schemas/PrivateDnsId' state: $ref: '#/components/schemas/PrivateDnsState' state_metadata: description: | Metadata describing the backing state of the Private Dns and why it may be in an erroneous state. type: object additionalProperties: false properties: reported_status: description: Reported status of the Private Dns from backing infrastructure. type: string example: ERROR default: null nullable: true x-speakeasy-param-computed: false reason: description: | Reason why the Private Dns may be in an erroneous state, reported from backing infrastructure. type: string example: | Failed to create Private Dns due to invalid Cloud Provider configuration. default: null nullable: true x-speakeasy-param-computed: false title: PrivateDnsStateMetadata entity_version: description: | Monotonically-increasing version count of the Private DNS, to indicate the order of updates to the Private DNS. type: integer example: 1 readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: An RFC-3339 timestamp representation of Private DNS creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of Private DNS update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true name: $ref: '#/components/schemas/PrivateDnsName' private_dns_attachment_config: $ref: '#/components/schemas/AwsPrivateHostedZoneAttachmentConfig' required: - id - state - state_metadata - entity_version - created_at - updated_at - name - private_dns_attachment_config AwsPrivateHostedZoneAttachmentConfig: type: object properties: kind: enum: - aws-private-hosted-zone-attachment title: AWS Private Hosted Zone Type hosted_zone_id: description: AWS Hosted Zone to create attachment to. type: string title: Hosted Zone Id additionalProperties: false required: - kind - hosted_zone_id title: AWS Private Hosted Zone Attachment Config GcpPrivateHostedZoneAttachmentConfig: type: object properties: kind: enum: - gcp-private-hosted-zone-attachment title: GCP Private Hosted Zone Type domain_name: description: Domain name to create attachment to. type: string title: Domain Name peer_project_id: description: Customer's GCP Project ID. type: string title: Peer Project Id peer_vpc_name: description: Customer's GCP VPC ID. type: string title: Peer VPC Name additionalProperties: false required: - kind - domain_name - peer_project_id - peer_vpc_name title: GCP Private Hosted Zone Attachment Config GcpPrivateHostedZoneResponse: type: object properties: id: $ref: '#/components/schemas/PrivateDnsId' state: $ref: '#/components/schemas/PrivateDnsState' state_metadata: description: | Metadata describing the backing state of the Private Dns and why it may be in an erroneous state. type: object additionalProperties: false properties: reported_status: description: Reported status of the Private Dns from backing infrastructure. type: string example: ERROR default: null nullable: true x-speakeasy-param-computed: false reason: description: | Reason why the Private Dns may be in an erroneous state, reported from backing infrastructure. type: string example: | Failed to create Private Dns due to invalid Cloud Provider configuration. default: null nullable: true x-speakeasy-param-computed: false title: PrivateDnsStateMetadata entity_version: description: | Monotonically-increasing version count of the Private DNS, to indicate the order of updates to the Private DNS. type: integer example: 1 readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: An RFC-3339 timestamp representation of Private DNS creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of Private DNS update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true name: $ref: '#/components/schemas/PrivateDnsName' private_dns_attachment_config: $ref: '#/components/schemas/GcpPrivateHostedZoneAttachmentConfig' required: - id - state - state_metadata - entity_version - created_at - updated_at - name - private_dns_attachment_config AzurePrivateHostedZoneAttachmentConfig: type: object properties: kind: enum: - azure-private-hosted-zone-attachment title: Azure Private Hosted Zone Type domain_name: description: Customer's Azure Private DNS Zone Name. type: string title: Domain Name peer_tenant_id: description: Customer's Azure Tenant ID. type: string title: Peer Tenant Id peer_subscription_id: description: Customer's Azure Subscription ID. type: string title: Peer Subscription Id peer_resource_group_id: description: Customer's Azure Resource Group ID. type: string title: Peer Resource Group Id peer_vnet_link_name: description: Customer's Azure VNet Link Name. type: string title: Peer VNet Link Name example: kind: azure-private-hosted-zone-attachment domain_name: example.private.azure.com peer_tenant_id: 87654321-4321-4321-4321-210987654321 peer_subscription_id: 12345678-1234-1234-1234-123456789012 peer_resource_group_id: customer-dns-rg peer_vnet_link_name: kong-vnet-link additionalProperties: false required: - kind - domain_name - peer_tenant_id - peer_subscription_id - peer_resource_group_id - peer_vnet_link_name title: Azure Private Hosted Zone Attachment Config AzurePrivateHostedZoneResponse: type: object properties: id: $ref: '#/components/schemas/PrivateDnsId' state: $ref: '#/components/schemas/PrivateDnsState' state_metadata: description: | Metadata describing the backing state of the Private Dns and why it may be in an erroneous state. type: object additionalProperties: false properties: reported_status: description: Reported status of the Private Dns from backing infrastructure. type: string example: ERROR default: null nullable: true x-speakeasy-param-computed: false reason: description: | Reason why the Private Dns may be in an erroneous state, reported from backing infrastructure. type: string example: | Failed to create Private Dns due to invalid Cloud Provider configuration. default: null nullable: true x-speakeasy-param-computed: false title: PrivateDnsStateMetadata entity_version: description: | Monotonically-increasing version count of the Private DNS, to indicate the order of updates to the Private DNS. type: integer example: 1 readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: An RFC-3339 timestamp representation of Private DNS creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of Private DNS update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true name: $ref: '#/components/schemas/PrivateDnsName' private_dns_attachment_config: $ref: '#/components/schemas/AzurePrivateHostedZoneAttachmentConfig' required: - id - state - state_metadata - entity_version - created_at - updated_at - name - private_dns_attachment_config AwsPrivateDnsResolverResponse: type: object properties: id: $ref: '#/components/schemas/PrivateDnsId' state: $ref: '#/components/schemas/PrivateDnsState' state_metadata: description: | Metadata describing the backing state of the Private Dns and why it may be in an erroneous state. type: object additionalProperties: false properties: reported_status: description: Reported status of the Private Dns from backing infrastructure. type: string example: ERROR default: null nullable: true x-speakeasy-param-computed: false reason: description: | Reason why the Private Dns may be in an erroneous state, reported from backing infrastructure. type: string example: | Failed to create Private Dns due to invalid Cloud Provider configuration. default: null nullable: true x-speakeasy-param-computed: false title: PrivateDnsStateMetadata entity_version: description: | Monotonically-increasing version count of the Private DNS, to indicate the order of updates to the Private DNS. type: integer example: 1 readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: An RFC-3339 timestamp representation of Private DNS creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of Private DNS update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true name: $ref: '#/components/schemas/PrivateDnsName' private_dns_attachment_config: $ref: '#/components/schemas/AwsPrivateDnsResolverAttachmentConfig' required: - id - state - state_metadata - entity_version - created_at - updated_at - name - private_dns_attachment_config AzurePrivateDnsResolverResponse: type: object properties: id: $ref: '#/components/schemas/PrivateDnsId' state: $ref: '#/components/schemas/PrivateDnsState' state_metadata: description: | Metadata describing the backing state of the Private Dns and why it may be in an erroneous state. type: object additionalProperties: false properties: reported_status: description: Reported status of the Private Dns from backing infrastructure. type: string example: ERROR default: null nullable: true x-speakeasy-param-computed: false reason: description: | Reason why the Private Dns may be in an erroneous state, reported from backing infrastructure. type: string example: | Failed to create Private Dns due to invalid Cloud Provider configuration. default: null nullable: true x-speakeasy-param-computed: false title: PrivateDnsStateMetadata entity_version: description: | Monotonically-increasing version count of the Private DNS, to indicate the order of updates to the Private DNS. type: integer example: 1 readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: An RFC-3339 timestamp representation of Private DNS creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of Private DNS update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true name: $ref: '#/components/schemas/PrivateDnsName' private_dns_attachment_config: $ref: '#/components/schemas/AzurePrivateDnsResolverAttachmentConfig' required: - id - state - state_metadata - entity_version - created_at - updated_at - name - private_dns_attachment_config AwsPrivateDnsResolverAttachmentConfig: type: object properties: kind: enum: - aws-outbound-resolver title: AWS Private DNS Resolver Type dns_config: $ref: '#/components/schemas/PrivateDnsResolverConfig' additionalProperties: false required: - kind - dns_config title: AWS Private DNS Resolver Attachment Config AzurePrivateDnsResolverAttachmentConfig: type: object properties: kind: enum: - azure-outbound-resolver title: Azure Private DNS Resolver Type dns_config: $ref: '#/components/schemas/PrivateDnsResolverConfig' example: kind: azure-outbound-resolver dns_config: internal.example.com: remote_dns_server_ip_addresses: - 10.0.1.100 db.corp.internal: remote_dns_server_ip_addresses: - 10.0.2.100 additionalProperties: false required: - kind - dns_config title: Azure Private DNS Resolver Attachment Config PrivateDnsResolverConfig: description: | Object that contains mappings from proxied internal domains to remote DNS server IP address for a Private DNS Resolver. type: object example: internal.example.com: remote_dns_server_ip_addresses: - 10.0.1.100 db.corp.internal: remote_dns_server_ip_addresses: - 10.0.2.100 additionalProperties: $ref: '#/components/schemas/PrivateDnsResolverConfigObject' title: Private DNS Resolver Config Item PrivateDnsResolverConfigObject: type: object properties: remote_dns_server_ip_addresses: description: IP addresses of remote DNS servers used by the Private DNS Resolver for DNS resolution. type: array items: type: string example: - 10.0.0.2 required: - remote_dns_server_ip_addresses PrivateDnsName: description: Human-readable name of the Private DNS. type: string example: us-east-2-private-dns title: Private DNS Name PrivateDnsState: description: | The current state of the Private DNS attachment. Possible values: - `created` - The attachment has been created but is not attached to Private DNS. - `initializing` - The attachment is in the process of being initialized and is setting up necessary resources. - `pending-association` The attachment request is awaiting association to the cloud provider infrastructure in order for provisioning to proceed. - `ready` - The attachment is fully operational and can route traffic as configured. - `error` - The attachment is in an error state, and is not operational. - `terminating` - The attachment is in the process of being deleted. - `terminated` - The attachment has been fully deleted and is no longer available. type: string enum: - created - initializing - pending-association - ready - error - terminating - terminated title: Private DNS State x-speakeasy-unknown-values: allow CreatePrivateDnsRequest: description: Request schema for creating a Private DNS. type: object properties: name: $ref: '#/components/schemas/PrivateDnsName' private_dns_attachment_config: oneOf: - $ref: '#/components/schemas/AwsPrivateHostedZoneAttachmentConfig' - $ref: '#/components/schemas/AwsPrivateDnsResolverAttachmentConfig' - $ref: '#/components/schemas/GcpPrivateHostedZoneAttachmentConfig' - $ref: '#/components/schemas/AzurePrivateHostedZoneAttachmentConfig' - $ref: '#/components/schemas/AzurePrivateDnsResolverAttachmentConfig' title: CreatePrivateDnsRequest AwsTransitGatewayResponse: type: object properties: name: $ref: '#/components/schemas/TransitGatewayName' dns_config: $ref: '#/components/schemas/TransitGatewayDnsConfig' cidr_blocks: $ref: '#/components/schemas/TransitGatewayCIDRBlocks' transit_gateway_attachment_config: $ref: '#/components/schemas/AwsTransitGatewayAttachmentConfigForResponse' id: $ref: '#/components/schemas/TransitGatewayId' state: $ref: '#/components/schemas/TransitGatewayState' state_metadata: description: | Metadata describing the backing state of the transit gateway and why it may be in an erroneous state. type: object additionalProperties: false properties: reported_status: description: Reported status of the transit gateway from backing infrastructure. type: string example: ERROR reason: description: | Reason why the transit gateway may be in an erroneous state, reported from backing infrastructure. type: string example: | Transit Gateway Attachment configuration could not find a resource with the provided ram share arn. readOnly: true title: TransitGatewayStateMetadata x-speakeasy-param-suppress-computed-diff: true entity_version: description: | Monotonically-increasing version count of the transit gateway, to indicate the order of updates to the transit gateway. type: integer example: 1 readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: An RFC-3339 timestamp representation of transit gateway creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of transit gateway update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - name - cidr_blocks - transit_gateway_attachment_config - dns_config - id - state - entity_version - created_at - updated_at title: AWS Transit Gateway AwsVpcPeeringGatewayResponse: type: object properties: name: $ref: '#/components/schemas/TransitGatewayName' dns_config: $ref: '#/components/schemas/TransitGatewayDnsConfig' cidr_blocks: $ref: '#/components/schemas/TransitGatewayCIDRBlocks' transit_gateway_attachment_config: $ref: '#/components/schemas/AwsVpcPeeringGatewayAttachmentConfigForResponse' id: $ref: '#/components/schemas/TransitGatewayId' state: $ref: '#/components/schemas/TransitGatewayState' state_metadata: description: | Metadata describing the backing state of the transit gateway and why it may be in an erroneous state. type: object additionalProperties: false properties: reported_status: description: Reported status of the transit gateway from backing infrastructure. type: string example: ERROR reason: description: | Reason why the transit gateway may be in an erroneous state, reported from backing infrastructure. type: string example: | Transit Gateway Attachment configuration could not find a resource with the provided ram share arn. readOnly: true title: TransitGatewayStateMetadata x-speakeasy-param-suppress-computed-diff: true entity_version: description: | Monotonically-increasing version count of the transit gateway, to indicate the order of updates to the transit gateway. type: integer example: 1 readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: An RFC-3339 timestamp representation of transit gateway creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of transit gateway update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - name - cidr_blocks - transit_gateway_attachment_config - dns_config - id - state - entity_version - created_at - updated_at title: AWS VPC Peering Gateway AwsResourceEndpointGatewayResponse: type: object properties: name: $ref: '#/components/schemas/TransitGatewayName' dns_config: $ref: '#/components/schemas/TransitGatewayDnsConfig' transit_gateway_attachment_config: $ref: '#/components/schemas/AwsResourceEndpointAttachmentConfigResponse' id: $ref: '#/components/schemas/TransitGatewayId' state: $ref: '#/components/schemas/TransitGatewayState' state_metadata: description: | Metadata describing the backing state of the transit gateway and why it may be in an erroneous state. type: object additionalProperties: false properties: reported_status: description: Reported status of the transit gateway from backing infrastructure. type: string example: ERROR reason: description: | Reason why the transit gateway may be in an erroneous state, reported from backing infrastructure. type: string example: | Transit Gateway Attachment configuration could not find a resource with the provided ram share arn. readOnly: true title: TransitGatewayStateMetadata x-speakeasy-param-suppress-computed-diff: true entity_version: description: | Monotonically-increasing version count of the transit gateway, to indicate the order of updates to the transit gateway. type: integer example: 1 readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: An RFC-3339 timestamp representation of transit gateway creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of transit gateway update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - name - transit_gateway_attachment_config - id - dns_config - state - entity_version - created_at - updated_at title: AWS Resource Endpoint Gateway AzureTransitGatewayResponse: type: object properties: name: $ref: '#/components/schemas/TransitGatewayName' dns_config: $ref: '#/components/schemas/TransitGatewayDnsConfig' transit_gateway_attachment_config: $ref: '#/components/schemas/AzureVNETPeeringAttachmentConfig' id: $ref: '#/components/schemas/TransitGatewayId' state: $ref: '#/components/schemas/TransitGatewayState' state_metadata: description: | Metadata describing the backing state of the transit gateway and why it may be in an erroneous state. type: object additionalProperties: false properties: reported_status: description: Reported status of the transit gateway from backing infrastructure. type: string example: ERROR reason: description: | Reason why the transit gateway may be in an erroneous state, reported from backing infrastructure. type: string example: | Transit Gateway Attachment configuration could not find a resource with the provided ram share arn. readOnly: true title: TransitGatewayStateMetadata x-speakeasy-param-suppress-computed-diff: true entity_version: description: | Monotonically-increasing version count of the transit gateway, to indicate the order of updates to the transit gateway. type: integer example: 1 readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: An RFC-3339 timestamp representation of transit gateway creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of transit gateway update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - name - transit_gateway_attachment_config - id - dns_config - state - entity_version - created_at - updated_at title: Azure Transit Gateway AzureVHubPeeringGatewayResponse: type: object properties: name: $ref: '#/components/schemas/TransitGatewayName' dns_config: $ref: '#/components/schemas/TransitGatewayDnsConfig' transit_gateway_attachment_config: $ref: '#/components/schemas/AzureVHubPeeringAttachmentConfig' id: $ref: '#/components/schemas/TransitGatewayId' state: $ref: '#/components/schemas/TransitGatewayState' state_metadata: description: | Metadata describing the backing state of the transit gateway and why it may be in an erroneous state. type: object additionalProperties: false properties: reported_status: description: Reported status of the transit gateway from backing infrastructure. type: string example: ERROR reason: description: | Reason why the transit gateway may be in an erroneous state, reported from backing infrastructure. type: string example: | Transit Gateway Attachment configuration could not find a resource with the provided ram share arn. readOnly: true title: TransitGatewayStateMetadata x-speakeasy-param-suppress-computed-diff: true entity_version: description: | Monotonically-increasing version count of the transit gateway, to indicate the order of updates to the transit gateway. type: integer example: 1 readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: An RFC-3339 timestamp representation of transit gateway creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of transit gateway update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - name - transit_gateway_attachment_config - id - dns_config - state - entity_version - created_at - updated_at title: Azure Virtual Hub Peering Gateway x-speakeasy-name-override: AzureVhubPeeringGatewayResponse GCPVPCPeeringGatewayResponse: type: object properties: name: $ref: '#/components/schemas/TransitGatewayName' dns_config: $ref: '#/components/schemas/TransitGatewayDnsConfig' transit_gateway_attachment_config: $ref: '#/components/schemas/GCPVPCPeeringAttachmentConfig' id: $ref: '#/components/schemas/TransitGatewayId' state: $ref: '#/components/schemas/TransitGatewayState' state_metadata: description: | Metadata describing the backing state of the transit gateway and why it may be in an erroneous state. type: object additionalProperties: false properties: reported_status: description: Reported status of the transit gateway from backing infrastructure. type: string example: ERROR reason: description: | Reason why the transit gateway may be in an erroneous state, reported from backing infrastructure. type: string example: | Transit Gateway Attachment configuration could not find a resource with the provided ram share arn. readOnly: true title: TransitGatewayStateMetadata x-speakeasy-param-suppress-computed-diff: true entity_version: description: | Monotonically-increasing version count of the transit gateway, to indicate the order of updates to the transit gateway. type: integer example: 1 readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: An RFC-3339 timestamp representation of transit gateway creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of transit gateway update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - name - transit_gateway_attachment_config - id - dns_config - state - entity_version - created_at - updated_at title: GCP VPC Peering Transit Gateway TransitGatewayResponse: oneOf: - $ref: '#/components/schemas/AwsTransitGatewayResponse' - $ref: '#/components/schemas/AwsVpcPeeringGatewayResponse' - $ref: '#/components/schemas/AzureTransitGatewayResponse' - $ref: '#/components/schemas/AzureVHubPeeringGatewayResponse' - $ref: '#/components/schemas/GCPVPCPeeringGatewayResponse' - $ref: '#/components/schemas/AwsResourceEndpointGatewayResponse' CreateAwsTransitGateway: type: object properties: name: $ref: '#/components/schemas/TransitGatewayName' dns_config: $ref: '#/components/schemas/TransitGatewayDnsConfig' cidr_blocks: $ref: '#/components/schemas/TransitGatewayCIDRBlocks' transit_gateway_attachment_config: $ref: '#/components/schemas/AwsTransitGatewayAttachmentConfig' required: - name - cidr_blocks - transit_gateway_attachment_config title: AWS Transit Gateway x-speakeasy-name-override: AWSTransitGateway CreateAwsVpcPeeringGateway: type: object properties: name: $ref: '#/components/schemas/TransitGatewayName' dns_config: $ref: '#/components/schemas/TransitGatewayDnsConfig' cidr_blocks: $ref: '#/components/schemas/TransitGatewayCIDRBlocks' transit_gateway_attachment_config: $ref: '#/components/schemas/AwsVpcPeeringGatewayAttachmentConfig' required: - name - cidr_blocks - transit_gateway_attachment_config title: AWS Vpc Peering Gateway x-speakeasy-name-override: AWSVpcPeeringGateway CreateAwsResourceEndpointGateway: type: object properties: name: $ref: '#/components/schemas/TransitGatewayName' dns_config: $ref: '#/components/schemas/TransitGatewayDnsConfig' transit_gateway_attachment_config: $ref: '#/components/schemas/AwsResourceEndpointAttachmentConfig' required: - name - transit_gateway_attachment_config title: AWS Resource Endpoint Gateway x-speakeasy-name-override: AWSResourceEndpointGateway CreateAzureTransitGateway: type: object properties: name: $ref: '#/components/schemas/TransitGatewayName' dns_config: $ref: '#/components/schemas/TransitGatewayDnsConfig' transit_gateway_attachment_config: $ref: '#/components/schemas/AzureVNETPeeringAttachmentConfig' required: - name - transit_gateway_attachment_config title: Azure Transit Gateway x-speakeasy-name-override: AzureTransitGateway CreateAzureVHubPeeringGateway: type: object properties: name: $ref: '#/components/schemas/TransitGatewayName' dns_config: $ref: '#/components/schemas/TransitGatewayDnsConfig' transit_gateway_attachment_config: $ref: '#/components/schemas/AzureVHubPeeringAttachmentConfig' required: - name - transit_gateway_attachment_config title: Azure Virtual Hub Peering Gateway x-speakeasy-name-override: AzureVhubPeeringGateway CreateGCPVPCPeeringTransitGateway: type: object properties: name: $ref: '#/components/schemas/TransitGatewayName' dns_config: $ref: '#/components/schemas/TransitGatewayDnsConfig' transit_gateway_attachment_config: $ref: '#/components/schemas/GCPVPCPeeringAttachmentConfig' required: - name - transit_gateway_attachment_config title: GCP VPC Peering Transit Gateway x-speakeasy-name-override: GcpVpcPeeringTransitGateway CreateTransitGatewayRequest: description: Request schema for creating a transit gateway. type: object oneOf: - $ref: '#/components/schemas/CreateAwsTransitGateway' - $ref: '#/components/schemas/CreateAwsVpcPeeringGateway' - $ref: '#/components/schemas/CreateAwsResourceEndpointGateway' - $ref: '#/components/schemas/CreateAzureTransitGateway' - $ref: '#/components/schemas/CreateAzureVHubPeeringGateway' - $ref: '#/components/schemas/CreateGCPVPCPeeringTransitGateway' title: CreateTransitGatewayRequest PatchAwsResourceEndpointGateway: description: Request schema for updating AWS Resource Endpoint. properties: transit_gateway_attachment_config: type: object additionalProperties: false properties: kind: enum: - aws-resource-endpoint-attachment title: AWS Resource Endpoint Attachment Type resource_config: $ref: '#/components/schemas/AwsResourceEndpointConfig' required: - kind - resource_config required: - transit_gateway_attachment_config x-speakeasy-name-override: AWSResourceEndpointGateway PatchAwsTransitGateway: description: Request schema for updating AWS Transit Gateway properties: cidr_blocks: $ref: '#/components/schemas/TransitGatewayCIDRBlocks' required: - cidr_blocks x-speakeasy-name-override: AWSTransitGateway PatchTransitGatewayRequest: description: Request schema for updating a transit gateway. type: object oneOf: - $ref: '#/components/schemas/PatchAwsResourceEndpointGateway' - $ref: '#/components/schemas/PatchAwsTransitGateway' title: PatchTransitGatewayRequest CustomDomainState: description: | The current state of the custom domain. Possible values: - `created` — The domain has been registered but TLS provisioning has not yet started. - `initializing` — Konnect is provisioning the TLS certificate and configuring SNI routing. - `ready` — The domain is fully provisioned and serving traffic. - `terminating` — The domain is being deleted and its TLS certificate is being removed. - `terminated` — The domain has been fully deleted and is no longer available. - `error` — Provisioning failed; check `state_metadata` for details. type: string enum: - created - initializing - ready - terminating - terminated - error readOnly: true title: Custom Domain State x-speakeasy-param-suppress-computed-diff: true x-speakeasy-unknown-values: allow CustomDomainName: description: Domain name of the custom domain. type: string example: example.com title: Custom Domain Name CustomDomain: x-speakeasy-entity: CloudGatewayCustomDomain description: Object containing information about a custom domain for a control-plane. type: object properties: id: $ref: '#/components/schemas/CustomDomainId' control_plane_id: $ref: '#/components/schemas/ControlPlaneId' control_plane_geo: $ref: '#/components/schemas/ControlPlaneGeo' domain: $ref: '#/components/schemas/CustomDomainName' certificate_id: description: | Certificate ID for the certificate representing this domain and stored on data-planes for this control-plane. Can be retrieved via the control-planes API for this custom domain's control-plane. type: string format: uuid example: 3b7cbeee-fbec-440e-a5ef-89e7dec3b9d0 nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true sni_id: description: | Server Name Indication ID for this domain and stored on data-planes for this control-plane. Can be retrieved via the control-planes API for this custom domain's control-plane. type: string format: uuid example: a8f11ea8-af09-4422-9735-5d4f8910aba1 nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true state: $ref: '#/components/schemas/CustomDomainState' state_metadata: description: | Metadata describing the backing state of the custom domain and why it may be in an erroneous state. type: object additionalProperties: false properties: reported_status: description: Reported status of the custom domain from backing infrastructure. type: string example: INVALID reason: description: | Reason why the custom domain may be in an erroneous state, reported from backing infrastructure. type: string example: | CNAME points to '_acme-challenge..gateways.konghq.tech.' instead of '_acme-challenge..acme.gateways.konghq.tech.' readOnly: true title: CustomDomainStateMetadata x-speakeasy-param-suppress-computed-diff: true entity_version: description: | Monotonically-increasing version count of the custom domain, to indicate the order of updates to the custom domain. type: integer example: 1 readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: An RFC-3339 timestamp representation of custom domain creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: An RFC-3339 timestamp representation of custom domain update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true kind: $ref: '#/components/schemas/CustomDomainKind' type: $ref: '#/components/schemas/CustomDomainType' required: - id - control_plane_id - control_plane_geo - domain - state - state_metadata - entity_version - created_at - updated_at title: Custom Domain CreateConfigurationRequest: description: | Describes the desired state of a control plane's Cloud Gateway deployment. Submitting this request replaces the current configuration; Kong reconciles running data plane groups to match. `Dedicated API gateways` require version, cloud_gateway_network_id, and autoscale. `Dedicated AI gateways` require cloud_gateway_network_id; version, autoscale, and environment must be omitted. `Serverless gateways` omit version, cloud_gateway_network_id, and autoscale. type: object properties: control_plane_id: $ref: '#/components/schemas/ControlPlaneId' control_plane_geo: $ref: '#/components/schemas/ControlPlaneGeo' version: $ref: '#/components/schemas/GatewayVersion' dataplane_groups: description: 'List of data-plane groups that describe where to deploy instances, along with how many instances.' type: array items: $ref: '#/components/schemas/CreateConfigurationDataPlaneGroup' format: set kind: $ref: '#/components/schemas/ConfigurationKind' type: $ref: '#/components/schemas/ConfigurationType' api_access: $ref: '#/components/schemas/ApiAccess' additionalProperties: false required: - control_plane_id - control_plane_geo - dataplane_groups title: CreateConfigurationRequest CreateCustomDomainRequest: description: Request schema for creating a custom domain in the global API. type: object properties: control_plane_id: $ref: '#/components/schemas/ControlPlaneId' control_plane_geo: $ref: '#/components/schemas/ControlPlaneGeo' domain: $ref: '#/components/schemas/CustomDomainName' kind: $ref: '#/components/schemas/CustomDomainKind' type: $ref: '#/components/schemas/CustomDomainType' additionalProperties: false required: - control_plane_id - control_plane_geo - domain title: CreateCustomDomainRequest AddOnId: type: string format: uuid example: 550e8400-e29b-41d4-a716-446655440000 readOnly: true x-speakeasy-param-suppress-computed-diff: true AddOnConfigResponse: description: Configuration object for different types of add-ons. type: object oneOf: - $ref: '#/components/schemas/ManagedCacheAddOnConfigResponse' title: AddOnConfigResponse ManagedCacheAddOnConfigResponse: description: Configuration for managed cache add-on. type: object properties: kind: description: Type of add-on configuration. type: string const: managed-cache.v0 capacity_config: $ref: '#/components/schemas/ManagedCacheCapacityConfig' data_plane_groups: description: List of data-plane groups where the managed cache is deployed. type: array items: $ref: '#/components/schemas/ManagedCacheAddOnDataPlaneGroup' readOnly: true x-speakeasy-param-suppress-computed-diff: true state_metadata: description: | Metadata describing the state of the managed cache add-on. type: object additionalProperties: false properties: cache_config_id: description: Reference to cache configuration for this add-on. type: string format: uuid example: edaf40f9-9fb0-4ffe-bb74-4e763a6bd471 cache_server_name: description: Env vault path to cache server name. type: string example: '{vault://env/ADDON_MANAGED_CACHE_SERVER_NAME}' cache_host: description: Env vault path to cache hostname. type: string example: '{vault://env/ADDON_MANAGED_CACHE_HOST}' cache_port: description: Env vault path to cache port. type: string example: '{vault://env/ADDON_MANAGED_CACHE_PORT}' cache_username: description: Env vault path to cache username. type: string example: '{vault://env/ADDON_MANAGED_CACHE_USERNAME}' cloud_authentication: description: | Metadata describing the cloud authentication details for managed cache add-on. type: object additionalProperties: false properties: auth_provider: description: Env vault path to cache auth provider. type: string example: '{vault://env/ADDON_MANAGED_CACHE_AUTH_PROVIDER}' aws_cache_name: description: Env vault path to aws cache name. type: string example: '{vault://env/ADDON_MANAGED_CACHE_AWS_CACHE_NAME}' aws_region: description: Env vault path to aws region. type: string example: '{vault://env/ADDON_MANAGED_CACHE_AWS_REGION}' aws_assume_role_arn: description: Env vault path to aws assume role arn. type: string example: '{vault://env/ADDON_MANAGED_CACHE_AWS_ASSUME_ROLE_ARN}' azure_tenant_id: description: Env vault path to azure tenant id. type: string example: '{vault://env/ADDON_MANAGED_CACHE_AZURE_TENANT_ID}' readOnly: true x-speakeasy-param-suppress-computed-diff: true additionalProperties: false required: - kind - capacity_config - data_plane_groups - state_metadata title: ManagedCacheAddOnConfigResponse ManagedCacheAddOnDataPlaneGroup: description: Object that describes a data-plane group where managed cache add-on is deployed. type: object properties: id: description: ID of the data-plane group. type: string format: uuid example: 1150820b-c69f-4a2a-b9be-bbcdbc5cd618 cloud_gateway_network_id: description: Network ID this data-plane group is attached to. type: string format: uuid example: 36ae63d3-efd1-4bec-b246-62aa5d3f5695 provider: $ref: '#/components/schemas/ProviderName' region: description: Region of cloud provider the data-plane group is deployed to. type: string example: us-east-1 state: description: | The current state of the managed cache add-on in the data-plane group. Possible values: - `initializing` - The add-on is in the process of being initialized/updated and is setting up necessary resources for this data-plane group. - `ready` - The add-on is fully operational for this data-plane group. - `error` - The add-on is in an error state, and is not operational for this data-plane group. - `terminating` - The add-on is in the process of being deleted for this data-plane group. type: string enum: - initializing - ready - error - terminating x-speakeasy-unknown-values: allow state_metadata: description: | Metadata describing the state of the managed cache add-on in the data-plane group. type: object additionalProperties: false properties: error_reason: description: | Reason why the managed cache add-on may be in an error state, reported from backing infrastructure. type: string example: | Failed to create managed cache add-on due to invalid configuration. additionalProperties: false readOnly: true required: - id - cloud_gateway_network_id - provider - region - state - state_metadata title: ManagedCacheAddOnDataPlaneGroup x-speakeasy-param-suppress-computed-diff: true AddOnState: description: | The current state of the add-on. Possible values: - `initializing` - The add-on is in the process of being initialized/updated. - `ready` - The add-on is fully operational. - `terminating` - The add-on is in the process of being deleted. type: string enum: - initializing - ready - terminating readOnly: true title: Add-On State x-speakeasy-param-suppress-computed-diff: true x-speakeasy-unknown-values: allow AddOnResponse: description: Object containing information about an add-on. type: object properties: id: $ref: '#/components/schemas/AddOnId' name: $ref: '#/components/schemas/AddOnName' owner: $ref: '#/components/schemas/AddOnOwner' config: $ref: '#/components/schemas/AddOnConfigResponse' entity_version: description: 'Monotonically-increasing version count of the add-on, to indicate the order of updates to the add-on.' type: integer example: 1 readOnly: true x-speakeasy-param-suppress-computed-diff: true state: $ref: '#/components/schemas/AddOnState' created_at: description: RFC-3339 timestamp representation of add-on creation date. type: string format: date-time example: '2025-08-26T06:56:41Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: RFC-3339 timestamp representation of add-on update date. type: string format: date-time example: '2025-08-26T06:56:41Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true additionalProperties: false required: - id - name - owner - config - entity_version - state - created_at - updated_at title: AddOnResponse CreateAddOnRequest: description: Request schema for creating an add-on. type: object properties: name: $ref: '#/components/schemas/AddOnName' owner: $ref: '#/components/schemas/AddOnOwner' config: $ref: '#/components/schemas/CreateAddOnConfig' additionalProperties: false required: - name - owner - config title: CreateAddOnRequest AddOnName: description: Unique human-readable name of the add-on. type: string example: my-add-on maxLength: 70 minLength: 1 title: AddOnName AddOnOwner: description: Owner for the add-on. type: object oneOf: - $ref: '#/components/schemas/ControlPlaneAddOnOwner' - $ref: '#/components/schemas/ControlPlaneGroupAddOnOwner' title: AddOnOwner ControlPlaneAddOnOwnerType: description: |- **Pre-release Feature** This feature is currently in beta and is subject to change. Type of gateway that owns the add-on: `api` for an API Gateway or `ai` for an AI Gateway. Defaults to `api` when omitted. type: string default: api enum: - api - ai title: ControlPlaneAddOnOwnerType x-speakeasy-unknown-values: allow ControlPlaneAddOnOwner: description: Control Plane is the owner for the add-on. type: object properties: kind: description: Type of owner for the add-on. type: string const: control-plane type: $ref: '#/components/schemas/ControlPlaneAddOnOwnerType' control_plane_id: description: ID of the control-plane that owns this add-on. type: string format: uuid example: 123e4567-e89b-12d3-a456-426614174000 control_plane_geo: $ref: '#/components/schemas/ControlPlaneGeo' additionalProperties: false required: - kind - control_plane_id - control_plane_geo title: ControlPlaneAddOnOwner x-speakeasy-name-override: control_plane ControlPlaneGroupAddOnOwner: description: Control Plane Group is the owner for the add-on. type: object properties: kind: description: Type of owner for the add-on. type: string const: control-plane-group control_plane_group_id: description: ID of the control-plane group that owns this add-on. type: string format: uuid example: 123e4567-e89b-12d3-a456-426614174000 control_plane_group_geo: $ref: '#/components/schemas/ControlPlaneGeo' additionalProperties: false required: - kind - control_plane_group_id - control_plane_group_geo title: ControlPlaneGroupAddOnOwner x-speakeasy-name-override: control_plane_group CreateAddOnConfig: description: Configuration for creating different types of add-ons. type: object oneOf: - $ref: '#/components/schemas/CreateManagedCacheAddOnConfig' title: CreateAddOnConfig CreateManagedCacheAddOnConfig: description: Configuration for creating a managed cache add-on. type: object properties: kind: description: Type of add-on configuration. type: string const: managed-cache.v0 capacity_config: $ref: '#/components/schemas/ManagedCacheCapacityConfig' additionalProperties: false required: - kind - capacity_config title: CreateManagedCacheAddOnConfig x-speakeasy-name-override: managed_cache UpdateAddOnRequest: description: Request body for updating an add-on. type: object properties: config: $ref: '#/components/schemas/UpdateAddOnConfig' additionalProperties: false required: - config title: UpdateAddOnRequest UpdateAddOnConfig: description: Configuration for updating different types of add-ons. type: object oneOf: - $ref: '#/components/schemas/UpdateManagedCacheAddOnConfig' title: UpdateAddOnConfig UpdateManagedCacheAddOnConfig: description: Configuration for updating a managed cache add-on. type: object properties: kind: description: Type of add-on configuration. type: string const: managed-cache.v0 capacity_config: $ref: '#/components/schemas/ManagedCacheCapacityConfig' additionalProperties: false required: - kind - capacity_config title: UpdateManagedCacheAddOnConfig x-speakeasy-name-override: managed_cache ManagedCacheCapacityConfig: description: Configuration for managed cache capacity and performance characteristics. type: object oneOf: - $ref: '#/components/schemas/TieredCapacityConfig' title: ManagedCacheCapacityConfig TieredCapacityConfig: description: Capacity tiers with pre-configured size and performance characteristics. type: object properties: kind: description: Type of capacity configuration. type: string const: tiered tier: description: | Capacity tier that determines both cache size and performance characteristics: - micro: ~0.5 GiB capacity - small: ~1 GiB capacity - medium: ~3 GiB capacity - large: ~6 GiB capacity - xlarge: ~12 GiB capacity - 2xlarge: ~25 GiB capacity - 4xlarge: ~52 GiB capacity - 8xlarge: ~100 GiB capacity - 12xlarge: ~150 GiB capacity - 16xlarge: ~200 GiB capacity - 24xlarge: ~300 GiB capacity type: string enum: - micro - small - medium - large - xlarge - 2xlarge - 4xlarge - 8xlarge - 12xlarge - 16xlarge - 24xlarge x-speakeasy-unknown-values: allow example: kind: tiered tier: small additionalProperties: false required: - kind - tier title: TieredCapacityConfig x-speakeasy-name-override: Tiered NetworksFilterParameters: type: object properties: name: $ref: '#/components/schemas/CloudGatewaysStringFieldFilterOverride' state: $ref: '#/components/schemas/NetworkStateFieldFilter' additionalProperties: false title: NetworksFilterParameters CloudGatewaysStringFieldFilterOverride: description: 'Filter using **one** of the following operators: `eq`, `oeq`, `neq`, `contains`, `ocontains`' type: object properties: eq: description: The field exactly matches the provided value. type: string contains: description: The field contains the provided value. type: string neq: description: The field does not match the provided value. type: string oeq: description: The field matches any of the provided values. type: string ocontains: description: The field contains any of the provided values. type: string additionalProperties: false NetworkStateFieldFilter: description: 'Filter using **one** of the following operators: `eq`, `oeq`, `neq`' type: object properties: eq: description: The field exactly matches the provided value. $ref: '#/components/schemas/NetworkState' neq: description: The field does not match the provided value. $ref: '#/components/schemas/NetworkState' oeq: description: The field matches any of the provided values. type: string UuidFieldFilter: description: 'Filter using **one** of the following operators: `eq`, `oeq`, `neq`' type: object properties: eq: description: The field exactly matches the provided value. type: string oeq: description: The field matches any of the provided values. type: string neq: description: The field does not match the provided value. type: string additionalProperties: false MeshControlPlaneFeatures: type: array items: $ref: '#/components/schemas/MeshControlPlaneFeature' MeshControlPlaneFeatureHostnameGenerationCreation: properties: enabled: type: boolean required: - enabled MeshControlPlaneFeatureMeshCreation: properties: enabled: type: boolean required: - enabled MeshControlPlaneFeature: description: | Features to be enabled in the control plane. Currently only defaults are supported. type: object properties: type: type: string enum: - MeshCreation - HostnameGeneratorCreation x-speakeasy-unknown-values: allow hostnameGeneratorCreation: $ref: '#/components/schemas/MeshControlPlaneFeatureHostnameGenerationCreation' meshCreation: $ref: '#/components/schemas/MeshControlPlaneFeatureMeshCreation' required: - type MeshControlPlaneLabels: description: Labels to facilitate tagged search on control planes. Keys must be of length 1-63 characters. type: object example: test: 'true' additionalProperties: type: string pattern: '^[a-z0-9A-Z]{1}([a-z0-9A-Z\-\.\_]*[a-z0-9A-Z]+)?$' minLength: 1 maxLength: 63 nullable: true maxProperties: 10 nullable: true title: Labels MeshControlPlaneNonNullableLabels: description: Labels to facilitate tagged search on control planes. Keys must be of length 1-63 characters. type: object example: test: 'true' additionalProperties: type: string pattern: '^[a-z0-9A-Z]{1}([a-z0-9A-Z\-\.\_]*[a-z0-9A-Z]+)?$' minLength: 1 maxLength: 63 maxProperties: 10 nullable: true title: Labels MeshControlPlane: description: a control plane type: object properties: id: description: ID of the control plane. type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a readOnly: true x-speakeasy-param-suppress-computed-diff: true name: $ref: '#/components/schemas/MeshControlPlaneName' description: $ref: '#/components/schemas/MeshControlPlaneDescription' labels: $ref: '#/components/schemas/MeshControlPlaneLabels' features: $ref: '#/components/schemas/MeshControlPlaneFeatures' created_at: type: string format: date-time example: '2023-01-11T02:30:42.227Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: type: string format: date-time example: '2023-01-11T02:30:42.227Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - id - name - updated_at - created_at title: ControlPlane CreateMeshControlPlaneRequest: description: a payload to create a control plane type: object properties: name: $ref: '#/components/schemas/MeshControlPlaneName' description: $ref: '#/components/schemas/MeshControlPlaneDescription' features: $ref: '#/components/schemas/MeshControlPlaneFeatures' labels: $ref: '#/components/schemas/MeshControlPlaneLabels' additionalProperties: false required: - name title: CreateMeshControlPlaneRequest PutMeshControlPlaneRequest: description: a payload to update the whole control plane type: object properties: name: $ref: '#/components/schemas/MeshControlPlaneName' description: $ref: '#/components/schemas/MeshControlPlaneDescription' labels: $ref: '#/components/schemas/MeshControlPlaneNonNullableLabels' required: - name title: PutMeshControlPlaneRequest MeshControlPlaneName: description: The name of the control plane. type: string example: Test control plane maxLength: 100 minLength: 1 pattern: '^[a-z0-9A-Z]{1}.*$' MeshControlPlaneDescription: type: string example: A control plane to handle traffic on development environment. maxLength: 250 MeshControlPlaneFilterParameters: type: object properties: name: description: 'Filter using **one** of the following operators: `eq`, `contains`' type: object additionalProperties: false properties: eq: description: The field exactly matches the provided value. type: string contains: description: The field contains the provided value. type: string labels: $ref: '#/components/schemas/LabelsFieldFilter' additionalProperties: false title: MeshControlPlaneFilterParameters StringFieldFilter: description: 'Filter using **one** of the following operators: `eq`, `oeq`, `neq`, `contains`, `ocontains`' type: object properties: eq: description: The field exactly matches the provided value. type: string contains: description: The field contains the provided value. type: string ocontains: description: The field contains any of the provided values. type: string oeq: description: The field matches any of the provided values. type: string neq: description: The field does not match the provided value. type: string additionalProperties: false LabelsFieldFilter: allOf: - title: LabelsFieldFilter description: | Filters on the resource's `labels` field. Filters must use dot-notation to identify the label key that will be used to filter the results. For example: - `filter[labels.owner]` - `filter[labels.owner][neq]=kong` - `filter[labels.env]=dev` - `filter[labels.env][ocontains]=dev,test` - $ref: '#/components/schemas/StringFieldFilter' APIProductPortals: description: The list of portals which this API product is published to type: array items: $ref: '#/components/schemas/APIProductPortal' minItems: 0 title: APIProductPortals APIProductPortal: type: object properties: portal_id: type: string format: uuid example: 35a2624c-49fc-4764-99e1-224ed819f200 portal_name: type: string example: Developer Portal additionalProperties: false required: - portal_id - portal_name title: APIProductPortal APIProductVersionPublishStatus: type: string example: published enum: - published - unpublished title: APIProductVersionPublishStatus x-speakeasy-unknown-values: allow APIProductVersionPortals: description: The list of portals which this API product version is configured for type: array items: $ref: '#/components/schemas/APIProductVersionPortal' minItems: 0 title: APIProductVersionPortals APIProductVersionPortal: type: object properties: portal_id: type: string format: uuid example: 35a2624c-49fc-4764-99e1-224ed819f200 portal_name: type: string example: Developer Portal portal_product_version_id: type: string format: uuid example: 35a2624c-49fc-4764-99e1-224ed819f200 publish_status: $ref: '#/components/schemas/APIProductVersionPublishStatus' deprecated: type: boolean example: false application_registration_enabled: type: boolean example: true auto_approve_registration: type: boolean example: false auth_strategies: type: array items: $ref: '#/components/schemas/APIProductVersionAuthStrategy' additionalProperties: false required: - portal_id - portal_name - portal_product_version_id - publish_status - deprecated - application_registration_enabled - auto_approve_registration - auth_strategies title: APIProductVersionPortal APIProductVersionAuthStrategy: type: object properties: id: type: string format: uuid example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 name: type: string example: Key Auth example: id: 9f5061ce-78f6-4452-9108-ad7c02821fd5 name: Key Auth additionalProperties: false required: - id - name title: APIProductVersionAuthStrategy APIProduct: x-speakeasy-entity: ApiProduct type: object properties: id: description: The API product ID. type: string format: uuid example: b9e81174-b5bb-4638-a3c3-8afe61a0abf8 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: description: The name of the API product type: string example: My Name description: description: The description of the API product type: string example: MyDescription default: null nullable: true x-speakeasy-param-computed: false portal_ids: description: | The list of portal identifiers which this API product is published to. This property is deprecated and will be removed in a future version. Use the `portals` property instead. type: array items: type: string format: uuid example: 25a2624c-49fc-4764-99e1-224ed819f200 deprecated: true minItems: 0 nullable: false uniqueItems: true portals: $ref: '#/components/schemas/APIProductPortals' version_count: description: The number of product versions attached to this API product type: number example: 10 created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' labels: $ref: '#/components/schemas/Labels' public_labels: $ref: '#/components/schemas/PublicLabels' additionalProperties: false required: - id - name - description - portal_ids - portals - created_at - updated_at - labels - public_labels - version_count title: API Product APIProductDocument: description: an api product document type: object properties: id: type: string format: uuid parent_document_id: type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false title: type: string slug: type: string status: type: string enum: - unpublished - published x-speakeasy-unknown-values: allow metadata: type: object content: description: The unencoded markdown string of the api product document. type: string created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - parent_document_id - title - slug - status - metadata - content - ast - updated_at - created_at title: ApiProductDocument AuthStrategySyncError: type: object properties: plugin_name: type: string value: type: string enum: - plugin_sync_error_comm - plugin_sync_error_unknown - plugin_sync_error_fatal - plugin_sync_error_updating_plugin_refs x-speakeasy-unknown-values: allow message: type: string info: type: object additionalProperties: true properties: details: type: array items: type: object additionalProperties: true properties: type: type: string message: type: array items: type: string example: plugin_name: konnect-application-auth value: plugin_sync_error_comm message: Unable to connect to the control plane to update plugin additionalProperties: false required: - message AuthStrategySyncErrors: description: The set of errors encountered when trying to sync the auth strategies on the version type: array items: $ref: '#/components/schemas/AuthStrategySyncError' example: - plugin_name: konnect-application-auth value: plugin_sync_error_comm message: Unable to connect to the control plane to update plugin nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true x-speakeasy-terraform-ignore: true APIProductVersion: x-speakeasy-entity: ApiProductVersion type: object properties: id: description: The API product version identifier. type: string format: uuid example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: description: The version of the API product type: string example: FirstVersion gateway_service: type: object default: null additionalProperties: false nullable: true properties: id: description: The identifier of a gateway service associated with the version of the API product. type: string format: uuid example: 09b4786a-3e48-4631-8f6b-62d1d8e1a7f3 nullable: true runtime_group_id: description: 'This field is deprecated, please use `control_plane_id` instead. The identifier of the control plane that the gateway service resides in' type: string format: uuid example: e4d9ebb1-26b4-426a-b00e-cb67044f3baf default: null deprecated: true nullable: true x-speakeasy-param-computed: false control_plane_id: description: The identifier of the control plane that the gateway service resides in type: string format: uuid example: e4d9ebb1-26b4-426a-b00e-cb67044f3baf required: - id - control_plane_id x-speakeasy-param-computed: false publish_status: description: 'This field is published if the API product version is published to at least one portal. This field is deprecated: Use [PortalProductVersion.publish_status](https://docs.konghq.com/konnect/api/portal-management/v2/#/operations/create-portal-product-version) instead.' type: string example: unpublished enum: - unpublished - published deprecated: true x-speakeasy-terraform-ignore: true x-speakeasy-unknown-values: allow deprecated: description: 'Whether this API product version is deprecated in at least one portal. This field is deprecated: Use [PortalProductVersion.deprecated](https://docs.konghq.com/konnect/api/portal-management/v2/#/operations/create-portal-product-version) instead' type: boolean example: false deprecated: true labels: $ref: '#/components/schemas/Labels' auth_strategy_sync_errors: $ref: '#/components/schemas/AuthStrategySyncErrors' portals: $ref: '#/components/schemas/APIProductVersionPortals' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - id - name - gateway_service - publish_status - deprecated - labels - portals - created_at - updated_at title: API Product Version APIProductVersionSpec: x-speakeasy-entity: APIProductSpecification type: object properties: id: description: The API product version specification identifier. type: string format: uuid example: 7710d5c4-d902-410b-992f-18b814155b53 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: description: The name of the API product version specification type: string example: oas.yaml pattern: '^.+(?:\.yaml|\.yml|\.json)$' content: description: The contents of the API product version specification example: My YAML or JSON formatted OAS content type: string created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - id - name - content - created_at - updated_at title: API Product Version Spec CreateAPIProductDTO: x-speakeasy-entity: ApiProduct description: The request schema to create an API product. type: object properties: name: description: The name of the API product. type: string example: API Product maxLength: 100 minLength: 1 description: description: The description of the API product. type: string example: Text describing the API product default: null nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/Labels' public_labels: $ref: '#/components/schemas/PublicLabels' portal_ids: description: The list of portal identifiers which this API product should be published to type: array items: type: string format: uuid example: 25a2624c-49fc-4764-99e1-224ed819f200 minItems: 0 nullable: false uniqueItems: true additionalProperties: false required: - name - portal_ids title: Create API Product Request UpdateAPIProductDTO: x-speakeasy-entity: ApiProduct description: The request schema for updating an API product. type: object properties: name: description: The name for the API product. type: string example: API Product default: null maxLength: 100 minLength: 1 nullable: true x-speakeasy-param-computed: false description: description: The description of the API product. type: string example: Text describing the API product default: null nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/LabelsUpdate' public_labels: $ref: '#/components/schemas/PublicLabelsUpdate' portal_ids: description: The list of portal identifiers which this API product should be published to type: array items: type: string format: uuid example: 25a2624c-49fc-4764-99e1-224ed819f200 minItems: 0 nullable: false uniqueItems: true additionalProperties: false required: - portal_ids title: Update API Product Request CreateAPIProductVersionDTO: description: | The request schema to create a version of an API product. Note that the `publish_status` and `deprecated` fields are deprecated: Use [PortalProductVersion.publish_status](https://docs.konghq.com/konnect/api/portal-management/v2/#/operations/create-portal-product-version) instead. type: object properties: name: description: The version name of the API product version. type: string example: v1 minLength: 1 nullable: false publish_status: description: 'The publish status of the API product version. Applies publish status to all related portal product versions. This field is deprecated: Use [PortalProductVersion.publish_status](https://docs.konghq.com/konnect/api/portal-management/v2/#/operations/create-portal-product-version) instead.' type: string example: unpublished default: unpublished enum: - unpublished - published deprecated: true nullable: false x-speakeasy-unknown-values: allow deprecated: description: 'Indicates if the version of the API product is deprecated. Applies deprecation or removes deprecation from all related portal product versions. This field is deprecated: Use [PortalProductVersion.deprecated](https://docs.konghq.com/konnect/api/portal-management/v2/#/operations/create-portal-product-version) instead.' type: boolean example: false default: false deprecated: true nullable: false labels: $ref: '#/components/schemas/Labels' gateway_service: $ref: '#/components/schemas/GatewayServicePayload' oneOf: - $ref: '#/components/schemas/GatewayServicePayload' - $ref: '#/components/schemas/LegacyGatewayServicePayload' additionalProperties: false required: - name title: Create API Product Version Request CreateAPIProductVersionSpecDTO: x-speakeasy-entity: APIProductSpecification description: The request schema to create a specification for a version of an API product. type: object properties: name: description: The name of the API product version specification type: string example: oas.yaml maxLength: 255 minLength: 1 nullable: false pattern: '^.+(?:\.yaml|\.yml|\.json)$' content: description: The base64 encoded contents of the API product version specification example: TXkgWUFNTCBvciBKU09OIGZvcm1hdHRlZCBPQVMgY29udGVudA== format: byte minLength: 1 type: string x-speakeasy-terraform-custom-type: imports: - github.com/Kong/shared-speakeasy/customtypes/encodedstring schemaType: 'encodedstring.Base64InputType{}' valueType: encodedstring.Base64Input additionalProperties: false required: - name - content title: Create API Product Version Specification Request CreateAPIProductDocumentDTO: description: a document payload type: object properties: parent_document_id: description: parent document id type: string format: uuid example: dd4e1b98-3629-4dd3-acc0-759a726ffee2 default: null nullable: true x-speakeasy-param-computed: false slug: description: document slug. must be unique accross documents belonging to an api product type: string example: path-for-seo maxLength: 80 pattern: '^[\w-]+$' status: $ref: '#/components/schemas/PublishStatus' title: description: document title type: string example: How to create a document in Konnect DocumentHub minLength: 1 content: default: null description: Can be markdown string content or base64 encoded string example: '## My Markdown' nullable: true type: string x-speakeasy-param-computed: false x-speakeasy-terraform-custom-type: imports: - github.com/Kong/shared-speakeasy/customtypes/encodedstring schemaType: 'encodedstring.Base64OrPlainInputType{}' valueType: encodedstring.Base64OrPlainInput metadata: description: metadata of the document type: object example: author: John Doe default: {} nullable: false required: - slug - status - title title: CreateDocumentPayload UpdateAPIProductDocumentDTO: description: a document payload type: object properties: parent_document_id: description: | Parent document Id. If this value is explicitly set to null, the document will be put as a top level document at the bottom of the tree. type: string format: uuid example: dd4e1b98-3629-4dd3-acc0-759a726ffee2 default: null nullable: true x-speakeasy-param-computed: false slug: description: document slug. must be unique accross documents belonging to an api product type: string example: path-for-seo default: null maxLength: 80 nullable: true pattern: '^[\w-]+$' x-speakeasy-param-computed: false status: $ref: '#/components/schemas/PublishStatus' title: description: document title type: string example: How to update a document in Konnect DocumentHub default: null minLength: 1 nullable: true x-speakeasy-param-computed: false content: default: null description: Can be markdown string content or base64 encoded string example: YmFzZTY0LWVuY29kZWQgdGV4dCBzdHJpbmc= nullable: true type: string x-speakeasy-param-computed: false x-speakeasy-terraform-custom-type: imports: - github.com/Kong/shared-speakeasy/customtypes/encodedstring schemaType: 'encodedstring.Base64OrPlainInputType{}' valueType: encodedstring.Base64OrPlainInput metadata: type: object nullable: false title: UpdateDocumentAttributesAndContentPayload UpdateAPIProductVersionDTO: description: | The request schema for updating a version of an API product. Note that the `publish_status` and `deprecated` fields are deprecated: Use [PortalProductVersion.publish_status](https://docs.konghq.com/konnect/api/portal-management/v2/#/operations/create-portal-product-version) instead. type: object properties: name: description: The version name of the API product version. type: string example: v1 default: null minLength: 1 nullable: true x-speakeasy-param-computed: false publish_status: description: 'The publish status of the API product version. Applies publish status to all related portal product versions. This field is deprecated: Use [PortalProductVersion.publish_status](https://docs.konghq.com/konnect/api/portal-management/v2/#/operations/create-portal-product-version) instead.' type: string example: unpublished enum: - unpublished - published deprecated: true x-speakeasy-unknown-values: allow deprecated: description: 'Indicates if the version of the API product is deprecated. Applies deprecation or removes deprecation from all related portal product versions. This field is deprecated: Use [PortalProductVersion.deprecated](https://docs.konghq.com/konnect/api/portal-management/v2/#/operations/create-portal-product-version) instead.' type: boolean example: false default: null deprecated: true nullable: true x-speakeasy-param-computed: false notify: description: | When set to `true`, and all the following conditions are true: - version of the API product deprecation has changed from `false` -> `true` - version of the API product is published then consumers of the now deprecated verion of the API product will be notified. type: boolean example: true nullable: false gateway_service: $ref: '#/components/schemas/GatewayServicePayload' anyOf: - $ref: '#/components/schemas/GatewayServicePayload' - $ref: '#/components/schemas/LegacyGatewayServicePayload' labels: $ref: '#/components/schemas/LabelsUpdate' additionalProperties: false title: Update API Product Version Request UpdateAPIProductVersionSpecDTO: x-speakeasy-entity: APIProductSpecification description: The request schema for updating a specification for a version of an API product. type: object properties: name: description: The name of the API product version specification type: string example: oas.yaml maxLength: 255 minLength: 1 nullable: false pattern: '^.+(?:\.yaml|\.yml|\.json)$' content: default: null description: The base64 encoded contents of the API product version specification example: TXkgWUFNTCBvciBKU09OIGZvcm1hdHRlZCBPQVMgY29udGVudA== format: byte minLength: 1 nullable: true type: string x-speakeasy-param-computed: false x-speakeasy-terraform-custom-type: imports: - github.com/Kong/shared-speakeasy/customtypes/encodedstring schemaType: 'encodedstring.Base64InputType{}' valueType: encodedstring.Base64Input additionalProperties: false title: Update API Product Version Specification Request LegacyGatewayServicePayload: type: object properties: id: description: The identifier of a gateway service associated with the version of the API product. type: string format: uuid example: 09b4786a-3e48-4631-8f6b-62d1d8e1a7f3 runtime_group_id: description: The identifier of the control plane that the gateway service resides in type: string format: uuid example: e4d9ebb1-26b4-426a-b00e-cb67044f3baf deprecated: true default: null additionalProperties: false nullable: true required: - id - runtime_group_id x-speakeasy-param-computed: false GatewayServicePayload: type: object properties: id: description: The identifier of a gateway service associated with the version of the API product. type: string format: uuid example: 09b4786a-3e48-4631-8f6b-62d1d8e1a7f3 control_plane_id: description: The identifier of the control plane that the gateway service resides in type: string format: uuid example: e4d9ebb1-26b4-426a-b00e-cb67044f3baf default: null additionalProperties: false nullable: true required: - id - control_plane_id x-speakeasy-param-computed: false PublicLabels: description: | Public labels store information about an entity that can be used for filtering a list of objects. Public labels are intended to store **PUBLIC** metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". type: object example: category: finance additionalProperties: type: string pattern: '^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$' minLength: 1 maxLength: 63 maxProperties: 50 title: PublicLabels UnsupportedMediaTypeError: description: standard error type: object properties: status: description: | The HTTP status code of the error. Useful when passing the response body to child properties in a frontend UI. Must be returned as an integer. type: integer example: 415 readOnly: true x-speakeasy-param-suppress-computed-diff: true title: description: | A short, human-readable summary of the problem. It should not change between occurences of a problem, except for localization. Should be provided as "Sentence case" for direct use in the UI. type: string example: UnsupportedMediaType readOnly: true x-speakeasy-param-suppress-computed-diff: true type: description: The error type. type: string example: 'https://httpstatuses.com/415' readOnly: true x-speakeasy-param-suppress-computed-diff: true instance: description: | Used to return the correlation ID back to the user, in the format kong:trace:. This helps us find the relevant logs when a customer reports an issue. type: string example: 'kong:trace:1234567890' readOnly: true x-speakeasy-param-suppress-computed-diff: true detail: description: | A human readable explanation specific to this occurence of the problem. This field may contain request/entity data to help the user understand what went wrong. Enclose variable values in square brackets. Should be provided as "Sentence case" for direct use in the UI. type: string example: UnsupportedMediaType readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - status - title - instance - detail LabelsUpdate: description: | Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Labels are intended to store **INTERNAL** metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". type: object example: env: test additionalProperties: type: string pattern: '^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$' minLength: 1 maxLength: 63 nullable: true maxProperties: 50 nullable: true writeOnly: true x-speakeasy-param-computed: true PublicLabelsUpdate: description: | Public labels store information about an entity that can be used for filtering a list of objects. Public labels are intended to store **PUBLIC** metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". type: object example: category: finance additionalProperties: type: string pattern: '^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$' minLength: 1 maxLength: 63 nullable: true maxProperties: 50 title: PublicLabelsUpdate writeOnly: true PublishStatus: type: string enum: - published - unpublished x-speakeasy-unknown-values: allow DcrConfigPropertyInitialClientId: description: | This ID should be copied from your identity provider's settings after you create a client and assign it as the management client for DCR for this developer portal type: string maxLength: 256 title: DcrConfigPropertyInitialClientId DcrConfigPropertyInitialClientSecret: description: | This secret should be copied from your identity provider's settings after you create a client and assign it as the management client for DCR for this developer portal type: string maxLength: 256 title: DcrConfigPropertyInitialClientSecret writeOnly: true x-speakeasy-param-sensitive: true x-speakeasy-terraform-plan-only: true DcrConfigPropertyDcrToken: description: | This secret should be copied from your identity provider's settings after you create a client and assign it as the management client for DCR for this developer portal type: string maxLength: 256 title: DcrConfigPropertyInitialDcrToken writeOnly: true x-speakeasy-param-sensitive: true x-speakeasy-terraform-plan-only: true DcrConfigPropertyInitialClientAudience: description: | This is the audience value used for the initial client. If using a custom domain on Auth0, this must be set as to the Auth0 Management API audience value. If left blank, the issuer will be used instead. type: string default: null maxLength: 256 nullable: true title: DcrConfigPropertyInitialClientAudience x-speakeasy-param-computed: false DcrConfigPropertyApiKey: description: | This is the API Key that will be sent with each HTTP request to the custom DCR server. It can be verified on the server to ensure that incoming requests are coming from Konnect. type: string maxLength: 256 minLength: 12 pattern: '^[a-zA-Z0-9_]+$' title: DcrConfigPropertyApiKey writeOnly: true x-speakeasy-param-sensitive: true x-speakeasy-terraform-plan-only: true DcrConfigPropertyDisableEventHooks: description: This flag disables all the event-hooks on the application flow for the DCR provider. type: boolean title: DcrConfigPropertyDisableEventHooks DcrConfigPropertyDisableRefreshSecret: description: This flag disable the refresh-secret endpoint on the application flow for the DCR provider. type: boolean title: DcrConfigPropertyDisableRefreshSecret DcrConfigPropertyAllowMultipleCredentials: description: 'When enabled, indicates that the DCR provider supports creating and managing multiple credentials per application.' type: boolean default: false title: DcrConfigPropertyAllowMultipleCredentials DcrConfigAuth0InResponse: description: A DCR provider configuration for Auth0 type: object properties: initial_client_id: $ref: '#/components/schemas/DcrConfigPropertyInitialClientId' initial_client_audience: $ref: '#/components/schemas/DcrConfigPropertyInitialClientAudience' use_developer_managed_scopes: type: boolean additionalProperties: false required: - initial_client_id - initial_client_audience - use_developer_managed_scopes title: DcrConfigAuth0InResponse CreateDcrConfigAuth0InRequest: description: Payload to create an Auth0 DCR provider. type: object properties: initial_client_id: $ref: '#/components/schemas/DcrConfigPropertyInitialClientId' initial_client_secret: $ref: '#/components/schemas/DcrConfigPropertyInitialClientSecret' initial_client_audience: $ref: '#/components/schemas/DcrConfigPropertyInitialClientAudience' use_developer_managed_scopes: type: boolean default: false additionalProperties: false required: - initial_client_id - initial_client_secret title: DcrConfigAuth0InRequest UpdateDcrConfigAuth0InRequest: description: Payload to update an Auth0 DCR provider. type: object properties: initial_client_id: $ref: '#/components/schemas/DcrConfigPropertyInitialClientId' initial_client_secret: $ref: '#/components/schemas/DcrConfigPropertyInitialClientSecret' initial_client_audience: $ref: '#/components/schemas/DcrConfigPropertyInitialClientAudience' use_developer_managed_scopes: type: boolean default: false additionalProperties: false title: DcrConfigAuth0InRequest DcrConfigAzureAdInResponse: description: A DCR provider configuration for Azure AD type: object properties: initial_client_id: $ref: '#/components/schemas/DcrConfigPropertyInitialClientId' additionalProperties: false required: - initial_client_id title: DcrConfigAzureAdInResponse CreateDcrConfigAzureAdInRequest: description: Payload to create an Azure AD DCR provider. type: object properties: initial_client_id: $ref: '#/components/schemas/DcrConfigPropertyInitialClientId' initial_client_secret: $ref: '#/components/schemas/DcrConfigPropertyInitialClientSecret' additionalProperties: false required: - initial_client_id - initial_client_secret title: DcrConfigAzureAdInRequest UpdateDcrConfigAzureAdInRequest: description: Payload to update an Azure AD DCR provider. type: object properties: initial_client_id: $ref: '#/components/schemas/DcrConfigPropertyInitialClientId' initial_client_secret: $ref: '#/components/schemas/DcrConfigPropertyInitialClientSecret' additionalProperties: false title: DcrConfigAzureAdInRequest DcrConfigCurityInResponse: description: A DCR provider configuration for Curity type: object properties: initial_client_id: $ref: '#/components/schemas/DcrConfigPropertyInitialClientId' additionalProperties: false required: - initial_client_id title: DcrConfigCurityInResponse CreateDcrConfigCurityInRequest: description: Payload to create a Curity DCR provider. type: object properties: initial_client_id: $ref: '#/components/schemas/DcrConfigPropertyInitialClientId' initial_client_secret: $ref: '#/components/schemas/DcrConfigPropertyInitialClientSecret' additionalProperties: false required: - initial_client_id - initial_client_secret title: DcrConfigCurityInRequest UpdateDcrConfigCurityInRequest: description: Payload to update a Curity DCR provider. type: object properties: initial_client_id: $ref: '#/components/schemas/DcrConfigPropertyInitialClientId' initial_client_secret: $ref: '#/components/schemas/DcrConfigPropertyInitialClientSecret' additionalProperties: false title: DcrConfigCurityInRequest DcrConfigKongIdentityInResponse: description: A DCR provider configuration for Kong Identity type: object properties: {} additionalProperties: false title: DcrConfigKongIdentityInResponse DcrConfigOktaInResponse: description: A DCR provider configuration for Okta type: object properties: {} additionalProperties: false title: DcrConfigOktaInResponse CreateDcrConfigKongIdentityInRequest: description: Payload to create a Kong Identity DCR provider. type: object additionalProperties: false title: CreateDcrConfigKongIdentityInRequest CreateDcrConfigOktaInRequest: description: Payload to create an Okta DCR provider. type: object properties: dcr_token: $ref: '#/components/schemas/DcrConfigPropertyDcrToken' additionalProperties: false required: - dcr_token title: DcrConfigOktaInRequest UpdateDcrConfigOktaInRequest: description: Payload to update an Okta DCR provider. type: object properties: dcr_token: $ref: '#/components/schemas/DcrConfigPropertyDcrToken' additionalProperties: false title: DcrConfigOktaInRequest DcrConfigHttpInResponse: description: A DCR provider configuration for HTTP type: object properties: dcr_base_url: type: string format: url disable_event_hooks: $ref: '#/components/schemas/DcrConfigPropertyDisableEventHooks' disable_refresh_secret: $ref: '#/components/schemas/DcrConfigPropertyDisableRefreshSecret' allow_multiple_credentials: $ref: '#/components/schemas/DcrConfigPropertyAllowMultipleCredentials' additionalProperties: false required: - dcr_base_url title: DcrConfigHttpInResponse CreateDcrConfigHttpInRequest: description: Payload to create an HTTP DCR provider. type: object properties: dcr_base_url: $ref: '#/components/schemas/DcrBaseUrl' api_key: $ref: '#/components/schemas/DcrConfigPropertyApiKey' disable_event_hooks: $ref: '#/components/schemas/DcrConfigPropertyDisableEventHooks' disable_refresh_secret: $ref: '#/components/schemas/DcrConfigPropertyDisableRefreshSecret' allow_multiple_credentials: $ref: '#/components/schemas/DcrConfigPropertyAllowMultipleCredentials' additionalProperties: false required: - dcr_base_url - api_key title: CreateDcrConfigHttpInRequest UpdateDcrConfigHttpInRequest: description: Payload to update an HTTP DCR provider. type: object properties: dcr_base_url: $ref: '#/components/schemas/DcrBaseUrl' api_key: $ref: '#/components/schemas/DcrConfigPropertyApiKey' disable_event_hooks: $ref: '#/components/schemas/DcrConfigPropertyDisableEventHooks' disable_refresh_secret: $ref: '#/components/schemas/DcrConfigPropertyDisableRefreshSecret' allow_multiple_credentials: $ref: '#/components/schemas/DcrConfigPropertyAllowMultipleCredentials' additionalProperties: false title: CreateDcrConfigHttpInRequest CreateDcrProviderRequestAuth0: description: Request body for creating an Auth0 DCR provider. type: object properties: provider_type: type: string const: auth0 dcr_config: $ref: '#/components/schemas/CreateDcrConfigAuth0InRequest' name: $ref: '#/components/schemas/DcrProviderName' display_name: $ref: '#/components/schemas/DcrProviderDisplayName' issuer: type: string format: url maxLength: 256 labels: $ref: '#/components/schemas/Labels' required: - provider_type - dcr_config - name - issuer title: CreateDcrProviderRequestAuth0 CreateDcrProviderRequestAzureAd: description: Request body for creating an Azure AD DCR provider. type: object properties: provider_type: type: string const: azureAd dcr_config: $ref: '#/components/schemas/CreateDcrConfigAzureAdInRequest' name: $ref: '#/components/schemas/DcrProviderName' display_name: $ref: '#/components/schemas/DcrProviderDisplayName' issuer: type: string format: url maxLength: 256 labels: $ref: '#/components/schemas/Labels' required: - provider_type - dcr_config - name - issuer title: CreateDcrProviderRequestAzureAd CreateDcrProviderRequestCurity: description: Request body for creating a Curity DCR provider. type: object properties: provider_type: type: string const: curity dcr_config: $ref: '#/components/schemas/CreateDcrConfigCurityInRequest' name: $ref: '#/components/schemas/DcrProviderName' display_name: $ref: '#/components/schemas/DcrProviderDisplayName' issuer: type: string format: url maxLength: 256 labels: $ref: '#/components/schemas/Labels' required: - provider_type - dcr_config - name - issuer title: CreateDcrProviderRequestCurity CreateDcrProviderRequestOkta: description: Request body for creating an Okta DCR provider. type: object properties: provider_type: type: string const: okta dcr_config: $ref: '#/components/schemas/CreateDcrConfigOktaInRequest' name: $ref: '#/components/schemas/DcrProviderName' display_name: $ref: '#/components/schemas/DcrProviderDisplayName' issuer: type: string format: url maxLength: 256 labels: $ref: '#/components/schemas/Labels' required: - provider_type - dcr_config - name - issuer title: CreateDcrProviderRequestOkta CreateDcrProviderRequestKongIdentity: description: Request body for creating a Kong Identity DCR provider. type: object properties: provider_type: type: string const: kongIdentity dcr_config: $ref: '#/components/schemas/CreateDcrConfigKongIdentityInRequest' name: $ref: '#/components/schemas/DcrProviderName' display_name: $ref: '#/components/schemas/DcrProviderDisplayName' issuer: type: string format: url maxLength: 256 labels: $ref: '#/components/schemas/Labels' required: - provider_type - name - issuer title: CreateDcrProviderRequestKongIdentity CreateDcrProviderRequestHttp: description: Request body for creating an HTTP DCR provider. type: object properties: provider_type: type: string const: http dcr_config: $ref: '#/components/schemas/CreateDcrConfigHttpInRequest' name: $ref: '#/components/schemas/DcrProviderName' display_name: $ref: '#/components/schemas/DcrProviderDisplayName' issuer: type: string format: url maxLength: 256 labels: $ref: '#/components/schemas/Labels' required: - provider_type - dcr_config - name - issuer title: CreateDcrProviderRequestHttp CreateDcrProviderRequest: description: Request body for creating a DCR provider. The provider_type cannot be updated after creation. type: object discriminator: propertyName: provider_type mapping: auth0: '#/components/schemas/CreateDcrProviderRequestAuth0' azureAd: '#/components/schemas/CreateDcrProviderRequestAzureAd' curity: '#/components/schemas/CreateDcrProviderRequestCurity' okta: '#/components/schemas/CreateDcrProviderRequestOkta' http: '#/components/schemas/CreateDcrProviderRequestHttp' kongIdentity: '#/components/schemas/CreateDcrProviderRequestKongIdentity' oneOf: - $ref: '#/components/schemas/CreateDcrProviderRequestAuth0' - $ref: '#/components/schemas/CreateDcrProviderRequestAzureAd' - $ref: '#/components/schemas/CreateDcrProviderRequestCurity' - $ref: '#/components/schemas/CreateDcrProviderRequestOkta' - $ref: '#/components/schemas/CreateDcrProviderRequestHttp' - $ref: '#/components/schemas/CreateDcrProviderRequestKongIdentity' title: CreateDcrProviderRequest UpdateDcrProviderRequest: description: A set of updates to a DCR provider. The provider_type cannot be updated after creation. type: object discriminator: propertyName: provider_type mapping: auth0: '#/components/schemas/UpdateDcrProviderRequestAuth0' azureAd: '#/components/schemas/UpdateDcrProviderRequestAzureAd' curity: '#/components/schemas/UpdateDcrProviderRequestCurity' okta: '#/components/schemas/UpdateDcrProviderRequestOkta' http: '#/components/schemas/UpdateDcrProviderRequestHttp' oneOf: - $ref: '#/components/schemas/UpdateDcrProviderRequestAuth0' - $ref: '#/components/schemas/UpdateDcrProviderRequestAzureAd' - $ref: '#/components/schemas/UpdateDcrProviderRequestCurity' - $ref: '#/components/schemas/UpdateDcrProviderRequestOkta' - $ref: '#/components/schemas/UpdateDcrProviderRequestHttp' title: UpdateDcrProviderRequest AuthStrategyPrincipals: description: | Application principal settings for this auth strategy. Runtime effect applies to V3 API Catalog (ACE) portals and applications; stored values may be set for any auth strategy in the organization. type: object properties: enabled: description: Whether application principals are enabled for this auth strategy. type: boolean default: false additionalProperties: false required: - enabled title: AuthStrategyPrincipals AppAuthStrategyConfigKeyAuth: description: | The most basic mode to configure an Application Auth Strategy for an API Product Version. Using this mode will allow developers to generate API keys that will authenticate their application requests. Once authenticated, an application will be granted access to any Product Version it is registered for that is configured for Key Auth. type: object properties: key_names: description: The names of the headers containing the API key. You can specify multiple header names. type: array items: type: string maxLength: 256 default: null maxItems: 10 minItems: 1 nullable: true x-speakeasy-param-computed: false ttl: description: Default maximum Time-To-Live for keys created under this strategy. type: object nullable: false properties: value: type: integer minimum: 1 unit: type: string enum: - days - weeks - years x-speakeasy-unknown-values: allow required: - value - unit additionalProperties: false title: AppAuthStrategyConfigKeyAuth AppAuthStrategyConfigOpenIDConnect: description: | A more advanced mode to configure an API Product Version’s Application Auth Strategy. Using this mode will allow developers to use API credentials issued from an external IdP that will authenticate their application requests. Once authenticated, an application will be granted access to any Product Version it is registered for that is configured for the same Auth Strategy. An OIDC strategy may be used in conjunction with a DCR provider to automatically create the IdP application. type: object properties: issuer: type: string format: url maxLength: 256 credential_claim: type: array items: type: string maxLength: 128 maxItems: 10 scopes: type: array items: type: string maxLength: 128 maxItems: 50 auth_methods: type: array items: type: string maxLength: 64 maxItems: 10 additionalProperties: true required: - issuer - credential_claim - scopes - auth_methods title: AppAuthStrategyConfigOpenIDConnect AppAuthStrategyKeyAuthRequest: description: Request for creating a Key Auth Application Auth Strategy type: object properties: name: $ref: '#/components/schemas/AuthStrategyName' display_name: $ref: '#/components/schemas/AuthStrategyDisplayName' strategy_type: type: string enum: - key_auth configs: description: JSON-B object containing the configuration for the Key Auth strategy type: object additionalProperties: false properties: key-auth: $ref: '#/components/schemas/AppAuthStrategyConfigKeyAuth' required: - key-auth labels: $ref: '#/components/schemas/Labels' principals: $ref: '#/components/schemas/AuthStrategyPrincipals' additionalProperties: false required: - name - display_name - strategy_type - configs title: AppAuthStrategyKeyAuthRequest AppAuthStrategyKeyAuthResponse: description: Response payload from creating or updating a Key Auth Application Auth Strategy type: object properties: id: $ref: '#/components/schemas/UUID' name: $ref: '#/components/schemas/AuthStrategyName' display_name: $ref: '#/components/schemas/AuthStrategyDisplayName' strategy_type: type: string enum: - key_auth configs: description: JSON-B object containing the configuration for the Key Auth strategy type: object additionalProperties: false properties: key-auth: $ref: '#/components/schemas/AppAuthStrategyConfigKeyAuth' required: - key-auth active: description: At least one published entity is using this auth strategy. type: boolean dcr_provider: type: object additionalProperties: false nullable: true properties: id: $ref: '#/components/schemas/UUID' name: type: string display_name: $ref: '#/components/schemas/DcrProviderDisplayName' provider_type: description: The type of DCR provider. type: string enum: - auth0 - azureAd - curity - okta - http - kongIdentity x-speakeasy-unknown-values: allow readOnly: true required: - id - name - provider_type x-speakeasy-param-suppress-computed-diff: true x-speakeasy-terraform-ignore: true labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' supports_multiple_credentials: description: | Indicates whether this auth strategy supports multiple credentials. Always `true` for KEY_AUTH. type: boolean readOnly: true x-speakeasy-param-suppress-computed-diff: true principals: $ref: '#/components/schemas/AuthStrategyPrincipals' additionalProperties: false required: - id - name - display_name - strategy_type - configs - active - dcr_provider - labels - created_at - updated_at title: AppAuthStrategyKeyAuthResponse AppAuthStrategyOpenIDConnectRequest: description: Payload for creating an OIDC Application Auth Strategy type: object properties: name: $ref: '#/components/schemas/AuthStrategyName' display_name: $ref: '#/components/schemas/AuthStrategyDisplayName' strategy_type: type: string enum: - openid_connect configs: description: JSON-B object containing the configuration for the OIDC strategy type: object additionalProperties: false properties: openid-connect: $ref: '#/components/schemas/AppAuthStrategyConfigOpenIDConnect' required: - openid-connect dcr_provider_id: type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/Labels' principals: $ref: '#/components/schemas/AuthStrategyPrincipals' additionalProperties: false required: - name - display_name - strategy_type - configs title: AppAuthStrategyOpenIDConnectRequest AppAuthStrategyOpenIDConnectResponse: description: Response payload from creating an OIDC Application Auth Strategy type: object properties: id: $ref: '#/components/schemas/UUID' name: $ref: '#/components/schemas/AuthStrategyName' display_name: $ref: '#/components/schemas/AuthStrategyDisplayName' strategy_type: type: string enum: - openid_connect configs: description: JSON-B object containing the configuration for the OIDC strategy type: object additionalProperties: false properties: openid-connect: $ref: '#/components/schemas/AppAuthStrategyConfigOpenIDConnect' required: - openid-connect active: description: At least one published entity is using this auth strategy. type: boolean dcr_provider: type: object additionalProperties: false nullable: true properties: id: $ref: '#/components/schemas/UUID' name: type: string display_name: $ref: '#/components/schemas/DcrProviderDisplayName' provider_type: description: The type of DCR provider. type: string enum: - auth0 - azureAd - curity - okta - http - kongIdentity x-speakeasy-unknown-values: allow readOnly: true required: - id - name - provider_type x-speakeasy-param-suppress-computed-diff: true x-speakeasy-terraform-ignore: true labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' supports_multiple_credentials: description: | Indicates whether this auth strategy supports multiple credentials. - `true` for Key Auth strategies and when supported for Client Credentials strategies - `false` when not supported for Client Credentials strategies type: boolean readOnly: true x-speakeasy-param-suppress-computed-diff: true principals: $ref: '#/components/schemas/AuthStrategyPrincipals' dcr_provider_id: type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false additionalProperties: false required: - id - name - display_name - strategy_type - configs - active - dcr_provider - labels - created_at - updated_at title: AppAuthStrategyOpenIDConnectResponse x-speakeasy-transform-from-api: jq: | . + { dcr_provider_id: .dcr_provider.id } CreateAppAuthStrategyRequest: x-speakeasy-entity: ApplicationAuthStrategy description: Request body for creating an Application Auth Strategy type: object discriminator: propertyName: strategy_type mapping: key_auth: '#/components/schemas/AppAuthStrategyKeyAuthRequest' openid_connect: '#/components/schemas/AppAuthStrategyOpenIDConnectRequest' oneOf: - $ref: '#/components/schemas/AppAuthStrategyKeyAuthRequest' - $ref: '#/components/schemas/AppAuthStrategyOpenIDConnectRequest' required: - strategy_type title: CreateAppAuthStrategyRequest AppAuthStrategy: x-speakeasy-entity: ApplicationAuthStrategy description: A set of plugin configurations that represent how the gateway will perform authentication and authorization for a Product Version. Called “Auth Strategy” for short in the context of portals/applications. The plugins are synced to any Gateway Service that is currently linked or becomes linked to the Product Version. type: object discriminator: propertyName: strategy_type mapping: key_auth: '#/components/schemas/AppAuthStrategyKeyAuthResponse' openid_connect: '#/components/schemas/AppAuthStrategyOpenIDConnectResponse' oneOf: - $ref: '#/components/schemas/AppAuthStrategyKeyAuthResponse' - $ref: '#/components/schemas/AppAuthStrategyOpenIDConnectResponse' required: - strategy_type title: AppAuthStrategy CreateAppAuthStrategyResponse: $ref: '#/components/schemas/AppAuthStrategy' GetAppAuthStrategyResponse: $ref: '#/components/schemas/AppAuthStrategy' DcrBaseUrl: description: | The base URL of the DCR server. This is the URL that will be used to make the HTTP requests from Konnect to the DCR provider. This URL must be accessible from the Konnect service. type: string format: url maxLength: 256 DcrProviderDisplayName: description: | The display name of the DCR provider. This is used to identify the DCR provider in the Portal UI. type: string maxLength: 256 minLength: 1 DcrProviderName: description: | The name of the DCR provider. This is used to identify the DCR provider in the Konnect UI. type: string maxLength: 256 minLength: 1 AuthStrategyName: description: | The name of the auth strategy. This is used to identify the auth strategy in the Konnect UI. type: string maxLength: 256 minLength: 1 AuthStrategyDisplayName: description: | The display name of the Auth strategy. This is used to identify the Auth strategy in the Portal UI. type: string maxLength: 256 UUID: description: Contains a unique identifier used for this resource. type: string format: uuid example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 readOnly: true x-speakeasy-param-suppress-computed-diff: true IdentityProviderType: description: Specifies the type of identity provider. type: string example: oidc enum: - oidc - saml x-speakeasy-unknown-values: allow IdentityProviderLoginPath: description: The path used for initiating login requests with the identity provider. type: string example: myapp title: Identity Provider Login Path Property OIDCIdentityProviderIssuer: description: The issuer URI of the identity provider. This is the URL where the provider's metadata can be obtained. type: string format: uri example: 'https://konghq.okta.com/oauth2/default' title: OIDC Identity Provider Issuer Property OIDCIdentityProviderClientId: description: The client ID assigned to your application by the identity provider. type: string example: YOUR_CLIENT_ID title: OIDC Identity Provider Login Client Id Property OIDCIdentityProviderClientSecret: description: The Client Secret assigned to your application by the identity provider. type: string example: YOUR_CLIENT_SECRET title: OIDC Identity Provider Login Client Secret Property writeOnly: true x-speakeasy-param-sensitive: true x-speakeasy-terraform-plan-only: true OIDCIdentityProviderScopes: description: The scopes requested by your application when authenticating with the identity provider. type: array items: type: string default: - email - openid - profile title: OIDC Identity Provider Scopes Property OIDCIdentityProviderClaimMappings: description: | Defines the mappings between OpenID Connect (OIDC) claims and local claims used by your application for authentication. type: object properties: name: description: The claim mapping for the user's name. type: string example: name default: name email: description: The claim mapping for the user's email address. type: string example: email default: email groups: description: The claim mapping for the user's group membership information. type: string example: groups default: groups title: OIDC Claim Mappings SAMLIdentityProviderMetadataURL: description: The identity provider's metadata URL where the identity provider's metadata can be obtained. type: string format: uri example: 'https://mocksaml.com/api/saml/metadata' default: '' title: SAML Identity Provider Metadata URL SAMLIdentityProviderMetadata: description: | The identity provider's SAML metadata. If the identity provider supports a metadata URL, you can use the `idp_metadata_url` field instead. type: string example: | default: '' title: SAML Identity Provider Metadata CreateIdentityProvider: x-speakeasy-entity: IdentityProvider description: The identity provider that contains configuration data for creating an authentication integration. type: object properties: type: $ref: '#/components/schemas/IdentityProviderType' enabled: $ref: '#/components/schemas/IdentityProviderEnabled' login_path: $ref: '#/components/schemas/IdentityProviderLoginPath' config: type: object oneOf: - $ref: '#/components/schemas/OIDCIdentityProviderConfig' - $ref: '#/components/schemas/SAMLIdentityProviderConfig' title: Create Identity Provider UpdateIdentityProvider: x-speakeasy-entity: IdentityProvider description: The identity provider that contains configuration data for updating an authentication integration. type: object properties: enabled: $ref: '#/components/schemas/UpdateIdentityProviderEnabled' login_path: $ref: '#/components/schemas/IdentityProviderLoginPath' config: type: object oneOf: - $ref: '#/components/schemas/OIDCIdentityProviderConfig' - $ref: '#/components/schemas/SAMLIdentityProviderConfig' title: Update Identity Provider IdentityProvider: x-speakeasy-entity: IdentityProvider description: The identity provider that contains configuration data for authentication integration. type: object properties: id: $ref: '#/components/schemas/UUID' type: $ref: '#/components/schemas/IdentityProviderType' enabled: $ref: '#/components/schemas/IdentityProviderEnabled' login_path: $ref: '#/components/schemas/IdentityProviderLoginPath' config: type: object oneOf: - $ref: '#/components/schemas/OIDCIdentityProviderConfig' - $ref: '#/components/schemas/SAMLIdentityProviderConfig' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' title: Identity Provider OIDCIdentityProviderConfig: description: The identity provider that contains configuration data for the OIDC authentication integration. type: object properties: issuer_url: $ref: '#/components/schemas/OIDCIdentityProviderIssuer' client_id: $ref: '#/components/schemas/OIDCIdentityProviderClientId' client_secret: $ref: '#/components/schemas/OIDCIdentityProviderClientSecret' scopes: $ref: '#/components/schemas/OIDCIdentityProviderScopes' claim_mappings: $ref: '#/components/schemas/OIDCIdentityProviderClaimMappings' additionalProperties: false required: - issuer_url - client_id title: OIDC Identity Provider Config SAMLIdentityProviderConfig: description: The identity provider that contains configuration data for the SAML authentication integration. type: object properties: idp_metadata_url: $ref: '#/components/schemas/SAMLIdentityProviderMetadataURL' idp_metadata_xml: $ref: '#/components/schemas/SAMLIdentityProviderMetadata' sp_metadata_url: type: string format: uri example: 'https://cloud.konghq.com/v2/authenticate/the-saml-konnect-org/saml/metadata' readOnly: true x-speakeasy-param-suppress-computed-diff: true sp_entity_id: description: The entity ID of the service provider (SP). type: string example: 'https://cloud.konghq.com/sp/00000000-0000-0000-0000-000000000000' readOnly: true x-speakeasy-param-suppress-computed-diff: true login_url: description: The URL to redirect users to for initiating login with the identity provider. type: string example: 'https://cloud.konghq.com/login/the-saml-konnect-org' readOnly: true x-speakeasy-param-suppress-computed-diff: true callback_url: description: The URL where the SAML identity provider sends authentication responses after successful login attempts. type: string format: uri example: 'https://cloud.konghq.com/v2/authenticate/the-saml-konnect-org/saml/acs' readOnly: true x-speakeasy-param-suppress-computed-diff: true additionalProperties: false title: SAML Identity Provider Config Team: x-speakeasy-entity: Team description: The team object contains information about a group of users. type: object properties: id: description: The team ID. type: string format: uuid example: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: $ref: '#/components/schemas/TeamName' description: description: The description of the team. type: string example: The developers for the IDM API. default: null maxLength: 250 minLength: 1 nullable: true x-speakeasy-param-computed: false system_team: description: 'Returns True if a user belongs to a `system_team`. System teams are teams that can manage Konnect objects, like "Organization Admin", or "Service"' type: boolean readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/Labels' created_at: description: A Unix timestamp representation of team creation. type: string format: date-time example: '1992-02-07T17:46:57.52Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: | A Unix timestamp representation of the most recent change to the team object in Konnect. type: string format: date-time example: '2022-02-07T17:00:00.52Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true konnect_managed: $ref: '#/components/schemas/KonnectManaged' example: id: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7 name: IDM - Developers description: The developers for the IDM API. system_team: false labels: env: test created_at: '1992-02-07T17:46:57.52Z' updated_at: '2022-08-31T17:00:00.52Z' konnect_managed: false title: Team TeamResponse: allOf: - $ref: '#/components/schemas/Team' - type: object required: - id - name - description - system_team - labels - created_at - updated_at - konnect_managed IdpTeamGroupMapping: description: A mapping between a Konnect team and an identity provider group. type: object properties: id: $ref: '#/components/schemas/UUID' team_id: description: The Konnect team ID. type: string format: uuid example: 6801e673-cc10-498a-94cd-4271de07a0d3 group: description: The identity provider group name. Group names are case sensitive. type: string example: Tech Leads created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - team_id - group - created_at - updated_at title: IdpTeamGroupMapping EntityIds: description: The IDs of the entities associated with this role assignment. Mutually exclusive with entity_id; exactly one of entity_id or entity_ids must be provided. type: array items: type: string format: uuid example: - 817d0422-45c9-4d88-8d64-45aef05c1ae7 - 18ee2573-dec0-4b83-be99-fa7700bcdc61 minItems: 1 uniqueItems: true AssignedRole: description: An assigned role is a role that has been assigned to a user or team. type: object properties: id: description: The ID of the role assignment. type: string format: uuid example: eaf7adf1-32c8-4bbf-b960-d1f8456afe67 role_name: description: Name of the role being assigned. type: string example: Viewer default: null nullable: true x-speakeasy-param-computed: false entity_id: description: A RBAC entity ID. Deprecated in favor of entity_ids type: string format: uuid example: 817d0422-45c9-4d88-8d64-45aef05c1ae7 deprecated: true x-speakeasy-deprecation-message: Use entity_ids instead. entity_id is deprecated and will be removed in a future release. x-speakeasy-param-computed: true entity_ids: $ref: '#/components/schemas/EntityIds' entity_type_name: description: Name of the entity type the role is being assigned to. type: string example: Control Planes default: null nullable: true x-speakeasy-param-computed: false entity_region: description: Region of the entity. type: string example: eu enum: - us - eu - au - me - in - sg - '*' x-speakeasy-unknown-values: allow konnect_managed: description: |- **Pre-release Feature** This feature is currently in beta and is subject to change. Indicates that the role is assigned and removed only by Konnect. type: boolean example: false readOnly: true x-speakeasy-param-suppress-computed-diff: true example: id: 54cc6168-ebb1-4300-8168-d62a0dd08fc8 role_name: Viewer entity_id: 18ee2573-dec0-4b83-be99-fa7700bcdc61 entity_ids: - 18ee2573-dec0-4b83-be99-fa7700bcdc61 entity_type_name: Control Planes entity_region: us title: AssignedRole SystemAccount: x-speakeasy-entity: SystemAccount description: Schema of the system account. type: object properties: id: description: ID of the system account. type: string format: uuid readOnly: true x-speakeasy-param-suppress-computed-diff: true name: description: Name of the system account. type: string default: null nullable: true x-speakeasy-param-computed: false description: description: Description of the system account. type: string default: null nullable: true x-speakeasy-param-computed: false created_at: description: Timestamp of when the system account was created. type: string format: date-time readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: Timestamp of when the system account was last updated. type: string format: date-time readOnly: true x-speakeasy-param-suppress-computed-diff: true konnect_managed: description: The system account is managed by Konnect (true/false). type: boolean default: null nullable: true x-speakeasy-param-computed: false example: id: 497f6eca-6276-4993-bfeb-53cbbbba6f08 name: Example System Account description: This is a sample system account description. created_at: '2022-08-24T14:15:22Z' updated_at: '2022-10-05T10:33:49Z' konnect_managed: false title: System Account SystemAccountAccessToken: x-speakeasy-entity: SystemAccountAccessToken description: Schema of the system account access token. type: object properties: id: description: ID of the system account access token. type: string format: uuid readOnly: true x-speakeasy-param-suppress-computed-diff: true name: description: Name of the system account access token. type: string default: null nullable: true x-speakeasy-param-computed: false created_at: description: Timestamp of when the system account access token was created. type: string format: date-time readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: Timestamp of when the system account access token was last updated. type: string format: date-time readOnly: true x-speakeasy-param-suppress-computed-diff: true expires_at: description: Timestamp of when the system account access token will expire. type: string format: date-time default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-terraform-custom-type: imports: - github.com/Kong/shared-speakeasy/customtypes/timetypes schemaType: 'timetypes.RFC3339PreciseToSecondType{}' valueType: timetypes.RFC3339PreciseToSecond last_used_at: description: Timestamp of when the system account access token was last used. type: string format: date-time readOnly: true x-speakeasy-param-suppress-computed-diff: true example: id: 497f6eca-6276-4993-bfeb-53cbbbba6f08 name: Sample Access Token created_at: '2022-08-01T14:16:09Z' updated_at: '2022-08-02T08:35:49Z' expires_at: '2022-12-31T12:52:23Z' last_used_at: '2022-10-24T13:05:42Z' title: System Account Access Token LegacyStringFieldFilter: description: 'Filter using **one** of the following operators: `eq`, `contains`' type: object properties: eq: description: The field exactly matches the provided value. type: string contains: description: The field contains the provided value. type: string additionalProperties: false LegacyStringFieldFilterWithExists: description: 'Filter using **one** of the following operators: `eq`, `contains`, `exists`' type: object properties: eq: description: The field exactly matches the provided value. type: string default: null nullable: true x-speakeasy-param-computed: false contains: description: The field contains the provided value. type: string default: null nullable: true x-speakeasy-param-computed: false exists: description: Filters on whether the given field exists. type: boolean default: null deprecated: true nullable: true x-speakeasy-param-computed: false additionalProperties: false title: StringFieldFilterWithExists IdentityProviderEnabled: description: | Indicates whether the identity provider is enabled. Only one identity provider can be active at a time, such as SAML or OIDC. type: boolean example: true default: false title: Identity Provider Enabled Property UpdateIdentityProviderEnabled: description: | Indicates whether the identity provider is enabled. Only one identity provider can be active at a time, such as SAML or OIDC. When omitted, the current value is left unchanged. type: boolean example: true title: Identity Provider Enabled Property ManagedByUpdate: description: | Stores information about what manages this entity, such as the tool or system responsible for its lifecycle (for example, `terraform`). Set a key's value to `null` to remove it. Keys must be 1–63 characters long, start and end with an alphanumeric character, and may contain dashes (`-`), underscores (`_`), and dots (`.`). Values must be 1–127 characters long. Value can be null. Keys and values must not contain spaces or control characters. type: object example: owner: terraform additionalProperties: type: string pattern: '^[^\s\x00-\x1F\x7F-\x9F]+$' minLength: 1 maxLength: 127 nullable: true maxProperties: 5 title: ManagedByUpdate writeOnly: true TeamName: description: The name of the team. type: string example: IDM - Developers maxLength: 250 minLength: 1 pattern: '^[\w \W]+$' KonnectManaged: description: Whether the team's membership is managed by Konnect instead of being synced from an identity provider's team mappings. Set to `false` (default) to let identity provider team mappings keep syncing members into this team. Set to `true` to manage membership directly in Konnect and prevent identity provider team mappings from syncing to this team. type: boolean example: false default: false title: KonnectManaged ServerlessCloudGateway: x-speakeasy-entity: ServerlessCloudGateway description: A serverless cloud gateway type: object properties: control_plane: $ref: '#/components/schemas/ServerlessControlPlane' gateway_endpoint: description: Endpoint for the serverless cloud gateway. type: string format: hostname example: us-kong-4594857kpl.kongcloud.dev readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: type: string format: date-time example: '2023-01-11T02:30:42.227Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: type: string format: date-time example: '2023-01-11T02:30:42.227Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/SCGWLabels' required: - control_plane - gateway_endpoint - updated_at - created_at title: ServerlessCloudGateway CreateServerlessCloudGatewayRequest: x-speakeasy-entity: ServerlessCloudGateway description: Schema to create a serverless cloud gateway. type: object properties: control_plane: $ref: '#/components/schemas/ServerlessControlPlane' cluster_cert: description: The cluster certificate (public key). type: string example: | -----BEGIN CERTIFICATE----- MIICRDCCAa2gAwIBAgIBADANBgkqhkiG9w0BAQ0FADA/MQswCQYDVQQGEwJ1czEL MAkGA1UECAwCVFgxDTALBgNVBAoMBFRlc3QxFDASBgNVBAMMC2V4YW1wbGUuY29t MB4XDTI0MDQyNjA5NTA1OVoXDTI1MDQyNjA5NTA1OVowPzELMAkGA1UEBhMCdXMx CzAJBgNVBAgMAlRYMQ0wCwYDVQQKDARUZXN0MRQwEgYDVQQDDAtleGFtcGxlLmNv bTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA8FaJZmPsthBT1XkTyqUJiuQV 4p4KaLpNMioNQtIdeGKFXelmZlVfW0bfLGBgFmkwo19KIzFtOlITUjb0Qqlub2Dn TIPoDs7rXA8aw6umJu73Z6647U3+alxNCpwTuYOY2CJQ+HWEIuOuwAdtQkndEp9r 7ZWA2xLatQKBYEvEmykCAwEAAaNQME4wHQYDVR0OBBYEFGUznNeZK74vlA4bqKHb 706tyMwcMB8GA1UdIwQYMBaAFGUznNeZK74vlA4bqKHb706tyMwcMAwGA1UdEwQF MAMBAf8wDQYJKoZIhvcNAQENBQADgYEARmnu/2vUcmJYLlg86MN0prXGC3CGXsem fDtPF4SBPxfchdG7HJKywTloIiCBKGEQALkCHiJcQJNcSHmzH3/Qk+SrOJNH01gt HsKA4SNFJZR5fCRpT6USCukyE2Wlr+PWPscrFCWbLXhK4Ql/t0oog1255B10HqKk 1qDkNrzCd/o= -----END CERTIFICATE----- cluster_cert_key: description: The cluster certificate key (private key). type: string example: | -----BEGIN PRIVATE KEY----- MIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBAPBWiWZj7LYQU9V5 E8qlCYrkFeKeCmi6TTIqDULSHXhihV3pZmZVX1tG3yxgYBZpMKNfSiMxbTpSE1I2 9EKpbm9g50yD6A7O61wPGsOrpibu92euuO1N/mpcTQqcE7mDmNgiUPh1hCLjrsAH bUJJ3RKfa+2VgNsS2rUCgWBLxJspAgMBAAECgYEAvA7qqozL/1ZdUu/P1cQ36E86 9L03ZeVJXFRdVgj2eGqW8vob3z00RUb6gE3VQhQDNALvDwSw9G6eoblQfgz31Hju sb+j6bGOm2BqzYrx6rpcgme7k9ScV0tEbtiBNX0E/ToHvNywHtdOBvDocN2wh42Z 6bS9um51H+SXR036mgUCQQD4T7WrJHL97Hj8TtHnTw895xWKaGn94H7ZQa2lo1nk 7CQ4Oi8rFX5tDdyV7UU6fekBWuhpmIhSGJhyHD7UThBjAkEA98ef9ey2Qx+j+R8S tgpgJAF3LVNJJicEHCS/Vltgc84X/vidVAMa2+TYPxPrrUjxBr0STCeB5wZhvvsB D8cOAwJBAJ5JqaQPUx1dDe7Ai/vooO20Dj4xu0c0QYha3sfU7qwIgDo7lO/g/ruj 93a3TscvlkXf3oHZ0ySKOzual86ciMMCQQDGOLgaWHVy+4QFTzt70I8bHuUFqKRT VlEuZqN/ZXijDFQcES5jwFwjYE8zHy+ioEDaIDXcIJsGhA98Zndx9M+bAkA4IFdx 4YIDhuk1MJAYPqVQs5szEF/0BGymLNVYlIox48bZg+TH3uXwTVRVySxvpRa8dd3O 0gHs3EIV6GFUl7ev -----END PRIVATE KEY----- x-sensitive: true x-speakeasy-param-sensitive: true labels: $ref: '#/components/schemas/SCGWLabels' additionalProperties: false required: - control_plane - cluster_cert - cluster_cert_key title: CreateServerlessCloudGatewayRequest SCGWLabels: description: 'Labels to facilitate tagged search on serverless cloud gateways. Keys must be of length 1-63 characters, and cannot start with ''kong'', ''konnect'', ''mesh'', ''kic'', or ''_''.' type: object example: env: test additionalProperties: type: string pattern: '^[a-z0-9A-Z]{1}([a-z0-9A-Z\-\.\_]*[a-z0-9A-Z]+)?$' minLength: 1 maxLength: 63 title: Labels CpRegion: description: The control plane region. type: string example: us enum: - us - eu - au title: Control plane region x-enum-varnames: - US - Europe - Aus x-speakeasy-unknown-values: allow ServerlessControlPlane: type: object properties: id: description: ID of the serverless cloud gateway CP. type: string format: uuid example: d32d905a-ed33-46a3-a093-d8f536af9a8a prefix: description: The prefix of the serverless cloud gateway CP. type: string example: 518da50bf7 region: $ref: '#/components/schemas/CpRegion' required: - id - prefix - region title: Control plane x-go-name: ControlPlane LogFormat: description: The output format of each log messages. type: string default: cef enum: - cef - json - cps x-speakeasy-unknown-values: allow AuditLogDestination: description: Audit Log Destination Schema type: object properties: id: description: The unique ID of the audit log destination. type: string format: uuid name: description: The name of the audit log destination. type: string default: null nullable: true x-speakeasy-param-computed: false endpoint: description: The endpoint that will receive audit log messages. type: string example: 'https://example.com/audit-logs' default: null nullable: true x-speakeasy-param-computed: false log_format: $ref: '#/components/schemas/LogFormat' skip_ssl_verification: description: Indicates if the SSL certificate verification of the host endpoint should be skipped when delivering payloads. type: boolean example: false default: false created_at: description: Timestamp when this webhook was created. type: string format: date-time readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: 'Timestamp when this webhook was last updated. Initial value is 0001-01-01T00:00:0Z.' type: string format: date-time readOnly: true x-speakeasy-param-suppress-computed-diff: true title: AuditLogDestination CreateApiKeyResult: type: object properties: id: type: string type: $ref: '#/components/schemas/KeyTypeEnum' secret: type: string x-sensitive: true x-speakeasy-param-sensitive: true created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' tags: $ref: '#/components/schemas/Tags' required: - id - type - secret - created_at - updated_at - tags KeyTypeEnum: type: string enum: - legacy - new x-speakeasy-unknown-values: allow ApiKey: type: object properties: id: type: string created_at: $ref: '#/components/schemas/CreatedAt' tags: $ref: '#/components/schemas/Tags' type: $ref: '#/components/schemas/KeyTypeEnum' required: - id - created_at - type - tags ConsumerRealm: type: object properties: id: type: string x-speakeasy-param-suppress-computed-diff: true name: type: string ttl: $ref: '#/components/schemas/RealmTTL' negative_ttl: $ref: '#/components/schemas/NegativeTTL' consumer_groups: $ref: '#/components/schemas/RealmConsumerGroups' allowed_control_planes: $ref: '#/components/schemas/AllowedControlPlanes' allow_all_control_planes: $ref: '#/components/schemas/AllowAllControlPlanes' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - name - allowed_control_planes - allow_all_control_planes - ttl - negative_ttl - consumer_groups - created_at - updated_at ConsumerRealmCreateRequest: type: object properties: name: type: string allowed_control_planes: $ref: '#/components/schemas/AllowedControlPlanes' allow_all_control_planes: $ref: '#/components/schemas/AllowAllControlPlanes' ttl: $ref: '#/components/schemas/RealmTTL' negative_ttl: $ref: '#/components/schemas/NegativeTTL' consumer_groups: $ref: '#/components/schemas/RealmConsumerGroups' additionalProperties: false required: - name UpdateConsumerPayload: type: object properties: username: $ref: '#/components/schemas/ConsumerUsername' custom_id: description: Field for storing an existing unique ID for the Consumer - useful for mapping Kong with users in your existing database. type: string default: null minLength: 1 nullable: true x-speakeasy-param-computed: false consumer_groups: description: | A list of consumer groups that the Consumer is in. If `consumer_groups` are provided on the Consumer object _and_ on the Realm, the Consumer will be placed in all defined consumer groups. type: array items: type: string uniqueItems: true default: null nullable: true title: ConsumerGroups x-speakeasy-param-computed: false x-speakeasy-param-suppress-computed-diff: true type: $ref: '#/components/schemas/ConsumerType' tags: $ref: '#/components/schemas/Tags' additionalProperties: false AllowAllControlPlanes: description: | Allow all control planes to use the realm. When this value is set it takes precedence on `allowed_control_planes`. type: boolean nullable: false x-speakeasy-param-suppress-computed-diff: true ConsumerRealmUpdateRequest: type: object properties: name: type: string default: null nullable: true x-speakeasy-param-computed: false allowed_control_planes: $ref: '#/components/schemas/AllowedControlPlanes' allow_all_control_planes: $ref: '#/components/schemas/AllowAllControlPlanes' consumer_groups: $ref: '#/components/schemas/RealmConsumerGroups' ttl: $ref: '#/components/schemas/RealmTTL' negative_ttl: $ref: '#/components/schemas/NegativeTTL' additionalProperties: false ConsumerUsername: description: The unique username of the Consumer. type: string minLength: 1 ConsumerCustomID: description: Field for storing an existing unique ID for the Consumer - useful for mapping Kong with users in your existing database. type: string minLength: 1 RealmTTL: description: | The time in minutes that the Consumer will be cached in memory on a running Gateway if it is successfully loaded from Konnect. type: integer default: 10 minimum: 5 NegativeTTL: description: | If a running Gateway triggers a lookup for a Consumer that cannot be authenticated this realm, a `negative_ttl` is set. The Gateway will not try to lookup the Consumer in Konnect for `negative_ttl` minutes. A Consumer will be cached for `negative_ttl` if they do not exist in the Realm, or if the provided credentials are invalid. type: integer default: 10 minimum: 5 ConsumerCreateRequest: type: object properties: username: $ref: '#/components/schemas/ConsumerUsername' custom_id: $ref: '#/components/schemas/ConsumerCustomID' consumer_groups: $ref: '#/components/schemas/ConsumerGroups' type: $ref: '#/components/schemas/ConsumerType' tags: $ref: '#/components/schemas/Tags' additionalProperties: false required: - username AllowedControlPlanes: description: | List of control plane ids that are allowed to use the realm. This is used when `allow_all_control_planes` value is set to false. type: array items: type: string uniqueItems: true x-speakeasy-param-suppress-computed-diff: true format: set ConsumerType: description: | Type of the consumer. type: string default: proxy enum: - proxy - developer - admin - application x-speakeasy-unknown-values: allow Tags: type: array items: type: string uniqueItems: true x-speakeasy-param-suppress-computed-diff: true ConsumerGroups: description: | A list of consumer groups that the Consumer is in. If `consumer_groups` are provided on the Consumer object _and_ on the Realm, the Consumer will be placed in all defined consumer groups. type: array items: type: string uniqueItems: true title: ConsumerGroups x-speakeasy-param-suppress-computed-diff: true CentralizedConsumer: description: 'The Consumer object represents a consumer - or a user - of a Service. You can either rely on Kong as the primary datastore, or you can map the consumer list with your database to keep consistency between Kong and your existing primary datastore.' type: object properties: id: description: The Consumer ID. type: string format: uuid example: b9e81174-b5bb-4638-a3c3-8afe61a0abf8 readOnly: true x-speakeasy-param-suppress-computed-diff: true username: description: The unique username of the Consumer. You must send either this field or `custom_id` with the request. type: string custom_id: description: Field for storing an existing unique ID for the Consumer - useful for mapping Kong with users in your existing database. You must send either this field or `username` with the request. type: string default: null nullable: true x-speakeasy-param-computed: false type: $ref: '#/components/schemas/ConsumerType' tags: $ref: '#/components/schemas/Tags' consumer_groups: $ref: '#/components/schemas/ConsumerGroups' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' example: custom_id: '4200' id: 8a388226-80e8-4027-a486-25e4f7db5d21 type: proxy consumer_groups: - gold tags: - partner username: bob-the-builder created_at: '2025-06-17T16:55:58.569399532Z' updated_at: '2025-06-17T16:55:58.569399532Z' additionalProperties: false required: - id - username - custom_id - type - tags - consumer_groups - created_at - updated_at RealmConsumerGroups: description: | A list of consumer groups to automatically add to any consumers created within this Realm. If `consumer_groups` are provided on the Consumer object _and_ on the Realm, the Consumer will be placed in all defined consumer groups. type: array items: type: string uniqueItems: true format: set title: RealmConsumerGroups x-speakeasy-param-suppress-computed-diff: true KMSARN: description: 'The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to use for encryption and decryption. We recommend using one multi-region key (MRK) per Konnect region to enhance security and compliance, while also supporting failover to other AWS regions.' type: string example: 'arn:aws:kms:us-east-1:123456789012:key/mrk-12345678123412341234123456789012' CMEKName: description: The name of the CMEK. We recommend you match the key's name used in KMS. type: string example: My KMS Key minLength: 1 CMEKDescription: description: An optional description of the CMEK. type: string example: My Key Description CMEK: type: object properties: id: type: string x-speakeasy-ignore: true key_arn: $ref: '#/components/schemas/KMSARN' name: $ref: '#/components/schemas/CMEKName' description: $ref: '#/components/schemas/CMEKDescription' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - key_arn - name - created_at - updated_at CreateCatalogService: type: object properties: name: description: | The machine name of the Service that uniquely identifies it within the catalog. type: string example: user-svc maxLength: 120 minLength: 1 pattern: '^[0-9a-z.-]+$' display_name: description: The display name of the Service. type: string example: User Service maxLength: 120 minLength: 1 description: description: Optionally provide a description of the Service. type: string default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/Labels' custom_fields: $ref: '#/components/schemas/CustomFields' additionalProperties: false required: - name - display_name UpdateCatalogService: type: object properties: name: description: | The machine name of the Service that uniquely identifies it within the catalog. type: string example: user-svc default: null maxLength: 120 minLength: 1 nullable: true pattern: '^[0-9a-z.-]+$' x-speakeasy-param-computed: false display_name: description: The display name of the Service. type: string example: User Service default: null maxLength: 120 minLength: 1 nullable: true x-speakeasy-param-computed: false description: description: Optionally provide a description of the Service. type: string default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/LabelsUpdate' custom_fields: $ref: '#/components/schemas/CustomFields' additionalProperties: false CatalogService: description: The service object contains information about a Service Catalog service. type: object properties: id: description: The service ID. type: string format: uuid example: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: description: | The machine name of the Service that uniquely identifies it within the catalog. type: string example: user-svc maxLength: 120 minLength: 1 pattern: '^[0-9a-z.-]+$' display_name: description: The display name of the Service. type: string example: User Service maxLength: 120 minLength: 1 description: description: Optionally provide a description of the Service. type: string default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false custom_fields: $ref: '#/components/schemas/CustomFields' labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - name - display_name - description - custom_fields - labels - created_at - updated_at title: CatalogService CreateIntegrationInstance: type: object properties: integration_name: description: The type of integration instance to create. type: string example: aws-lambda maxLength: 120 minLength: 1 pattern: '^[0-9a-z.-]+$' name: description: | The machine name of the integration instance that uniquely identifies it within the catalog. type: string example: aws-lambda-prod maxLength: 120 minLength: 1 pattern: '^[0-9a-z.-]+$' display_name: description: The display name of the integration instance. type: string example: AWS (prod) maxLength: 120 minLength: 1 description: description: Optionally provide a description of the integration instance. type: string default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/Labels' config: $ref: '#/components/schemas/IntegrationInstanceConfig' additionalProperties: false required: - integration_name - name - display_name - config UpdateIntegrationInstance: type: object properties: name: description: | The machine name of the integration instance that uniquely identifies it within the catalog. type: string example: aws-lambda-prod default: null maxLength: 120 minLength: 1 nullable: true pattern: '^[0-9a-z.-]+$' x-speakeasy-param-computed: false display_name: description: The display name of the integration instance. type: string example: AWS (prod) default: null maxLength: 120 minLength: 1 nullable: true x-speakeasy-param-computed: false description: description: Optionally provide a description of the integration instance. type: string default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/LabelsUpdate' config: $ref: '#/components/schemas/IntegrationInstanceConfig' additionalProperties: false IntegrationInstance: description: Information about an integration instance. type: object properties: id: description: The integration instance ID. type: string format: uuid example: 3f51fa25-310a-421d-bd1a-007f859021a3 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: description: | The machine name of the integration instance that uniquely identifies it within the catalog. type: string example: aws-lambda-prod maxLength: 120 minLength: 1 pattern: '^[0-9a-z.-]+$' display_name: description: The display name of the integration instance. type: string example: AWS (prod) maxLength: 120 minLength: 1 description: description: The description of the integration instance. type: string default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false integration: $ref: '#/components/schemas/IntegrationRefWithoutInstance' authorized: description: Denotes whether the integration instance has been authorized within the catalog. type: boolean example: true readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/Labels' config: $ref: '#/components/schemas/IntegrationInstanceConfig' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - name - display_name - description - integration - authorized - config - created_at - updated_at IntegrationInstanceConfig: description: | JSON object representing configuration specific to the integration instance. The expected schema depends on the integration type and is dynamically registered at runtime. type: object example: account_region: eu default: {} additionalProperties: true x-speakeasy-type-override: any CreateIntegrationInstanceAuthCredential: oneOf: - $ref: '#/components/schemas/CreateMultiKeyAuthCredential' title: CreateIntegrationInstanceAuthCredential IntegrationInstanceAuthCredential: description: Object containing metadata for an integration instance auth credential. oneOf: - $ref: '#/components/schemas/MultiKeyAuthCredential' title: IntegrationInstanceAuthCredential CreateMultiKeyAuthCredential: description: Payload used to create an `Multi Key` credential for an integration instance. type: object properties: type: type: string const: multi_key_auth config: type: object additionalProperties: false properties: headers: description: | A list of header key/value pairs used to transmit API credentials to the integration's external API. Header names are defined by the integration within its `Multi Key` authorization strategy definition. type: array items: type: object required: - name - key properties: name: description: Name of the request header type: string key: description: The key used to populate the request header type: string example: - name: x-api-key key: 9f2a3b4c8d6e7f00112233445566778899aabbccddeeff001122334455667788 required: - headers title: CreateMultiKeyAuthCredentialConfig x-speakeasy-param-force-new: true x-speakeasy-param-suppress-computed-diff: true additionalProperties: false required: - type - config writeOnly: true x-speakeasy-name-override: multi_key_auth MultiKeyAuthCredential: description: Represents a credential scoped to an integration instance that supports the `Multi Key` authorization strategy. type: object properties: id: type: string format: uuid example: 4f535923-ec24-456c-b4e5-e67f65c8c208 integration_instance: $ref: '#/components/schemas/IntegrationInstanceRef' missing_permissions: description: List of detected missing permissions required to enable the full functionality of the given integration instance. type: array items: $ref: '#/components/schemas/MissingPermission' tainted: description: Indicates that the credential is no longer valid and must be replaced with a new valid credential. type: boolean example: false expires_at: description: | Timestamp denoting when the when the credential will expire in RFC-3339 format with a "T" character separating date from time within the field value. When expired, the credential must be replaced with a new valid credential to re-enable full functionality for the given integration instance. A `null` value indicates no known expiration time. type: string format: date-time example: '2025-04-01T07:20:50Z' default: null nullable: true x-speakeasy-param-computed: false created_at: $ref: '#/components/schemas/CreatedAt' type: type: string const: multi_key_auth required: - id - integration_instance - missing_permissions - tainted - expires_at - created_at - type title: MultiKeyAuthCredential x-speakeasy-param-suppress-computed-diff: true MissingPermission: type: object properties: scopes: type: array items: type: string nullable: true x-speakeasy-param-computed: false default: null example: - 'incident:read' message: description: | Describes the degraded experience of the integration instance due to the missing permission. May also include a message on how to resolve the missing permission. type: string required: - scopes - message UpsertIntegrationInstanceAuthConfig: oneOf: - $ref: '#/components/schemas/UpsertOAuthAuthConfig' title: UpsertIntegrationInstanceAuthConfig IntegrationInstanceAuthConfig: oneOf: - $ref: '#/components/schemas/OAuthAuthConfig' title: IntegrationInstanceAuthConfig UpsertOAuthAuthConfig: type: object properties: type: type: string const: oauth client_id: description: The OAuth client identifier. type: string example: d745213a-b7e8-4998-abe3-41f164001970 client_secret: description: The OAuth client secret. type: string example: s3cr3t4p1cl13ntt0k3n1234567890abcdef writeOnly: true authorization_endpoint: description: The URL where users are redirected to authorize access. type: string format: uri example: 'https://identity.service.com/oauth/authorize' token_endpoint: description: The URL used to retrieve access tokens. type: string format: uri example: 'https://identity.service.com/oauth/token' additionalProperties: false required: - type - client_id - client_secret - authorization_endpoint - token_endpoint title: OAuth Config x-speakeasy-name-override: oauth_config OAuthAuthConfig: type: object properties: type: type: string const: oauth client_id: description: The OAuth client identifier. type: string example: d745213a-b7e8-4998-abe3-41f164001970 authorization_endpoint: description: The URL where users are redirected to authorize access. type: string format: uri example: 'https://identity.service.com/oauth/authorize' token_endpoint: description: The URL used to retrieve access tokens. type: string format: uri example: 'https://identity.service.com/oauth/token' required: - type - client_id - authorization_endpoint - token_endpoint x-speakeasy-name-override: OauthAuthConfig CustomFields: description: | Map of customizable, catalog-defined fields providing information about a service. type: object example: owner: John Appleseed dashboard: name: On-Call Dashboard link: 'https://my-dashboard-svc.io/dashboards/1' additionalProperties: oneOf: - $ref: '#/components/schemas/TextCustomField' - $ref: '#/components/schemas/NumericCustomField' - $ref: '#/components/schemas/BooleanCustomField' - $ref: '#/components/schemas/UrlCustomField' x-speakeasy-type-override: any TextCustomField: type: string default: null nullable: true x-speakeasy-param-computed: false NumericCustomField: type: number default: null nullable: true x-speakeasy-param-computed: false BooleanCustomField: type: boolean default: null nullable: true x-speakeasy-param-computed: false UrlCustomField: type: object properties: name: description: The human-readable name of the URL link. type: string example: On-Call Dashboard link: description: The href value of the URL link. type: string format: uri-reference example: 'https://my-dashboard-svc.io/dashboards/1' default: null nullable: true required: - name - link x-speakeasy-param-computed: false IntegrationRefWithoutInstance: description: Short-hand descriptor of an integration that omits instance metadata. type: object properties: name: type: string example: gateway-manager display_name: type: string example: gateway-manager required: - name - display_name IntegrationInstanceRef: description: Short-hand descriptor of an integration instance. type: object properties: id: description: The integration instance ID. type: string format: uuid example: 772b9caf-ddbc-4f4f-8aa4-8dfbbe420351 name: description: | The machine name of the integration instance that uniquely identifies it within the catalog. type: string example: aws-lambda-prod pattern: '^[0-9a-z.-]+$' display_name: description: The display name of the integration instance. type: string example: AWS (prod) required: - id - name - display_name V2ListPortalsResponse: description: A paginated list of portals in the current region in the organization. type: object properties: meta: $ref: '#/components/schemas/PaginatedMeta' data: type: array items: $ref: '#/components/schemas/V2Portal' example: meta: page: number: 1 size: 10 total: 1 data: - id: 8f9fd312-a987-4628-b4c5-bb4f4fddd5f7 created_at: '2022-02-07T17:46:57.52Z' updated_at: '2022-10-08T17:00:00.52Z' name: Portal A display_name: Developer Portal A description: The Portal A default_domain: 123455678abcd.us.portal.konghq.com is_public: false rbac_enabled: true auto_approve_applications: false auto_approve_developers: true custom_domain: api.example.com custom_client_domain: portal.example.com application_count: 0 developer_count: 0 published_product_count: 0 additionalProperties: false required: - data - meta V2PortalProductVersionPublishStatus: description: Publication status of the API product version on the portal type: string enum: - published - unpublished x-speakeasy-unknown-values: allow V2PortalProductVersionDeprecated: description: Whether the api product version on the portal is deprecated type: boolean V2NotifyDevelopers: description: Whether to notify developers who are affected by this change type: boolean title: NotifyDevelopers V2ApplicationRegistrationEnabled: description: Whether the application registration on this portal for the api product version is enabled type: boolean V2AutoApproveRegistration: description: Whether the application registration auto approval on this portal for the api product version is enabled type: boolean V2AuthStrategies: description: A list of authentication strategies type: array items: $ref: '#/components/schemas/AuthStrategy' maxItems: 1 minItems: 0 V2AuthStrategyIDs: description: A list of authentication strategy IDs type: array items: $ref: '#/components/schemas/UUID_RW' maxItems: 1 minItems: 0 V2ReplacePortalProductVersionPayload: description: Payload to update a Portal Product Version type: object properties: publish_status: $ref: '#/components/schemas/V2PortalProductVersionPublishStatus' auth_strategy_ids: $ref: '#/components/schemas/V2AuthStrategyIDs' application_registration_enabled: $ref: '#/components/schemas/V2ApplicationRegistrationEnabled' auto_approve_registration: $ref: '#/components/schemas/V2AutoApproveRegistration' deprecated: $ref: '#/components/schemas/V2PortalProductVersionDeprecated' notify_developers: $ref: '#/components/schemas/V2NotifyDevelopers' additionalProperties: false required: - publish_status - application_registration_enabled - auto_approve_registration - deprecated - auth_strategy_ids title: ReplacePortalProductVersionPayload V2PortalProductVersion: description: | A Portal Product Version holds metadata that describes how a Product Version is configured for a specific portal. It contains: - Lifecyle and deprecation statuses - Application registration settings like auto approve or whether application registration is enabled - The Authentication Strategy (if present) that is enabled for Application Registration type: object properties: id: $ref: '#/components/schemas/UUID' publish_status: $ref: '#/components/schemas/V2PortalProductVersionPublishStatus' product_version_id: $ref: '#/components/schemas/UUID_RW' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' auth_strategies: $ref: '#/components/schemas/V2AuthStrategies' application_registration_enabled: $ref: '#/components/schemas/V2ApplicationRegistrationEnabled' auto_approve_registration: $ref: '#/components/schemas/V2AutoApproveRegistration' deprecated: $ref: '#/components/schemas/V2PortalProductVersionDeprecated' additionalProperties: false required: - id - publish_status - application_registration_enabled - auto_approve_registration - product_version_id - deprecated - auth_strategies - created_at - updated_at title: PortalProductVersion V2GetPortalResponse: $ref: '#/components/schemas/V2Portal' V2UpdatePortalResponse: $ref: '#/components/schemas/V2Portal' V2CreatePortalResponse: $ref: '#/components/schemas/V2Portal' V2GetPortalAppearanceResponse: example: theme_name: custom use_custom_fonts: true custom_theme: colors: section: header: value: '#F8F8F8' description: Background for header body: value: '#FFFFFF' description: Background for main content hero: value: '#F8F8F8' description: Background for hero section accent: value: '#F8F8F8' description: Subtle background tertiary: value: '#FFFFFF' description: Tertiary background stroke: value: 'rgba(0,0,0,0.1)' description: Border color footer: value: '#07A88D' description: Background for footer text: header: value: 'rgba(0,0,0,0.8)' description: Header text hero: value: '#FFFFFF' description: Hero text headings: value: 'rgba(0,0,0,0.8)' description: Headings text primary: value: 'rgba(0,0,0,0.8)' description: Main content text secondary: value: 'rgba(0,0,0,0.8)' description: Supporting text accent: value: '#07A88D' description: Subtle text link: value: '#07A88D' description: Link text footer: value: '#FFFFFF' description: Footer text button: primary_fill: value: '#1155CB' description: Background for Primary Button primary_text: value: '#FFFFFF' description: Text for Primary Button custom_fonts: base: Roboto code: Roboto headings: Roboto text: catalog: welcome_message: Welcome primary_header: Come on in! images: favicon: data: 'data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=' filename: favicon.ico logo: data: 'data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=' filename: logo.png catalog_cover: data: 'data:image/jpeg;base64,bmljZV9sb29raW5nX3BpY3R1cmU=' allOf: - $ref: '#/components/schemas/V2PortalAppearance' - type: object required: - theme_name - use_custom_fonts - custom_theme - custom_fonts - text - images V2UpdatePortalAppearanceResponse: example: theme_name: custom use_custom_fonts: true custom_theme: colors: section: header: value: '#F8F8F8' description: Background for header body: value: '#FFFFFF' description: Background for main content hero: value: '#F8F8F8' description: Background for hero section accent: value: '#F8F8F8' description: Subtle background tertiary: value: '#FFFFFF' description: Tertiary background stroke: value: 'rgba(0,0,0,0.1)' description: Border color footer: value: '#07A88D' description: Background for footer text: header: value: 'rgba(0,0,0,0.8)' description: Header text hero: value: '#FFFFFF' description: Hero text headings: value: 'rgba(0,0,0,0.8)' description: Headings text primary: value: 'rgba(0,0,0,0.8)' description: Main content text secondary: value: 'rgba(0,0,0,0.8)' description: Supporting text accent: value: '#07A88D' description: Subtle text link: value: '#07A88D' description: Link text footer: value: '#FFFFFF' description: Footer text button: primary_fill: value: '#1155CB' description: Background for Primary Button primary_text: value: '#FFFFFF' description: Text for Primary Button custom_fonts: base: Roboto code: Roboto headings: Roboto text: catalog: welcome_message: Welcome primary_header: Come on in! images: favicon: data: 'data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=' filename: favicon.ico logo: data: 'data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=' filename: logo.png catalog_cover: data: 'data:image/jpeg;base64,bmljZV9sb29raW5nX3BpY3R1cmU=' allOf: - $ref: '#/components/schemas/V2PortalAppearance' - type: object required: - theme_name - use_custom_fonts - custom_theme - custom_fonts - text - images V2Portal: type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' name: $ref: '#/components/schemas/V2PortalName' display_name: $ref: '#/components/schemas/V2PortalDisplayName' description: $ref: '#/components/schemas/V2PortalDescription' default_domain: description: The domain assigned to the portal by Konnect. This is the default place to access the portal and its API if not using a `custom_domain``. type: string format: hostname readOnly: true x-speakeasy-param-suppress-computed-diff: true is_public: description: Whether the portal catalog can be accessed publicly without any developer authentication. Developer accounts and applications cannot be created if the portal is public. type: boolean rbac_enabled: description: 'Whether the portal resources are protected by Role Based Access Control (RBAC). If enabled, developers view or register for products until unless assigned to teams with access to view and consume specific products.' type: boolean auto_approve_applications: description: 'Whether the requests from applications to register for products will be automatically approved, or if they will be set to pending until approved by an admin.' type: boolean auto_approve_developers: description: 'Whether the developer account registrations will be automatically approved, or if they will be set to pending until approved by an admin.' type: boolean custom_domain: description: 'The custom domain to access the developer portal. A CNAME for the portal''s default domain must be able to be set for the custom domain for it to be valid. After setting a valid CNAME, an SSL/TLS certificate will be automatically manged for the custom domain, and traffic will be able to use the custom domain to route to the portal''s web client and API.' type: string format: hostname default: null nullable: true x-speakeasy-param-computed: false custom_client_domain: description: 'The custom domain to access a self-hosted customized developer portal client. If this is set, the Konnect-hosted portal client will no longer be available. `custom_domain` must be also set for this value to be set. See https://github.com/Kong/konnect-portal for information on how to get started deploying and customizing your own Konnect portal.' type: string format: hostname default: null nullable: true x-speakeasy-param-computed: false default_application_auth_strategy_id: $ref: '#/components/schemas/V2DefaultApplicationAuthStratID' labels: $ref: '#/components/schemas/Labels' application_count: description: Number of applications created in the portal. type: number developer_count: description: Number of developers using the portal. type: number published_product_count: description: Number of api products published to the portal type: number example: id: 9f9fd312-a987-4628-b4c5-bb4f4fddd5f7 created_at: '2022-02-07T17:46:57.52Z' updated_at: '2022-10-08T17:00:00.52Z' name: Portal A display_name: Developer Portal A description: The Portal A default_domain: 123455678abcd.us.portal.konghq.com is_public: false rbac_enabled: true auto_approve_applications: false auto_approve_developers: true custom_domain: api.example.com custom_client_domain: portal.example.com application_count: 0 developer_count: 0 published_product_count: 0 additionalProperties: false required: - id - created_at - updated_at - name - display_name - default_domain - is_public - rbac_enabled - auto_approve_applications - auto_approve_developers - custom_domain - custom_client_domain - description - application_count - developer_count - published_product_count V2PortalDescription: description: The description of the portal. type: string default: null maxLength: 512 nullable: true x-speakeasy-param-computed: false V2DefaultApplicationAuthStratID: description: Default strategy ID applied on applications for the portal type: string format: uuid example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 nullable: true x-speakeasy-param-computed: true V2CreatePortalRequest: type: object properties: name: $ref: '#/components/schemas/V2PortalName' display_name: $ref: '#/components/schemas/V2PortalDisplayName' description: $ref: '#/components/schemas/V2PortalDescription' is_public: description: Whether the portal catalog can be accessed publicly without any developer authentication. Developer accounts and applications cannot be created if the portal is public. type: boolean default: null nullable: true x-speakeasy-param-computed: false rbac_enabled: description: 'Whether the portal resources are protected by Role Based Access Control (RBAC). If enabled, developers view or register for products until unless assigned to teams with access to view and consume specific products.' type: boolean default: null nullable: true x-speakeasy-param-computed: false auto_approve_applications: description: 'Whether the requests from applications to register for products will be automatically approved, or if they will be set to pending until approved by an admin.' type: boolean default: null nullable: true x-speakeasy-param-computed: false auto_approve_developers: description: 'Whether the developer account registrations will be automatically approved, or if they will be set to pending until approved by an admin.' type: boolean default: null nullable: true x-speakeasy-param-computed: false custom_domain: description: 'The custom domain to access the developer portal. A CNAME for the portal''s default domain must be able to be set for the custom domain for it to be valid. After setting a valid CNAME, an SSL/TLS certificate will be automatically manged for the custom domain, and traffic will be able to use the custom domain to route to the portal''s web client and API.' type: string format: hostname default: null maxLength: 1024 nullable: true x-speakeasy-param-computed: false custom_client_domain: description: 'The custom domain to access a self-hosted customized developer portal client. If this is set, the Konnect-hosted portal will no longer be available. `custom_domain` must be also set for this value to be set. See https://github.com/Kong/konnect-portal for information on how to get started deploying and customizing your own Konnect portal.' type: string format: hostname default: null maxLength: 1024 nullable: true x-speakeasy-param-computed: false default_application_auth_strategy_id: $ref: '#/components/schemas/V2DefaultApplicationAuthStratID' labels: $ref: '#/components/schemas/Labels' example: name: DevPortal is_public: false rbac_enabled: true auto_approve_applications: false auto_approve_developers: false custom_domain: api.example.com custom_client_domain: portal.example.com default_application_auth_strategy_id: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 additionalProperties: false required: - name V2PortalName: description: 'The name of the portal, used to distinguish it from other portals. Name must be unique.' type: string maxLength: 255 minLength: 1 V2PortalDisplayName: description: The display name of the portal. This value will be the portal's `name` in Portal API. type: string maxLength: 255 minLength: 1 V2UpdatePortalRequest: type: object properties: name: $ref: '#/components/schemas/V2PortalName' display_name: $ref: '#/components/schemas/V2PortalDisplayName' description: $ref: '#/components/schemas/V2PortalDescription' is_public: description: Whether the portal catalog can be accessed publicly without any developer authentication. Developer accounts and applications cannot be created if the portal is public. type: boolean default: null nullable: true x-speakeasy-param-computed: false rbac_enabled: description: 'Whether the portal resources are protected by Role Based Access Control (RBAC). If enabled, developers view or register for products until unless assigned to teams with access to view and consume specific products.' type: boolean default: null nullable: true x-speakeasy-param-computed: false auto_approve_applications: description: 'Whether the requests from applications to register for products will be automatically approved, or if they will be set to pending until approved by an admin.' type: boolean default: null nullable: true x-speakeasy-param-computed: false auto_approve_developers: description: 'Whether the developer account registrations will be automatically approved, or if they will be set to pending until approved by an admin.' type: boolean default: null nullable: true x-speakeasy-param-computed: false custom_domain: description: 'The custom domain to access the developer portal. A CNAME for the portal''s default domain must be able to be set for the custom domain for it to be valid. After setting a valid CNAME, an SSL/TLS certificate will be automatically manged for the custom domain, and traffic will be able to use the custom domain to route to the portal''s web client and API.' type: string format: hostname default: null maxLength: 1024 nullable: true x-speakeasy-param-computed: false custom_client_domain: description: 'The custom domain to access a self-hosted customized developer portal client. If this is set, the Konnect-hosted portal will no longer be available. `custom_domain` must be also set for this value to be set. See https://github.com/Kong/konnect-portal for information on how to get started deploying and customizing your own Konnect portal.' type: string format: hostname default: null maxLength: 1024 nullable: true x-speakeasy-param-computed: false default_application_auth_strategy_id: $ref: '#/components/schemas/V2DefaultApplicationAuthStratID' labels: $ref: '#/components/schemas/LabelsUpdate' example: name: Aperture is_public: false rbac_enabled: true auto_approve_applications: false auto_approve_developers: false custom_domain: api.example.com custom_client_domain: portal.example.com default_application_auth_strategy_id: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 additionalProperties: false V2UpdatePortalAppearanceRequest: $ref: '#/components/schemas/V2PortalAppearance' V2AppearanceColorVariable: type: object properties: value: type: string maxLength: 255 description: type: string default: null maxLength: 512 nullable: true x-speakeasy-param-computed: false example: value: '#000000' description: The color for a type of thing additionalProperties: false required: - value V2AppearanceThemeColorVariables: type: object properties: section: type: object additionalProperties: false properties: header: $ref: '#/components/schemas/V2AppearanceColorVariable' body: $ref: '#/components/schemas/V2AppearanceColorVariable' hero: $ref: '#/components/schemas/V2AppearanceColorVariable' accent: $ref: '#/components/schemas/V2AppearanceColorVariable' tertiary: $ref: '#/components/schemas/V2AppearanceColorVariable' stroke: $ref: '#/components/schemas/V2AppearanceColorVariable' footer: $ref: '#/components/schemas/V2AppearanceColorVariable' required: - header - body - hero - accent - tertiary - stroke - footer text: type: object additionalProperties: false properties: header: $ref: '#/components/schemas/V2AppearanceColorVariable' hero: $ref: '#/components/schemas/V2AppearanceColorVariable' headings: $ref: '#/components/schemas/V2AppearanceColorVariable' primary: $ref: '#/components/schemas/V2AppearanceColorVariable' secondary: $ref: '#/components/schemas/V2AppearanceColorVariable' accent: $ref: '#/components/schemas/V2AppearanceColorVariable' link: $ref: '#/components/schemas/V2AppearanceColorVariable' footer: $ref: '#/components/schemas/V2AppearanceColorVariable' required: - header - hero - headings - primary - secondary - accent - link - footer button: type: object additionalProperties: false properties: primary_fill: $ref: '#/components/schemas/V2AppearanceColorVariable' primary_text: $ref: '#/components/schemas/V2AppearanceColorVariable' required: - primary_fill - primary_text example: section: header: value: '#0A161E' description: Background for header body: value: '#0C0C0C' description: Background for main content hero: value: '#1A1D21' description: Background for hero section accent: value: '#1F1F1F' description: Subtle background tertiary: value: '#222529' description: Tertiary background stroke: value: '#34393F' description: Border color footer: value: '#212429' description: Background for footer text: header: value: '#FFFFFF' description: Header text hero: value: 'rgba(255,255,255,0.8)' description: Hero text headings: value: '#FFFFFF' description: Headings text primary: value: '#C8C8C9' description: Main content text secondary: value: '#919294' description: Supporting text accent: value: '#FFFFFF' description: Subtle text link: value: '#2977FF' description: Link text footer: value: '#FFFFFF' description: Footer text button: primary_fill: value: '#1155CB' description: Background for Primary Button primary_text: value: '#FFFFFF' description: Text for Primary Button additionalProperties: false required: - section - text - button V2AppearanceFontName: description: The name of the font to render in the browser. type: string example: Roboto enum: - Roboto - Inter - Open Sans - Lato - Slabo 27px - Slabo 13px - Oswald - Source Sans Pro - Montserrat - Raleway - PT Sans - Lora - Roboto Mono - Inconsolata - Source Code Pro - PT Mono - Ubuntu Mono - IBM Plex Mono x-speakeasy-unknown-values: allow V2AppearanceImage: description: 'The image data to upload, along with an optional filename. Images must be a data URL with binary image data in base 64 format. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs.' type: object properties: data: $ref: '#/components/schemas/PortalAppearanceImageDataUri' filename: type: string default: null maxLength: 512 nullable: true x-speakeasy-param-computed: false example: data: 'data:image/jpeg;base64,bmljZV9sb29raW5nX3BpY3R1cmU=' default: null additionalProperties: false nullable: true required: - data x-speakeasy-param-computed: false V2PortalAppearance: type: object properties: theme_name: description: Select a pre-existing default theme or specify 'custom' to use custom_theme variables. type: string example: mint_rocket enum: - mint_rocket - dark_mode - custom deprecated: true x-speakeasy-deprecation-message: This resource is deprecated - use konnect_portal_customization resource instead. This resource will be removed in a future release. x-speakeasy-unknown-values: allow custom_theme: description: Groups of variables for configuring visual details of the portal user interface. Set theme_name to 'custom' to use custom values for theme variables. type: object example: colors: section: header: value: '#F8F8F8' description: Background for header body: value: '#FFFFFF' description: Background for main content hero: value: '#F8F8F8' description: Background for hero section accent: value: '#F8F8F8' description: Subtle background tertiary: value: '#FFFFFF' description: Tertiary background stroke: value: 'rgba(0,0,0,0.1)' description: Border color footer: value: '#07A88D' description: Background for footer text: header: value: 'rgba(0,0,0,0.8)' description: Header text hero: value: '#FFFFFF' description: Hero text headings: value: 'rgba(0,0,0,0.8)' description: Headings text primary: value: 'rgba(0,0,0,0.8)' description: Main content text secondary: value: 'rgba(0,0,0,0.8)' description: Supporting text accent: value: '#07A88D' description: Subtle text link: value: '#07A88D' description: Link text footer: value: '#FFFFFF' description: Footer text button: primary_fill: value: '#1155CB' description: Background for Primary Button primary_text: value: '#FFFFFF' description: Text for Primary Button default: null additionalProperties: false deprecated: true nullable: true properties: colors: $ref: '#/components/schemas/V2AppearanceThemeColorVariables' required: - colors title: AppearanceThemeVariables x-speakeasy-deprecation-message: This resource is deprecated - use konnect_portal_customization resource instead. This resource will be removed in a future release. x-speakeasy-param-computed: false custom_fonts: description: Font selections to render text in the portal user interface. Must set use_custom_fonts to true to enable using custom font values. type: object default: null additionalProperties: false deprecated: true nullable: true properties: base: $ref: '#/components/schemas/V2AppearanceFontName' code: $ref: '#/components/schemas/V2AppearanceFontName' headings: $ref: '#/components/schemas/V2AppearanceFontName' required: - base - code - headings x-speakeasy-deprecation-message: This resource is deprecated - use konnect_portal_customization resource instead. This resource will be removed in a future release. x-speakeasy-param-computed: false use_custom_fonts: description: 'If true, fonts in custom_fonts will be used over the theme''s default fonts' type: boolean deprecated: true nullable: false x-speakeasy-deprecation-message: This resource is deprecated - use konnect_portal_customization resource instead. This resource will be removed in a future release. text: description: Values to display for customizable text in the portal user interface type: object example: catalog: welcome_message: Welcome to our service catalog primary_header: Find All of Our Services in a Single Place default: null additionalProperties: false deprecated: true nullable: true properties: catalog: type: object additionalProperties: false properties: welcome_message: type: string maxLength: 512 primary_header: type: string maxLength: 512 required: - welcome_message - primary_header required: - catalog x-speakeasy-deprecation-message: This resource is deprecated - use konnect_portal_customization resource instead. This resource will be removed in a future release. x-speakeasy-param-computed: false images: description: A collection of binary image data to customize images in the portal type: object example: logo: data: 'data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=' favicon: data: 'data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=' catalog_cover: data: 'data:image/jpeg;base64,bmljZV9sb29raW5nX3BpY3R1cmU=' additionalProperties: false deprecated: true nullable: true properties: logo: $ref: '#/components/schemas/V2AppearanceImage' favicon: $ref: '#/components/schemas/V2AppearanceImage' catalog_cover: $ref: '#/components/schemas/V2AppearanceImage' x-speakeasy-deprecation-message: This resource is deprecated - use konnect_portal_customization resource instead. This resource will be removed in a future release. x-speakeasy-param-computed: true example: theme_name: custom use_custom_fonts: true custom_theme: colors: section: header: value: '#F8F8F8' description: Background for header body: value: '#FFFFFF' description: Background for main content hero: value: '#F8F8F8' description: Background for hero section accent: value: '#F8F8F8' description: Subtle background tertiary: value: '#FFFFFF' description: Tertiary background stroke: value: 'rgba(0,0,0,0.1)' description: Border color footer: value: '#07A88D' description: Background for footer text: header: value: 'rgba(0,0,0,0.8)' description: Header text hero: value: '#FFFFFF' description: Hero text headings: value: 'rgba(0,0,0,0.8)' description: Headings text primary: value: 'rgba(0,0,0,0.8)' description: Main content text secondary: value: 'rgba(0,0,0,0.8)' description: Supporting text accent: value: '#07A88D' description: Subtle text link: value: '#07A88D' description: Link text footer: value: '#FFFFFF' description: Footer text button: primary_fill: value: '#1155CB' description: Background for Primary Button primary_text: value: '#FFFFFF' description: Text for Primary Button custom_fonts: base: Roboto code: Roboto headings: Roboto text: catalog: welcome_message: Welcome primary_header: Come one in! images: favicon: data: 'data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=' filename: favicon.ico logo: data: 'data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=' filename: logo.png catalog_cover: data: 'data:image/jpeg;base64,bmljZV9sb29raW5nX3BpY3R1cmU=' additionalProperties: false UUID_RW: description: Contains a unique identifier used for this resource. type: string format: uuid example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 AuthStrategyKeyAuth: description: KeyAuth Auth strategy that the application uses. type: object properties: id: description: The Application Auth Strategy ID. type: string format: uuid example: b9e81174-b5bb-4638-a3c3-8afe61a0abf8 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: type: string example: name default: name credential_type: type: string enum: - key_auth key_names: type: array items: type: string ttl: description: Default maximum Time-To-Live for keys created under this strategy. type: object default: null nullable: true properties: value: type: integer minimum: 1 unit: type: string enum: - days - weeks - years x-speakeasy-unknown-values: allow required: - value - unit x-speakeasy-param-computed: false additionalProperties: false required: - id - name - credential_type - key_names AuthMethods: type: array items: description: Auth Methods enabled for this strategy type: string example: - bearer AvailableScopes: description: Possible developer selectable scopes for an application. Only present when using DCR Provider that supports it. type: array items: type: string example: - scope1 - scope2 AuthStrategyClientCredentials: description: Client Credential Auth strategy that the application uses. type: object properties: id: description: The Application Auth Strategy ID. type: string format: uuid example: b9e81174-b5bb-4638-a3c3-8afe61a0abf8 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: type: string example: name default: name credential_type: type: string enum: - client_credentials - self_managed_client_credentials x-speakeasy-unknown-values: allow auth_methods: $ref: '#/components/schemas/AuthMethods' available_scopes: $ref: '#/components/schemas/AvailableScopes' additionalProperties: false required: - id - name - credential_type - auth_methods AuthStrategy: type: object discriminator: propertyName: credential_type mapping: key_auth: '#/components/schemas/AuthStrategyKeyAuth' client_credentials: '#/components/schemas/AuthStrategyClientCredentials' self_managed_client_credentials: '#/components/schemas/AuthStrategyClientCredentials' oneOf: - $ref: '#/components/schemas/AuthStrategyKeyAuth' - $ref: '#/components/schemas/AuthStrategyClientCredentials' PortalMenuItem: type: object properties: path: description: The absolute path of a page in a portal with a leading slash. type: string example: /about/company maxLength: 512 title: description: The link display text type: string example: My Page visibility: description: Whether a menu item is public or private. Private menu items are only accessible to authenticated users. type: string example: public enum: - public - private x-speakeasy-unknown-values: allow external: description: 'When clicked, open the link in a new window' type: boolean additionalProperties: false required: - path - title - visibility - external PortalFooterMenuSection: type: object properties: title: description: The footer menu section title type: string maxLength: 512 items: type: array items: $ref: '#/components/schemas/PortalMenuItem' additionalProperties: false required: - title - items CreatePortalIdpTeamGroupMappingRequest: type: object properties: team_id: description: The Konnect team ID. type: string format: uuid example: 6801e673-cc10-498a-94cd-4271de07a0d3 group: description: The IdP group name. type: string example: API Engineers required: - team_id - group PortalIdpTeamGroupMapping: type: object properties: id: description: The mapping ID. type: string format: uuid example: a1b2c3d4-e5f6-4a8b-9c0d-1e2f3a4b5c6d readOnly: true x-speakeasy-param-suppress-computed-diff: true team_id: description: The Konnect team ID. type: string format: uuid example: 6801e673-cc10-498a-94cd-4271de07a0d3 group: description: The IdP group name. type: string example: API Engineers created_at: description: Creation timestamp. type: string format: date-time example: '2024-01-15T10:30:00Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: Last update timestamp. type: string format: date-time example: '2024-01-15T10:30:00Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - id - team_id - group - created_at - updated_at PortalImageDataUri: description: 'must be a data URL with base64 image data, e.g., data:image/jpeg;base64,' type: string format: uri example: 'data:image/png;base64,YW5faW1hZ2VfZmlsZQ==' pattern: '^data:image/(png|jpe?g|gif|svg+xml|x-icon|ico|icon|vnd.microsoft.icon)(;base64)?,(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$' title: PortalImageDataUri ReplacePortalImageAsset: description: 'The image data to upload. Images must be a data URL with binary image data in base 64 format. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs.' type: object properties: data: $ref: '#/components/schemas/PortalImageDataUri' example: data: 'data:image/jpeg;base64,bmljZV9sb29raW5nX3BpY3R1cmU=' default: null additionalProperties: false nullable: true required: - data title: ReplacePortalImageAsset x-speakeasy-param-computed: false CreateDeveloperRequest: description: Request body for creating a developer in a portal. type: object properties: email: type: string format: email maxLength: 255 full_name: type: string maxLength: 255 status: description: 'When omitted, the portal''s `auto_approve_developers` setting determines the initial status. Set this property to override the portal default with any valid developer status.' type: string example: approved enum: - approved - pending - revoked - rejected title: DeveloperStatus x-speakeasy-unknown-values: allow send_invitation_email: description: 'When true, sends an invitation email to the developer. Default is false; no emails are sent unless explicitly requested.' type: boolean default: false additional_data: description: | The developer's answers to the portal's `developer_registration` form, if it has one, as a map from each field's `name` to its value. Optional. Built-in fields like `full_name` and `email` go in their own top-level properties, not here. Ignored if the portal doesn't have a `developer_registration` form. allOf: - $ref: '#/components/schemas/FormResponseInput' example: email: developer@example.com full_name: Developer Name additionalProperties: false required: - email - full_name title: CreateDeveloperRequest UpdateDeveloperRequest: type: object properties: status: $ref: '#/components/schemas/DeveloperStatus' example: status: approved additionalProperties: false title: UpdateDeveloperRequest PortalDeveloper: type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' email: type: string format: email maxLength: 255 full_name: type: string maxLength: 255 status: $ref: '#/components/schemas/DeveloperStatus' additional_data: description: | The developer's answers to the portal's `developer_registration` form, captured when they registered. type: object allOf: - $ref: '#/components/schemas/FormResponseData' nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true example: id: 7cd9feff-b4da-4a9f-ba49-cbe83c75ff22 email: developer@example.com full_name: Jane Dev status: approved created_at: '2022-11-15T20:37:41.457Z' updated_at: '2022-11-15T20:37:47.456Z' additionalProperties: false required: - id - created_at - updated_at - email - full_name - status title: PortalDeveloper x-speakeasy-transform-from-api: jq: | .additional_data |= (if . == null then . else map_values(.value) end) DeveloperStatus: description: 'The status of a developer in a portal. Approved developers can log in, create applications, and view and register for products they have access to. Pending, revoked, and rejected developers cannot login or view any non-public portal information, or create or modify applications or registrations.' type: string example: approved enum: - approved - pending - revoked - rejected title: DeveloperStatus x-speakeasy-unknown-values: allow PageSlug: description: | The slug of a page in a portal, used to compute its full URL path within the portal hierarchy. When a page has a `parent_page_id`, its full path is built by joining the parent’s slug with its own. For example, if a parent page has the slug `slug1` and this page’s slug is `slug2`, the resulting path will be `/slug1/slug2`. This enables nested page structures like `/slug1/slug2/slug3`. type: string example: /my-page maxLength: 512 title: PageSlug ParentPageId: description: | Pages may be rendered as a tree of files. Specify the `id` of another page as the `parent_page_id` to add some hierarchy to your pages. type: string format: uuid example: null default: null nullable: true x-speakeasy-param-computed: false PageTitle: description: The title of a page in a portal. type: string example: My Page maxLength: 512 title: PageTitle PageContent: description: The renderable markdown content of a page in a portal. type: string example: '# Welcome to My Page' maxLength: 1000000 title: PageContent SnippetTitle: description: The display title of a snippet in a portal. type: string example: My Snippet maxLength: 512 title: SnippetTitle SnippetContent: description: The renderable markdown content of a page in a portal. type: string example: '# Welcome to My Snippet' maxLength: 1000000 title: SnippetContent VisibilityStatus: description: Whether the resource is publicly accessible to non-authenticated users. type: string example: public enum: - public - private title: VisibilityStatus x-speakeasy-unknown-values: allow PublishedStatus: description: Whether the resource is visible on a given portal. Defaults to unpublished. type: string example: published enum: - published - unpublished title: PublishedStatus x-speakeasy-unknown-values: allow Description: type: string example: A custom page about developer portals maxLength: 160 title: ResourceDescription PageVisibilityStatus: description: | Whether a page is publicly accessible to non-authenticated users. If not provided, the default_page_visibility value of the portal will be used. type: string example: public enum: - public - private title: PageVisibilityStatus x-speakeasy-unknown-values: allow SnippetVisibilityStatus: description: | Whether a snippet is publicly accessible to non-authenticated users. If not provided, the default_page_visibility value of the portal will be used. type: string example: public enum: - public - private title: PageVisibilityStatus x-speakeasy-unknown-values: allow UpdatePortalPageRequest: description: Update a page in a portal. type: object properties: slug: $ref: '#/components/schemas/PageSlug' title: $ref: '#/components/schemas/PageTitle' content: $ref: '#/components/schemas/PageContent' visibility: $ref: '#/components/schemas/VisibilityStatus' status: $ref: '#/components/schemas/PublishedStatus' description: $ref: '#/components/schemas/Description' parent_page_id: $ref: '#/components/schemas/ParentPageId' additionalProperties: false title: UpdatePortalPageRequest CreatePortalPageRequest: description: Create a page in a portal. type: object properties: slug: $ref: '#/components/schemas/PageSlug' title: $ref: '#/components/schemas/PageTitle' content: $ref: '#/components/schemas/PageContent' visibility: $ref: '#/components/schemas/PageVisibilityStatus' status: $ref: '#/components/schemas/PublishedStatus' description: $ref: '#/components/schemas/Description' parent_page_id: $ref: '#/components/schemas/ParentPageId' additionalProperties: false required: - slug - content title: CreatePortalPageRequest PortalPageResponse: description: Details about a page in a portal. type: object properties: id: $ref: '#/components/schemas/UUID' slug: $ref: '#/components/schemas/PageSlug' title: $ref: '#/components/schemas/PageTitle' content: $ref: '#/components/schemas/PageContent' visibility: $ref: '#/components/schemas/VisibilityStatus' status: $ref: '#/components/schemas/PublishedStatus' description: $ref: '#/components/schemas/Description' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' parent_page_id: $ref: '#/components/schemas/ParentPageId' additionalProperties: false required: - id - slug - title - content - visibility - status - created_at - updated_at - parent_page_id title: PortalPageResponse PortalSnippetResponse: description: Details about a snippet in a portal. type: object properties: id: $ref: '#/components/schemas/UUID' name: $ref: '#/components/schemas/SnippetName' title: $ref: '#/components/schemas/SnippetTitle' content: $ref: '#/components/schemas/SnippetContent' visibility: $ref: '#/components/schemas/VisibilityStatus' status: $ref: '#/components/schemas/PublishedStatus' description: $ref: '#/components/schemas/Description' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - id - name - content - visibility - status - created_at - updated_at title: PortalSnippetResponse UpdatePortalSnippetRequest: description: Update a snippet in a portal. type: object properties: name: $ref: '#/components/schemas/SnippetName' title: $ref: '#/components/schemas/SnippetTitle' content: $ref: '#/components/schemas/SnippetContent' visibility: $ref: '#/components/schemas/VisibilityStatus' status: $ref: '#/components/schemas/PublishedStatus' description: $ref: '#/components/schemas/Description' additionalProperties: false title: UpdatePortalSnippetRequest CreatePortalSnippetRequest: description: Create a snippet in a portal. type: object properties: name: $ref: '#/components/schemas/SnippetName' title: $ref: '#/components/schemas/SnippetTitle' content: $ref: '#/components/schemas/SnippetContent' visibility: $ref: '#/components/schemas/SnippetVisibilityStatus' status: $ref: '#/components/schemas/PublishedStatus' description: $ref: '#/components/schemas/Description' additionalProperties: false required: - name - content title: CreatePortalSnippetRequest CreatePortalFormRequest: description: |- Request body for creating a form, discriminated by `type`. The required fields in `fields` depend on the form type. * `full_name` and `email` are required for `developer_registration` forms. * `api_id` is required for `api_registration` forms. Returns a 400 error if a required field is missing. type: object discriminator: propertyName: type mapping: developer_registration: '#/components/schemas/CreateDeveloperRegistrationFormRequest' api_registration: '#/components/schemas/CreateApiRegistrationFormRequest' oneOf: - $ref: '#/components/schemas/CreateDeveloperRegistrationFormRequest' - $ref: '#/components/schemas/CreateApiRegistrationFormRequest' CreateDeveloperRegistrationFormRequest: type: object properties: type: type: string example: developer_registration const: developer_registration name: description: | The form's name. Only `developer-registration` is accepted at this time type: string example: developer-registration enum: - developer-registration status: type: string example: unpublished default: unpublished enum: - published - unpublished x-speakeasy-unknown-values: allow fields: description: | The form's fields, in display order. Must include the built-in `full_name` (type `text`) and `email` (type `email`) fields, plus exactly one `submit` field. type: array items: $ref: '#/components/schemas/CustomFormFieldInput' maxItems: 20 minItems: 3 additionalProperties: false required: - type - fields CreateApiRegistrationFormRequest: type: object properties: type: type: string example: api_registration const: api_registration name: description: 'A unique name for the form that you choose (lowercase letters, digits, and hyphens).' type: string example: flights-api-registration maxLength: 128 pattern: '^[a-z0-9-]+$' status: type: string example: unpublished default: unpublished enum: - published - unpublished x-speakeasy-unknown-values: allow fields: description: | The form's fields, in display order. Must include exactly one `submit` field and a field named `api_id` of type `text`. type: array items: $ref: '#/components/schemas/CustomFormFieldInput' maxItems: 20 minItems: 2 additionalProperties: false required: - type - name - fields UpdatePortalFormRequest: description: | Request body for updating a form. The `type` must match the form's existing type — it can't be changed. To remove a field, leave it out of `fields`; to rename a field, edit its `label`. type: object discriminator: propertyName: type mapping: developer_registration: '#/components/schemas/UpdateDeveloperRegistrationFormRequest' api_registration: '#/components/schemas/UpdateApiRegistrationFormRequest' oneOf: - $ref: '#/components/schemas/UpdateDeveloperRegistrationFormRequest' - $ref: '#/components/schemas/UpdateApiRegistrationFormRequest' UpdateDeveloperRegistrationFormRequest: type: object properties: type: description: The form's type. Must match the existing value — it can't be changed. type: string example: developer_registration const: developer_registration status: type: string example: published enum: - published - unpublished x-speakeasy-unknown-values: allow fields: description: | The form's complete set of fields — this replaces the existing array, so any field left out is removed. Must include the built-in `full_name` (type `text`) and `email` (type `email`) fields, plus exactly one `submit` field. type: array items: $ref: '#/components/schemas/CustomFormFieldInput' maxItems: 20 minItems: 3 additionalProperties: false required: - type - fields UpdateApiRegistrationFormRequest: type: object properties: type: description: The form's type. Must match the existing value — it can't be changed. type: string example: api_registration const: api_registration name: description: | The form's name. You can rename `api_registration` forms; if the new name is already used by another form in the portal, the request fails with a 409 error. type: string example: flights-api-registration default: null maxLength: 128 nullable: true pattern: '^[a-z0-9-]+$' x-speakeasy-param-computed: false status: type: string example: published enum: - published - unpublished x-speakeasy-unknown-values: allow fields: description: | The form's complete set of fields — this replaces the existing array, so any field left out is removed. Must include exactly one `submit` field and a field named `api_id` of type `text`. type: array items: $ref: '#/components/schemas/CustomFormFieldInput' maxItems: 20 minItems: 2 additionalProperties: false required: - type - fields CreateApplicationRequest: type: object properties: name: description: The name of the application. type: string maxLength: 255 minLength: 1 description: description: A description of the application. type: string maxLength: 255 minLength: 1 nullable: false labels: $ref: '#/components/schemas/LabelsUpdate' dcr_client_id: description: | If using a DCR auth strategy, set this property to link the portal application to an existing client from the DCR provider, instead of having Konnect create a new client. This allows importing existing clients from an Identity Provider into Konnect, allowing them to be controlled through DCR flows in the portal and use existing client secrets for API access. The value must be a valid client ID in the DCR provider associated with the auth strategy. For some DCR providers, if the client ID is invalid, the application may still be created but will not function properly. Note: For AzureAD auth strategies, the client ID must resolve to an accessible Microsoft Entra application using the configured DCR provider credentials. Otherwise, application creation fails. type: string maxLength: 255 nullable: false client_id: $ref: '#/components/schemas/ApplicationClientId' auth_strategy_id: description: The ID of the authentication strategy the application will use when making requests to registered APIs. type: string format: uuid nullable: false owner: $ref: '#/components/schemas/ApplicationOwner' example: name: Portal Application description: A portal application provisioned for a developer by a Portal Admin. labels: env: production auth_strategy_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6 owner: id: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7 type: developer additionalProperties: false required: - name - owner title: CreateApplicationRequest UpdateApplicationRequest: type: object properties: owner: $ref: '#/components/schemas/ApplicationOwner' additionalProperties: false title: UpdateApplicationRequest GetApplicationResponse: $ref: '#/components/schemas/Application' GetApplicationRegistrationResponse: $ref: '#/components/schemas/ApplicationRegistration' UpdateApplicationRegistrationResponse: $ref: '#/components/schemas/ApplicationRegistration' Application: type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' name: description: The name of the application. type: string description: description: A description of the application. type: string default: null nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/LabelsUpdate' client_id: description: The ID used to linked the portal application to an Identity Provider application. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true registration_count: description: The number of API registrations that are associated with the application. Registrations of any status are included in the count. type: number readOnly: true x-speakeasy-param-suppress-computed-diff: true dcr_provider: description: 'Information about the DCR provider this application uses, if using DCR.' type: object additionalProperties: false properties: id: $ref: '#/components/schemas/UUID' readOnly: true required: - id x-speakeasy-param-suppress-computed-diff: true portal: description: Information about the portal the application is in. type: object additionalProperties: false properties: id: $ref: '#/components/schemas/UUID' readOnly: true required: - id x-speakeasy-param-suppress-computed-diff: true auth_strategy: type: object additionalProperties: false properties: id: description: The Application Auth Strategy ID. type: string format: uuid example: b9e81174-b5bb-4638-a3c3-8afe61a0abf8 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: type: string example: name default: name credential_type: type: string enum: - key_auth - client_credentials - self_managed_client_credentials x-speakeasy-unknown-values: allow key_names: type: array items: type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true ttl: description: Default maximum Time-To-Live for keys created under this strategy. type: object properties: value: type: integer minimum: 1 unit: type: string enum: - days - weeks - years x-speakeasy-unknown-values: allow readOnly: true x-speakeasy-param-suppress-computed-diff: true auth_methods: type: array items: type: string description: Auth Methods enabled for this strategy example: - bearer readOnly: true x-speakeasy-param-suppress-computed-diff: true available_scopes: description: Possible developer selectable scopes for an application. Only present when using DCR Provider that supports it. type: array items: type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true readOnly: true required: - id - name - credential_type x-speakeasy-param-suppress-computed-diff: true granted_scopes: description: List of granted scopes for the application. Null if application type does not support returning granted scopes. type: array items: type: string nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true owner: $ref: '#/components/schemas/ApplicationOwner' example: id: b15e2460-ba40-431d-9df0-4957fcffacda labels: env: test name: App 1 description: An easy to manage app in a Konnect developer portal registration_count: 4 portal: id: 95606071-49c7-4c2e-ae49-8a86d72a8110 auth_strategy: id: 45606071-49c7-4c2e-ae49-8a86d72a8110 name: API Key credential_type: key_auth key_names: - apikey created_at: '2022-12-22T19:09:30.712Z' updated_at: '2022-12-22T19:09:30.712Z' owner: id: 8cd9feff-b4da-4a9f-ba49-cbe83c75ff22 type: developer additionalProperties: false required: - id - created_at - updated_at - name - description - registration_count - auth_strategy - portal - labels title: Application CreateApplicationRegistrationRequest: type: object properties: api_id: description: The ID of the API the application is registering for. type: string format: uuid status: description: The status of the application registration. It must be a valid status value for a registration creation. type: string example: approved enum: - approved - pending x-speakeasy-unknown-values: allow additional_data: description: | The developer's answers to the `api_registration` form linked to this API, as a map from each field's `name` to its value. Optional, and ignored if no form is linked to the publication. allOf: - $ref: '#/components/schemas/FormResponseInput' example: api_id: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7 additionalProperties: false required: - api_id title: CreateApplicationRegistrationRequest ApplicationRegistration: description: A application's registration for a specific version of an API. type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' status: $ref: '#/components/schemas/ApplicationRegistrationStatus' additional_data: description: | The developer's answers to the `api_registration` form linked to this API, captured when they registered. type: object allOf: - $ref: '#/components/schemas/FormResponseData' nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true api: description: Details about the API the application is registered to. type: object additionalProperties: false properties: id: $ref: '#/components/schemas/UUID' name: description: The name of the API the application is registered to. type: string version: description: The version of the API the application is registered to. type: string default: null nullable: true x-speakeasy-param-computed: false entity_type: $ref: '#/components/schemas/EntityType' required: - id - name - version - entity_type application: description: Details about the application the registration is part of. type: object additionalProperties: false properties: id: $ref: '#/components/schemas/UUID' name: description: The name of the application the registration is part of. type: string required: - id - name consumer: description: Details about the consumer associated with this application registration. type: object default: null additionalProperties: false nullable: true properties: id: $ref: '#/components/schemas/UUID' custom_id: description: The custom ID of the associated consumer. type: string default: null nullable: true x-speakeasy-param-computed: false username: description: The username of the associated consumer. type: string default: null nullable: true x-speakeasy-param-computed: false control_plane_id: $ref: '#/components/schemas/UUID' required: - id - control_plane_id x-speakeasy-param-computed: false example: id: c300cc33-2d33-4754-b086-a98e0fcd36fb status: approved application: id: c15e2460-ba40-431d-9df0-4957fcff7cda name: App 1 api: id: 86f637b7-cd95-478b-9b02-d770618f641c name: Great Stuff version: v1 entity_type: api created_at: '2022-12-22T20:13:07.305Z' updated_at: '2022-12-22T20:13:36.710Z' additionalProperties: false required: - id - created_at - updated_at - status - api - application title: ApplicationRegistration x-speakeasy-transform-from-api: jq: | . + { application_id: .application.id } | .additional_data |= (if . == null then . else map_values(.value) end) ApplicationRegistrationStatus: description: |- The status of an application registration request. Each registration is linked to a single API, and application credentials will not grant access to the API until the registration is approved. Pending, revoked, and rejected registrations will not provide access to the API. type: string example: approved enum: - approved - pending - revoked - rejected title: ApplicationRegistrationStatus x-speakeasy-unknown-values: allow UpdateApplicationRegistrationRequest: type: object properties: status: $ref: '#/components/schemas/ApplicationRegistrationStatus' example: status: rejected additionalProperties: false title: UpdateApplicationRegistrationRequest PortalFilterParameters: type: object properties: id: $ref: '#/components/schemas/UuidFieldFilter' name: $ref: '#/components/schemas/StringFieldFilter' description: $ref: '#/components/schemas/StringFieldFilter' authentication_enabled: $ref: '#/components/schemas/BooleanFieldFilter' rbac_enabled: $ref: '#/components/schemas/BooleanFieldFilter' default_api_visibility: $ref: '#/components/schemas/StringFieldFilter' default_page_visibility: $ref: '#/components/schemas/StringFieldFilter' default_application_auth_strategy_id: $ref: '#/components/schemas/UuidFieldFilter' auto_approve_developers: $ref: '#/components/schemas/BooleanFieldFilter' auto_approve_applications: $ref: '#/components/schemas/BooleanFieldFilter' default_domain: $ref: '#/components/schemas/StringFieldFilter' canonical_domain: $ref: '#/components/schemas/StringFieldFilter' title: PortalFilterParameters PortalCustomDomain: type: object properties: hostname: type: string enabled: type: boolean ssl: $ref: '#/components/schemas/PortalCustomDomainSSL' cname_status: $ref: '#/components/schemas/PortalCustomDomainCnameStatus' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - hostname - enabled - ssl - cname_status - created_at - updated_at title: PortalCustomDomain PortalCustomDomainSSL: type: object properties: domain_verification_method: $ref: '#/components/schemas/PortalCustomDomainVerificationMethod' verification_status: $ref: '#/components/schemas/PortalCustomDomainVerificationStatus' validation_errors: $ref: '#/components/schemas/PortalCustomDomainValidationErrors' uploaded_at: description: An ISO-8601 timestamp representation of the ssl certificate upload date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true expires_at: description: An ISO-8601 timestamp representation of the ssl certificate expiration date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true skip_ca_check: description: | True when the provided certificate chain is served as-is without validation against a public trust store. type: boolean readOnly: true x-speakeasy-param-suppress-computed-diff: true additionalProperties: false required: - domain_verification_method - verification_status title: PortalCustomDomainSSL UpdatePortalCustomDomainSSL: type: object properties: custom_certificate: description: Custom certificate to be used for the SSL termination. type: string default: null nullable: true x-speakeasy-param-computed: false custom_private_key: description: Custom certificate private key to be used for the SSL termination. type: string default: null nullable: true x-speakeasy-param-computed: false skip_ca_check: description: | Advanced option. If true, the custom certificate is served exactly as provided, without attempting to bundle against a public trust store. Required for certificates issued by an internal/private CA. type: boolean default: false additionalProperties: false title: UpdatePortalCustomDomainSSL PortalCustomDomainVerificationMethod: type: string enum: - http - custom_certificate title: PortalCustomDomainVerificationMethod x-speakeasy-unknown-values: allow PortalCustomDomainVerificationStatus: type: string enum: - verified - pending - error readOnly: true title: PortalCustomDomainVerificationStatus x-speakeasy-param-suppress-computed-diff: true x-speakeasy-unknown-values: allow PortalCustomDomainCnameStatus: type: string enum: - verified - pending readOnly: true title: PortalCustomDomainCnameStatus x-speakeasy-param-suppress-computed-diff: true x-speakeasy-unknown-values: allow PortalCustomDomainValidationErrors: type: array items: type: string readOnly: true title: PortalCustomDomainValidationErrors x-speakeasy-param-suppress-computed-diff: true CreatePortalCustomDomainRequest: type: object properties: hostname: type: string enabled: type: boolean ssl: $ref: '#/components/schemas/CreatePortalCustomDomainSSL' additionalProperties: false required: - hostname - enabled - ssl title: CreatePortalCustomDomainRequest UpdatePortalCustomDomainRequest: type: object properties: enabled: type: boolean default: null nullable: true x-speakeasy-param-computed: false ssl: $ref: '#/components/schemas/UpdatePortalCustomDomainSSL' additionalProperties: false title: UpdatePortalCustomDomainRequest PortalClaimMappings: description: Mappings from a portal developer atribute to an Identity Provider claim. type: object properties: name: type: string example: name default: name email: type: string example: email default: email groups: type: string example: custom-group-claim default: groups example: name: name email: email groups: custom-group-claim maxProperties: 3 minProperties: 0 title: PortalClaimMappings OIDCAuthEnabled: description: The portal has OIDC enabled or disabled. type: boolean example: false deprecated: true x-speakeasy-param-computed: true SAMLAuthEnabled: description: A Konnect Identity Admin assigns teams to a developer. type: boolean example: false deprecated: true x-speakeasy-param-computed: true OIDCIdpMappingEnabled: description: IdP groups determine the Portal Teams a developer has. Replaced by idp_mapping_enabled. type: boolean example: true deprecated: true x-speakeasy-param-computed: true IDPMappingEnabled: description: Whether IdP groups determine the Konnect Portal teams a developer has. type: boolean example: true x-speakeasy-param-computed: true PortalAuthenticationSettingsResponse: x-speakeasy-entity: PortalAuth description: The developer authentication settings for a portal. type: object properties: basic_auth_enabled: description: The portal has basic auth enabled or disabled. type: boolean example: true oidc_auth_enabled: $ref: '#/components/schemas/OIDCAuthEnabled' saml_auth_enabled: $ref: '#/components/schemas/SAMLAuthEnabled' oidc_team_mapping_enabled: $ref: '#/components/schemas/OIDCIdpMappingEnabled' idp_mapping_enabled: $ref: '#/components/schemas/IDPMappingEnabled' konnect_mapping_enabled: description: A Konnect Identity Admin assigns teams to a developer. type: boolean example: false oidc_config: description: Configuration properties for an OpenID Connect Identity Provider. type: object example: issuer: 'https://identity.example.com/v2' client_id: x7id0o42lklas0blidl2 scopes: - email - openid - profile claim_mappings: name: name email: email groups: custom-group-claim deprecated: true properties: issuer: type: string example: 'https://identity.example.com/v2' client_id: type: string example: x7id0o42lklas0blidl2 scopes: type: array items: type: string default: openid example: - email - openid - profile default: - email - openid - profile claim_mappings: $ref: '#/components/schemas/PortalClaimMappings' readOnly: true required: - issuer - client_id title: PortalOIDCConfig x-speakeasy-param-suppress-computed-diff: true oidc_issuer: type: string example: 'https://identity.example.com/v2' default: null nullable: true x-speakeasy-param-computed: false oidc_client_id: type: string example: x7id0o42lklas0blidl2 default: null nullable: true x-speakeasy-param-computed: false oidc_scopes: type: array items: type: string example: - email - openid - profile default: null nullable: true x-speakeasy-param-computed: false oidc_claim_mappings: description: Mappings from a portal developer atribute to an Identity Provider claim. type: object example: name: name email: email groups: custom-group-claim default: null maxProperties: 3 minProperties: 0 nullable: true properties: name: type: string example: name default: name email: type: string example: email default: email groups: type: string example: custom-group-claim default: groups title: PortalClaimMappings x-speakeasy-param-computed: false example: basic_auth_enabled: true oidc_auth_enabled: true oidc_team_mapping_enabled: true konnect_mapping_enabled: false oidc_config: issuer: 'https://identity.example.com/v2' client_id: x7id0o42lklas0blidl2 scopes: - email - openid - profile claim_mappings: name: name email: email groups: custom-group-claim required: - basic_auth_enabled - konnect_mapping_enabled - oidc_auth_enabled - oidc_team_mapping_enabled title: PortalAuthenticationSettingsResponse x-speakeasy-transform-from-api: jq: | . + { oidc_issuer: .oidc_config.issuer, oidc_client_id: .oidc_config.client_id, oidc_claim_mappings: .oidc_config.claim_mappings, oidc_scopes: .oidc_config.scopes } | del(.oidc_config) AddDeveloperToTeamRequest: description: Add a developer to a team by specifying the developer ID. type: object properties: id: type: string format: uuid example: df120cb4-f60b-47bc-a2f8-6a28e6a3c63b writeOnly: true x-speakeasy-name-override: developer_id example: id: df120cb4-f60b-47bc-a2f8-6a28e6a3c63b required: - id title: AddDeveloperToTeamRequest PortalAssignRoleRequest: description: An assigned role associates a service and an action to a team. type: object properties: role_name: type: string example: API Viewer entity_id: type: string format: uuid example: e67490ce-44dc-4cbd-b65e-b52c746fc26a entity_type_name: type: string example: Services entity_region: description: Region of the entity. type: string example: eu enum: - us - eu - au - me - in - sg - '*' x-speakeasy-unknown-values: allow example: role_name: API Viewer entity_id: 18ee2573-dec0-4b83-be99-fa7700bcdc61 entity_type_name: Services entity_region: us required: - role_name - entity_id - entity_type_name - entity_region title: PortalAssignRoleRequest PortalAuthenticationSettingsUpdateRequest: x-speakeasy-entity: PortalAuth description: Properties to update a portal's developer auth settings. type: object properties: basic_auth_enabled: description: The organization has basic auth enabled. type: boolean example: true x-speakeasy-param-computed: true oidc_auth_enabled: description: 'Deprecated. Use the [Identity Provider API](https://developer.konghq.com/api/konnect/portal-management/v3/#/operations/update-portal-identity-provider) instead.' type: boolean example: false deprecated: true x-speakeasy-param-computed: true saml_auth_enabled: description: 'Deprecated. Use the [Identity Provider API](https://developer.konghq.com/api/konnect/portal-management/v3/#/operations/update-portal-identity-provider) instead.' type: boolean example: false deprecated: true x-speakeasy-param-computed: true oidc_team_mapping_enabled: $ref: '#/components/schemas/OIDCIdpMappingEnabled' konnect_mapping_enabled: description: Whether a Konnect Identity Admin assigns teams to a developer. type: boolean example: false x-speakeasy-param-computed: true idp_mapping_enabled: $ref: '#/components/schemas/IDPMappingEnabled' oidc_issuer: description: 'Deprecated. Use the [Identity Provider API](https://developer.konghq.com/api/konnect/portal-management/v3/#/operations/update-portal-identity-provider) instead.' type: string default: null deprecated: true nullable: true x-speakeasy-param-computed: false oidc_client_id: description: 'Deprecated. Use the [Identity Provider API](https://developer.konghq.com/api/konnect/portal-management/v3/#/operations/update-portal-identity-provider) instead.' type: string default: null deprecated: true nullable: true x-speakeasy-param-computed: false oidc_client_secret: description: 'Deprecated. Use the [Identity Provider API](https://developer.konghq.com/api/konnect/portal-management/v3/#/operations/update-portal-identity-provider) instead.' type: string default: null deprecated: true nullable: true x-speakeasy-param-computed: false oidc_scopes: description: 'Deprecated. Use the [Identity Provider API](https://developer.konghq.com/api/konnect/portal-management/v3/#/operations/update-portal-identity-provider) instead.' type: array items: type: string default: null deprecated: true nullable: true x-speakeasy-param-computed: false oidc_claim_mappings: description: 'Deprecated. Use the [Identity Provider API](https://developer.konghq.com/api/konnect/portal-management/v3/#/operations/update-portal-identity-provider) instead.' type: object example: name: name email: email groups: custom-group-claim default: null deprecated: true maxProperties: 3 minProperties: 0 nullable: true properties: name: type: string example: name default: name email: type: string example: email default: email groups: type: string example: custom-group-claim default: groups title: PortalClaimMappings x-speakeasy-param-computed: false example: basic_auth_enabled: true oidc_auth_enabled: true oidc_team_mapping_enabled: true konnect_mapping_enabled: false oidc_issuer: 'https://identity.example.com/v2' oidc_client_id: x7id0o42lklas0blidl2 oidc_scopes: - email - openid - profile oidc_claim_mappings: name: name email: email groups: custom-group-claim title: PortalAuthenticationSettingsUpdateRequest PortalUpdateTeamRequest: description: Properties to update on a team. type: object properties: name: description: The name of the team. type: string example: IDM - Developers default: null maxLength: 250 minLength: 1 nullable: true pattern: '^[\w \W]+$' writeOnly: true x-speakeasy-param-computed: false description: description: The description of the team. type: string example: The Identity Management (IDM) API team. default: null maxLength: 250 minLength: 1 nullable: true writeOnly: true x-speakeasy-param-computed: false can_own_applications: description: Whether the team is allowed to own applications. type: boolean example: true default: null nullable: true x-speakeasy-param-computed: false konnect_managed: $ref: '#/components/schemas/KonnectManaged' example: name: IDM - Developers description: The Identity Management (IDM) API team. can_own_applications: false konnect_managed: false additionalProperties: false title: PortalUpdateTeamRequest PortalCreateTeamRequest: x-speakeasy-entity: PortalTeam description: Details about a team to create. type: object properties: name: description: The name of the team. type: string example: IDM - Developers maxLength: 250 minLength: 1 pattern: '^[\w \W]+$' writeOnly: true description: description: The description of the team. type: string example: The Identity Management (IDM) team. default: null maxLength: 250 minLength: 1 nullable: true writeOnly: true x-speakeasy-param-computed: false can_own_applications: description: Whether the team is allowed to own applications type: boolean example: true x-speakeasy-param-computed: true konnect_managed: $ref: '#/components/schemas/KonnectManaged' example: name: IDM - Developers description: The Identity Management (IDM) team. can_own_applications: false konnect_managed: false additionalProperties: false required: - name title: PortalCreateTeamRequest PortalTeamResponse: description: Details about a developer team. type: object properties: id: type: string format: uuid example: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: $ref: '#/components/schemas/TeamName' description: description: The description of the team. type: string example: The developers for the IDM API. maxLength: 250 minLength: 1 created_at: type: string format: date-time example: '1992-02-07T17:46:57.52Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: type: string format: date-time example: '2022-02-07T17:00:00.52Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true can_own_applications: description: Whether the team is allowed to own applications. type: boolean example: false default: null nullable: true x-speakeasy-param-computed: false konnect_managed: $ref: '#/components/schemas/KonnectManaged' example: id: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7 name: IDM - Developers description: The developers for the IDM API. created_at: '1992-02-07T17:46:57.52Z' updated_at: '2022-08-31T17:00:00.52Z' can_own_applications: false konnect_managed: false required: - id - name - description - created_at - updated_at title: PortalTeamResponse PortalAssignedRoleResponse: description: An assigned role associates a service and an action to a team. type: object properties: id: type: string format: uuid example: eaf7adf1-32c8-4bbf-b960-d1f8456afe67 role_name: type: string example: API Viewer entity_id: type: string format: uuid example: 817d0422-45c9-4d88-8d64-45aef05c1ae7 entity_type_name: type: string example: Services entity_region: description: Region of the entity. type: string example: eu enum: - us - eu - au - me - in - sg - '*' x-speakeasy-unknown-values: allow example: id: 1a3c2169-27f8-4594-926b-41df3432d5dc role_name: API Viewer entity_id: 18ee2573-dec0-4b83-be99-fa7700bcdc61 entity_type_name: Services entity_region: us required: - id - role_name - entity_id - entity_type_name - entity_region title: PortalAssignedRoleResponse AISettingsFeatures: description: 'AI features configuration. When top-level `enabled` is false, every feature toggle here is automatically reset to false.' type: object properties: ai_search: description: AI Search config type: object additionalProperties: false properties: enabled: description: Whether AI Search is enabled or not type: boolean default: false required: - enabled x-speakeasy-param-computed: true mcp_server: description: AI Features config type: object additionalProperties: false properties: enabled: description: Whether the MCP Server is enabled or not type: boolean default: false write_operations_enabled: description: Whether write operations are enabled or not for the Portal MCP Server enabled type: boolean default: false required: - enabled - write_operations_enabled x-speakeasy-param-computed: true additionalProperties: false AISettings: type: object properties: enabled: description: Is AI enabled? type: boolean default: false features: $ref: '#/components/schemas/AISettingsFeatures' additionalProperties: false required: - enabled - features SnippetName: description: The unique name of a snippet in a portal. type: string example: my-snippet maxLength: 512 title: SnippetName PortalCustomizationV3: description: The custom settings of this portal type: object properties: theme: description: The theme settings for this portal. type: object additionalProperties: false nullable: false properties: name: description: 'The theme name to apply to this portal. Supported names are ''mesa'', ''grove'', ''pebble'', or ''ocean''. If another name is provided or this property is omitted, the portal uses the default ''ocean'' theme.' type: string default: ocean nullable: false mode: type: string enum: - light - dark - system x-speakeasy-unknown-values: allow colors: type: object additionalProperties: false nullable: false properties: primary: description: The primary accent color used in the portal's theme. Must be a valid hex color value. type: string example: '#000000' nullable: false pattern: '^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$' x-validation-message: must be a valid hex color value x-speakeasy-param-computed: false border_radius: description: The corner roundness to apply to this portal's theme. type: string enum: - soft - sharp - round x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false layout: description: This property is deprecated and is not used by the portal. type: string deprecated: true nullable: false x-speakeasy-param-computed: false css: type: string default: null nullable: true x-speakeasy-param-computed: false menu: type: object additionalProperties: false nullable: false properties: main: type: array items: $ref: '#/components/schemas/PortalMenuItem' default: null nullable: true x-speakeasy-param-computed: false footer_sections: type: array items: $ref: '#/components/schemas/PortalFooterMenuSection' default: null nullable: true x-speakeasy-param-computed: false footer_bottom: type: array items: $ref: '#/components/schemas/PortalMenuItem' default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false spec_renderer: description: The spec renderer settings of this portal type: object additionalProperties: false properties: try_it_ui: description: Enable in-browser testing for your APIs. All linked gateways must have the CORS plugin configured. type: boolean default: true try_it_insomnia: description: Enables users to open API specifications in Insomnia to explore and send requests with the native client. Only public API specifications are supported. type: boolean default: true infinite_scroll: description: 'Display the full spec on a single, scrollable page. If disabled, documentation, endpoints, and schemas appear on separate pages.' type: boolean default: true show_schemas: description: 'Control whether schemas are visible in your API specs. When enabled, schemas appear in the side navigation below the endpoints.' type: boolean default: true hide_internal: description: Manage visibility of internal endpoints and models. type: boolean default: false hide_deprecated: description: Manage visibility of deprecated endpoints and models. type: boolean default: false allow_custom_server_urls: description: Let users define a custom server URL for endpoints. This will be used to generate code snippets and to test the API. The URL is client-side only and is not saved. type: boolean default: true try_it_ui_audience: description: | The audience for the Try It UI feature. `all` means that the Try It UI will be available to all users, including unauthenticated users. `authenticated` means that the Try It UI will only be available to authenticated users. `registered` means that the Try It UI will only be available to users who have registered for the API. type: string default: all enum: - all - authenticated - registered x-speakeasy-unknown-values: allow title: PortalCustomizationSpecRenderer x-speakeasy-param-computed: false robots: type: string default: null nullable: true x-speakeasy-param-computed: false additionalProperties: false title: PortalCustomization x-speakeasy-name-override: PortalCustomization ApplicationOwnerType: description: The type of the owner of the application. Can be `developer` (individual developer) or `team`. type: string enum: - developer - team x-speakeasy-unknown-values: allow ApplicationOwnerId: description: 'The ID of the owner of the application. When type is `developer`, this is the developer ID. When type is `team`, this is the team ID.' type: string format: uuid ApplicationOwner: type: object properties: type: $ref: '#/components/schemas/ApplicationOwnerType' id: $ref: '#/components/schemas/ApplicationOwnerId' additionalProperties: false required: - type - id ApplicationClientId: description: | An identifier to correlate the application with an external system. Cannot be set when using Dynamic Client Registration. type: string maxLength: 255 nullable: false CustomFormFieldName: description: | A stable, URL-safe slug identifying the field (letters, digits, underscores, or hyphens). When omitted, `label` is slugified instead. Used to match up stored responses across edits. type: string example: full-name maxLength: 128 pattern: '^[\w-]+$' FormResponseEntry: description: | One field's submitted answer, along with a snapshot of that field's details as they appeared when submitted. type: object properties: name: description: The field's `name`. Matches the parent object's key. allOf: - $ref: '#/components/schemas/CustomFormFieldName' label: description: The field's label at the time it was submitted. type: string example: Full Name type: description: The field's type at the time it was submitted. type: string example: text enum: - text - email - number - textarea - select - checkbox x-speakeasy-unknown-values: allow value: description: | The submitted value. Its type matches the field's type: * `text`, `email`, `textarea` — string * `number` — number * `checkbox` — boolean * `select` — string for single-select fields, or an array of strings for multi-select fields oneOf: - type: string example: Ada Lovelace - type: number example: 42 - type: boolean example: true - type: array items: type: string example: - api - portal additionalProperties: false required: - name - label - type - value FormResponseData: description: | A developer's submitted answers to a form, as a map from each field's `name` to a record of that answer. Each record captures the field's `label`, `type`, and `value` exactly as they appeared when the developer submitted the form. Encrypted at rest. type: object example: full_name: name: full_name label: Full Name type: text value: Ada Lovelace email: name: email label: Email Address type: email value: ada@example.com topics: name: topics label: Topics of Interest type: select value: - api - portal additionalProperties: $ref: '#/components/schemas/FormResponseEntry' x-speakeasy-type-override: any EntityType: description: The type of entity that is being published. Can be either an API or an API Package. type: string example: api enum: - api - api_package title: Entity Type x-speakeasy-unknown-values: allow FormResponseInput: description: | The developer's answers to a custom form, as a map from each field's `name` to its value. Built-in fields like `full_name` and `email` go in their own top-level properties, not here. type: object example: department: engineering age: 35 accepted_terms: true topics: - api - portal additionalProperties: oneOf: - type: string - type: number - type: boolean - type: array items: type: string x-speakeasy-type-override: any OIDCIdentityProviderBackChannelLogoutEnabled: description: | Indicates whether back-channel logout is enabled. When enabled, the identity provider can notify the portal to end a user's session when they log out of the identity provider. Configure your identity provider's back-channel logout URL as your portal's URL followed by `/api/v3/developer/backchannel-logout`, for example `https://my-portal.example.com/api/v3/developer/backchannel-logout`. type: boolean example: false default: false title: OIDC Identity Provider Back-Channel Logout Enabled Property OIDCIdentityProviderBackChannelLogoutSupported: description: | Indicates whether the OpenID Provider advertises support for back-channel logout (`backchannel_logout_supported` in its discovery metadata). Null when the discovery metadata could not be retrieved or validated, in which case support is unknown. type: boolean example: true nullable: true readOnly: true title: OIDC Identity Provider Back-Channel Logout Supported Property x-speakeasy-param-suppress-computed-diff: true OIDCIdentityProviderBackChannelLogoutSessionSupported: description: | Indicates whether the OpenID Provider advertises that it includes the `sid` claim in logout tokens (`backchannel_logout_session_supported` in its discovery metadata). A provider that omits the value does not include it. Null when the discovery metadata could not be retrieved or validated, in which case support is unknown. type: boolean example: true nullable: true readOnly: true title: OIDC Identity Provider Back-Channel Logout Session Supported Property x-speakeasy-param-suppress-computed-diff: true OIDCIdentityProviderBackChannelLogout: description: | The back-channel logout settings for the OIDC identity provider. To receive logout notifications, set your identity provider's back-channel logout URL to your portal's URL followed by `/api/v3/developer/backchannel-logout`, for example `https://my-portal.example.com/api/v3/developer/backchannel-logout`. type: object properties: enabled: $ref: '#/components/schemas/OIDCIdentityProviderBackChannelLogoutEnabled' supported: $ref: '#/components/schemas/OIDCIdentityProviderBackChannelLogoutSupported' session_supported: $ref: '#/components/schemas/OIDCIdentityProviderBackChannelLogoutSessionSupported' additionalProperties: false title: OIDC Identity Provider Back-Channel Logout PortalOIDCIdentityProviderConfig: description: The identity provider that contains configuration data for the OIDC authentication integration. type: object properties: issuer_url: $ref: '#/components/schemas/OIDCIdentityProviderIssuer' client_id: $ref: '#/components/schemas/OIDCIdentityProviderClientId' client_secret: $ref: '#/components/schemas/OIDCIdentityProviderClientSecret' scopes: $ref: '#/components/schemas/OIDCIdentityProviderScopes' claim_mappings: $ref: '#/components/schemas/OIDCIdentityProviderClaimMappings' backchannel_logout: $ref: '#/components/schemas/OIDCIdentityProviderBackChannelLogout' additionalProperties: false required: - issuer_url - client_id title: OIDC Identity Provider Config x-speakeasy-name-override: OIDCIdentityProviderConfig PortalSAMLIdentityProviderConfig: description: The identity provider that contains configuration data for the SAML authentication integration. type: object properties: idp_metadata_url: $ref: '#/components/schemas/SAMLIdentityProviderMetadataURL' idp_metadata_xml: $ref: '#/components/schemas/SAMLIdentityProviderMetadata' sp_metadata_url: type: string format: path example: /api/v2/developer/authenticate/saml/metadata readOnly: true x-speakeasy-param-suppress-computed-diff: true sp_entity_id: description: The entity ID of the service provider (SP). type: string example: 'https://cloud.konghq.com/sp/00000000-0000-0000-0000-000000000000' readOnly: true x-speakeasy-param-suppress-computed-diff: true callback_url: description: The path URL where the SAML identity provider sends authentication responses after successful login attempts. type: string format: path example: /api/v2/developer/authenticate/saml/acs readOnly: true x-speakeasy-param-suppress-computed-diff: true additionalProperties: false title: Portal SAML Identity Provider Config x-speakeasy-name-override: SAMLIdentityProviderConfig PortalIdentityProviderConfig: description: The configuration data for the authentication integration. oneOf: - $ref: '#/components/schemas/PortalOIDCIdentityProviderConfig' - $ref: '#/components/schemas/PortalSAMLIdentityProviderConfig' title: Portal Identity Provider Config PortalIdentityProvider: description: The identity provider that contains configuration data for authentication integration. type: object properties: id: $ref: '#/components/schemas/UUID' type: $ref: '#/components/schemas/IdentityProviderType' enabled: $ref: '#/components/schemas/IdentityProviderEnabled' config: $ref: '#/components/schemas/PortalIdentityProviderConfig' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' title: Portal Identity Provider CreateOIDCIdentityProviderScopes: description: The scopes requested by your application when authenticating with the identity provider. Must include `openid`. allOf: - $ref: '#/components/schemas/OIDCIdentityProviderScopes' - minItems: 1 title: Create OIDC Identity Provider Scopes CreateOIDCIdentityProviderConfig: description: The configuration data for creating an OIDC authentication integration. type: object properties: issuer_url: $ref: '#/components/schemas/OIDCIdentityProviderIssuer' client_id: $ref: '#/components/schemas/OIDCIdentityProviderClientId' client_secret: $ref: '#/components/schemas/OIDCIdentityProviderClientSecret' scopes: $ref: '#/components/schemas/CreateOIDCIdentityProviderScopes' claim_mappings: $ref: '#/components/schemas/OIDCIdentityProviderClaimMappings' additionalProperties: false required: - issuer_url - client_id - client_secret title: Create OIDC Identity Provider Config x-speakeasy-name-override: OIDCIdentityProviderConfig PortalCreateIdentityProviderConfig: description: The configuration data for creating an authentication integration. oneOf: - $ref: '#/components/schemas/CreateOIDCIdentityProviderConfig' - $ref: '#/components/schemas/PortalSAMLIdentityProviderConfig' title: Portal Create Identity Provider Config PortalCreateIdentityProvider: description: The identity provider that contains configuration data for creating an authentication integration. type: object properties: enabled: $ref: '#/components/schemas/IdentityProviderEnabled' type: $ref: '#/components/schemas/IdentityProviderType' config: $ref: '#/components/schemas/PortalCreateIdentityProviderConfig' title: Portal Identity Provider UpdateOIDCIdentityProviderClaimMappings: description: | Defines the mappings between OpenID Connect (OIDC) claims and local claims used by your application for authentication. Only the provided mappings are updated and provided values cannot be empty. type: object properties: name: description: The claim mapping for the user's name. type: string example: name default: null minLength: 1 nullable: true pattern: \S x-speakeasy-param-computed: false email: description: The claim mapping for the user's email address. type: string example: email default: null minLength: 1 nullable: true pattern: \S x-speakeasy-param-computed: false groups: description: The claim mapping for the user's group membership information. type: string example: groups default: null minLength: 1 nullable: true pattern: \S x-speakeasy-param-computed: false additionalProperties: false title: Update OIDC Claim Mappings UpdateOIDCIdentityProviderBackChannelLogout: description: The back-channel logout settings to update. Only the provided properties are updated. type: object properties: enabled: $ref: '#/components/schemas/OIDCIdentityProviderBackChannelLogoutEnabled' additionalProperties: false minProperties: 1 title: Update OIDC Identity Provider Back-Channel Logout UpdateOIDCIdentityProviderConfig: description: | The properties of an OIDC identity provider to update. Only the provided properties are updated. When provided, `scopes` must include `openid`. type: object properties: issuer_url: description: The issuer URI of the identity provider. This is the URL where the provider's metadata can be obtained. type: string example: 'https://konghq.okta.com/oauth2/default' default: null minLength: 1 nullable: true pattern: '^https?://\S+$' x-speakeasy-param-computed: false client_id: description: The client ID assigned to your application by the identity provider. type: string example: YOUR_CLIENT_ID default: null minLength: 1 nullable: true pattern: \S x-speakeasy-param-computed: false client_secret: description: The Client Secret assigned to your application by the identity provider. type: string example: YOUR_CLIENT_SECRET default: null minLength: 1 nullable: true pattern: \S writeOnly: true x-speakeasy-param-computed: false x-speakeasy-param-sensitive: true x-speakeasy-terraform-plan-only: true scopes: description: The scopes requested by your application when authenticating with the identity provider. Must include `openid`. type: array items: description: A scope. Cannot be empty or contain whitespace. type: string minLength: 1 pattern: ^\S+$ example: - openid - email - profile default: null minItems: 1 nullable: true x-speakeasy-param-computed: false claim_mappings: $ref: '#/components/schemas/UpdateOIDCIdentityProviderClaimMappings' backchannel_logout: $ref: '#/components/schemas/UpdateOIDCIdentityProviderBackChannelLogout' additionalProperties: false minProperties: 1 title: Update OIDC Identity Provider Config x-speakeasy-name-override: OIDCIdentityProviderConfig UpdateSAMLIdentityProviderConfig: description: | The properties of a SAML identity provider to update. Exactly one of `idp_metadata_url` or `idp_metadata_xml` must be provided with a non-empty value. An empty string is treated as not provided. type: object properties: idp_metadata_url: description: The identity provider's metadata URL where the identity provider's metadata can be obtained. type: string example: 'https://mocksaml.com/api/saml/metadata' default: null nullable: true pattern: '^(https?://\S+)?$' x-speakeasy-param-computed: false idp_metadata_xml: description: | The identity provider's SAML metadata. If the identity provider supports a metadata URL, you can use the `idp_metadata_url` field instead. type: string default: null nullable: true x-speakeasy-param-computed: false additionalProperties: false maxProperties: 2 minProperties: 1 title: Update SAML Identity Provider Config x-speakeasy-name-override: SAMLIdentityProviderConfig PortalUpdateIdentityProviderConfig: description: The configuration data to update for the authentication integration. minProperties: 1 oneOf: - $ref: '#/components/schemas/UpdateOIDCIdentityProviderConfig' - $ref: '#/components/schemas/UpdateSAMLIdentityProviderConfig' title: Portal Update Identity Provider Config PortalUpdateIdentityProvider: description: The identity provider that contains configuration data for updating an authentication integration. type: object properties: enabled: $ref: '#/components/schemas/UpdateIdentityProviderEnabled' config: $ref: '#/components/schemas/PortalUpdateIdentityProviderConfig' additionalProperties: false minProperties: 1 title: Portal Identity Provider PortalAllowedIPs: description: The list of allowed ips for the portal. type: array items: type: string example: - 192.168.1.1 - 192.168.1.0/22 maxItems: 25 minItems: 1 uniqueItems: true IPEntry: description: An entry representing a collection of allowed IP addresses or CIDR blocks. type: object properties: id: description: Contains a unique identifier used for this resource. type: string format: uuid example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 readOnly: false allowed_ips: $ref: '#/components/schemas/PortalAllowedIPs' additionalProperties: false required: - id - allowed_ips CustomFormName: description: | A unique, URL-friendly identifier for the form (lowercase letters, digits, and hyphens). For `developer_registration` forms, this is always `developer-registration`. For `api_registration` forms, you choose the name when creating the form and can change it later. type: string example: flights-api-registration maxLength: 128 pattern: '^[a-z0-9-]+$' CustomFormStatus: description: | Whether the form is visible to developers on the portal. `unpublished` forms aren't shown to developers; for the `developer_registration` form, a default form is shown instead. type: string example: unpublished default: unpublished enum: - published - unpublished x-speakeasy-unknown-values: allow CustomFormContentFieldInput: description: 'A block of Markdown content, displayed between or above the form''s input fields.' type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: content const: content value: description: The Markdown content to display. type: string example: '## Tell us about your project' maxLength: 4096 minLength: 1 additionalProperties: false required: - type - value CustomFormTextFieldInput: description: A single-line text field. type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: text const: text label: type: string example: Full Name maxLength: 256 minLength: 1 placeholder: type: string example: Enter your full name nullable: true x-speakeasy-param-computed: false description: description: Help text displayed with the field. Supports Markdown formatting. type: string example: As it appears on your account. maxLength: 2048 nullable: true x-speakeasy-param-computed: false required: type: boolean example: true nullable: true x-speakeasy-param-computed: false additionalProperties: false required: - type - label x-terraform-no-default-null: true CustomFormEmailFieldInput: description: An email address field. Rejects values that aren't a valid email format. type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: email const: email label: type: string example: Email Address maxLength: 256 minLength: 1 placeholder: type: string example: you@example.com nullable: true x-speakeasy-param-computed: false description: type: string example: We will use this email to respond to your inquiry. Supports MDC markdown. maxLength: 2048 nullable: true x-speakeasy-param-computed: false required: type: boolean example: true nullable: true x-speakeasy-param-computed: false additionalProperties: false required: - type - label x-terraform-no-default-null: true CustomFormNumberFieldInput: description: A numeric field. type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: number const: number label: type: string example: Age maxLength: 256 minLength: 1 placeholder: type: string example: Enter your age nullable: true x-speakeasy-param-computed: false description: description: Must be a positive number. type: string example: The age of the person registering. Used for KYC checks maxLength: 2048 nullable: true x-speakeasy-param-computed: false required: type: boolean example: false nullable: true x-speakeasy-param-computed: false additionalProperties: false required: - type - label x-terraform-no-default-null: true CustomFormTextareaFieldInput: description: A multi-line text field. type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: textarea const: textarea label: type: string example: Message maxLength: 256 minLength: 1 placeholder: type: string example: Tell us what you need... nullable: true x-speakeasy-param-computed: false description: type: string example: Please provide as much detail as possible. Supports MDC markdown. maxLength: 2048 nullable: true x-speakeasy-param-computed: false required: type: boolean example: true nullable: true x-speakeasy-param-computed: false additionalProperties: false required: - type - label x-terraform-no-default-null: true CustomFormSelectOptionInput: description: One selectable option in a dropdown field. type: object properties: value: description: The value submitted when this option is chosen. type: string example: sales maxLength: 256 minLength: 1 label: description: The text shown to the developer for this option. type: string example: Sales maxLength: 256 minLength: 1 selected: description: | When `true`, this option is pre-selected when the form is displayed. For a single-select field, at most one option may have `selected: true`. Marking more than one option as selected is rejected as invalid. type: boolean example: false default: false additionalProperties: false required: - value - label CustomFormSingleSelectFieldInput: description: | A dropdown field where the developer chooses exactly one option. Requires at least 1 option. type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: select const: select mode: description: Single selection — the developer chooses exactly one option. type: string example: single_select const: single_select label: type: string example: Department maxLength: 256 minLength: 1 placeholder: type: string example: Select a department nullable: true x-speakeasy-param-computed: false description: type: string example: Choose the department best suited to your inquiry. Supports MDC markdown. maxLength: 2048 nullable: true x-speakeasy-param-computed: false required: type: boolean example: true nullable: true x-speakeasy-param-computed: false options: description: Available choices presented to the developer. type: array items: $ref: '#/components/schemas/CustomFormSelectOptionInput' example: - value: sales label: Sales - value: support label: Support - value: engineering label: Engineering maxItems: 20 minItems: 1 additionalProperties: false required: - type - mode - label - options x-terraform-no-default-null: true CustomFormMultiSelectFieldInput: description: | A dropdown field where the developer can choose multiple options. Requires at least 2 options. type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: select const: select mode: description: Multiple selection — the developer can choose more than one option. type: string example: multi_select const: multi_select label: type: string example: Departments maxLength: 256 minLength: 1 placeholder: type: string example: Select departments nullable: true x-speakeasy-param-computed: false description: type: string example: Choose the departments best suited to your inquiry. Supports MDC markdown. maxLength: 2048 nullable: true x-speakeasy-param-computed: false required: type: boolean example: true x-speakeasy-param-computed: true options: description: Available choices presented to the developer. type: array items: $ref: '#/components/schemas/CustomFormSelectOptionInput' example: - value: sales label: Sales - value: support label: Support - value: engineering label: Engineering maxItems: 20 minItems: 2 additionalProperties: false required: - type - mode - label - options x-terraform-no-default-null: true CustomFormSelectFieldInput: description: | A dropdown field. Set `mode` to one of: * `single_select` — the developer chooses one option (at least 1 option required) * `multi_select` — the developer can choose multiple options (at least 2 options required) type: object properties: type: type: string example: select const: select discriminator: propertyName: mode mapping: single_select: '#/components/schemas/CustomFormSingleSelectFieldInput' multi_select: '#/components/schemas/CustomFormMultiSelectFieldInput' oneOf: - $ref: '#/components/schemas/CustomFormSingleSelectFieldInput' - $ref: '#/components/schemas/CustomFormMultiSelectFieldInput' required: - type CustomFormCheckboxFieldInput: description: A single checkbox. type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: checkbox const: checkbox label: type: string example: I agree to the terms and conditions maxLength: 256 minLength: 1 description: description: Supports Markdown formatting — useful for linking to terms and conditions. type: string example: 'Click to view the [terms](https://example.com).' maxLength: 2048 nullable: true x-speakeasy-param-computed: false required: type: boolean example: true nullable: true x-speakeasy-param-computed: false additionalProperties: false required: - type - label x-terraform-no-default-null: true CustomFormSubmitFieldInput: description: | The form's submit button. Every form must include exactly one. Its `name` is always `submit`. type: object properties: name: type: string example: submit enum: - submit type: type: string example: submit const: submit value: description: The text displayed on the button. type: string example: Create account maxLength: 64 minLength: 1 additionalProperties: false required: - name - type - value CustomFormFieldInput: description: A field definition used when creating or updating a form. type: object discriminator: propertyName: type mapping: content: '#/components/schemas/CustomFormContentFieldInput' text: '#/components/schemas/CustomFormTextFieldInput' email: '#/components/schemas/CustomFormEmailFieldInput' number: '#/components/schemas/CustomFormNumberFieldInput' textarea: '#/components/schemas/CustomFormTextareaFieldInput' select: '#/components/schemas/CustomFormSelectFieldInput' checkbox: '#/components/schemas/CustomFormCheckboxFieldInput' submit: '#/components/schemas/CustomFormSubmitFieldInput' oneOf: - $ref: '#/components/schemas/CustomFormContentFieldInput' - $ref: '#/components/schemas/CustomFormTextFieldInput' - $ref: '#/components/schemas/CustomFormEmailFieldInput' - $ref: '#/components/schemas/CustomFormNumberFieldInput' - $ref: '#/components/schemas/CustomFormTextareaFieldInput' - $ref: '#/components/schemas/CustomFormSelectFieldInput' - $ref: '#/components/schemas/CustomFormCheckboxFieldInput' - $ref: '#/components/schemas/CustomFormSubmitFieldInput' CustomFormFieldBuiltIn: description: | Marks a field that comes with the form by default. Built-in fields can't be removed, retyped, or relabeled, but their Built-in fields can't be removed, retyped, or relabeled, and built-in inputs are always `required`. Their `placeholder` and `description` settings can still be changed. This flag is read-only — it's returned by the API but can't be set when creating or updating a form. type: boolean example: true readOnly: true x-speakeasy-param-suppress-computed-diff: true CustomFormContentField: description: 'A block of Markdown content, displayed between or above the form''s input fields.' type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: content const: content value: description: The Markdown content to display. type: string example: '## Tell us about your project' maxLength: 4096 minLength: 1 built_in: $ref: '#/components/schemas/CustomFormFieldBuiltIn' additionalProperties: false required: - type - value - name - built_in CustomFormTextField: description: A single-line text field. type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: text const: text label: type: string example: Full Name maxLength: 256 minLength: 1 placeholder: type: string example: Enter your full name default: null nullable: true x-speakeasy-param-computed: false description: description: Help text displayed with the field. Supports Markdown formatting. type: string example: As it appears on your account. default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false required: type: boolean example: true x-speakeasy-param-computed: true built_in: $ref: '#/components/schemas/CustomFormFieldBuiltIn' additionalProperties: false required: - type - label - name - built_in - required CustomFormEmailField: description: An email address field. Rejects values that aren't a valid email format. type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: email const: email label: type: string example: Email Address maxLength: 256 minLength: 1 placeholder: type: string example: you@example.com default: null nullable: true x-speakeasy-param-computed: false description: type: string example: We will use this email to respond to your inquiry. Supports MDC markdown. default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false required: type: boolean example: true x-speakeasy-param-computed: true built_in: $ref: '#/components/schemas/CustomFormFieldBuiltIn' additionalProperties: false required: - type - label - name - built_in - required CustomFormNumberField: description: A numeric field. type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: number const: number label: type: string example: Age maxLength: 256 minLength: 1 placeholder: type: string example: Enter your age default: null nullable: true x-speakeasy-param-computed: false description: type: string example: Must be a positive number. Supports MDC markdown. default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false required: type: boolean example: false x-speakeasy-param-computed: true built_in: $ref: '#/components/schemas/CustomFormFieldBuiltIn' additionalProperties: false required: - type - label - name - built_in - required CustomFormTextareaField: description: A multi-line text field. type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: textarea const: textarea label: type: string example: Message maxLength: 256 minLength: 1 placeholder: type: string example: Tell us what you need... default: null nullable: true x-speakeasy-param-computed: false description: type: string example: Please provide as much detail as possible. Supports MDC markdown. default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false required: type: boolean example: true x-speakeasy-param-computed: true built_in: $ref: '#/components/schemas/CustomFormFieldBuiltIn' additionalProperties: false required: - type - label - name - built_in - required CustomFormSelectOption: description: One selectable option in a dropdown field. type: object properties: value: description: The value submitted when this option is chosen. type: string example: sales maxLength: 256 minLength: 1 label: description: The text shown to the developer for this option. type: string example: Sales maxLength: 256 minLength: 1 selected: description: | When `true`, this option is pre-selected when the form is displayed. For a single-select field, at most one option may have `selected: true`. Marking more than one option as selected is rejected as invalid. type: boolean example: false default: false additionalProperties: false required: - value - label - selected CustomFormSingleSelectField: description: | A dropdown field where the developer chooses exactly one option. Requires at least 1 option. type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: select const: select mode: description: Single selection — the developer chooses exactly one option. type: string example: single_select const: single_select label: type: string example: Department maxLength: 256 minLength: 1 placeholder: type: string example: Select a department default: null nullable: true x-speakeasy-param-computed: false description: type: string example: Choose the department best suited to your inquiry. Supports MDC markdown. default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false required: type: boolean example: true x-speakeasy-param-computed: true built_in: $ref: '#/components/schemas/CustomFormFieldBuiltIn' options: description: Available choices presented to the developer. type: array items: $ref: '#/components/schemas/CustomFormSelectOption' example: - value: sales label: Sales selected: false - value: support label: Support selected: false - value: engineering label: Engineering selected: true maxItems: 20 minItems: 1 additionalProperties: false required: - type - mode - label - options - name - built_in - required CustomFormMultiSelectField: description: | A dropdown field where the developer can choose multiple options. Requires at least 2 options. type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: select const: select mode: description: Multiple selection — the developer can choose more than one option. type: string example: multi_select const: multi_select label: type: string example: Departments maxLength: 256 minLength: 1 placeholder: type: string example: Select departments default: null nullable: true x-speakeasy-param-computed: false description: type: string example: Choose the departments best suited to your inquiry. Supports MDC markdown. default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false required: type: boolean example: true x-speakeasy-param-computed: true built_in: $ref: '#/components/schemas/CustomFormFieldBuiltIn' options: description: Available choices presented to the developer. type: array items: $ref: '#/components/schemas/CustomFormSelectOption' example: - value: sales label: Sales selected: false - value: support label: Support selected: false - value: engineering label: Engineering selected: true maxItems: 20 minItems: 2 additionalProperties: false required: - type - mode - label - options - name - built_in - required CustomFormSelectField: description: | A dropdown field. Set `mode` to one of: * `single_select` — the developer chooses one option (at least 1 option required) * `multi_select` — the developer can choose multiple options (at least 2 options required) type: object properties: type: type: string example: select const: select discriminator: propertyName: mode mapping: single_select: '#/components/schemas/CustomFormSingleSelectField' multi_select: '#/components/schemas/CustomFormMultiSelectField' oneOf: - $ref: '#/components/schemas/CustomFormSingleSelectField' - $ref: '#/components/schemas/CustomFormMultiSelectField' required: - type CustomFormCheckboxField: description: A single checkbox. type: object properties: name: $ref: '#/components/schemas/CustomFormFieldName' type: type: string example: checkbox const: checkbox label: type: string example: I agree to the terms and conditions maxLength: 256 minLength: 1 description: description: Supports Markdown formatting — useful for linking to terms and conditions. type: string example: 'Click to view the [terms](https://example.com).' default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false required: type: boolean example: true x-speakeasy-param-computed: true built_in: $ref: '#/components/schemas/CustomFormFieldBuiltIn' additionalProperties: false required: - type - label - name - built_in - required CustomFormSubmitField: description: | The form's submit button. Every form must include exactly one. Its `name` is always `submit`. type: object properties: name: type: string example: submit enum: - submit type: type: string example: submit const: submit value: description: The text displayed on the button. type: string example: Create account maxLength: 64 minLength: 1 built_in: $ref: '#/components/schemas/CustomFormFieldBuiltIn' additionalProperties: false required: - name - type - value - built_in CustomFormField: description: | A field on a form, as returned by the API. The `type` property determines what kind of field it is. Fields that came with the form by default carry a `built_in` flag. type: object discriminator: propertyName: type mapping: content: '#/components/schemas/CustomFormContentField' text: '#/components/schemas/CustomFormTextField' email: '#/components/schemas/CustomFormEmailField' number: '#/components/schemas/CustomFormNumberField' textarea: '#/components/schemas/CustomFormTextareaField' select: '#/components/schemas/CustomFormSelectField' checkbox: '#/components/schemas/CustomFormCheckboxField' submit: '#/components/schemas/CustomFormSubmitField' oneOf: - $ref: '#/components/schemas/CustomFormContentField' - $ref: '#/components/schemas/CustomFormTextField' - $ref: '#/components/schemas/CustomFormEmailField' - $ref: '#/components/schemas/CustomFormNumberField' - $ref: '#/components/schemas/CustomFormTextareaField' - $ref: '#/components/schemas/CustomFormSelectField' - $ref: '#/components/schemas/CustomFormCheckboxField' - $ref: '#/components/schemas/CustomFormSubmitField' ApiResponseSchema: type: object properties: id: description: The API identifier. type: string format: uuid example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: description: | The name of your API. The `name + version` combination must be unique for each API you publish. type: string example: MyAPI maxLength: 255 minLength: 1 description: description: A description of your API. Will be visible on your live Portal. type: string default: null nullable: true x-speakeasy-param-computed: false version: description: An optional version for your API. Leave this empty if your API is unversioned. type: string maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: true current_version_summary: $ref: '#/components/schemas/ApiVersionSummary' slug: description: | The `slug` is used in generated URLs to provide human readable paths. Defaults to `slugify(name + version)` type: string example: my-api-v1 nullable: true pattern: '^[\w-]+$' x-speakeasy-param-computed: true api_spec_ids: description: The list of API specification ids for the API. type: array items: type: string format: uuid description: The id of the API specification. example: 123e4567-e89b-12d3-a456-426614174000 deprecated: true readOnly: true x-speakeasy-param-suppress-computed-diff: true portals: description: The list of portals which this API is published to. type: array items: type: object additionalProperties: false required: - id - name - display_name properties: id: description: The portal identifier. type: string format: uuid example: 25a2624c-49fc-4764-99e1-224ed819f200 name: description: 'The name of the portal, used to distinguish it from other portals.' type: string example: My Portal display_name: description: The display name of the portal. This value will be the portal's `name` in Portal API. type: string example: My Portal nullable: false readOnly: true uniqueItems: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/Labels' implementation_mode: description: the implementations that are associated with this api either gateway_entity_binding or access_control_enforcement type: string nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true attributes: $ref: '#/components/schemas/ApiAttributes' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - id - name - version - labels - created_at - updated_at - slug - portals - api_spec_ids - current_version_summary title: API AuthStrategyApiSyncError: type: object properties: control_plane_error: type: string enum: - control_plane_error_no_response - control_plane_error_invalid_response - control_plane_error_unavailable - control_plane_error_internal_error - control_plane_error_bad_request - control_plane_error_plugin_conflict - control_plane_error_data_constraint_error - control_plane_error_implementation_not_found x-speakeasy-unknown-values: allow message: type: string info: type: object additionalProperties: true properties: details: type: array items: type: object additionalProperties: true properties: type: type: string message: type: array items: type: string example: control_plane_error: control_plane_error_unavailable message: Unable to connect to the control plane to update plugin additionalProperties: false nullable: true required: - message ApiDocumentId: description: The API document identifier. type: string format: uuid example: de5c9818-be5c-42e6-b514-e3d4bc30ddeb readOnly: true title: API Document ID x-speakeasy-param-suppress-computed-diff: true ApiDocumentContent: description: Raw markdown content to display in your Portal type: string title: API Document Content ApiDocumentTitle: description: The title of the document. Used to populate the `` tag for the page type: string example: API Document title: API Document Title ApiDocumentStatus: description: If `status=published` the document will be visible in your live portal type: string default: unpublished enum: - published - unpublished x-speakeasy-unknown-values: allow ApiDocumentParentDocumentId: description: | API Documents may be rendered as a tree of files. Specify the `id` of another API Document as the `parent_document_id` to add some heirarchy do your documents. type: string format: uuid example: null default: null nullable: true title: API Document Parent Document ID x-speakeasy-param-computed: false ApiDocumentSlug: description: | The `slug` is used in generated URLs to provide human readable paths. Defaults to `slugify(title)` type: string example: api-document pattern: '^[\w-]+$' title: API Document Slug ApiDocument: type: object properties: id: $ref: '#/components/schemas/ApiDocumentId' content: $ref: '#/components/schemas/ApiDocumentContent' title: $ref: '#/components/schemas/ApiDocumentTitle' slug: $ref: '#/components/schemas/ApiDocumentSlug' status: $ref: '#/components/schemas/ApiDocumentStatus' parent_document_id: $ref: '#/components/schemas/ApiDocumentParentDocumentId' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false title: API Document ApiVersionSummary: type: object properties: id: description: The API version identifier. type: string format: uuid example: 7710d5c4-d902-410b-992f-18b814155b53 readOnly: true x-speakeasy-param-suppress-computed-diff: true version: description: The version of this api spec. type: string spec: type: object additionalProperties: false properties: type: $ref: '#/components/schemas/ApiSpecType' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false nullable: true readOnly: true title: API Version Summary x-speakeasy-param-suppress-computed-diff: true x-speakeasy-terraform-ignore: true APIVersionRequest: type: object properties: version: description: The version of the api. type: string example: 1.0.0 default: null nullable: true x-speakeasy-param-computed: false spec: type: object default: null additionalProperties: false nullable: true properties: content: default: null description: 'The raw content of API specification, in json or yaml format (OpenAPI or AsyncAPI).' example: '{"openapi":"3.0.3","info":{"title":"Example API","version":"1.0.0"},"paths":{"/example":{"get":{"summary":"Example endpoint","responses":{"200":{"description":"Successful response"}}}}}}' nullable: true type: string x-speakeasy-param-computed: false x-speakeasy-param-computed: false additionalProperties: false title: API Version Request ApiSpec: type: object properties: id: description: The API specification identifier. type: string format: uuid example: 7710d5c4-d902-410b-992f-18b814155b53 readOnly: true x-speakeasy-param-suppress-computed-diff: true content: default: null description: | The raw content of your API specification, in json or yaml format (OpenAPI or AsyncAPI). example: '{"openapi":"3.0.3","info":{"title":"Example API","version":"1.0.0"},"paths":{"/example":{"get":{"summary":"Example endpoint","responses":{"200":{"description":"Successful response"}}}}}}' nullable: true type: string x-speakeasy-param-computed: false validation_messages: description: The errors that occurred while parsing the API specification. type: array items: type: object additionalProperties: false required: - message properties: message: type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true type: description: | The type of specification being stored. This allows us to render the specification correctly. type: string example: oas3 enum: - oas2 - oas3 - asyncapi title: API Spec Type x-speakeasy-unknown-values: allow created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false title: API Specification ApiPublicationVisibility: description: | The visibility of the API in the portal. Public API publications do not require authentication to view and retrieve information about them. Private API publications require authentication to retrieve information about them. If omitted, this defaults to the target portal's configured default API visibility. type: string enum: - public - private title: API Publication Visibility x-speakeasy-unknown-values: allow ApiPublicationAuthStrategyIds: description: | The auth strategy the API enforces for applications in the portal. Omitting this property means the portal's default application auth strategy will be used. Setting to null means the API will not require application authentication. DCR support for application registration is currently in development. type: array items: type: string format: uuid default: null maxItems: 1 minItems: 1 nullable: true title: API Publication Auth Strategy IDs x-speakeasy-param-computed: false ApiPublicationSpecRenderer: description: Customization settings for the API spec renderer in the portal. type: object properties: try_it_ui: description: Enable in-browser testing for your API. All linked gateways must have the CORS plugin configured. type: boolean default: null nullable: true x-speakeasy-param-computed: false try_it_ui_audience: description: | The audience for the Try It UI feature. `all` means that the Try It UI will be available to all users, including unauthenticated users. `authenticated` means that the Try It UI will only be available to authenticated users. `registered` means that the Try It UI will only be available to users who have registered for the API. type: string enum: - all - authenticated - registered nullable: true x-speakeasy-unknown-values: allow additionalProperties: false title: ApiPublicationSpecRenderer AutoApproveRegistrations: description: 'Whether the application registration auto approval on this portal for the api is enabled. If set to false, fallbacks on portal''s auto_approve_applications value.' type: boolean title: Auto Approve Registrations ApiPublication: description: An API publication in a portal type: object properties: auto_approve_registrations: $ref: '#/components/schemas/AutoApproveRegistrations' auth_strategy_ids: $ref: '#/components/schemas/ApiPublicationAuthStrategyIds' visibility: $ref: '#/components/schemas/ApiPublicationVisibility' spec_renderer: $ref: '#/components/schemas/ApiPublicationSpecRenderer' form_id: description: | UUID of portal form associated with API publication, must be linked to given portal and have type of 'api_registration' type: string format: uuid nullable: true x-speakeasy-param-computed: true warnings: description: Informational warnings (e.g. incompatible fields stripped for ACE). Empty if none. type: array items: type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false title: API Publication ApiImplementationService: description: A Gateway service that implements an API type: object properties: control_plane_id: type: string format: uuid example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 id: type: string format: uuid example: 7710d5c4-d902-410b-992f-18b814155b53 auth_strategy_sync_error: allOf: - $ref: '#/components/schemas/AuthStrategyApiSyncError' readOnly: true x-speakeasy-ignore: true x-speakeasy-param-suppress-computed-diff: true additionalProperties: false required: - control_plane_id - id title: API Implementation Service ApiImplementationControlPlane: description: A Control plane that implements an API type: object properties: access_control_enforcement_enabled: description: Indicates if the access control enforcement plugin is installed globally in the target control plane type: boolean readOnly: true x-speakeasy-param-suppress-computed-diff: true control_plane_id: type: string format: uuid example: 7710d5c4-d902-410b-992f-18b814155b53 x-speakeasy-name-override: id additionalProperties: false required: - control_plane_id title: API Implementation Control Plane ApiImplementation: description: An entity that implements an API type: object oneOf: - $ref: '#/components/schemas/ApiImplementationGatewayServiceEntity' - $ref: '#/components/schemas/ApiImplementationControlPlaneEntity' title: API Implementation ApiImplementationGatewayServiceEntity: description: A gateway service that implements an API type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' service: $ref: '#/components/schemas/ApiImplementationService' additionalProperties: false title: ApiImplementationGatewayServiceEntity x-speakeasy-name-override: Service Reference ApiImplementationControlPlaneEntity: description: A control plane that implements an API type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' control_plane: $ref: '#/components/schemas/ApiImplementationControlPlane' additionalProperties: false title: ApiImplementationControlPlaneEntity x-speakeasy-name-override: Control Plane Reference ApiAttributes: description: A set of attributes that describe the API type: object example: env: - production domains: - web - mobile default: {} additionalProperties: nullable: true description: 'Set of attributes with unique keys. Each key can include lowercase letters, numbers, hyphens, and underscores.' type: array minItems: 1 maxItems: 20 items: type: string minLength: 1 maxLength: 512 pattern: '^[^,<>]*$' nullable: false title: API Attributes x-speakeasy-type-override: any ApiSpecType: description: | The type of specification being stored. This allows us to render the specification correctly. type: string example: oas3 enum: - oas2 - oas3 - asyncapi title: API Spec Type x-speakeasy-unknown-values: allow IpAddressesResponse: type: object properties: updateDate: description: | Timestamp of the last update in "YYYY-MM-DD-HH-mm-ss" format. type: string example: 2025-08-26-16-03-33 pattern: '^[0-9]{4}-[0-9]{2}-[0-9]{2}-[0-9]{2}-[0-9]{2}-[0-9]{2}$' regions: description: Mapping of region code to hostname/IP lists. type: object additionalProperties: $ref: '#/components/schemas/RegionEntry' ingressIPs: description: | Mapping of region code to ingress IP addresses. Each region maps to a list of IP addresses representing inbound entry points for the Konnect service. type: object additionalProperties: type: array items: type: string description: IPv4 or IPv6 address. x-speakeasy-name-override: ingressIps egressIPs: description: | Mapping of region code to egress IP addresses. Each region maps to a list of IP addresses representing outbound IPs used by Konnect. type: object additionalProperties: type: array items: type: string description: IPv4 or IPv6 address. x-speakeasy-name-override: egressIps required: - updateDate - regions - ingressIPs - egressIPs RegionEntry: description: Hostname-to-addresses map for a single region. type: object additionalProperties: type: array description: List of IP addresses (IPv4 and/or IPv6). items: type: string description: IPv4 or IPv6 address. AvailableRegionsResponse: type: object properties: regions: $ref: '#/components/schemas/AvailableRegions' required: - regions AvailableRegions: description: 'Konnect regions available for use, grouped by rollout stage.' type: object properties: stable: description: Regions generally available to all organizations. type: array items: type: string description: Region code. example: - us - eu - au - me - in stable_opt_in: description: Stable regions available on an opt-in basis. type: array items: type: string description: Region code. example: - sg beta: description: Regions available in beta. type: array items: type: string description: Region code. example: [] required: - stable - stable_opt_in - beta EventGatewayInfo: description: The gateway object contains information about a Konnect gateway. type: object properties: id: description: The gateway ID. type: string format: uuid example: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: $ref: '#/components/schemas/GatewayName' description: $ref: '#/components/schemas/GatewayDescription' labels: $ref: '#/components/schemas/Labels' created_at: description: An ISO-8604 timestamp representation of gateway creation date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true x-speakeasy-terraform-ignore: true updated_at: description: An ISO-8604 timestamp representation of gateway update date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' readOnly: true x-speakeasy-param-suppress-computed-diff: true x-speakeasy-terraform-ignore: true nodes_total: description: The total number of nodes associated with the Event Gateway. type: integer virtual_clusters_total: description: The total number of virtual clusters associated with the Event Gateway. type: integer min_runtime_version: $ref: '#/components/schemas/MinRuntimeVersion' version: description: | The version number of the event gateway. Every change to an entity under this gateway will modify the version. type: string example: v1.123 additionalProperties: false required: - id - name - created_at - updated_at - nodes_total - virtual_clusters_total - min_runtime_version - version EventGatewayListener: description: Listeners are used to expose virtual clusters to clients. type: object properties: id: description: The unique identifier of the listener. type: string format: uuid x-speakeasy-param-suppress-computed-diff: true name: description: The unique name of the listener. type: string maxLength: 255 minLength: 1 x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the listener. type: string default: '' maxLength: 512 addresses: $ref: '#/components/schemas/EventGatewayListenerAddresses' ports: $ref: '#/components/schemas/EventGatewayListenerPorts' labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - id - name - addresses - ports - created_at - updated_at EventGatewayListenerAddresses: description: | Which address or addresses to listen on. `0.0.0.0` means all addresses on the host. `::` means all addresses on the host in IPv6. If `0.0.0.0` or `::` is used, there can't be other extra addresses defined. WARNING: there are use cases where listening on all addresses is insecure. So use this with caution. `localhost` means only the localhost ipv4 address. type: array items: type: string minLength: 1 minItems: 1 EventGatewayListenerPorts: description: | Which port or ports to listen on. There can be multiple ways to define ports: - as a single port, e.g. 9092 - as a range of ports, e.g. 9092-9094 It's possible to combine both, e.g. [9092, "9093-9095", 9096]. type: array items: $ref: '#/components/schemas/EventGatewayListenerPort' minItems: 1 EventGatewayListenerPort: description: A port or a range of ports in the format 9092 or 9092-9094. type: string pattern: '^(\d{1,5}|\d{1,5}-\d{1,5})$' VirtualCluster: description: A representation of a Kafka cluster that maps to a backend cluster. type: object properties: id: description: The unique identifier of the virtual cluster. type: string format: uuid x-speakeasy-param-suppress-computed-diff: true description: description: A human-readable description of the virtual cluster. type: string default: '' maxLength: 512 destination: $ref: '#/components/schemas/BackendClusterReference' authentication: $ref: '#/components/schemas/VirtualClusterAuthenticationSensitiveDataAwareSchemes' namespace: $ref: '#/components/schemas/VirtualClusterNamespace' topic_aliases: description: |- Topic aliases allow exposing backend topics under additional names. An alias creates a new entry point to the same physical data. The alias `topic` field references namespace-visible names (if namespace is configured). Aliases are independent of namespace and can be used without it. **Requires a minimum runtime version of `1.2`**. type: array items: $ref: '#/components/schemas/VirtualClusterTopicAlias' nullable: true x-min-runtime-version: '1.2' x-speakeasy-param-computed: false name: $ref: '#/components/schemas/VirtualClusterName' dns_label: $ref: '#/components/schemas/VirtualClusterDNSLabel' acl_mode: $ref: '#/components/schemas/VirtualClusterACLMode' labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - id - name - dns_label - destination - authentication - acl_mode - created_at - updated_at VirtualClusterName: description: The name of the virtual cluster. type: string maxLength: 255 minLength: 1 x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' VirtualClusterReference: description: A reference to a virtual cluster. $ref: '#/components/schemas/VirtualClusterReferenceById' VirtualClusterReferenceById: description: Reference a virtual cluster by its unique identifier. type: object properties: id: description: The unique identifier of the virtual cluster. type: string format: uuid minLength: 1 required: - id VirtualClusterAuthenticationSensitiveDataAwareSchemes: description: | How to handle authentication from clients. It tries to authenticate with every rule sequentially one by one. It succeeds on the first match, and fails if no rule matches. type: array items: $ref: '#/components/schemas/VirtualClusterAuthenticationSensitiveDataAwareScheme' minItems: 1 VirtualClusterAuthenticationSchemes: description: | How to handle authentication from clients. It tries to authenticate with every rule sequentially one by one. It succeeds on the first match, and fails if no rule matches. type: array items: $ref: '#/components/schemas/VirtualClusterAuthenticationScheme' minItems: 1 VirtualClusterAuthenticationSensitiveDataAwareScheme: discriminator: propertyName: type mapping: anonymous: '#/components/schemas/VirtualClusterAuthenticationAnonymous' sasl_plain: '#/components/schemas/VirtualClusterAuthenticationSaslPlainSensitiveDataAware' sasl_scram: '#/components/schemas/VirtualClusterAuthenticationSaslScram' oauth_bearer: '#/components/schemas/VirtualClusterAuthenticationOauthBearer' client_certificate: '#/components/schemas/VirtualClusterAuthenticationClientCertificate' oneOf: - $ref: '#/components/schemas/VirtualClusterAuthenticationAnonymous' - $ref: '#/components/schemas/VirtualClusterAuthenticationSaslPlainSensitiveDataAware' - $ref: '#/components/schemas/VirtualClusterAuthenticationSaslScram' - $ref: '#/components/schemas/VirtualClusterAuthenticationOauthBearer' - $ref: '#/components/schemas/VirtualClusterAuthenticationClientCertificate' VirtualClusterAuthenticationScheme: discriminator: propertyName: type mapping: anonymous: '#/components/schemas/VirtualClusterAuthenticationAnonymous' sasl_plain: '#/components/schemas/VirtualClusterAuthenticationSaslPlain' sasl_scram: '#/components/schemas/VirtualClusterAuthenticationSaslScram' oauth_bearer: '#/components/schemas/VirtualClusterAuthenticationOauthBearer' client_certificate: '#/components/schemas/VirtualClusterAuthenticationClientCertificate' oneOf: - $ref: '#/components/schemas/VirtualClusterAuthenticationAnonymous' - $ref: '#/components/schemas/VirtualClusterAuthenticationSaslPlain' - $ref: '#/components/schemas/VirtualClusterAuthenticationSaslScram' - $ref: '#/components/schemas/VirtualClusterAuthenticationOauthBearer' - $ref: '#/components/schemas/VirtualClusterAuthenticationClientCertificate' VirtualClusterAuthenticationAnonymous: type: object properties: type: type: string const: anonymous required: - type VirtualClusterAuthenticationClientCertificate: description: |- Client certificate (mTLS) authentication scheme for the virtual cluster. **Requires a minimum runtime version of `1.1`**. type: object properties: type: type: string const: client_certificate fetch_kong_identity_principal: $ref: '#/components/schemas/FetchKongIdentityPrincipal' example: type: client_certificate additionalProperties: false required: - type x-min-runtime-version: '1.1' x-speakeasy-param-computed: false TLSTrustBundle: description: |- A TLS trust bundle defines a set of trusted certificate authorities (CAs) used for client certificate verification during mutual TLS (mTLS). Trust bundles are referenced by TLS listener policies to determine which client certificates are accepted. **Requires a minimum runtime version of `1.1`**. type: object properties: id: description: The unique identifier of the TLS trust bundle. type: string format: uuid readOnly: true x-speakeasy-param-suppress-computed-diff: true name: $ref: '#/components/schemas/TLSTrustBundleName' description: description: A human-readable description of the TLS trust bundle. type: string default: '' maxLength: 512 config: $ref: '#/components/schemas/TLSTrustBundleConfig' labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - id - name - config - created_at - updated_at x-min-runtime-version: '1.1' x-speakeasy-param-computed: false TLSTrustBundleName: description: The unique name of the TLS trust bundle. type: string maxLength: 255 minLength: 1 x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' TLSTrustBundleConfig: type: object properties: trusted_ca: description: | PEM-encoded list of trusted CA certificates used to verify client certificates. Can be a literal PEM string or a vault reference. type: string minLength: 1 x-expression: type: string fields: - vault required: - trusted_ca TLSTrustBundleReference: description: | A reference to a TLS trust bundle resource. Either `id` or `name` must be provided. Following changes to the trust bundle name won't affect the reference, as the system will create the entities relationship by `id`. $ref: '#/components/schemas/TLSTrustBundleReferenceById' TLSTrustBundleReferenceById: type: object properties: id: description: The unique identifier of the TLS trust bundle. type: string format: uuid minLength: 1 required: - id VirtualClusterAuthenticationSaslPlainSensitiveDataAware: description: SASL/PLAIN authentication scheme for the virtual cluster. type: object properties: type: type: string const: sasl_plain mediation: description: The mediation type for SASL/PLAIN authentication. type: string enum: - passthrough - terminate x-speakeasy-unknown-values: allow principals: description: 'List of principals to be able to authenticate with, used with `terminate` mediation.' type: array items: $ref: '#/components/schemas/VirtualClusterAuthenticationPrincipalSensitiveDataAware' default: null nullable: true x-speakeasy-param-computed: false fetch_kong_identity_principal: $ref: '#/components/schemas/FetchKongIdentityPrincipal' additionalProperties: false required: - type - mediation VirtualClusterAuthenticationSaslPlain: description: | SASL/PLAIN authentication scheme for the virtual cluster containing principals with username and password. type: object properties: type: type: string const: sasl_plain mediation: description: The mediation type for SASL/PLAIN authentication. type: string enum: - passthrough - terminate x-speakeasy-unknown-values: allow principals: description: 'List of principals to be able to authenticate with, used with `terminate` mediation.' type: array items: $ref: '#/components/schemas/VirtualClusterAuthenticationPrincipal' default: null minItems: 1 nullable: true x-speakeasy-param-computed: false fetch_kong_identity_principal: $ref: '#/components/schemas/FetchKongIdentityPrincipal' additionalProperties: false required: - type - mediation VirtualClusterAuthenticationPrincipalSensitiveDataAware: description: A principal for authentication. type: object properties: username: $ref: '#/components/schemas/GatewaySecretReferenceOrLiteral' password: $ref: '#/components/schemas/GatewaySecret' required: - username VirtualClusterAuthenticationPrincipal: description: A principal for authentication containing username and password. type: object properties: username: $ref: '#/components/schemas/GatewaySecretReferenceOrLiteral' password: $ref: '#/components/schemas/GatewaySecret' required: - username - password VirtualClusterAuthenticationJWKS: description: JSON Web Key Set configuration for verifying token signatures. type: object properties: endpoint: description: URL for JWKS endpoint. type: string format: uri minLength: 1 timeout: description: Total time from establishing connection to receive a response from JWKS endpoint. type: string default: 10s cache_expiration: description: Duration after which the gateway will fetch and cache JWKS. type: string default: 1h required: - endpoint VirtualClusterAuthenticationClaimsMapping: description: Maps JWT claims in the case when sub and scope are presented as different claims in your JWT token. type: object properties: sub: description: Maps the subject claim. type: string default: null minLength: 1 nullable: true x-speakeasy-param-computed: false scope: description: Maps the scope claim. type: string default: null minLength: 1 nullable: true x-speakeasy-param-computed: false VirtualClusterAuthenticationSaslScram: description: SASL/SCRAM authentication scheme for the virtual cluster. type: object properties: type: type: string const: sasl_scram algorithm: description: The algorithm used for SASL/SCRAM authentication. type: string enum: - sha256 - sha512 x-speakeasy-unknown-values: allow fetch_kong_identity_principal: $ref: '#/components/schemas/FetchKongIdentityPrincipal' additionalProperties: false required: - type - algorithm VirtualClusterAuthenticationOauthBearer: description: Oauth Bearer authentication scheme for the virtual cluster. type: object properties: type: type: string const: oauth_bearer mediation: description: | Methods to mediate authentication: * passthrough - pass authentication from the client through proxy to the backend cluster without any kind of validation * validate_forward - pass authentication from the client through proxy to the backend cluster. Proxy does the validation before forwarding it to the client. * terminate - terminate authentication at the proxy level and originate authentication to the backend cluster using the configuration defined at BackendCluster's authentication. SASL auth is not originated if authentication on the backend_cluster is not configured. type: string enum: - passthrough - validate_forward - terminate x-speakeasy-unknown-values: allow claims_mapping: $ref: '#/components/schemas/VirtualClusterAuthenticationClaimsMapping' jwks: $ref: '#/components/schemas/VirtualClusterAuthenticationJWKS' validate: $ref: '#/components/schemas/VirtualClusterAuthenticationValidate' fetch_kong_identity_principal: $ref: '#/components/schemas/FetchKongIdentityPrincipalOauthBearer' additionalProperties: false required: - type - mediation VirtualClusterAuthenticationValidate: description: Validation rules. type: object properties: audiences: description: List of expected audience values. One of them has to match the audience claim in the token. type: array items: $ref: '#/components/schemas/VirtualClusterAuthenticationAudience' default: null minItems: 1 nullable: true x-speakeasy-param-computed: false issuer: description: Expected token issuer in the token. type: string default: null minLength: 1 nullable: true x-speakeasy-param-computed: false VirtualClusterAuthenticationAudience: type: object properties: name: type: string minLength: 1 required: - name FetchKongIdentityPrincipal: description: |- Fetches principal metadata from Kong Identity after successful authentication. The principal is looked up by a custom key matched against the authenticated identity. **Requires a minimum runtime version of `1.2`**. type: object properties: directory: description: Kong Identity directory to use for principal lookup. type: string minLength: 1 fetch_by: $ref: '#/components/schemas/FetchKongIdentityPrincipalFetchBy' failure_mode: $ref: '#/components/schemas/FetchKongIdentityPrincipalFailureMode' required: - directory - fetch_by - failure_mode x-min-runtime-version: '1.2' x-speakeasy-param-computed: false FetchKongIdentityPrincipalOauthBearer: description: |- Fetches principal metadata from Kong Identity after successful OAUTHBEARER authentication. The principal is looked up by the iss and sub claims from the JWT token. **Requires a minimum runtime version of `1.2`**. type: object properties: directory: description: Kong Identity directory to use for principal lookup. type: string minLength: 1 failure_mode: $ref: '#/components/schemas/FetchKongIdentityPrincipalFailureMode' required: - directory - failure_mode x-min-runtime-version: '1.2' x-speakeasy-param-computed: false FetchKongIdentityPrincipalFetchBy: description: |- Defines how to look up the principal in Kong Identity. **Requires a minimum runtime version of `1.2`**. type: object properties: key: description: | The metadata key in Kong Identity to match the authenticated identity against. Value for the lookup is a `username` in case of `sasl_plain` or `sasl_scram`. In case of `client_certificate` it's a principal mapped by the listener TLSServer policy. type: string minLength: 1 required: - key x-min-runtime-version: '1.2' x-speakeasy-param-computed: false FetchKongIdentityPrincipalFailureMode: description: |- Behavior when the Kong Identity principal lookup fails. * `error` - fail the authentication if the principal lookup fails. * `ignore` - proceed without principal metadata if the lookup fails. **Requires a minimum runtime version of `1.2`**. type: string enum: - error - ignore x-min-runtime-version: '1.2' x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow VirtualClusterDNSLabel: description: |- The DNS label used in the bootstrap server URL to identify the virtual cluster when using SNI routing. The format follows the RFC1035: 1-63 chars, lowercase alphanumeric or '-', must start and end with an alphanumeric character. type: string example: vcluster-1 maxLength: 63 minLength: 1 pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$' VirtualClusterACLMode: description: | Configures whether or not ACL policies are enforced on the gateway. - `enforce_on_gateway` means the gateway enforces its own ACL policies for this virtual cluster and does not forward ACL-related commands to the backend cluster. Note that if there are no ACL policies configured, all access is denied. - `passthrough` tells the gateway to forward all ACL-related commands. type: string enum: - enforce_on_gateway - passthrough x-speakeasy-unknown-values: allow BackendCluster: description: The Kafka cluster. type: object properties: id: description: The unique identifier of the backend cluster. type: string format: uuid readOnly: true x-speakeasy-param-suppress-computed-diff: true name: $ref: '#/components/schemas/BackendClusterName' description: description: A human-readable description of the backend cluster. type: string default: '' maxLength: 512 authentication: $ref: '#/components/schemas/BackendClusterAuthenticationSensitiveDataAwareScheme' insecure_allow_anonymous_virtual_cluster_auth: description: | If true, virtual clusters can have allow anonymous authentication and use this backend cluster. This setting is not recommended for production use as it may create privilege escalation vulnerabilities. type: boolean default: false bootstrap_servers: $ref: '#/components/schemas/BootstrapServers' tls: $ref: '#/components/schemas/BackendClusterTLS' metadata_update_interval_seconds: $ref: '#/components/schemas/BackendMetadataUpdateIntervalSeconds' labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - id - name - authentication - bootstrap_servers - tls - created_at - updated_at BackendClusterName: description: The unique name of the backend cluster. type: string maxLength: 255 minLength: 1 x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' BackendClusterReference: description: The backend cluster associated with the virtual cluster. type: object properties: id: description: The unique identifier of the backend cluster. type: string format: uuid name: $ref: '#/components/schemas/BackendClusterName' additionalProperties: false required: - id - name BackendClusterReferenceModify: description: | The backend cluster associated with the virtual cluster. Either `id` or `name` must be provided. Following changes to the backend cluster name won't affect the reference, as the system will create the entities relationship by `id`. properties: id: description: The unique identifier of the backend cluster. type: string format: uuid BootstrapServers: description: 'A list of cluster bootstrap servers in the format address:port.' type: array items: type: string description: 'Endpoint in address:port format.' pattern: '^(([a-zA-Z0-9\.\-]+)|\[([a-fA-F0-9:]+)\]):\d+$' minLength: 1 minItems: 1 BackendClusterTLS: type: object properties: enabled: description: 'If true, TLS is enabled for connections to this backend cluster. If false, TLS is explicitly disabled.' type: boolean insecure_skip_verify: description: 'If true, skip certificate verification. It''s not secure to use for production.' type: boolean default: false ca_bundle: $ref: '#/components/schemas/GatewaySecretReferenceOrLiteral' tls_versions: description: List of supported TLS versions. type: array items: type: string enum: - tls12 - tls13 x-speakeasy-unknown-values: allow default: - tls12 - tls13 client_identity: description: |- Client mTLS configuration. **Requires a minimum runtime version of `1.1`**. type: object properties: certificate: $ref: '#/components/schemas/GatewaySecretReferenceOrLiteral' key: $ref: '#/components/schemas/GatewaySecret' required: - certificate - key x-min-runtime-version: '1.1' x-speakeasy-param-computed: false required: - enabled BackendMetadataUpdateIntervalSeconds: description: The interval at which metadata is updated in seconds. type: integer default: 60 maximum: 43200 minimum: 1 BackendClusterAuthenticationScheme: discriminator: propertyName: type mapping: anonymous: '#/components/schemas/BackendClusterAuthenticationAnonymous' sasl_plain: '#/components/schemas/BackendClusterAuthenticationSaslPlain' sasl_scram: '#/components/schemas/BackendClusterAuthenticationSaslScram' sasl_aws_iam: '#/components/schemas/BackendClusterAuthenticationSaslAwsIam' oneOf: - $ref: '#/components/schemas/BackendClusterAuthenticationAnonymous' - $ref: '#/components/schemas/BackendClusterAuthenticationSaslPlain' - $ref: '#/components/schemas/BackendClusterAuthenticationSaslScram' - $ref: '#/components/schemas/BackendClusterAuthenticationSaslAwsIam' BackendClusterAuthenticationSensitiveDataAwareScheme: discriminator: propertyName: type mapping: anonymous: '#/components/schemas/BackendClusterAuthenticationAnonymous' sasl_plain: '#/components/schemas/BackendClusterAuthenticationSaslPlainSensitiveDataAware' sasl_scram: '#/components/schemas/BackendClusterAuthenticationSaslScramSensitiveDataAware' sasl_aws_iam: '#/components/schemas/BackendClusterAuthenticationSaslAwsIam' oneOf: - $ref: '#/components/schemas/BackendClusterAuthenticationAnonymous' - $ref: '#/components/schemas/BackendClusterAuthenticationSaslPlainSensitiveDataAware' - $ref: '#/components/schemas/BackendClusterAuthenticationSaslScramSensitiveDataAware' - $ref: '#/components/schemas/BackendClusterAuthenticationSaslAwsIam' BackendClusterAuthenticationAnonymous: description: Anonymous authentication scheme for the backend cluster. type: object properties: type: description: The type of authentication scheme. type: string const: anonymous additionalProperties: false required: - type BackendClusterAuthenticationSaslPlainSensitiveDataAware: description: | SASL/PLAIN authentication scheme for the backend cluster without requiring sensitive password data. type: object properties: type: type: string const: sasl_plain username: $ref: '#/components/schemas/GatewaySecretReferenceOrLiteral' password: $ref: '#/components/schemas/GatewaySecret' additionalProperties: false required: - type - username BackendClusterAuthenticationSaslPlain: description: SASL/PLAIN authentication scheme for the backend cluster. type: object properties: type: type: string const: sasl_plain username: $ref: '#/components/schemas/GatewaySecretReferenceOrLiteral' password: $ref: '#/components/schemas/GatewaySecret' additionalProperties: false required: - type - username - password BackendClusterAuthenticationSaslScramSensitiveDataAware: description: | SASL/SCRAM authentication scheme for the backend cluster without requiring sensitive password data. type: object properties: type: type: string const: sasl_scram algorithm: description: The algorithm used for SASL/SCRAM authentication. type: string enum: - sha256 - sha512 x-speakeasy-unknown-values: allow username: $ref: '#/components/schemas/GatewaySecretReferenceOrLiteral' password: $ref: '#/components/schemas/GatewaySecret' additionalProperties: false required: - type - username - algorithm BackendClusterAuthenticationSaslScram: description: SASL/SCRAM authentication scheme for the backend cluster. type: object properties: type: type: string const: sasl_scram algorithm: description: The algorithm used for SASL/SCRAM authentication. type: string enum: - sha256 - sha512 x-speakeasy-unknown-values: allow username: $ref: '#/components/schemas/GatewaySecretReferenceOrLiteral' password: $ref: '#/components/schemas/GatewaySecret' additionalProperties: false required: - type - username - algorithm - password BackendClusterAuthenticationSaslAwsIam: description: |- AWS IAM-based OAUTHBEARER authentication scheme for the backend cluster, for example when connecting to Amazon MSK with IAM authentication. **Requires a minimum runtime version of `1.3`**. type: object properties: type: type: string const: sasl_aws_iam sasl_aws_iam: type: object discriminator: propertyName: type mapping: default_provider_chain: '#/components/schemas/BackendClusterAuthenticationSaslAwsIamDefaultProviderChain' assume_role: '#/components/schemas/BackendClusterAuthenticationSaslAwsIamAssumeRole' oneOf: - $ref: '#/components/schemas/BackendClusterAuthenticationSaslAwsIamDefaultProviderChain' - $ref: '#/components/schemas/BackendClusterAuthenticationSaslAwsIamAssumeRole' example: type: sasl_aws_iam sasl_aws_iam: type: default_provider_chain additionalProperties: false required: - type - sasl_aws_iam x-min-runtime-version: '1.3' x-speakeasy-param-computed: false BackendClusterAuthenticationSaslAwsIamDefaultProviderChain: description: |- Configures whether to authenticate using credentials obtained from the AWS default credentials provider chain **Requires a minimum runtime version of `1.3`**. type: object properties: type: type: string const: default_provider_chain additionalProperties: false required: - type x-min-runtime-version: '1.3' x-speakeasy-param-computed: false BackendClusterAuthenticationSaslAwsIamAssumeRole: description: |- Configures whether to authenticate using credentials obtained by first assuming a role, using the AWS default credentials provider chain **Requires a minimum runtime version of `1.3`**. type: object properties: type: type: string const: assume_role arn: description: | The [ARN](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns) of the IAM role to assume, formatted as `arn:aws:iam::<account-id>:role/<role-name>`. type: string example: 'arn:aws:iam::123456789012:role/example-role' maxLength: 2048 minLength: 10 pattern: '^arn:aws(-[a-z-]+)?:iam:.+' session_name: description: | The session name to attach to the assumed role session. The value becomes part of the assumed role user ARN, queryable as `arn:aws:sts::<account-id>:assumed-role/<role-name>/<session-name>`. type: string x-speakeasy-param-computed: false additionalProperties: false required: - type - arn x-min-runtime-version: '1.3' x-speakeasy-param-computed: false SchemaRegistry: description: A schema registry that contains schemas. type: object properties: name: description: The unique name of the schema registry. type: string maxLength: 255 minLength: 1 x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description. type: string maxLength: 512 x-speakeasy-param-computed: true type: description: The type of the schema registry. type: string config: description: The configuration of the schema registry. type: object default: null nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/Labels' id: description: The unique identifier of the schema registry. type: string format: uuid created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - name - type - id - created_at - updated_at SchemaRegistryConfluentSensitiveDataAware: description: A Confluent schema registry. type: object properties: name: description: The unique name of the schema registry. type: string maxLength: 255 minLength: 1 x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description. type: string maxLength: 512 x-speakeasy-param-computed: true type: description: The type of the schema registry. type: string const: confluent config: description: The configuration of the schema registry. type: object $ref: '#/components/schemas/SchemaRegistryConfluentConfigSensitiveDataAware' labels: $ref: '#/components/schemas/Labels' required: - name - type - config SchemaRegistryConfluent: description: A Confluent schema registry. type: object properties: name: description: The unique name of the schema registry. type: string maxLength: 255 minLength: 1 x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description. type: string maxLength: 512 x-speakeasy-param-computed: true type: description: The type of the schema registry. type: string const: confluent config: description: The configuration of the schema registry. type: object $ref: '#/components/schemas/SchemaRegistryConfluentConfig' labels: $ref: '#/components/schemas/Labels' required: - name - type - config SchemaRegistryConfluentConfigSensitiveDataAware: description: | The configuration of [Confluent Schema Registry](https://github.com/confluentinc/schema-registry) type: object properties: schema_type: description: |- The format of the message. **`any` requires a minimum runtime version of `1.3`**. type: string enum: - avro - json - any x-enum-min-runtime-version: any: '1.3' x-speakeasy-unknown-values: allow endpoint: description: The endpoint of the Confluent schema registry. type: string format: uri minLength: 1 timeout_seconds: description: | Total time in seconds from establishing connection to receive a response from schema registry. type: integer default: 10 minimum: 1 authentication: $ref: '#/components/schemas/SchemaRegistryAuthenticationSensitiveDataAwareScheme' required: - schema_type - endpoint SchemaRegistryConfluentConfig: description: | The configuration of [Confluent Schema Registry](https://github.com/confluentinc/schema-registry) type: object properties: schema_type: description: |- The format of the message. **`any` requires a minimum runtime version of `1.3`**. type: string enum: - avro - json - any x-enum-min-runtime-version: any: '1.3' x-speakeasy-unknown-values: allow endpoint: description: The endpoint of the Confluent schema registry. type: string format: uri minLength: 1 timeout_seconds: description: | Total time in seconds from establishing connection to receive a response from schema registry. type: integer default: 10 minimum: 1 authentication: $ref: '#/components/schemas/SchemaRegistryAuthenticationScheme' required: - schema_type - endpoint SchemaRegistryAuthenticationSensitiveDataAwareScheme: description: | The authentication configuration for the schema registry. The Event Gateway only requires read-only access to the schema registry to fetch schemas for validation, so we recommend using credentials with read-only scope. discriminator: propertyName: type mapping: basic: '#/components/schemas/SchemaRegistryAuthenticationBasicSensitiveDataAware' oneOf: - $ref: '#/components/schemas/SchemaRegistryAuthenticationBasicSensitiveDataAware' SchemaRegistryAuthenticationScheme: description: | The authentication configuration for the schema registry. The Event Gateway only requires read-only access to the schema registry to fetch schemas for validation, so we recommend using credentials with read-only scope. discriminator: propertyName: type mapping: basic: '#/components/schemas/SchemaRegistryAuthenticationBasic' oneOf: - $ref: '#/components/schemas/SchemaRegistryAuthenticationBasic' SchemaRegistryAuthenticationBasicSensitiveDataAware: type: object properties: type: type: string const: basic username: $ref: '#/components/schemas/GatewaySecretReferenceOrLiteral' password: $ref: '#/components/schemas/GatewaySecret' required: - type - username SchemaRegistryAuthenticationBasic: description: Basic authentication scheme for the schema registry with username and password. type: object properties: type: type: string const: basic username: $ref: '#/components/schemas/GatewaySecretReferenceOrLiteral' password: $ref: '#/components/schemas/GatewaySecret' required: - type - username - password SchemaRegistryReference: description: A reference to a schema Registry. $ref: '#/components/schemas/SchemaRegistryReferenceById' SchemaRegistryReferenceById: type: object properties: id: description: The unique identifier of the schema registry. type: string format: uuid minLength: 1 required: - id SchemaRegistryCreate: description: The typed schema of the schema registry to create it. discriminator: propertyName: type mapping: confluent: '#/components/schemas/SchemaRegistryConfluent' oneOf: - $ref: '#/components/schemas/SchemaRegistryConfluent' SchemaRegistryUpdate: description: The typed schema of the schema registry to modify it. discriminator: propertyName: type mapping: confluent: '#/components/schemas/SchemaRegistryConfluentSensitiveDataAware' oneOf: - $ref: '#/components/schemas/SchemaRegistryConfluentSensitiveDataAware' EventGatewayPolicy: description: A policy associated with an Event Gateway. type: object properties: type: description: The type name of the policy. type: string maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' id: description: The unique identifier of the policy. type: string format: uuid x-speakeasy-param-suppress-computed-diff: true config: description: The configuration of the policy. type: object default: null nullable: true x-speakeasy-param-computed: false created_at: $ref: '#/components/schemas/CreatedAt' parent_policy_id: description: 'The unique identifier of the parent policy, if any.' type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false updated_at: $ref: '#/components/schemas/UpdatedAt' condition: description: A string containing the boolean expression that determines whether the policy is applied. type: string default: '' maxLength: 1000 x-expression: type: boolean fields: [] required: - type - id - created_at - updated_at EventGatewayListenerPolicy: description: A policy associated with an Event Gateway. type: object properties: type: description: The type name of the policy. type: string maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' id: description: The unique identifier of the policy. type: string format: uuid x-speakeasy-param-suppress-computed-diff: true config: description: The configuration of the policy. type: object created_at: $ref: '#/components/schemas/CreatedAt' parent_policy_id: description: 'The unique identifier of the parent policy, if any.' type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false updated_at: $ref: '#/components/schemas/UpdatedAt' required: - type - id - created_at - updated_at - config EventGatewayTLSListenerSensitiveDataAwarePolicy: description: | The TLS Server policy defines the certificates and keys used by the gateway server when the client connects to the gateway over TLS. While it is possible to have multiple TLS policies on a listener, only one can be active at a time. type: object properties: type: description: The type name of the policy. type: string const: tls_server maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayTLSListenerPolicyConfigSensitiveDataAware' required: - type - config EventGatewayTLSListenerPolicy: description: | The TLS Server policy defines the certificates and keys used by the gateway server when the client connects to the gateway over TLS. While it is possible to have multiple TLS policies on a listener, only one can be active at a time. type: object properties: type: description: The type name of the policy. type: string const: tls_server maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayTLSListenerPolicyConfig' required: - type - config title: TLS Listener EventGatewayTLSListenerPolicyConfigSensitiveDataAware: type: object properties: certificates: type: array items: $ref: '#/components/schemas/TLSCertificateSensitiveDataAware' maxItems: 1 minItems: 1 versions: $ref: '#/components/schemas/TLSVersionRange' allow_plaintext: description: | If false, only TLS connections are allowed. If true, both TLS and plaintext connections are allowed. type: boolean default: false client_authentication: description: |- Configures mutual TLS (mTLS) client certificate verification. When set, the gateway requests or requires clients to present a certificate during the TLS handshake. **Requires a minimum runtime version of `1.1`**. type: object properties: mode: description: | * required - Reject TLS connections without a valid client certificate. * requested - Request a client certificate during the TLS handshake, but allow connections without one (falls back to other configured authentication methods). If a certificate is presented but cannot be verified, the connection is closed. type: string enum: - required - requested x-speakeasy-unknown-values: allow tls_trust_bundles: description: | TLS trust bundles contain CA certificate bundles used to verify client certificates. All bundles are merged into a single trust store; a client certificate is accepted if it chains to any trusted CA across all bundles. type: array items: $ref: '#/components/schemas/TLSTrustBundleReference' minItems: 1 principal_mapping: description: |- An expression that extracts a principal identifier from a verified client certificate. This expression must evaluate to a string. **Requires a minimum runtime version of `1.1`**. type: string example: '${context.certificate.subject[''CN''] ? context.certificate.subject[''CN''] : context.certificate.sans.uri[0]}' x-expression: type: string fields: - name: context.certificate.serialNumber type: string description: The string serial number of the certificate - name: context.certificate.subject type: object description: | A map of the subject distinguished name. A distinguished name as described by RFC 4514 is represented as a map with each key being the attribute type and the value being the attribute value. For example: * `certificate.subject['CN']` is the common name * `certificate.subject['O']` is the organization - name: context.certificate.issuer type: object description: | A map of the issuer distinguished name. A distinguished name as described by RFC 4514 is represented as a map with each key being the attribute type and the value being the attribute value. For example: * `certificate.issuer['CN']` is the common name * `certificate.issuer['O']` is the organization - name: context.certificate.sans.dns type: array items: type: string description: An array of the DNS Subject Alternative Names from the certificate. - name: context.certificate.sans.uri type: array items: type: string description: An array of the URI Subject Alternative Names from the certificate. x-min-runtime-version: '1.1' x-speakeasy-param-computed: false required: - mode - tls_trust_bundles x-min-runtime-version: '1.1' x-speakeasy-param-computed: false required: - certificates EventGatewayTLSListenerPolicyConfig: type: object properties: certificates: type: array items: $ref: '#/components/schemas/TLSCertificate' maxItems: 1 minItems: 1 versions: $ref: '#/components/schemas/TLSVersionRange' allow_plaintext: description: | If false, only TLS connections are allowed. If true, both TLS and plaintext connections are allowed. type: boolean default: false client_authentication: description: |- Configures mutual TLS (mTLS) client certificate verification. When set, the gateway requests or requires clients to present a certificate during the TLS handshake. **Requires a minimum runtime version of `1.1`**. type: object properties: mode: description: | * required - Reject TLS connections without a valid client certificate. * requested - Request a client certificate during the TLS handshake, but allow connections without one (falls back to other configured authentication methods). If a certificate is presented but cannot be verified, the connection is closed. type: string enum: - required - requested x-speakeasy-unknown-values: allow tls_trust_bundles: description: | TLS trust bundles contain CA certificate bundles used to verify client certificates. All bundles are merged into a single trust store; a client certificate is accepted if it chains to any trusted CA across all bundles. type: array items: $ref: '#/components/schemas/TLSTrustBundleReference' minItems: 1 principal_mapping: description: |- An expression that extracts a principal identifier from a verified client certificate. This expression must evaluate to a string. **Requires a minimum runtime version of `1.1`**. type: string example: '${context.certificate.subject[''CN''] ? context.certificate.subject[''CN''] : context.certificate.sans.uri[0]}' x-expression: type: string fields: - name: context.certificate.serialNumber type: string description: The string serial number of the certificate - name: context.certificate.subject type: object description: | A map of the subject distinguished name. A distinguished name as described by RFC 4514 is represented as a map with each key being the attribute type and the value being the attribute value. For example: * `certificate.subject['CN']` is the common name * `certificate.subject['O']` is the organization - name: context.certificate.issuer type: object description: | A map of the issuer distinguished name. A distinguished name as described by RFC 4514 is represented as a map with each key being the attribute type and the value being the attribute value. For example: * `certificate.issuer['CN']` is the common name * `certificate.issuer['O']` is the organization - name: context.certificate.sans.dns type: array items: type: string description: An array of the DNS Subject Alternative Names from the certificate. - name: context.certificate.sans.uri type: array items: type: string description: An array of the URI Subject Alternative Names from the certificate. x-min-runtime-version: '1.1' x-speakeasy-param-computed: false required: - mode - tls_trust_bundles x-min-runtime-version: '1.1' x-speakeasy-param-computed: false required: - certificates TLSCertificateSensitiveDataAware: description: A TLS certificate and its associated private key. type: object properties: certificate: $ref: '#/components/schemas/GatewaySecretReferenceOrLiteral' key: $ref: '#/components/schemas/GatewaySecret' required: - certificate TLSCertificate: description: A TLS certificate and its associated private key. type: object properties: certificate: $ref: '#/components/schemas/GatewaySecretReferenceOrLiteral' key: $ref: '#/components/schemas/GatewaySecret' required: - certificate - key TLSVersionRange: description: A range of TLS versions. type: object properties: min: description: Minimum TLS version to use. type: string default: TLSv1.2 enum: - TLSv1.2 - TLSv1.3 x-speakeasy-unknown-values: allow max: description: Maximum TLS version to use. type: string default: TLSv1.3 enum: - TLSv1.2 - TLSv1.3 x-speakeasy-unknown-values: allow default: min: TLSv1.2 max: TLSv1.3 ForwardToVirtualClusterPolicy: description: | Forwards requests to virtual clusters configured with port routing or SNI routing. While there can be multiple of these policies configured on a listener, there can only be one instance of `port_mapping`. When multiple policies are configured, the first one that matches the connection is used. If no policy matches, the connection is rejected. When using `port_mapping`, there must be a mapping port for each broker on the backend cluster see `ForwardToClusterBySNIConfig` for more details. type: object properties: type: description: The type name of the policy. type: string const: forward_to_virtual_cluster maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object discriminator: propertyName: type mapping: port_mapping: '#/components/schemas/ForwardToClusterByPortMappingConfig' sni: '#/components/schemas/ForwardToClusterBySNIConfig' oneOf: - $ref: '#/components/schemas/ForwardToClusterBySNIConfig' - $ref: '#/components/schemas/ForwardToClusterByPortMappingConfig' required: - type - config title: Forward to Virtual Cluster ForwardToClusterByPortMappingConfig: description: | The configuration to forward request to `destination` and rewrite ports accordingly. All broker ids must fit in the range of ports defined in the listener, if it doesn't the metadata request will return an error. For example with ports: [9000, "9092-9094", "9100"] and `bootstrap_port: at_start` and brokers with ids 1, 2, 3, 4 we will map: bootstrap to 9000 broker 1 to 9001, broker 2 to 9002, broker 3 to 9003, and broker 4 to 9004 and fail the metadata request as these ports are not open. However, with the same configuration but with brokers with ids: 92,93,94,100 we will map: bootstrap to 9000, broker 92 to 9092, broker 93 to 9093, broker 94 to 9094, and broker 100 to 9100. In most cases users should use a single range `["9090-9094"] ` and `bootstrap_port: at_start` and connect with `<host>:9090` as bootstrap server. Being able to use multiple ranges is only useful when when dealing with gaps in broker ids. It is strongly discouraged to use port mapping in production. type: object properties: type: type: string const: port_mapping destination: $ref: '#/components/schemas/VirtualClusterReference' advertised_host: description: 'Virtual brokers are advertised to clients using this host. Any kind of host supported by kafka can be used. If not defined, it''s listen_address. If listen_address is `0.0.0.0` it''s the destination IP of the TCP connection.' type: string pattern: '^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?)*$' bootstrap_port: description: | If set to `at_start`, the first port will be used as a bootstrap port. It provides a stable endpoint to use as the bootstrap server for clients, regardless of broker IDs in the cluster. Additionally, it offsets all ports by one, so for example, if there are 3 brokers (id=1, id=2, id=3) then we will use 4 ports: 9092 (bootstrap), 9093 (id=1), 9094 (id=2), 9095 (id=3) With `none` we will use 3 ports: 9092 (id=1), 9093 (id=2), 9094 (id=3). type: string default: at_start enum: - none - at_start x-speakeasy-unknown-values: allow min_broker_id: description: The lowest broker node ID in the cluster. type: integer default: 0 additionalProperties: false required: - type - destination - advertised_host ForwardToClusterBySNIConfig: description: | The configuration to forward requests to virtual clusters configured with SNI routing. type: object properties: type: type: string const: sni sni_suffix: description: | Optional suffix for TLS SNI validation. This suffix is concatenated with the virtual cluster "dns.label" label to form the base name for the SNI. If not provided, the virtual cluster "dns.label" label alone is used as the base name for the SNI. For example with sni_suffix: `.example.com` and virtual cluster "dns.label" label: `my-cluster`, the SNI suffix for it is `my-cluster.example.com`. If "dns.label" label is absent on the virtual cluster, the traffic won't be routed there. The bootstrap host is `bootstrap.my-cluster.example.com` and then each broker is addressable at `broker-0.my-cluster.example.com`, `broker-1.my-cluster.example.com`, etc. This means that your deployment needs to have a wildcard certificate for the domain and a DNS resolver that routes `*.my-cluster.example.com` to the proxy. The accepted format is a DNS subdomain starting with either `.` or `-`. For example, `-keg.example.com`, `.keg.example.com`, `.namespace.svc.cluster.local`, and `.localhost` are all valid, while `keg.example.com` is not. type: string example: .example.com nullable: false pattern: '^[\.-]([a-z0-9]([a-z0-9-]*[a-z0-9])?\.)*([a-z0-9-]*[a-z0-9])$' advertised_port: description: | Virtual brokers are advertised to clients with this port instead of listen_port. Useful when proxy is behind loadbalancer listening on different port. type: integer maximum: 65535 minimum: 1 nullable: false broker_host_format: description: |- Configures DNS names assigned to brokers in virtual clusters. - `per_cluster_suffix` is the default and allocates one level in the hierarchy for virtual clusters: `broker-{node_id}.{virtual_cluster}.{sni_suffix}` - `shared_suffix` puts all brokers from every virtual clusters into the same level: `broker-{node_id}-{virtual_cluster}.{sni_suffix}`. This makes it easier to manage certificates for this listener. **Requires a minimum runtime version of `1.1`**. type: object properties: type: type: string default: per_cluster_suffix enum: - per_cluster_suffix - shared_suffix x-speakeasy-unknown-values: allow required: - type x-min-runtime-version: '1.1' x-speakeasy-param-computed: false additionalProperties: false required: - type EventGatewayEncryptPolicy: description: Encrypts Kafka records or keys using AES_256_GCM. Keys are therefore 256 bits long. type: object properties: type: description: The type name of the policy. type: string const: encrypt maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayEncryptConfig' condition: description: A string containing the boolean expression that determines whether the policy is applied. type: string example: 'context.topic.name.endsWith("my_suffix") && record.headers["x-flag"] == "a-value"' default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. required: - type - config title: Encrypt EventGatewayEncryptConfig: description: The configuration of the encrypt policy. type: object properties: failure_mode: $ref: '#/components/schemas/EncryptionFailureMode' part_of_record: description: Describes the parts of a record to encrypt. type: array items: $ref: '#/components/schemas/EncryptionRecordPart' minItems: 1 encryption_key: $ref: '#/components/schemas/EncryptionKey' required: - failure_mode - part_of_record - encryption_key EventGatewayParsedRecordEncryptFieldsPolicy: description: |- Encrypts fields of parsed Kafka records using AES_256_GCM. Keys are therefore 256 bits long. Note this policy can only be used as a child of a `EventGatewayProduceSchemaValidationPolicy` policy. This policy only runs on records that the parent schema validation policy successfully parses. If the parent policy's `failure_mode` is `passthrough` or `mark`, records that fail schema validation are sent to the backend cluster without parsing, so this policy doesn't run on them and their fields aren't encrypted. **Requires a minimum runtime version of `1.2`**. type: object properties: type: description: The type name of the policy. type: string const: encrypt_fields maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayParsedRecordEncryptFieldsConfig' condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false required: - type - config title: Encrypt Parsed Record x-min-runtime-version: '1.2' x-speakeasy-param-computed: false EventGatewayParsedRecordEncryptFieldsPolicyCreate: description: |- Encrypts fields of parsed Kafka records using AES_256_GCM. Keys are therefore 256 bits long. Note this policy can only be used as a child of a `EventGatewayProduceSchemaValidationPolicy` policy. This policy only runs on records that the parent schema validation policy successfully parses. If the parent policy's `failure_mode` is `passthrough` or `mark`, records that fail schema validation are sent to the backend cluster without parsing, so this policy doesn't run on them and their fields aren't encrypted. **Requires a minimum runtime version of `1.2`**. type: object properties: type: description: The type name of the policy. type: string const: encrypt_fields maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayParsedRecordEncryptFieldsConfig' condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false parent_policy_id: description: The unique identifier of the parent schema validation policy. type: string format: uuid required: - type - config - parent_policy_id title: Encrypt Parsed Record Fields x-min-runtime-version: '1.2' x-speakeasy-param-computed: false EventGatewayParsedRecordEncryptFieldsConfig: description: The configuration of the encrypt parsed record policy. type: object properties: failure_mode: $ref: '#/components/schemas/ProduceFailureMode' encrypt_fields: description: Selects which fields to encrypt and with what keys. type: array items: $ref: '#/components/schemas/EventGatewayParsedRecordEncryptionSelector' maxItems: 256 minItems: 1 required: - failure_mode - encrypt_fields EventGatewayParsedRecordEncryptionSelector: description: Selects fields of a parsed record for encryption and defines what key to encrypt them with. type: object properties: encryption_key: $ref: '#/components/schemas/EncryptionKey' paths: $ref: '#/components/schemas/EventGatewayParsedRecordFieldPathsArray' required: - paths - encryption_key EventGatewayParsedRecordFieldPathsArray: type: array items: type: object required: - match properties: match: description: | A field selector. It can select nested fields and array entries. Currently supported are exact matches. type: string example: 'someObject.someArray[1].fieldName' maxItems: 50 minItems: 1 EventGatewayDecryptPolicy: description: Decrypts Kafka records or keys using AES_256_GCM. Keys are therefore 256 bits long. type: object properties: type: description: The type name of the policy. type: string const: decrypt maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayDecryptPolicyConfig' condition: description: A string containing the boolean expression that determines whether the policy is applied. type: string example: 'context.topic.name.endsWith("my_suffix") && record.headers["x-flag"] == "a-value"' default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. required: - type - config title: Decrypt EventGatewayDecryptPolicyConfig: description: The configuration of the decrypt policy. type: object properties: failure_mode: $ref: '#/components/schemas/EncryptionFailureMode' key_sources: description: Describes how to find a symmetric key for decryption. type: array items: $ref: '#/components/schemas/EventGatewayKeySource' minItems: 1 part_of_record: description: Describes the parts of a record to decrypt. type: array items: $ref: '#/components/schemas/DecryptionRecordPart' minItems: 1 required: - failure_mode - key_sources - part_of_record EventGatewayParsedRecordDecryptFieldsPolicy: description: |- Decrypts fields of parsed Kafka records using AES_256_GCM. Keys are therefore 256 bits long. Note this policy can only be used as a child of a `EventGatewayConsumeSchemaValidationPolicy` policy. This policy only runs on records that the parent schema validation policy successfully parses. If the parent policy's `failure_mode` is `passthrough` or `mark`, records that fail schema validation are delivered to the client without parsing, so this policy doesn't run on them and their fields stay encrypted. **Requires a minimum runtime version of `1.2`**. type: object properties: type: description: The type name of the policy. type: string const: decrypt_fields maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayParsedRecordDecryptFieldsConfig' condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false required: - type - config title: Decrypt Parsed Record Fields x-min-runtime-version: '1.2' x-speakeasy-param-computed: false EventGatewayParsedRecordDecryptFieldsPolicyCreate: description: |- Decrypts fields of parsed Kafka records using AES_256_GCM. Keys are therefore 256 bits long. Note this policy can only be used as a child of a `EventGatewayConsumeSchemaValidationPolicy` policy. This policy only runs on records that the parent schema validation policy successfully parses. If the parent policy's `failure_mode` is `passthrough` or `mark`, records that fail schema validation are delivered to the client without parsing, so this policy doesn't run on them and their fields stay encrypted. **Requires a minimum runtime version of `1.2`**. type: object properties: type: description: The type name of the policy. type: string const: decrypt_fields maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayParsedRecordDecryptFieldsConfig' condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false parent_policy_id: description: The unique identifier of the parent schema validation policy. type: string format: uuid required: - type - config - parent_policy_id title: Decrypt Parsed Record Fields x-min-runtime-version: '1.2' x-speakeasy-param-computed: false EventGatewayParsedRecordDecryptFieldsConfig: description: The configuration of the decrypt parsed record fields policy. type: object properties: failure_mode: $ref: '#/components/schemas/ConsumeFailureMode' key_sources: description: Describes how to find a symmetric key for decryption. type: array items: $ref: '#/components/schemas/EventGatewayKeySource' minItems: 1 decrypt_fields: $ref: '#/components/schemas/EventGatewayParsedRecordDecryptionSelector' required: - failure_mode - key_sources - decrypt_fields EventGatewayParsedRecordDecryptionSelector: description: Selects fields of a parsed record for decryption. type: object properties: paths: $ref: '#/components/schemas/EventGatewayParsedRecordFieldPathsArray' required: - paths TranscodeOnUnknownField: description: |- Describes how to handle JSON fields that are not defined in the target schema. * `fail` - the transcoding fails. The policy `failure_mode` determines how the failure is handled. * `drop` - the unknown fields are removed from the transcoded value. **Requires a minimum runtime version of `1.3`**. type: string default: fail enum: - fail - drop x-min-runtime-version: '1.3' x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow EventGatewayParsedRecordTranscodeProducePolicy: description: |- Converts an already schema-validated record value into a different serialization format before it is produced to the backend cluster. Note this policy can only be used as a child of a `EventGatewayProduceSchemaValidationPolicy` policy. **Requires a minimum runtime version of `1.3`**. type: object properties: type: description: The type name of the policy. type: string const: transcode maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeProduceConfig' condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false required: - type - config title: Transcode Parsed Record x-min-runtime-version: '1.3' x-speakeasy-param-computed: false EventGatewayParsedRecordTranscodeProducePolicyCreate: description: |- Converts an already schema-validated record value into a different serialization format before it is produced to the backend cluster. Note this policy can only be used as a child of a `EventGatewayProduceSchemaValidationPolicy` policy. **Requires a minimum runtime version of `1.3`**. type: object properties: type: description: The type name of the policy. type: string const: transcode maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeProduceConfig' condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false parent_policy_id: description: The unique identifier of the parent schema validation policy. type: string format: uuid required: - type - config - parent_policy_id title: Transcode Parsed Record x-min-runtime-version: '1.3' x-speakeasy-param-computed: false EventGatewayParsedRecordTranscodeProduceConfig: description: The configuration of the transcode parsed record policy applied to produced records. discriminator: propertyName: output_format mapping: avro: '#/components/schemas/EventGatewayParsedRecordTranscodeProduceConfigAvro' oneOf: - $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeProduceConfigAvro' EventGatewayParsedRecordTranscodeProduceConfigAvro: description: | The configuration of the transcode parsed record policy when converting produced records to Avro. Avro requires a schema to serialize the record value, so `schema_source` must be set. type: object properties: failure_mode: $ref: '#/components/schemas/ProduceFailureMode' on_unknown_field: $ref: '#/components/schemas/TranscodeOnUnknownField' schema_source: $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeSchemaSource' output_format: description: The serialization format to convert the record value into. type: string const: avro required: - failure_mode - output_format - schema_source title: Transcode Parsed Record to Avro EventGatewayParsedRecordTranscodeConsumePolicy: description: |- Converts an already schema-validated record value into a different serialization format before it is returned to the consumer. Note this policy can only be used as a child of a `EventGatewayConsumeSchemaValidationPolicy` policy. **Requires a minimum runtime version of `1.3`**. type: object properties: type: description: The type name of the policy. type: string const: transcode maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeConsumeConfig' condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false required: - type - config title: Transcode Parsed Record x-min-runtime-version: '1.3' x-speakeasy-param-computed: false EventGatewayParsedRecordTranscodeConsumePolicyCreate: description: |- Converts an already schema-validated record value into a different serialization format before it is returned to the consumer. Note this policy can only be used as a child of a `EventGatewayConsumeSchemaValidationPolicy` policy. **Requires a minimum runtime version of `1.3`**. type: object properties: type: description: The type name of the policy. type: string const: transcode maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeConsumeConfig' condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false parent_policy_id: description: The unique identifier of the parent schema validation policy. type: string format: uuid required: - type - config - parent_policy_id title: Transcode Parsed Record x-min-runtime-version: '1.3' x-speakeasy-param-computed: false EventGatewayParsedRecordTranscodeConsumeConfig: description: The configuration of the transcode parsed record policy applied to consumed records. discriminator: propertyName: output_format mapping: json: '#/components/schemas/EventGatewayParsedRecordTranscodeConsumeConfigJson' avro: '#/components/schemas/EventGatewayParsedRecordTranscodeConsumeConfigAvro' oneOf: - $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeConsumeConfigJson' - $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeConsumeConfigAvro' EventGatewayParsedRecordTranscodeConsumeConfigJson: description: The configuration of the transcode parsed record policy when converting consumed records to JSON. type: object properties: failure_mode: $ref: '#/components/schemas/ConsumeFailureMode' on_unknown_field: $ref: '#/components/schemas/TranscodeOnUnknownField' schema_source: $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeSchemaSource' output_format: description: The serialization format to convert the record value into. type: string const: json required: - failure_mode - output_format title: Transcode Parsed Record to JSON EventGatewayParsedRecordTranscodeConsumeConfigAvro: description: | The configuration of the transcode parsed record policy when converting consumed records to Avro. Avro requires a schema to serialize the record value, so `schema_source` must be set. type: object properties: failure_mode: $ref: '#/components/schemas/ConsumeFailureMode' on_unknown_field: $ref: '#/components/schemas/TranscodeOnUnknownField' schema_source: $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeSchemaSource' output_format: description: The serialization format to convert the record value into. type: string const: avro required: - failure_mode - output_format - schema_source title: Transcode Parsed Record to Avro EventGatewayParsedRecordTranscodeSchemaSource: description: | Determines how to look up the schema to use for the transcoded output data. Leave this unset if the output data schema isn't needed. discriminator: propertyName: type mapping: reference: '#/components/schemas/EventGatewayParsedRecordTranscodeSchemaSourceReference' inline: '#/components/schemas/EventGatewayParsedRecordTranscodeSchemaSourceInline' oneOf: - $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeSchemaSourceReference' - $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeSchemaSourceInline' EventGatewayParsedRecordTranscodeSchemaSourceInline: description: A schema embedded directly in the policy configuration. type: object properties: type: type: string const: inline inline: description: The raw schema text (e.g. an Avro JSON schema) to use for the transcoded output data. type: string required: - type - inline EventGatewayParsedRecordTranscodeSchemaSourceReference: description: 'References a schema registered in a schema registry, computing the subject and version to use.' type: object properties: type: type: string const: reference schema_registry: $ref: '#/components/schemas/SchemaRegistryReference' subject: description: An expression that computes the schema registry subject of the output data's schema. type: string example: context.topic.name + '-value' x-expression: type: string fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. version: description: An expression that computes the schema registry version of the output data's schema. type: string example: '''latest''' x-expression: type: string fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. schema_ref_destination: $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeSchemaRefDestination' required: - type - schema_registry - subject - version - schema_ref_destination EventGatewayParsedRecordTranscodeSchemaRefDestination: description: | Defines how to record the schema id for the transcoded output data. See the [Confluent docs](https://docs.confluent.io/platform/current/schema-registry/fundamentals/serdes-develop/index.html#wire-format) for more about the wire format. discriminator: propertyName: type mapping: confluent_format: '#/components/schemas/EventGatewayParsedRecordTranscodeSchemaRefDestinationConfluentFormat' record_header: '#/components/schemas/EventGatewayParsedRecordTranscodeSchemaRefDestinationRecordHeader' none: '#/components/schemas/EventGatewayParsedRecordTranscodeSchemaRefDestinationNone' oneOf: - $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeSchemaRefDestinationConfluentFormat' - $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeSchemaRefDestinationRecordHeader' - $ref: '#/components/schemas/EventGatewayParsedRecordTranscodeSchemaRefDestinationNone' EventGatewayParsedRecordTranscodeSchemaRefDestinationConfluentFormat: description: Prefixes the structured data bytes with a reference to the schema. type: object properties: type: type: string const: confluent_format required: - type EventGatewayParsedRecordTranscodeSchemaRefDestinationRecordHeader: description: Puts the schema reference in a record header. type: object properties: type: type: string const: record_header name: description: The name is compatible with Confluent's serializer by default but can be changed. type: string default: __value_schema_id minLength: 1 required: - type EventGatewayParsedRecordTranscodeSchemaRefDestinationNone: description: Do not persist the schema anywhere. type: object properties: type: type: string const: none required: - type EventGatewayParsedRecordMaskFieldsProducePolicy: description: |- Redacts string fields of parsed Kafka records using a configurable masking strategy. Only string fields may be selected. Selecting a field that does not exist is ignored; selecting a field that is not a string is a policy error handled by `failure_mode`. Note this policy can only be used as a child of a `EventGatewayProduceSchemaValidationPolicy` policy. **Requires a minimum runtime version of `1.3`**. type: object properties: type: description: The type name of the policy. type: string const: mask_fields maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayParsedRecordMaskFieldsProduceConfig' condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false required: - type - config title: Mask Record Fields x-min-runtime-version: '1.3' x-speakeasy-param-computed: false EventGatewayParsedRecordMaskFieldsProducePolicyCreate: description: |- Redacts string fields of parsed Kafka records using a configurable masking strategy. Only string fields may be selected. Selecting a field that does not exist is ignored; selecting a field that is not a string is a policy error handled by `failure_mode`. Note this policy can only be used as a child of a `EventGatewayProduceSchemaValidationPolicy` policy. **Requires a minimum runtime version of `1.3`**. type: object properties: type: description: The type name of the policy. type: string const: mask_fields maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayParsedRecordMaskFieldsProduceConfig' condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false parent_policy_id: description: The unique identifier of the parent schema validation policy. type: string format: uuid required: - type - config - parent_policy_id title: Mask Record Fields x-min-runtime-version: '1.3' x-speakeasy-param-computed: false EventGatewayParsedRecordMaskFieldsProduceConfig: description: The configuration of the mask record fields produce policy. type: object properties: failure_mode: $ref: '#/components/schemas/ProduceFailureMode' mask_fields: description: Selects which fields to mask and how to mask them. type: array items: $ref: '#/components/schemas/EventGatewayParsedRecordMaskSelector' maxItems: 256 minItems: 1 required: - failure_mode - mask_fields EventGatewayParsedRecordMaskFieldsConsumePolicy: description: |- Redacts string fields of parsed Kafka records using a configurable masking strategy. Only string fields may be selected. Selecting a field that does not exist is ignored; selecting a field that is not a string is a policy error handled by `failure_mode`. Note this policy can only be used as a child of a `EventGatewayConsumeSchemaValidationPolicy` policy. **Requires a minimum runtime version of `1.3`**. type: object properties: type: description: The type name of the policy. type: string const: mask_fields maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayParsedRecordMaskFieldsConsumeConfig' condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false required: - type - config title: Mask Parsed Record Fields x-min-runtime-version: '1.3' x-speakeasy-param-computed: false EventGatewayParsedRecordMaskFieldsConsumePolicyCreate: description: |- Redacts string fields of parsed Kafka records using a configurable masking strategy. Only string fields may be selected. Selecting a field that does not exist is ignored; selecting a field that is not a string is a policy error handled by `failure_mode`. Note this policy can only be used as a child of a `EventGatewayConsumeSchemaValidationPolicy` policy. **Requires a minimum runtime version of `1.3`**. type: object properties: type: description: The type name of the policy. type: string const: mask_fields maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayParsedRecordMaskFieldsConsumeConfig' condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false parent_policy_id: description: The unique identifier of the parent schema validation policy. type: string format: uuid required: - type - config - parent_policy_id title: Mask Parsed Record Fields x-min-runtime-version: '1.3' x-speakeasy-param-computed: false EventGatewayParsedRecordMaskFieldsConsumeConfig: description: The configuration of the mask parsed record fields consume policy. type: object properties: failure_mode: $ref: '#/components/schemas/ConsumeFailureMode' mask_fields: description: Selects which fields to mask and how to mask them. type: array items: $ref: '#/components/schemas/EventGatewayParsedRecordMaskSelector' maxItems: 256 minItems: 1 required: - failure_mode - mask_fields EventGatewayParsedRecordMaskSelector: description: Selects fields of a parsed record for masking and defines the strategy used to redact them. type: object properties: strategy: $ref: '#/components/schemas/EventGatewayMaskStrategy' paths: $ref: '#/components/schemas/EventGatewayParsedRecordFieldPathsArray' required: - paths - strategy EventGatewayMaskStrategy: description: The strategy used to redact a matched field value. discriminator: propertyName: type mapping: keep_chars: '#/components/schemas/EventGatewayMaskStrategyKeepChars' email: '#/components/schemas/EventGatewayMaskStrategyEmail' replace: '#/components/schemas/EventGatewayMaskStrategyReplace' oneOf: - $ref: '#/components/schemas/EventGatewayMaskStrategyKeepChars' - $ref: '#/components/schemas/EventGatewayMaskStrategyEmail' - $ref: '#/components/schemas/EventGatewayMaskStrategyReplace' EventGatewayMaskStrategyKeepChars: description: |- Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If `first + last` is greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. type: object properties: type: type: string const: keep_chars first: description: Number of leading characters to keep unmasked. type: integer default: 0 minimum: 0 last: description: Number of trailing characters to keep unmasked. type: integer default: 0 minimum: 0 phrase: description: The phrase that replaces the masked middle of the value. type: string maxLength: 255 minLength: 1 required: - type - phrase EventGatewayMaskStrategyEmail: description: Masks an email address by applying a separate strategy to the local part and to the domain. type: object properties: type: type: string const: email local_part: $ref: '#/components/schemas/EventGatewayMaskEmailLocalPartStrategy' domain: $ref: '#/components/schemas/EventGatewayMaskEmailDomainStrategy' required: - type - local_part - domain EventGatewayMaskEmailLocalPartStrategy: description: The strategy used to redact the local part of an email address. discriminator: propertyName: type mapping: keep_chars: '#/components/schemas/EventGatewayMaskStrategyKeepChars' replace: '#/components/schemas/EventGatewayMaskStrategyReplace' oneOf: - $ref: '#/components/schemas/EventGatewayMaskStrategyKeepChars' - $ref: '#/components/schemas/EventGatewayMaskStrategyReplace' EventGatewayMaskEmailDomainStrategy: description: The strategy used to redact the domain of an email address. discriminator: propertyName: type mapping: keep_chars: '#/components/schemas/EventGatewayMaskStrategyKeepChars' keep_all: '#/components/schemas/EventGatewayMaskEmailDomainKeepAll' replace: '#/components/schemas/EventGatewayMaskStrategyReplace' oneOf: - $ref: '#/components/schemas/EventGatewayMaskStrategyKeepChars' - $ref: '#/components/schemas/EventGatewayMaskEmailDomainKeepAll' - $ref: '#/components/schemas/EventGatewayMaskStrategyReplace' EventGatewayMaskEmailDomainKeepAll: description: Keeps the whole domain unmasked. type: object properties: type: type: string const: keep_all required: - type EventGatewayMaskStrategyReplace: description: Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length. type: object properties: type: type: string const: replace phrase: description: The phrase to replace the value with. type: string maxLength: 255 minLength: 1 required: - type - phrase EventGatewayModifyHeadersPolicy: description: A policy that modifies headers for requests. type: object properties: type: description: The type name of the policy. type: string const: modify_headers maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the modify headers policy. type: object properties: actions: description: Actions are run in sequential order and act on individual headers. type: array items: $ref: '#/components/schemas/EventGatewayModifyHeaderAction' default: null minItems: 1 nullable: true x-speakeasy-param-computed: false condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false required: - type - config title: Modify Headers EventGatewayModifyHeadersPolicyCreate: description: A policy that modifies headers for requests. type: object properties: type: description: The type name of the policy. type: string const: modify_headers maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the modify headers policy. type: object properties: actions: description: Actions are run in sequential order and act on individual headers. type: array items: $ref: '#/components/schemas/EventGatewayModifyHeaderAction' default: null minItems: 1 nullable: true x-speakeasy-param-computed: false condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false parent_policy_id: description: 'The unique identifier of the parent schema validation policy, if any.' type: string format: uuid nullable: false required: - type - config title: Modify headers EventGatewaySkipRecordPolicy: description: A policy that skips processing of a record. type: object properties: type: description: The type name of the policy. type: string const: skip_record maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false required: - type EventGatewaySkipRecordPolicyCreate: description: A policy that skips processing of a record. type: object properties: type: description: The type name of the policy. type: string const: skip_record maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' condition: description: | A string containing the boolean expression that determines whether the policy is applied. When the policy is applied as a child policy of schema_validation, the expression can also reference `record.value` fields. type: string example: record.value.content.foo.bar == "a-value" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. - name: record.value.validated type: boolean description: Indicates whether the record value was successfully validated. - name: record.value.content type: object description: The content of the record value. - name: record.value.schema type: object x-min-runtime-version: '1.2' description: |- Registry-supplied schema metadata for the record value. Populated when the value was validated by a Confluent schema registry. Fields: `id` (uint), `version` (uint, when returned by the registry), `format` ("avro"|"json"), and either `avro.{name, namespace}` or `json.{title, id}`. Sub-fields are absent when not applicable; use `has()` to test presence. Registry `metadata` (tags and properties) is available from runtime 1.3 via `record.value.schema.metadata`. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.value.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Confluent schema-registry metadata for the record value. Present (as empty maps) whenever `record.value.schema` is present. Fields: * `properties` (`map` of `string` to `string`) - Confluent `metadata.properties`; empty map when the registry omits it. * `tags` (`map` of `string` to list of `string`) - keyed by tag, value is the list of Confluent schema paths (e.g. `io.confluent.field.<name>`) carrying that tag; empty map when the registry omits it. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: record.key.schema type: object x-min-runtime-version: '1.2' description: |- Same shape as `record.value.schema`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.2`**. x-speakeasy-param-computed: false - name: record.key.schema.metadata type: object x-min-runtime-version: '1.3' description: |- Same shape as `record.value.schema.metadata`, populated when the record key has schema_validation configured. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false parent_policy_id: description: 'The unique identifier of the parent schema validation policy, if any.' type: string format: uuid nullable: false required: - type title: Skip Record EventGatewayModifyHeaderAction: description: An action that modifies a header. discriminator: propertyName: op mapping: remove: '#/components/schemas/EventGatewayModifyHeaderRemoveAction' set: '#/components/schemas/EventGatewayModifyHeaderSetAction' oneOf: - $ref: '#/components/schemas/EventGatewayModifyHeaderRemoveAction' - $ref: '#/components/schemas/EventGatewayModifyHeaderSetAction' EventGatewayModifyHeaderRemoveAction: description: An action that removes a header by key. type: object properties: op: type: string const: remove key: description: The key of the header to remove. type: string required: - op - key EventGatewayModifyHeaderSetAction: description: An action that sets a header key and value. type: object properties: op: type: string const: set key: description: The key of the header to set. type: string value: description: The value of the header to set. type: string required: - op - key - value EventGatewayConsumeSchemaValidationPolicy: description: A policy that validates consume messages against a schema registry. type: object properties: type: description: The type name of the policy. type: string const: schema_validation maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayConsumeSchemaValidationPolicyConfig' condition: description: A string containing the boolean expression that determines whether the policy is applied. type: string example: 'context.topic.name.endsWith("my_suffix") && record.headers["x-flag"] == "a-value"' default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. required: - type - config title: Schema Validation EventGatewayConsumeSchemaValidationPolicyConfig: description: The configuration of the consume schema validation policy. discriminator: propertyName: type mapping: confluent_schema_registry: '#/components/schemas/EventGatewayConsumeSchemaValidationPolicySchemaRegistryConfig' json: '#/components/schemas/EventGatewayConsumeSchemaValidationPolicyJsonConfig' inline_schema: '#/components/schemas/EventGatewayConsumeSchemaValidationPolicyInlineSchemaConfig' oneOf: - $ref: '#/components/schemas/EventGatewayConsumeSchemaValidationPolicySchemaRegistryConfig' - $ref: '#/components/schemas/EventGatewayConsumeSchemaValidationPolicyJsonConfig' - $ref: '#/components/schemas/EventGatewayConsumeSchemaValidationPolicyInlineSchemaConfig' EventGatewayConsumeSchemaValidationPolicyJsonConfig: description: The configuration of the consume schema validation policy when using JSON parsing without schema. type: object properties: schema_registry: $ref: '#/components/schemas/SchemaRegistryReference' failure_mode: $ref: '#/components/schemas/ConsumeFailureMode' validate_key: description: |- If true, validate the record key. **Requires a minimum runtime version of `1.2`**. type: boolean x-min-runtime-version: '1.2' x-speakeasy-param-computed: false validate_value: description: |- If true, validate the record value. **Requires a minimum runtime version of `1.2`**. type: boolean x-min-runtime-version: '1.2' x-speakeasy-param-computed: false key_validation_action: $ref: '#/components/schemas/ConsumeKeyValidationAction' value_validation_action: $ref: '#/components/schemas/ConsumeValueValidationAction' type: type: string const: json required: - type EventGatewayConsumeSchemaValidationPolicySchemaRegistryConfig: description: The configuration of the consume schema validation policy when using a schema registry. type: object properties: schema_registry: $ref: '#/components/schemas/SchemaRegistryReference' failure_mode: $ref: '#/components/schemas/ConsumeFailureMode' validate_key: description: |- If true, validate the record key. **Requires a minimum runtime version of `1.2`**. type: boolean x-min-runtime-version: '1.2' x-speakeasy-param-computed: false validate_value: description: |- If true, validate the record value. **Requires a minimum runtime version of `1.2`**. type: boolean x-min-runtime-version: '1.2' x-speakeasy-param-computed: false key_validation_action: $ref: '#/components/schemas/ConsumeKeyValidationAction' value_validation_action: $ref: '#/components/schemas/ConsumeValueValidationAction' type: type: string const: confluent_schema_registry required: - type EventGatewayProduceSchemaValidationPolicy: description: A policy that validates produce messages against a schema registry. type: object properties: type: description: The type name of the policy. type: string const: schema_validation maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayProduceSchemaValidationPolicyConfig' condition: description: A string containing the boolean expression that determines whether the policy is applied. type: string example: 'context.topic.name.endsWith("my_suffix") && record.headers["x-flag"] == "a-value"' default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.topic.name type: string description: The name of the topic. - name: record.headers type: object description: An associative array of header key value pairs. required: - type - config title: Schema Validation EventGatewayProduceSchemaValidationPolicyConfig: description: The configuration of the produce schema validation policy. discriminator: propertyName: type mapping: confluent_schema_registry: '#/components/schemas/EventGatewayProduceSchemaValidationPolicySchemaRegistryConfig' json: '#/components/schemas/EventGatewayProduceSchemaValidationPolicyJsonConfig' inline_schema: '#/components/schemas/EventGatewayProduceSchemaValidationPolicyInlineSchemaConfig' oneOf: - $ref: '#/components/schemas/EventGatewayProduceSchemaValidationPolicySchemaRegistryConfig' - $ref: '#/components/schemas/EventGatewayProduceSchemaValidationPolicyJsonConfig' - $ref: '#/components/schemas/EventGatewayProduceSchemaValidationPolicyInlineSchemaConfig' EventGatewayProduceSchemaValidationPolicyJsonConfig: description: The configuration of the produce schema validation policy when using JSON parsing without schema. type: object properties: schema_registry: $ref: '#/components/schemas/SchemaRegistryReference' failure_mode: $ref: '#/components/schemas/ProduceFailureMode' validate_key: description: |- If true, validate the record key. **Requires a minimum runtime version of `1.2`**. type: boolean x-min-runtime-version: '1.2' x-speakeasy-param-computed: false validate_value: description: |- If true, validate the record value. **Requires a minimum runtime version of `1.2`**. type: boolean x-min-runtime-version: '1.2' x-speakeasy-param-computed: false key_validation_action: $ref: '#/components/schemas/ProduceKeyValidationAction' value_validation_action: $ref: '#/components/schemas/ProduceValueValidationAction' type: type: string const: json required: - type EventGatewayProduceSchemaValidationPolicySchemaRegistryConfig: description: The configuration of the produce schema validation policy when using a schema registry. type: object properties: schema_registry: $ref: '#/components/schemas/SchemaRegistryReference' failure_mode: $ref: '#/components/schemas/ProduceFailureMode' validate_key: description: |- If true, validate the record key. **Requires a minimum runtime version of `1.2`**. type: boolean x-min-runtime-version: '1.2' x-speakeasy-param-computed: false validate_value: description: |- If true, validate the record value. **Requires a minimum runtime version of `1.2`**. type: boolean x-min-runtime-version: '1.2' x-speakeasy-param-computed: false key_validation_action: $ref: '#/components/schemas/ProduceKeyValidationAction' value_validation_action: $ref: '#/components/schemas/ProduceValueValidationAction' type: type: string const: confluent_schema_registry required: - type EventGatewayConsumeSchemaValidationPolicyInlineSchemaConfig: description: |- The configuration of the consume schema validation policy when using an inline schema. **Requires a minimum runtime version of `1.3`**. type: object properties: failure_mode: $ref: '#/components/schemas/ConsumeFailureMode' validate_key: description: |- If true, validate the record key. **Requires a minimum runtime version of `1.2`**. type: boolean x-min-runtime-version: '1.2' x-speakeasy-param-computed: false validate_value: description: |- If true, validate the record value. **Requires a minimum runtime version of `1.2`**. type: boolean x-min-runtime-version: '1.2' x-speakeasy-param-computed: false key_validation_action: $ref: '#/components/schemas/ConsumeKeyValidationAction' value_validation_action: $ref: '#/components/schemas/ConsumeValueValidationAction' type: type: string const: inline_schema key: $ref: '#/components/schemas/SchemaValidationInlineSchemaConfig' value: $ref: '#/components/schemas/SchemaValidationInlineSchemaConfig' required: - type x-min-runtime-version: '1.3' x-speakeasy-param-computed: false EventGatewayProduceSchemaValidationPolicyInlineSchemaConfig: description: |- The configuration of the produce schema validation policy when using an inline schema. **Requires a minimum runtime version of `1.3`**. type: object properties: failure_mode: $ref: '#/components/schemas/ProduceFailureMode' validate_key: description: |- If true, validate the record key. **Requires a minimum runtime version of `1.2`**. type: boolean x-min-runtime-version: '1.2' x-speakeasy-param-computed: false validate_value: description: |- If true, validate the record value. **Requires a minimum runtime version of `1.2`**. type: boolean x-min-runtime-version: '1.2' x-speakeasy-param-computed: false key_validation_action: $ref: '#/components/schemas/ProduceKeyValidationAction' value_validation_action: $ref: '#/components/schemas/ProduceValueValidationAction' type: type: string const: inline_schema key: $ref: '#/components/schemas/SchemaValidationInlineSchemaConfig' value: $ref: '#/components/schemas/SchemaValidationInlineSchemaConfig' required: - type x-min-runtime-version: '1.3' x-speakeasy-param-computed: false SchemaValidationInlineSchemaConfig: description: |- Defines the schema for a record key or value, inline. **Requires a minimum runtime version of `1.3`**. discriminator: propertyName: schema_type mapping: json: '#/components/schemas/SchemaValidationInlineSchemaConfigJson' avro: '#/components/schemas/SchemaValidationInlineSchemaConfigAvro' oneOf: - $ref: '#/components/schemas/SchemaValidationInlineSchemaConfigJson' - $ref: '#/components/schemas/SchemaValidationInlineSchemaConfigAvro' x-min-runtime-version: '1.3' x-speakeasy-param-computed: false SchemaValidationInlineSchemaConfigJson: description: |- The configuration of an inline schema when using JSON. **Requires a minimum runtime version of `1.3`**. type: object properties: schema: description: A schema that applies according to `schema_type`. type: string schema_type: type: string const: json required: - schema - schema_type x-min-runtime-version: '1.3' x-speakeasy-param-computed: false SchemaValidationInlineSchemaConfigAvro: description: |- The configuration of an inline schema when using Avro. **Requires a minimum runtime version of `1.3`**. type: object properties: schema: description: A schema that applies according to `schema_type`. type: string schema_type: type: string const: avro required: - schema - schema_type x-min-runtime-version: '1.3' x-speakeasy-param-computed: false EventGatewayACLsPolicy: description: Apply Kafka ACLs to virtual cluster traffic. type: object properties: type: description: The type name of the policy. type: string const: acls maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayACLPolicyConfig' condition: description: A string containing the boolean expression that determines whether the policy is applied. type: string example: context.auth.principal.name == "this-user" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. required: - type - config title: ACL EventGatewayACLPolicyConfig: description: Apply ACLs to virtual cluster traffic. type: object properties: rules: description: Every ACL rule in this list applies independently. type: array items: $ref: '#/components/schemas/EventGatewayACLRule' minItems: 1 required: - rules EventGatewayACLRule: description: A Kafka ACL rule to apply to virtual cluster traffic type: object properties: resource_type: description: This rule applies to access only for type of resource type: string enum: - topic - group - transactional_id - cluster x-speakeasy-unknown-values: allow action: description: How to handle the request if the rule matches type: string enum: - allow - deny x-speakeasy-unknown-values: allow operations: description: Types of Kafka operations to match against. Note that not every operation can apply to every resource type. type: array items: $ref: '#/components/schemas/EventGatewayACLOperation' resource_names: description: 'If any of these entries match, the resource name matches for this rule. A maximum of 50 entries are allowed.' type: array items: $ref: '#/components/schemas/EventGatewayACLResourceName' required: - resource_type - action - operations - resource_names EventGatewayACLOperation: description: An Event Gateway operation to match against in an ACL rule. type: object properties: name: type: string enum: - all - alter - alter_configs - create - delete - describe - describe_configs - idempotent_write - read - write x-speakeasy-unknown-values: allow required: - name EventGatewayACLResourceName: description: An Event Gateway resource name to match against in an ACL rule. type: object properties: match: description: | Currently supported are exact matches and globs. All `*` characters are interpreted as globs, i.e. they match zero or more of any character. type: string format: glob required: - match EventGatewayRequestRuleValidatorPolicy: description: |- Validates the content of Kafka requests against a list of rules. Use this policy to enforce conventions that Kafka ACLs cannot express, because ACLs cannot read the content of a request. For example, a maximum number of partitions, a topic naming convention, or a minimum number of acknowledgements on produce. Each rule describes the valid state of the request. The action of the rule runs when the rule evaluates to `false`. **Requires a minimum runtime version of `1.3`**. type: object properties: type: description: The type name of the policy. type: string const: request_rule_validator maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' config: description: The configuration of the policy. type: object $ref: '#/components/schemas/EventGatewayRequestRuleValidatorConfig' condition: description: A string containing the boolean expression that determines whether the policy is applied. type: string example: context.auth.principal.name == "this-user" default: '' maxLength: 1000 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. required: - type - config title: Request Rule Validator x-min-runtime-version: '1.3' x-speakeasy-param-computed: false EventGatewayRequestRuleValidatorConfig: description: The configuration of the request rule validator policy. type: object properties: requests: description: | The rules to apply, grouped by Kafka request type. A request type can occur more than once in this list. Every entry for the type applies, in list order. Requests of a type that is not in this list are not validated. A maximum of 100 entries are allowed. type: array items: $ref: '#/components/schemas/EventGatewayRequestRules' maxItems: 100 minItems: 1 required: - requests EventGatewayRequestRules: description: The rules to apply to one Kafka request type. discriminator: propertyName: type mapping: create_topics: '#/components/schemas/EventGatewayCreateTopicsRequestRules' create_partitions: '#/components/schemas/EventGatewayCreatePartitionsRequestRules' alter_configs: '#/components/schemas/EventGatewayAlterConfigsRequestRules' incremental_alter_configs: '#/components/schemas/EventGatewayIncrementalAlterConfigsRequestRules' alter_client_quotas: '#/components/schemas/EventGatewayAlterClientQuotasRequestRules' alter_user_scram_credentials: '#/components/schemas/EventGatewayAlterUserScramCredentialsRequestRules' produce: '#/components/schemas/EventGatewayProduceRequestRules' fetch: '#/components/schemas/EventGatewayFetchRequestRules' join_group: '#/components/schemas/EventGatewayJoinGroupRequestRules' consumer_group_heartbeat: '#/components/schemas/EventGatewayConsumerGroupHeartbeatRequestRules' offset_commit: '#/components/schemas/EventGatewayOffsetCommitRequestRules' offset_fetch: '#/components/schemas/EventGatewayOffsetFetchRequestRules' txn_offset_commit: '#/components/schemas/EventGatewayTxnOffsetCommitRequestRules' oneOf: - $ref: '#/components/schemas/EventGatewayCreateTopicsRequestRules' - $ref: '#/components/schemas/EventGatewayCreatePartitionsRequestRules' - $ref: '#/components/schemas/EventGatewayAlterConfigsRequestRules' - $ref: '#/components/schemas/EventGatewayIncrementalAlterConfigsRequestRules' - $ref: '#/components/schemas/EventGatewayAlterClientQuotasRequestRules' - $ref: '#/components/schemas/EventGatewayAlterUserScramCredentialsRequestRules' - $ref: '#/components/schemas/EventGatewayProduceRequestRules' - $ref: '#/components/schemas/EventGatewayFetchRequestRules' - $ref: '#/components/schemas/EventGatewayJoinGroupRequestRules' - $ref: '#/components/schemas/EventGatewayConsumerGroupHeartbeatRequestRules' - $ref: '#/components/schemas/EventGatewayOffsetCommitRequestRules' - $ref: '#/components/schemas/EventGatewayOffsetFetchRequestRules' - $ref: '#/components/schemas/EventGatewayTxnOffsetCommitRequestRules' EventGatewayRequestRuleAction: description: | What to do when a rule evaluates to `false`. `reject` fails the request with the `POLICY_VIOLATION` error code. `passthrough` lets the request continue, but logs the violation in the same way as `reject`. type: string enum: - reject - passthrough x-speakeasy-unknown-values: allow EventGatewayCreateTopicsRequestRules: description: | The rules to apply to Kafka `CreateTopics` requests. When at least one `create_topics` rule is configured, Event Gateway turns auto topic creation off on `Metadata` requests, because clients could use it to bypass the rules. type: object properties: type: type: string const: create_topics rules: description: | Every rule in this list is evaluated independently against each topic in the request. A rule that evaluates to `false` runs its action. A maximum of 10 rules are allowed. type: array items: $ref: '#/components/schemas/EventGatewayCreateTopicsRule' maxItems: 10 minItems: 1 example: type: create_topics rules: - description: Enforce the topic naming convention and a partition limit. rule: context.topic.name.startsWith('team-a.') && context.topic.num_partitions <= 50 action: reject required: - type - rules EventGatewayCreateTopicsRule: type: object properties: description: description: | An explanation of the rule. Event Gateway writes this text to the logs when the request violates the rule, because the rule expression alone does not show the intent. type: string maxLength: 255 minLength: 1 rule: description: | A boolean expression that describes the valid state of the request. The action runs when the expression evaluates to `false`. An expression that cannot be evaluated, for example because a value has an unexpected format, also counts as `false`. type: string example: context.topic.name.startsWith('team-a.') && context.topic.num_partitions <= 50 maxLength: 1000 minLength: 1 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. - name: context.auth.principal.metadata type: object description: 'Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects.' - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.auth.token.claims type: object x-min-runtime-version: '1.3' description: |- All claims from the JWT token. Only populated for `sasl_oauth_bearer` authentication. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: context.topic.name type: string description: The name of the topic to create. - name: context.topic.num_partitions type: integer description: The number of partitions requested for the topic. `-1` when the topic uses a manual replica assignment or the broker default. - name: context.topic.replication_factor type: integer description: The replication factor requested for the topic. `-1` when the topic uses a manual replica assignment or the broker default. - name: context.topic.configs type: object description: 'The topic configuration entries in the request, keyed by configuration name. Every value is a string.' - name: context.topic.assignments type: array items: type: object description: One manual replica assignment for a partition. properties: partition_index: description: The index of the partition. type: integer default: null nullable: true x-speakeasy-param-computed: false broker_ids: description: The IDs of the brokers that host the partition's replicas. type: array items: type: integer default: null nullable: true x-speakeasy-param-computed: false x-min-runtime-version: '1.3' description: |- The manual replica assignment, one entry per partition. Empty when the topic does not use a manual replica assignment. **Requires a minimum runtime version of `1.3`**. nullable: true x-speakeasy-param-computed: false action: $ref: '#/components/schemas/EventGatewayRequestRuleAction' required: - description - rule - action title: Create Topics Rule EventGatewayCreatePartitionsRequestRules: description: The rules to apply to Kafka `CreatePartitions` requests. type: object properties: type: type: string const: create_partitions rules: description: | Every rule in this list is evaluated independently against each topic in the request. A rule that evaluates to `false` runs its action. A maximum of 10 rules are allowed. type: array items: $ref: '#/components/schemas/EventGatewayCreatePartitionsRule' maxItems: 10 minItems: 1 example: type: create_partitions rules: - description: Limit the total number of partitions per topic. rule: context.topic.count <= 50 action: reject required: - type - rules EventGatewayCreatePartitionsRule: type: object properties: description: description: | An explanation of the rule. Event Gateway writes this text to the logs when the request violates the rule, because the rule expression alone does not show the intent. type: string maxLength: 255 minLength: 1 rule: description: | A boolean expression that describes the valid state of the request. The action runs when the expression evaluates to `false`. An expression that cannot be evaluated, for example because a value has an unexpected format, also counts as `false`. type: string example: context.topic.count <= 50 maxLength: 1000 minLength: 1 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. - name: context.auth.principal.metadata type: object description: 'Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects.' - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.auth.token.claims type: object x-min-runtime-version: '1.3' description: |- All claims from the JWT token. Only populated for `sasl_oauth_bearer` authentication. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: context.topic.name type: string description: The name of the topic to grow. - name: context.topic.count type: integer description: The total number of partitions the topic has after the request. action: $ref: '#/components/schemas/EventGatewayRequestRuleAction' required: - description - rule - action title: Create Partitions Rule EventGatewayAlterConfigsRequestRules: description: The rules to apply to Kafka `AlterConfigs` requests. type: object properties: type: type: string const: alter_configs rules: description: | Every rule in this list is evaluated independently against each resource in the request. A rule that evaluates to `false` runs its action. A maximum of 10 rules are allowed. type: array items: $ref: '#/components/schemas/EventGatewayAlterConfigsRule' maxItems: 10 minItems: 1 example: type: alter_configs rules: - description: Broker-level config changes are not allowed. rule: context.resource.type != 'BROKER' action: reject - description: The retention.ms config must remain 24h (86400000); a full alter must include it. rule: 'context.resource.type != ''TOPIC'' || (''retention.ms'' in context.resource.configs && context.resource.configs[''retention.ms''] == "86400000")' action: reject required: - type - rules EventGatewayAlterConfigsRule: type: object properties: description: description: | An explanation of the rule. Event Gateway writes this text to the logs when the request violates the rule, because the rule expression alone does not show the intent. type: string maxLength: 255 minLength: 1 rule: description: | A boolean expression that describes the valid state of the request. The action runs when the expression evaluates to `false`. An expression that cannot be evaluated, for example because a value has an unexpected format, also counts as `false`. type: string example: context.resource.type != 'BROKER' maxLength: 1000 minLength: 1 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. - name: context.auth.principal.metadata type: object description: 'Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects.' - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.auth.token.claims type: object x-min-runtime-version: '1.3' description: |- All claims from the JWT token. Only populated for `sasl_oauth_bearer` authentication. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: context.resource.type type: string description: 'The type of the resource to change, for example `TOPIC` or `BROKER`.' - name: context.resource.name type: string description: The name of the resource to change. - name: context.resource.configs type: object description: 'The full set of configuration entries to apply to the resource, keyed by configuration name. Every value is a string.' action: $ref: '#/components/schemas/EventGatewayRequestRuleAction' required: - description - rule - action title: Alter Configs Rule EventGatewayIncrementalAlterConfigsRequestRules: description: The rules to apply to Kafka `IncrementalAlterConfigs` requests. type: object properties: type: type: string const: incremental_alter_configs rules: description: | Every rule in this list is evaluated independently against each configuration entry in the request. A rule that evaluates to `false` runs its action. A maximum of 10 rules are allowed. type: array items: $ref: '#/components/schemas/EventGatewayIncrementalAlterConfigsRule' maxItems: 10 minItems: 1 example: type: incremental_alter_configs rules: - description: Broker-level config changes are not allowed. rule: context.resource.type != 'BROKER' action: reject - description: The retention.ms config may only be SET to 24h (86400000). rule: context.resource.type != 'TOPIC' || context.config.name != 'retention.ms' || (context.config.operation == 'SET' && context.config.value == "86400000") action: reject - description: The retention.ms config cannot be removed. rule: '!(context.resource.type == ''TOPIC'' && context.config.name == ''retention.ms'' && context.config.operation == ''DELETE'')' action: reject required: - type - rules EventGatewayIncrementalAlterConfigsRule: type: object properties: description: description: | An explanation of the rule. Event Gateway writes this text to the logs when the request violates the rule, because the rule expression alone does not show the intent. type: string maxLength: 255 minLength: 1 rule: description: | A boolean expression that describes the valid state of the request. The action runs when the expression evaluates to `false`. An expression that cannot be evaluated, for example because a value has an unexpected format, also counts as `false`. type: string example: context.resource.type != 'BROKER' maxLength: 1000 minLength: 1 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. - name: context.auth.principal.metadata type: object description: 'Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects.' - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.auth.token.claims type: object x-min-runtime-version: '1.3' description: |- All claims from the JWT token. Only populated for `sasl_oauth_bearer` authentication. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: context.resource.type type: string description: 'The type of the resource to change, for example `TOPIC` or `BROKER`.' - name: context.resource.name type: string description: The name of the resource to change. - name: context.config.name type: string description: The name of the configuration entry to change. - name: context.config.value type: string description: The new value of the configuration entry. Empty when the request removes the entry. - name: context.config.operation type: string description: 'The change to apply to the configuration entry: `SET`, `DELETE`, `APPEND` or `SUBTRACT`.' action: $ref: '#/components/schemas/EventGatewayRequestRuleAction' required: - description - rule - action title: Incremental Alter Configs Rule EventGatewayAlterClientQuotasRequestRules: description: The rules to apply to Kafka `AlterClientQuotas` requests. type: object properties: type: type: string const: alter_client_quotas rules: description: | Every rule in this list is evaluated independently against each quota operation in the request. A rule that evaluates to `false` runs its action. A maximum of 10 rules are allowed. type: array items: $ref: '#/components/schemas/EventGatewayAlterClientQuotasRule' maxItems: 10 minItems: 1 example: type: alter_client_quotas rules: - description: Limit how much the producer quota can be raised. rule: context.op.key != 'producer_byte_rate' || context.op.remove || context.op.value <= 10485760 action: reject required: - type - rules EventGatewayAlterClientQuotasRule: type: object properties: description: description: | An explanation of the rule. Event Gateway writes this text to the logs when the request violates the rule, because the rule expression alone does not show the intent. type: string maxLength: 255 minLength: 1 rule: description: | A boolean expression that describes the valid state of the request. The action runs when the expression evaluates to `false`. An expression that cannot be evaluated, for example because a value has an unexpected format, also counts as `false`. type: string example: context.op.key != 'producer_byte_rate' || context.op.remove || context.op.value <= 10485760 maxLength: 1000 minLength: 1 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. - name: context.auth.principal.metadata type: object description: 'Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects.' - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.auth.token.claims type: object x-min-runtime-version: '1.3' description: |- All claims from the JWT token. Only populated for `sasl_oauth_bearer` authentication. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: context.op.key type: string description: 'The name of the quota to change, for example `producer_byte_rate`.' - name: context.op.value type: number description: The new value of the quota. Not set when the operation removes the quota. - name: context.op.remove type: boolean description: True when the operation removes the quota. action: $ref: '#/components/schemas/EventGatewayRequestRuleAction' required: - description - rule - action title: Alter Client Quotas Rule EventGatewayAlterUserScramCredentialsRequestRules: description: The rules to apply to Kafka `AlterUserScramCredentials` requests. type: object properties: type: type: string const: alter_user_scram_credentials rules: description: | Every rule in this list is evaluated independently against each credential in the request. A rule that evaluates to `false` runs its action. A maximum of 10 rules are allowed. type: array items: $ref: '#/components/schemas/EventGatewayAlterUserScramCredentialsRule' maxItems: 10 minItems: 1 example: type: alter_user_scram_credentials rules: - description: Require new credentials to use SCRAM-SHA-256. rule: context.credential.mechanism != 'SCRAM-SHA-256' action: reject required: - type - rules EventGatewayAlterUserScramCredentialsRule: type: object properties: description: description: | An explanation of the rule. Event Gateway writes this text to the logs when the request violates the rule, because the rule expression alone does not show the intent. type: string maxLength: 255 minLength: 1 rule: description: | A boolean expression that describes the valid state of the request. The action runs when the expression evaluates to `false`. An expression that cannot be evaluated, for example because a value has an unexpected format, also counts as `false`. type: string example: context.credential.mechanism != 'SCRAM-SHA-256' maxLength: 1000 minLength: 1 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. - name: context.auth.principal.metadata type: object description: 'Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects.' - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.auth.token.claims type: object x-min-runtime-version: '1.3' description: |- All claims from the JWT token. Only populated for `sasl_oauth_bearer` authentication. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: context.credential.name type: string description: The name of the user that the credential belongs to. - name: context.credential.mechanism type: string description: 'The SCRAM mechanism of the credential, for example `SCRAM-SHA-512`.' action: $ref: '#/components/schemas/EventGatewayRequestRuleAction' required: - description - rule - action title: Alter User SCRAM Credentials Rule EventGatewayProduceRequestRules: description: The rules to apply to Kafka `Produce` requests. type: object properties: type: type: string const: produce rules: description: | Every rule in this list is evaluated independently against the request. A rule that evaluates to `false` runs its action. A maximum of 10 rules are allowed. type: array items: $ref: '#/components/schemas/EventGatewayProduceRule' maxItems: 10 minItems: 1 example: type: produce rules: - description: Require acknowledgement from all in-sync replicas. rule: context.produce.acks == -1 action: reject required: - type - rules EventGatewayProduceRule: type: object properties: description: description: | An explanation of the rule. Event Gateway writes this text to the logs when the request violates the rule, because the rule expression alone does not show the intent. type: string maxLength: 255 minLength: 1 rule: description: | A boolean expression that describes the valid state of the request. The action runs when the expression evaluates to `false`. An expression that cannot be evaluated, for example because a value has an unexpected format, also counts as `false`. type: string example: context.produce.acks == -1 maxLength: 1000 minLength: 1 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. - name: context.auth.principal.metadata type: object description: 'Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects.' - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.auth.token.claims type: object x-min-runtime-version: '1.3' description: |- All claims from the JWT token. Only populated for `sasl_oauth_bearer` authentication. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: context.produce.acks type: integer description: 'The acknowledgements that the producer requires: `0` for none, `1` for the leader only and `-1` for all in-sync replicas.' - name: context.produce.timeout_ms type: integer description: The time in milliseconds that the broker can wait before it answers the request. - name: context.produce.transactional_id type: string description: The transactional ID of the producer. Empty when the request is not transactional. action: $ref: '#/components/schemas/EventGatewayRequestRuleAction' required: - description - rule - action title: Produce Rule EventGatewayFetchRequestRules: description: The rules to apply to Kafka `Fetch` requests. type: object properties: type: type: string const: fetch rules: description: | Every rule in this list is evaluated independently against the request. A rule that evaluates to `false` runs its action. A maximum of 10 rules are allowed. type: array items: $ref: '#/components/schemas/EventGatewayFetchRule' maxItems: 10 minItems: 1 example: type: fetch rules: - description: Require sane fetch size bounds. rule: context.fetch.min_bytes >= 1024 && context.fetch.max_bytes <= 10485760 action: reject required: - type - rules EventGatewayFetchRule: type: object properties: description: description: | An explanation of the rule. Event Gateway writes this text to the logs when the request violates the rule, because the rule expression alone does not show the intent. type: string maxLength: 255 minLength: 1 rule: description: | A boolean expression that describes the valid state of the request. The action runs when the expression evaluates to `false`. An expression that cannot be evaluated, for example because a value has an unexpected format, also counts as `false`. type: string example: context.fetch.min_bytes >= 1024 && context.fetch.max_bytes <= 10485760 maxLength: 1000 minLength: 1 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. - name: context.auth.principal.metadata type: object description: 'Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects.' - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.auth.token.claims type: object x-min-runtime-version: '1.3' description: |- All claims from the JWT token. Only populated for `sasl_oauth_bearer` authentication. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: context.fetch.min_bytes type: integer description: The minimum number of bytes that the consumer waits for before the broker answers. - name: context.fetch.max_bytes type: integer description: The maximum number of bytes that the broker returns in the response. - name: context.fetch.max_wait_ms type: integer description: The time in milliseconds that the consumer waits for `context.fetch.min_bytes` before the broker answers. - name: context.fetch.isolation_level type: string description: 'The isolation level of the consumer: `read_uncommitted` or `read_committed`.' action: $ref: '#/components/schemas/EventGatewayRequestRuleAction' required: - description - rule - action title: Fetch Rule EventGatewayJoinGroupRequestRules: description: The rules to apply to Kafka `JoinGroup` requests. type: object properties: type: type: string const: join_group rules: description: | Every rule in this list is evaluated independently against the request. A rule that evaluates to `false` runs its action. A maximum of 10 rules are allowed. type: array items: $ref: '#/components/schemas/EventGatewayJoinGroupRule' maxItems: 10 minItems: 1 example: type: join_group rules: - description: Enforce the consumer group naming convention. rule: context.group.id.startsWith('team-a.') action: reject required: - type - rules EventGatewayJoinGroupRule: type: object properties: description: description: | An explanation of the rule. Event Gateway writes this text to the logs when the request violates the rule, because the rule expression alone does not show the intent. type: string maxLength: 255 minLength: 1 rule: description: | A boolean expression that describes the valid state of the request. The action runs when the expression evaluates to `false`. An expression that cannot be evaluated, for example because a value has an unexpected format, also counts as `false`. type: string example: context.group.id.startsWith('team-a.') maxLength: 1000 minLength: 1 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. - name: context.auth.principal.metadata type: object description: 'Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects.' - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.auth.token.claims type: object x-min-runtime-version: '1.3' description: |- All claims from the JWT token. Only populated for `sasl_oauth_bearer` authentication. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: context.group.id type: string description: The ID of the consumer group. action: $ref: '#/components/schemas/EventGatewayRequestRuleAction' required: - description - rule - action title: Join Group Rule EventGatewayConsumerGroupHeartbeatRequestRules: description: The rules to apply to Kafka `ConsumerGroupHeartbeat` requests. type: object properties: type: type: string const: consumer_group_heartbeat rules: description: | Every rule in this list is evaluated independently against the request. A rule that evaluates to `false` runs its action. A maximum of 10 rules are allowed. type: array items: $ref: '#/components/schemas/EventGatewayConsumerGroupHeartbeatRule' maxItems: 10 minItems: 1 example: type: consumer_group_heartbeat rules: - description: Enforce the consumer group naming convention. rule: context.group.id.startsWith('team-a.') action: reject required: - type - rules EventGatewayConsumerGroupHeartbeatRule: type: object properties: description: description: | An explanation of the rule. Event Gateway writes this text to the logs when the request violates the rule, because the rule expression alone does not show the intent. type: string maxLength: 255 minLength: 1 rule: description: | A boolean expression that describes the valid state of the request. The action runs when the expression evaluates to `false`. An expression that cannot be evaluated, for example because a value has an unexpected format, also counts as `false`. type: string example: context.group.id.startsWith('team-a.') maxLength: 1000 minLength: 1 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. - name: context.auth.principal.metadata type: object description: 'Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects.' - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.auth.token.claims type: object x-min-runtime-version: '1.3' description: |- All claims from the JWT token. Only populated for `sasl_oauth_bearer` authentication. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: context.group.id type: string description: The ID of the consumer group. action: $ref: '#/components/schemas/EventGatewayRequestRuleAction' required: - description - rule - action title: Consumer Group Heartbeat Rule EventGatewayOffsetCommitRequestRules: description: The rules to apply to Kafka `OffsetCommit` requests. type: object properties: type: type: string const: offset_commit rules: description: | Every rule in this list is evaluated independently against the request. A rule that evaluates to `false` runs its action. A maximum of 10 rules are allowed. type: array items: $ref: '#/components/schemas/EventGatewayOffsetCommitRule' maxItems: 10 minItems: 1 example: type: offset_commit rules: - description: Enforce the consumer group naming convention. rule: context.group.id.startsWith('team-a.') action: reject required: - type - rules EventGatewayOffsetCommitRule: type: object properties: description: description: | An explanation of the rule. Event Gateway writes this text to the logs when the request violates the rule, because the rule expression alone does not show the intent. type: string maxLength: 255 minLength: 1 rule: description: | A boolean expression that describes the valid state of the request. The action runs when the expression evaluates to `false`. An expression that cannot be evaluated, for example because a value has an unexpected format, also counts as `false`. type: string example: context.group.id.startsWith("team-a.") maxLength: 1000 minLength: 1 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. - name: context.auth.principal.metadata type: object description: 'Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects.' - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.auth.token.claims type: object x-min-runtime-version: '1.3' description: |- All claims from the JWT token. Only populated for `sasl_oauth_bearer` authentication. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: context.group.id type: string description: The ID of the consumer group. action: $ref: '#/components/schemas/EventGatewayRequestRuleAction' required: - description - rule - action title: Offset Commit Rule EventGatewayOffsetFetchRequestRules: description: The rules to apply to Kafka `OffsetFetch` requests. type: object properties: type: type: string const: offset_fetch rules: description: | Every rule in this list is evaluated independently against the request. A rule that evaluates to `false` runs its action. A maximum of 10 rules are allowed. type: array items: $ref: '#/components/schemas/EventGatewayOffsetFetchRule' maxItems: 10 minItems: 1 example: type: offset_fetch rules: - description: Enforce the consumer group naming convention. rule: context.group.id.startsWith('team-a.') action: reject required: - type - rules EventGatewayOffsetFetchRule: type: object properties: description: description: | An explanation of the rule. Event Gateway writes this text to the logs when the request violates the rule, because the rule expression alone does not show the intent. type: string maxLength: 255 minLength: 1 rule: description: | A boolean expression that describes the valid state of the request. The action runs when the expression evaluates to `false`. An expression that cannot be evaluated, for example because a value has an unexpected format, also counts as `false`. type: string example: context.group.id.startsWith('team-a.') maxLength: 1000 minLength: 1 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. - name: context.auth.principal.metadata type: object description: 'Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects.' - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.auth.token.claims type: object x-min-runtime-version: '1.3' description: |- All claims from the JWT token. Only populated for `sasl_oauth_bearer` authentication. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: context.group.id type: string description: The ID of the consumer group. action: $ref: '#/components/schemas/EventGatewayRequestRuleAction' required: - description - rule - action title: Offset Fetch Rule EventGatewayTxnOffsetCommitRequestRules: description: The rules to apply to Kafka `TxnOffsetCommit` requests. type: object properties: type: type: string const: txn_offset_commit rules: description: | Every rule in this list is evaluated independently against the request. A rule that evaluates to `false` runs its action. A maximum of 10 rules are allowed. type: array items: $ref: '#/components/schemas/EventGatewayTxnOffsetCommitRule' maxItems: 10 minItems: 1 example: type: txn_offset_commit rules: - description: Enforce the consumer group naming convention. rule: context.group.id.startsWith('team-a.') action: reject required: - type - rules EventGatewayTxnOffsetCommitRule: type: object properties: description: description: | An explanation of the rule. Event Gateway writes this text to the logs when the request violates the rule, because the rule expression alone does not show the intent. type: string maxLength: 255 minLength: 1 rule: description: | A boolean expression that describes the valid state of the request. The action runs when the expression evaluates to `false`. An expression that cannot be evaluated, for example because a value has an unexpected format, also counts as `false`. type: string example: context.group.id.startsWith('team-a.') maxLength: 1000 minLength: 1 x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. - name: context.auth.principal.metadata type: object description: 'Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects.' - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.auth.token.claims type: object x-min-runtime-version: '1.3' description: |- All claims from the JWT token. Only populated for `sasl_oauth_bearer` authentication. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.3`**. x-speakeasy-param-computed: false - name: context.group.id type: string description: The ID of the consumer group. action: $ref: '#/components/schemas/EventGatewayRequestRuleAction' required: - description - rule - action title: Txn Offset Commit Rule EventGatewayKeySource: description: | A key source that describes how to find a symmetric key for encryption or decryption. It can be an AWS KMS key source that uses a KMS to find a symmetric key, or a static key source that uses a static symmetric key provided as secrets. discriminator: propertyName: type mapping: aws: '#/components/schemas/EventGatewayAWSKeySource' static: '#/components/schemas/EventGatewayStaticKeySource' oneOf: - $ref: '#/components/schemas/EventGatewayAWSKeySource' - $ref: '#/components/schemas/EventGatewayStaticKeySource' EventGatewayAWSKeySource: description: | A key source that uses an AWS KMS to find a symmetric key. Load KMS credentials from the environment. See [aws docs](https://docs.aws.amazon.com/sdk-for-rust/latest/dg/credproviders.html#credproviders-default-credentials-provider-chain) for more information about how credential retrieval. type: object properties: type: type: string const: aws additionalProperties: false required: - type EventGatewayStaticKeySource: description: | A key source that uses static symmetric keys. type: object properties: type: type: string const: static additionalProperties: false required: - type EncryptionFailureMode: description: | Describes how to handle failing encryption or decryption. Use `error` if the record should be rejected if encryption or decryption fails. Use `passthrough` to ignore encryption or decryption failure and continue proxying the record. type: string enum: - error - passthrough x-speakeasy-unknown-values: allow ProduceFailureMode: description: |- Describes how to handle a failure in a policy applied to produced records. * `reject` - rejects the record batch. * `passthrough` - passes the record silently to the backend cluster even though policy execution failed. * `mark` - passes the record to the backend cluster but marks it with a `kong/policy-failure-<id>` header whose value is the reason for the policy failure (truncated to 512 characters). The header is stored with the record in the backend cluster, so every consumer of the topic sees it, including systems that never pass through the Event Gateway. The failure reason can contain runtime-specific configuration details, such as schema IDs, registry URLs, field paths, KMS ARNs and key IDs, KMS error text, JWT issuer and audience data, or expression snippets, and a producer with access to the topic can trigger policy failures on purpose to expose it. If you don't want to share this information, remove the header with a Modify Headers produce policy, or use a different failure mode. **Requires a minimum runtime version of `1.2`**. type: string enum: - reject - passthrough - mark x-min-runtime-version: '1.2' x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow ConsumeFailureMode: description: |- Describes how to handle a failure in a policy applied to consumed records. * `error` - the batch is not delivered to the client. Use sparingly: erroring on a batch causes clients to get stuck on the problematic offset and requires manual intervention to skip it. A single record that always fails the policy, for example one written by a producer with access to the topic, pins every consumer group on that offset. The error the client receives contains the policy failure reason, which can include runtime-specific configuration details. * `skip` - the record is not delivered to the client. * `passthrough` - passes the record to the client even though policy execution failed. * `mark` - passes the record to the client but marks it with a `kong/policy-failure-<id>` header whose value is the reason for the policy failure (truncated to 512 characters). The failure reason can contain runtime-specific configuration details, such as schema IDs, registry URLs, field paths, KMS ARNs and key IDs, KMS error text, JWT issuer and audience data, or expression snippets. If you don't want to share this information with clients, remove the header with a Modify Headers consume policy. **Requires a minimum runtime version of `1.2`**. type: string enum: - error - skip - passthrough - mark x-min-runtime-version: '1.2' x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow EncryptionRecordPart: description: | * key - encrypt the record key * value - encrypt the record value type: string enum: - key - value x-speakeasy-unknown-values: allow DecryptionRecordPart: description: | * key - decrypt the record key * value - decrypt the record value type: string enum: - key - value x-speakeasy-unknown-values: allow EncryptionKey: description: | The key to use for encryption. discriminator: propertyName: type mapping: aws: '#/components/schemas/EncryptionKeyAWS' static: '#/components/schemas/EncryptionKeyStatic' oneOf: - $ref: '#/components/schemas/EncryptionKeyAWS' - $ref: '#/components/schemas/EncryptionKeyStatic' EncryptionKeyAWS: description: | The AWS KMS key to use for encryption. type: object properties: type: type: string const: aws arn: description: The AWS KMS key ARN. type: string maxLength: 2048 minLength: 10 pattern: '^arn:aws:kms:.+' example: type: aws arn: 'arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab' required: - type - arn EncryptionKeyStatic: description: | A static encryption key. type: object properties: type: type: string const: static key: $ref: '#/components/schemas/EncryptionKeyStaticReference' required: - type - key EncryptionKeyStaticReference: description: | A static encryption key reference, either by ID or by value. $ref: '#/components/schemas/EncryptionKeyStaticReferenceById' EncryptionKeyStaticReferenceById: description: A static encryption key reference by ID. type: object properties: id: description: The ID of the static key defined in the key source. type: string format: uuid minLength: 1 required: - id ConsumeKeyValidationAction: description: | Deprecated. Use `failure_mode`. Defines a behavior when record key is not valid. * mark - marks a record with kong/server header and client ID value to help to identify the clients violating schema. * skip - skips delivering a record. type: string deprecated: true enum: - mark - skip x-speakeasy-unknown-values: allow ConsumeValueValidationAction: description: | Deprecated. Use `failure_mode`. Defines a behavior when record value is not valid. * mark - marks a record with kong/server header and client ID value to help to identify the clients violating schema. * skip - skips delivering a record. type: string deprecated: true enum: - mark - skip x-speakeasy-unknown-values: allow ProduceKeyValidationAction: description: | Defines a behavior when record key is not valid. * reject - rejects a batch for topic partition. Only available for produce. * mark - marks a record with kong/server header and client ID value to help to identify the clients violating schema. type: string enum: - reject - mark x-speakeasy-unknown-values: allow ProduceValueValidationAction: description: | Defines a behavior when record value is not valid. * reject - rejects a batch for topic partition. Only available for produce. * mark - marks a record with kong/server header and client ID value to help to identify the clients violating schema. type: string enum: - reject - mark x-speakeasy-unknown-values: allow EventGatewayDataPlaneCertificate: description: A dataplane certificate. type: object properties: id: description: The unique identifier of the certificate. type: string format: uuid certificate: description: JSON escaped string of the certificate. type: string name: description: The name to identify of the certificate. type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A description of the certificate. type: string default: null nullable: true x-speakeasy-param-computed: false created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' metadata: $ref: '#/components/schemas/CertificateMetadata' required: - id - certificate - created_at - updated_at CertificateMetadata: description: Metadata extracted from a certificate. type: object properties: issuer: description: The issuer of the certificate. type: string default: null nullable: true x-speakeasy-param-computed: false subject: description: The subject of the certificate. type: string default: null nullable: true x-speakeasy-param-computed: false key_usages: description: The key usages of the certificate. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false expiry: description: The expiry date of the certificate as a unix timestamp. type: integer format: int64 default: null nullable: true x-speakeasy-param-computed: false san_names: description: The Subject Alternative Names (SAN) of the certificate. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false dns_names: description: The DNS names in the certificate SAN. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false email_addresses: description: The email addresses in the certificate SAN. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false ip_addresses: description: The IP addresses in the certificate SAN. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false uris: description: The URIs in the certificate SAN. type: array items: type: string format: uri default: null nullable: true x-speakeasy-param-computed: false sha256_fingerprint: description: The SHA-256 fingerprint of the certificate. type: string default: null nullable: true x-speakeasy-param-computed: false VirtualClusterNamespace: description: | Namespace allows to implement multitenancy using a single backend cluster. It allows to either hide or enforce a static prefix on resources (topics, consumer group IDs, transaction IDs). type: object properties: mode: description: | * hide_prefix - the configured prefix is hidden from clients for topics and IDs when reading. Created resources are written with the prefix on the backend cluster. * enforce_prefix - the configured prefix remains visible to clients. Created resources must include the prefix or the request will fail. type: string enum: - hide_prefix - enforce_prefix x-speakeasy-unknown-values: allow prefix: description: | The namespace is differentiated by this chosen prefix. The prefix is prepended to Kafka topic names, so it can only contain the characters Kafka allows in them: ASCII letters, digits, `.`, `_` and `-`. It must contain at least one character other than `.` and be at most 100 characters long to leave room for the rest of the topic name (Kafka limits topic names to 249 characters). For example, if the prefix is set to "analytics_" the topic named "analytics_user_clicks" is available to the clients of the virtual cluster. Topics without the prefix will be ignored unless added via `additional.topics`. type: string maxLength: 100 minLength: 1 pattern: '^[A-Za-z0-9._-]*[A-Za-z0-9_-][A-Za-z0-9._-]*$' additional: $ref: '#/components/schemas/VirtualClusterNamespaceAdditionalProperties' required: - mode - prefix x-speakeasy-param-computed: false VirtualClusterNamespaceAdditionalProperties: type: object properties: topics: description: | Additional backend topics to expose even if they don't match the namespace prefix. The topics are not affected by the hide/enforce prefix mode. If the client tries to create a topic that matches this list, the request is rejected. type: array items: $ref: '#/components/schemas/VirtualClusterNamespaceTopicSelector' nullable: false consumer_groups: description: | Consumer group IDs to expose even if they don't start with the namespace prefix. type: array items: $ref: '#/components/schemas/VirtualClusterNamespaceIdSelector' nullable: false x-speakeasy-param-computed: false VirtualClusterTopicAlias: description: |- A topic alias maps an alias name to a namespace-visible topic name. Clients can produce to, consume from, and discover the topic under the alias name. The original topic name remains accessible. **Requires a minimum runtime version of `1.2`**. type: object properties: alias: description: The client-visible topic name. type: string minLength: 1 topic: description: The namespace-visible topic name this alias resolves to. type: string minLength: 1 condition: description: | CEL expression evaluated against the connection's auth context. If omitted or empty, the alias is active for all connections. type: string default: '' x-expression: type: boolean fields: - name: context.auth.principal.name type: string description: 'Name of authenticated principal. Username in case of PLAIN/SCRAM, `sub` claim in case of OAUTHBEARER.' - name: context.auth.principal.id type: string description: |- Kong Identity principal ID. Only populated when Kong Identity principal fetching is configured and succeeds. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.principal.metadata type: object description: |- Kong Identity principal metadata. Only populated when Kong Identity principal fetching is configured and succeeds. Values can be strings, numbers, booleans, arrays or nested JSON objects. **Requires a minimum runtime version of `1.2`**. x-min-runtime-version: '1.2' x-speakeasy-param-computed: false - name: context.auth.type type: string description: | The matched authentication type from a virtual cluster: anonymous, sasl_plain, sasl_scram_sha256, sasl_scram_sha512, sasl_oauth_bearer. - name: context.auth.token.claims type: object description: 'All claims from the JWT token. Only populated for sasl_oauth_bearer authentication. Claims can be strings, numbers, booleans, arrays or nested JSON objects.' conflict: $ref: '#/components/schemas/VirtualClusterTopicAliasConflict' required: - alias - topic x-min-runtime-version: '1.2' x-speakeasy-param-computed: false VirtualClusterTopicAliasConflict: description: | How to handle conflicts where an alias shadows a physical topic. * warn - activate the alias but log a warning and set the conflict metric to 1. * ignore - activate the alias silently. type: string default: warn enum: - warn - ignore x-enum-varnames: - VirtualClusterTopicAliasConflictWarn - VirtualClusterTopicAliasConflictIgnore x-speakeasy-unknown-values: allow VirtualClusterNamespaceTopicSelector: type: object discriminator: propertyName: type mapping: glob: '#/components/schemas/VirtualClusterNamespaceTopicSelectorGlob' exact_list: '#/components/schemas/VirtualClusterNamespaceTopicSelectorExactList' oneOf: - $ref: '#/components/schemas/VirtualClusterNamespaceTopicSelectorGlob' - $ref: '#/components/schemas/VirtualClusterNamespaceTopicSelectorExactList' required: - type VirtualClusterNamespaceTopicSelectorGlob: type: object properties: type: type: string const: glob glob: description: 'Expose any backend topic that matches this glob pattern (e.g., `operations_data_*`).' type: string format: glob minLength: 1 pattern: '^[A-Za-z0-9._?*-]+$' conflict: description: | How to inform the user about conflicts where multiple backend topics would map to the same virtual topic name. * warn - log in the Event Gateway logs. Additionally, it sets knep_namespace_topic_conflict to 1. * ignore - do not do anything. It does not cause knep_namespace_topic_conflict metric to be set to 1. type: string default: warn enum: - warn - ignore x-speakeasy-unknown-values: allow required: - type - glob VirtualClusterNamespaceTopicSelectorExactList: type: object properties: type: type: string const: exact_list exact_list: description: Explicit allow-list of backend topic names. type: array items: $ref: '#/components/schemas/NamespaceExactAllowListItem' default: null minItems: 1 nullable: true x-speakeasy-param-computed: false conflict: description: | How to inform the user about conflicts where multiple backend topics would map to the same virtual topic name. * warn - log in the Event Gateway logs. Additionally, it sets knep_namespace_topic_conflict to 1. * ignore - do not do anything. It does not cause knep_namespace_topic_conflict metric to be set to 1. type: string default: warn enum: - warn - ignore x-speakeasy-unknown-values: allow required: - type NamespaceExactAllowListItem: type: object properties: backend: type: string minLength: 1 required: - backend VirtualClusterNamespaceIdSelector: type: object discriminator: propertyName: type mapping: glob: '#/components/schemas/VirtualClusterNamespaceIdSelectorGlob' exact_list: '#/components/schemas/VirtualClusterNamespaceIdSelectorExactList' oneOf: - $ref: '#/components/schemas/VirtualClusterNamespaceIdSelectorGlob' - $ref: '#/components/schemas/VirtualClusterNamespaceIdSelectorExactList' required: - type VirtualClusterNamespaceIdSelectorGlob: type: object properties: type: type: string const: glob glob: description: 'Expose any id that matches this glob pattern (e.g., `my_id_*`).' type: string format: glob minLength: 1 pattern: '^[A-Za-z0-9._?*-]+$' required: - type - glob VirtualClusterNamespaceIdSelectorExactList: type: object properties: type: type: string const: exact_list exact_list: type: array items: type: object required: - value properties: value: type: string minLength: 1 default: null minItems: 1 nullable: true x-speakeasy-param-computed: false required: - type EventGatewayStaticKey: description: | A symmetric key with its secret value. type: object properties: name: description: The unique name of the static key. type: string maxLength: 255 minLength: 1 x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the static key. type: string default: '' maxLength: 512 labels: $ref: '#/components/schemas/Labels' id: description: The unique identifier of the static key. type: string format: uuid value: $ref: '#/components/schemas/GatewaySecret' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - name - id - created_at - updated_at EventGatewayStaticKeyCreate: description: | A symmetric key with its secret value for creation. type: object properties: name: description: The unique name of the static key. type: string maxLength: 255 minLength: 1 x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the static key. type: string default: '' maxLength: 512 labels: $ref: '#/components/schemas/Labels' value: $ref: '#/components/schemas/GatewaySecret' required: - name - value GatewayName: description: The name of the Gateway. type: string maxLength: 255 minLength: 1 x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' GatewayDescription: description: A human-readable description of the Gateway. type: string maxLength: 512 MinRuntimeVersion: description: | The minimum runtime version supported by the API. This is the lowest version of the data plane release that can be used with the entity model. When not specified, the minimum runtime version will be pinned to the latest available release. type: string example: '1.1' pattern: ^\d+\.\d+$ CreateGatewayRequest: description: The request schema for the create gateway request. type: object properties: name: $ref: '#/components/schemas/GatewayName' description: $ref: '#/components/schemas/GatewayDescription' min_runtime_version: $ref: '#/components/schemas/MinRuntimeVersion' labels: $ref: '#/components/schemas/Labels' additionalProperties: false required: - name title: CreateGatewayRequest MinRuntimeVersionUpdate: description: | The minimum runtime version supported by the API. This is the lowest version of the data plane release that can be used with the entity model. When not specified, the minimum runtime version will not be updated. type: string example: '1.1' pattern: ^\d+\.\d+$ UpdateGatewayRequest: description: The request schema for the update gateway request. type: object properties: name: $ref: '#/components/schemas/GatewayName' description: $ref: '#/components/schemas/GatewayDescription' min_runtime_version: $ref: '#/components/schemas/MinRuntimeVersionUpdate' labels: $ref: '#/components/schemas/Labels' additionalProperties: false title: UpdateGatewayRequest GatewaySecretReferenceOrLiteral: description: | A literal value or a reference to an existing secret as a template string expression. The value is stored and returned by the API as-is, not treated as sensitive information. type: string minLength: 1 x-expression: type: string fields: - vault GatewaySecret: description: | A sensitive value containing the secret or a reference to a secret as a template string expression. If the value is provided as plain text, it is encrypted at rest and omitted from API responses. If provided as an expression, the expression itself is stored and returned by the API. type: string example: '${vault.env[''MY_ENV_VAR'']}' minLength: 1 x-expression: type: string fields: - vault x-sensitive: true x-speakeasy-param-sensitive: true CreateSecretPayload: type: object properties: secret: $ref: '#/components/schemas/ClientSecret' enabled: $ref: '#/components/schemas/SecretEnabled' UpdateSecretPayload: type: object properties: enabled: $ref: '#/components/schemas/UpdateSecretEnabled' ClientSecretItem: description: The client secret. The secret value is only returned when creating a new secret item. type: object properties: id: description: The ID of the client secret type: string format: uuid enabled: $ref: '#/components/schemas/SecretEnabled' secret: $ref: '#/components/schemas/ClientSecret' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - enabled - created_at - updated_at ResponseType: description: OAuth 2.0 response type type: string enum: - none - token - code - id_token x-speakeasy-unknown-values: allow ResponseTypes: description: List of OAuth 2.0 response types type: array items: $ref: '#/components/schemas/ResponseType' nullable: false GrantType: description: OAuth 2.0 grant type type: string enum: - implicit - client_credentials - 'urn:ietf:params:oauth:grant-type:jwt-bearer' x-speakeasy-unknown-values: allow GrantTypes: description: List of OAuth 2.0 grant types type: array items: $ref: '#/components/schemas/GrantType' nullable: false uniqueItems: true RedirectURIs: description: 'The URIs that the client is allowed to redirect to after authentication in interactive flows. All redirect URIs must be absolute URIs, be secure (HTTPS), and must not include a fragment component.' type: array items: type: string format: uri nullable: false LoginURI: description: |- **Pre-release Feature** This feature is currently in beta and is subject to change. The URI of the login page where the user is redirected to authenticate in interactive flows. The login page must be secure (HTTPS). type: string format: uri default: null nullable: true x-speakeasy-param-computed: false TokenDuration: description: 'The duration of the minted token is valid for, in seconds' type: integer default: 300 maximum: 2592000 minimum: 60 ClientAllowAllScopes: description: Specifies whether the client is allowed to request all scopes type: boolean default: false ClientAllowScopes: description: Specifies the scopes IDs that the client is allowed to request type: array items: type: string format: uuid nullable: false uniqueItems: true ClientId: description: The OAuth 2.0 client ID type: string example: kYa9iQFU5xPDSIUH9z1z maxLength: 48 minLength: 1 pattern: '[-_\w]+' readOnly: true x-speakeasy-param-suppress-computed-diff: true AuthServerName: description: The name of the auth server type: string minLength: 1 AuthServerDescription: description: The description of the auth server type: string Audience: description: The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token type: string minLength: 1 UpdateAlgorithm: description: Algorithm used in the key signing process type: string enum: - RS256 - RS384 - RS512 - PS256 - PS384 - PS512 x-speakeasy-unknown-values: allow Algorithm: description: Algorithm used in the key signing process type: string default: RS256 enum: - RS256 - RS384 - RS512 - PS256 - PS384 - PS512 x-speakeasy-unknown-values: allow Issuer: description: The complete URL for the custom authorization server. This becomes the 'iss' claim in an access token. type: string TokenEndpointAuthMethod: description: Requested authentication method for OAuth 2.0 endpoints. type: string default: client_secret_post enum: - private_key_jwt - client_secret_post - none x-speakeasy-unknown-values: allow TrustedOrigins: description: A list or trusted origins to apply the CORS header on for the auth server type: array items: $ref: '#/components/schemas/TrustedOrigin' maxLength: 16 uniqueItems: true TrustedOrigin: description: A trusted origin for the auth server type: string format: uri example: 'https://example.com' DcrDefaultAccessTokenDuration: description: 'The default access token duration, in seconds, applied to DCR clients registered against this auth server' type: integer default: 300 maximum: 2592000 minimum: 60 UpdateDcrDefaultAccessTokenDuration: description: 'The default access token duration, in seconds, applied to DCR clients registered against this auth server' type: integer maximum: 2592000 minimum: 60 DcrSettings: description: Dynamic Client Registration settings for the auth server type: object properties: default_access_token_duration: $ref: '#/components/schemas/DcrDefaultAccessTokenDuration' required: - default_access_token_duration UpdateDcrSettings: description: Dynamic Client Registration settings for the auth server type: object properties: default_access_token_duration: $ref: '#/components/schemas/UpdateDcrDefaultAccessTokenDuration' CreateDcrSettings: description: Dynamic Client Registration settings for the auth server. Both fields are optional; an omitted field falls back to its default. type: object properties: default_access_token_duration: $ref: '#/components/schemas/DcrDefaultAccessTokenDuration' AuthServer: type: object properties: id: description: The ID of the auth server type: string format: uuid name: $ref: '#/components/schemas/AuthServerName' description: $ref: '#/components/schemas/AuthServerDescription' audience: $ref: '#/components/schemas/Audience' signing_algorithm: $ref: '#/components/schemas/Algorithm' issuer: $ref: '#/components/schemas/Issuer' metadata_uri: description: The URI of the metadata document for the auth server type: string format: uri jwks_uri: description: The URI of the JWKS endpoint for the auth server type: string format: uri readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' trusted_origins: $ref: '#/components/schemas/TrustedOrigins' dcr: $ref: '#/components/schemas/DcrSettings' required: - id - name - description - audience - signing_algorithm - issuer - metadata_uri - labels - created_at - updated_at ClaimName: description: The name of the claim type: string minLength: 1 ClaimValue: description: Specifies the value of the claim. It may contain a static value or a dynamic (templated) value. Static values which are valid JSON will result in a JSON object in the token claims. type: string minLength: 1 UpdateClaimIncludeInToken: description: 'Specifies whether to include claim in the token. If the value is set to ''false'' for a claim, the client instead uses the access token to get claims from the ''/userinfo'' endpoint.' type: boolean ClaimIncludeInToken: description: 'Specifies whether to include claim in the token. If the value is set to ''false'' for a claim, the client instead uses the access token to get claims from the ''/userinfo'' endpoint.' type: boolean default: false UpdateClaimIncludeInAllScopes: description: 'Specifies whether to include the claim in all scopes. If the value is set to ''false'' for a claim, the claim is only included in the scopes that explicitly list it.' type: boolean ClaimIncludeInAllScopes: description: 'Specifies whether to include the claim in all scopes. If the value is set to ''false'' for a claim, the claim is only included in the scopes that explicitly list it.' type: boolean default: false ClaimIncludeInScopes: description: Specifies the scopes IDs in which the claim is included type: array items: type: string format: uuid nullable: false UpdateClaimEnabled: description: 'Specifies whether the claim is enabled. If the claim is not enabled, it will not be included in the token or the ''/userinfo'' endpoint.' type: boolean ClaimEnabled: description: 'Specifies whether the claim is enabled. If the claim is not enabled, it will not be included in the token or the ''/userinfo'' endpoint.' type: boolean default: true SecretEnabled: description: 'Specifies whether the secret is enabled. If the secret is not enabled, it will not be usable during authentication phase.' type: boolean default: true UpdateSecretEnabled: description: 'Specifies whether the secret is enabled. If the secret is not enabled, it will not be usable during authentication phase.' type: boolean Claim: type: object properties: id: description: The ID of the claim type: string format: uuid name: $ref: '#/components/schemas/ClaimName' value: $ref: '#/components/schemas/ClaimValue' include_in_token: $ref: '#/components/schemas/ClaimIncludeInToken' include_in_all_scopes: $ref: '#/components/schemas/ClaimIncludeInAllScopes' include_in_scopes: $ref: '#/components/schemas/ClaimIncludeInScopes' enabled: $ref: '#/components/schemas/ClaimEnabled' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - name - value - include_in_token - include_in_all_scopes - include_in_scopes - enabled - created_at - updated_at ScopeName: description: The name of the scope type: string minLength: 1 ScopeDescription: description: Description of the scope type: string UpdateScopeDefault: description: 'Specifies whether the scope is included by default in access tokens without being explicitly requested by the client. If the scope is not allowed by the client, it will not be included in the access token.' type: boolean ScopeDefault: description: 'Specifies whether the scope is included by default in access tokens without being explicitly requested by the client. If the scope is not allowed by the client, it will not be included in the access token.' type: boolean default: false UpdateScopeIncludeInMetadata: description: Specifies whether to include the scope in the metadata document type: boolean ScopeIncludeInMetadata: description: Specifies whether to include the scope in the metadata document type: boolean default: false UpdateScopeEnabled: description: 'Specifies whether the scope is enabled. If the scope is not enabled, it cannot be requested by clients and will not be included in the access token.' type: boolean ScopeEnabled: description: 'Specifies whether the scope is enabled. If the scope is not enabled, it cannot be requested by clients and will not be included in the access token.' type: boolean default: true Scope: type: object properties: id: description: The ID of the scope type: string format: uuid name: $ref: '#/components/schemas/ScopeName' description: $ref: '#/components/schemas/ScopeDescription' default: $ref: '#/components/schemas/ScopeDefault' include_in_metadata: $ref: '#/components/schemas/ScopeIncludeInMetadata' enabled: $ref: '#/components/schemas/ScopeEnabled' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - name - description - default - include_in_metadata - enabled - created_at - updated_at ClientName: description: The name of the client type: string minLength: 1 Client: type: object properties: id: $ref: '#/components/schemas/ClientId' name: $ref: '#/components/schemas/ClientName' grant_types: $ref: '#/components/schemas/GrantTypes' redirect_uris: $ref: '#/components/schemas/RedirectURIs' login_uri: $ref: '#/components/schemas/LoginURI' access_token_duration: $ref: '#/components/schemas/TokenDuration' id_token_duration: $ref: '#/components/schemas/TokenDuration' allow_all_scopes: $ref: '#/components/schemas/ClientAllowAllScopes' allow_scopes: $ref: '#/components/schemas/ClientAllowScopes' labels: $ref: '#/components/schemas/Labels' response_types: $ref: '#/components/schemas/ResponseTypes' token_endpoint_auth_method: $ref: '#/components/schemas/TokenEndpointAuthMethod' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - name - grant_types - redirect_uris - allow_all_scopes - allow_scopes - access_token_duration - id_token_duration - labels - response_types - created_at - updated_at CreatedClient: allOf: - $ref: '#/components/schemas/Client' - type: object properties: client_secret: description: The OAuth 2.0 client secret type: string example: YAzsyUlNZ5gNGeKS9H3VAdxVPzhPo4ae x-speakeasy-param-computed: true ClientSecret: description: The OAuth 2.0 client secret type: string example: YAzsyUlNZ5gNGeKS9H3VAdxVPzhPo4ae writeOnly: true x-speakeasy-param-sensitive: true x-speakeasy-terraform-plan-only: true VpceIdEnabled: description: Whether VPCE ID restriction is enabled for the organization. type: boolean example: true default: false AllowedVpceIds: description: The list of allowed AWS VPC endpoint IDs for the organization. type: array items: type: string maxLength: 100 minLength: 1 example: - vpce-0123456789abcdef0 maxItems: 1000 uniqueItems: true OrganizationVpceIdRestriction: type: object properties: enabled: $ref: '#/components/schemas/VpceIdEnabled' allowed_vpce_ids: $ref: '#/components/schemas/AllowedVpceIds' additionalProperties: false required: - enabled - allowed_vpce_ids title: Organization VPCE ID Restriction MaxPATExpirationPeriodDays: type: integer maximum: 365 minimum: 1 OrganizationId: description: UUID representing an organization. type: string format: uuid example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 readOnly: true x-speakeasy-param-suppress-computed-diff: true TargetModel: description: An upstream LLM target the AI Model proxies. type: object properties: provider: description: The upstream model provider. type: string example: openai name: description: The upstream model name for the given provider. type: string example: gpt-4o required: - provider - name AiModel: description: An AI Model catalog resource. type: object properties: id: description: The unique identifier of the AI Model. type: string format: uuid example: 123e4567-e89b-12d3-a456-426614174000 name: description: | The machine name of the AI Model that uniquely identifies it within the catalog. type: string example: my-ai-model maxLength: 120 minLength: 1 pattern: '^[0-9a-z.-]+$' display_name: description: The display name of the AI Model. type: string example: My AI Model maxLength: 120 minLength: 1 description: description: A description of the AI Model. type: string example: Customer support triage model default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - name - display_name - description - labels - managed_by - created_at - updated_at AiModelCreate: description: Request body for creating or replacing an AI Model. type: object properties: name: description: | The machine name of the AI Model that uniquely identifies it within the catalog. type: string example: my-ai-model maxLength: 120 minLength: 1 pattern: '^[0-9a-z.-]+$' display_name: description: The display name of the AI Model. type: string example: My AI Model maxLength: 120 minLength: 1 description: description: Optionally provide a description of the AI Model. type: string example: Customer support triage model default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/Labels' additionalProperties: false required: - name - display_name AiModelReplace: description: Request body for creating or replacing an AI Model. type: object properties: name: description: | The machine name of the AI Model that uniquely identifies it within the catalog. type: string example: my-ai-model maxLength: 120 minLength: 1 pattern: '^[0-9a-z.-]+$' display_name: description: The display name of the AI Model. type: string example: My AI Model maxLength: 120 minLength: 1 description: description: Optionally provide a description of the AI Model. type: string example: Customer support triage model default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/Labels' additionalProperties: false required: - name - display_name AiModelVersion: description: | A version of an AI Model, holding its `target_models`. Currently only exactly one version (`latest`) per model exists. type: object properties: id: description: The unique identifier of the version. type: string format: uuid example: 9c4a1b2c-3d4e-5f60-7182-93a4b5c6d7e8 ai_model_id: description: The identifier of the parent AI Model. type: string format: uuid example: 123e4567-e89b-12d3-a456-426614174000 version: description: An optional user-supplied version label. `null` when unset. type: string example: 1.0.0 default: null maxLength: 120 minLength: 1 nullable: true pattern: .*\S.* x-speakeasy-param-computed: false target_models: description: The upstream LLM targets for this version. type: array items: $ref: '#/components/schemas/TargetModel' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - ai_model_id - version - target_models - created_at - updated_at AiModelVersionCreate: description: Request body for creating an AI Model Version. type: object properties: version: description: | An optional user-supplied version label. type: string example: 1.0.0 default: null maxLength: 120 minLength: 1 nullable: true pattern: .*\S.* x-speakeasy-param-computed: false target_models: description: The upstream LLM targets (full set). type: array items: $ref: '#/components/schemas/TargetModel' additionalProperties: false required: - target_models AiModelVersionReplace: description: Request body for replacing an AI Model Version. allOf: - $ref: '#/components/schemas/AiModelVersionCreate' SpecProvider: description: | Client-supplied provenance for the oas specification. Omit it (or send `null`) for a user-uploaded spec. `{ "source": "ai_gateway" }` indicates the content came from the linked AI Gateway model, and is rejected with `400` (`invalid_parameters`) if the model is not linked. `{ "source": "provider" }` is reserved for provider/target-model generation. type: object properties: source: type: string example: ai_gateway enum: - ai_gateway - provider x-speakeasy-unknown-values: allow required: - source AiModelVersionSpec: description: The oas specification document for an AI Model version. type: object properties: spec_content: description: | The raw content of the oas specification, in json or yaml format (for example, an OpenAPI document). type: string example: '{"openapi":"3.1.0","info":{"title":"My AI Model","version":"1.0.0"},"paths":{}}' spec_type: description: | The type of specification document. Currently always `oas` (OpenAPI Specification). type: string example: oas const: oas readOnly: true x-speakeasy-param-suppress-computed-diff: true spec_provider: description: | Provenance of the specification. `null` (or absent) for a user-uploaded specification. type: object default: null nullable: true properties: source: type: string example: ai_gateway enum: - ai_gateway - provider x-speakeasy-unknown-values: allow required: - source x-speakeasy-param-computed: false created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - spec_content - spec_type - created_at - updated_at AiModelVersionSpecWrite: description: | Request body for creating or replacing a version's spec (upsert). The request body has a maximum size limit of 8MB. type: object properties: spec_content: description: | The raw content of the oas specification, in json or yaml format (for example, an OpenAPI document). type: string example: '{"openapi":"3.1.0","info":{"title":"My AI Model","version":"1.0.0"},"paths":{}}' spec_provider: description: | Optional provenance. Omit (or `null`) for a user-uploaded specification. allOf: - $ref: '#/components/schemas/SpecProvider' nullable: true additionalProperties: false required: - spec_content AiModelImplementation: description: AI Model Implementation. type: object properties: id: description: The unique identifier of the implementation (link) record. type: string format: uuid example: d2e1f0a9-8b7c-6d5e-4f3a-2b1c0d9e8f7a ai_model_id: description: The identifier of the parent AI Model. type: string format: uuid example: 123e4567-e89b-12d3-a456-426614174000 gateway_control_plane_id: description: The AI Gateway control plane uuid the linked model belongs to. type: string format: uuid example: 223e4567-e89b-12d3-a456-426614174999 gateway_model_id: description: The text or uuid identifier of the linked AI Gateway model. type: string example: gw-model-abc created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - ai_model_id - gateway_control_plane_id - gateway_model_id - created_at - updated_at AiModelImplementationCreate: description: Request body for linking an AI Model to an AI Gateway model. type: object properties: gateway_control_plane_id: description: The AI Gateway control plane uuid the model belongs to. type: string format: uuid example: 223e4567-e89b-12d3-a456-426614174999 x-speakeasy-name-override: ai_gateway_id gateway_model_id: description: The text or uuid identifier of the AI Gateway model to link. type: string example: gw-model-abc x-speakeasy-name-override: ai_gateway_model_id additionalProperties: false required: - gateway_control_plane_id - gateway_model_id CreateCatalogMCP: description: Request body for creating an MCP. type: object properties: name: description: The machine name of the MCP that uniquely identifies it within the catalog. type: string example: my-mcp maxLength: 120 minLength: 1 pattern: '^[0-9a-z.-]+$' display_name: description: The display name of the MCP. type: string example: My MCP maxLength: 120 minLength: 1 description: description: Optionally provide a description of the MCP. type: string example: Customer support triage model default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/Labels' additionalProperties: false required: - name - display_name ReplaceCatalogMCP: allOf: - $ref: '#/components/schemas/CreateCatalogMCP' CatalogMCP: description: An MCP catalog resource. type: object properties: id: description: The unique identifier of the MCP. type: string format: uuid example: 7703e2f2-f9c0-47e3-9146-5fa50486b871 name: description: The machine name of the MCP that uniquely identifies it within the catalog. type: string example: my-mcp maxLength: 120 minLength: 1 pattern: '^[0-9a-z.-]+$' display_name: description: The display name of the MCP. type: string example: My MCP maxLength: 120 minLength: 1 description: description: A description of the MCP. type: string example: Description of MCP. default: null maxLength: 2048 nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - id - name - display_name - description - labels - managed_by - created_at - updated_at CatalogMCPToolInputSchema: description: Input schema for an MCP tool. type: object additionalProperties: true x-speakeasy-type-override: any CatalogMCPToolOutputSchema: description: Output schema for an MCP tool. type: object allOf: - $ref: '#/components/schemas/CatalogMCPToolInputSchema' - description: Output schema for an MCP tool. CatalogMCPToolAnnotations: type: object properties: title: description: Human-readable name of the tool. type: string x-speakeasy-param-computed: false destructive_hint: description: Indicates if the tool performs destructive actions. type: boolean x-speakeasy-param-computed: false idempotent_hint: description: Indicates if the tool is idempotent. type: boolean x-speakeasy-param-computed: false open_world_hint: description: Indicates if the tool interacts with external entities. type: boolean x-speakeasy-param-computed: false read_only_hint: description: Indicates if the tool is read-only. type: boolean x-speakeasy-param-computed: false additionalProperties: false CatalogMCPAnnotations: type: object properties: audience: description: Describes the intended customer of the annotated object/data. type: array items: type: string enum: - user - assistant x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false priority: description: | Describes how important the data is for operating the MCP. A value of 1 means "most important," and indicates the data is effectively required, while 0 means "least important," and indicates the data is entirely optional. type: number x-speakeasy-param-computed: false last_modified: description: 'The moment the resource was last modified, in ISO-8601 format.' type: string format: date-time x-speakeasy-param-computed: false additionalProperties: false CatalogMCPPromptArgument: type: object properties: name: description: Machine/programmatic name of the prompt argument. type: string title: description: Human-readable name of the prompt argument. type: string x-speakeasy-param-computed: false description: description: Detailed description of the prompt argument. type: string x-speakeasy-param-computed: false required: description: Indicates if the prompt argument is required. type: boolean x-speakeasy-param-computed: false additionalProperties: false required: - name CatalogMCPTool: description: MCP tool definition. type: object properties: name: description: Machine/programmatic name of the tool. type: string example: my-tool title: description: Human-readable name of the tool. type: string x-speakeasy-param-computed: false description: description: Detailed description of the tool's functionality. type: string x-speakeasy-param-computed: false input_schema: $ref: '#/components/schemas/CatalogMCPToolInputSchema' output_schema: $ref: '#/components/schemas/CatalogMCPToolOutputSchema' annotations: $ref: '#/components/schemas/CatalogMCPToolAnnotations' additionalProperties: false required: - name - input_schema CatalogMCPResource: description: MCP Resource definition. type: object properties: name: description: Machine/programmatic name of the resource. type: string example: my-resource title: description: Human-readable name of the resource. type: string x-speakeasy-param-computed: false uri: description: The URI of the resource. type: string description: description: Detailed description of what the resource represents. type: string x-speakeasy-param-computed: false mime_type: description: 'The MIME type of the resource, if known.' type: string x-speakeasy-param-computed: false annotations: $ref: '#/components/schemas/CatalogMCPAnnotations' size: description: 'The size of the raw resource content, in bytes, if known.' type: number x-speakeasy-param-computed: false additionalProperties: false required: - name - uri CatalogMCPPrompt: description: MCP Prompt definition. type: object properties: name: description: Machine/programmatic name of the prompt. type: string title: description: Human-readable name of the prompt. type: string x-speakeasy-param-computed: false description: description: Detailed description of the prompt's purpose and usage. type: string x-speakeasy-param-computed: false arguments: description: List of arguments to use for templating the prompt. type: array items: $ref: '#/components/schemas/CatalogMCPPromptArgument' x-speakeasy-param-computed: false additionalProperties: false required: - name CatalogMCPVersionVersion: description: User-supplied version label. type: string example: 1.0.0 maxLength: 120 minLength: 1 pattern: .*\S.* CatalogMCPVersion: description: An MCP version resource. type: object properties: id: description: The unique identifier of the version. type: string format: uuid example: 9c4a1b2c-3d4e-5f60-7182-93a4b5c6d7e8 version: $ref: '#/components/schemas/CatalogMCPVersionVersion' tools: type: array items: $ref: '#/components/schemas/CatalogMCPTool' default: null nullable: true x-speakeasy-param-computed: false resources: type: array items: $ref: '#/components/schemas/CatalogMCPResource' default: null nullable: true x-speakeasy-param-computed: false prompts: type: array items: $ref: '#/components/schemas/CatalogMCPPrompt' default: null nullable: true x-speakeasy-param-computed: false remotes: type: array items: $ref: '#/components/schemas/MCPRemoteTransport' default: null nullable: true x-speakeasy-param-computed: false packages: type: array items: $ref: '#/components/schemas/MCPPackage' default: null nullable: true x-speakeasy-param-computed: false created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - version - tools - resources - prompts - remotes - packages - created_at - updated_at CreateCatalogMCPVersion: description: Schema to create an MCP version. type: object properties: version: $ref: '#/components/schemas/CatalogMCPVersionVersion' tools: type: array items: $ref: '#/components/schemas/CatalogMCPTool' default: null nullable: true x-speakeasy-param-computed: false resources: type: array items: $ref: '#/components/schemas/CatalogMCPResource' default: null nullable: true x-speakeasy-param-computed: false prompts: type: array items: $ref: '#/components/schemas/CatalogMCPPrompt' default: null nullable: true x-speakeasy-param-computed: false remotes: type: array items: $ref: '#/components/schemas/MCPRemoteTransport' default: null nullable: true x-speakeasy-param-computed: false packages: type: array items: $ref: '#/components/schemas/MCPPackage' default: null nullable: true x-speakeasy-param-computed: false required: - version - tools - resources - prompts - remotes - packages ReplaceCatalogMCPVersion: allOf: - $ref: '#/components/schemas/CreateCatalogMCPVersion' BaseCatalogMCPImplementation: description: Base schema for MCP implementations. type: object properties: id: description: The unique identifier of the implementation (link) record. type: string format: uuid example: d2e1f0a9-8b7c-6d5e-4f3a-2b1c0d9e8f7a created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - id - created_at - updated_at CatalogMCPGatewayImplementationConfig: description: Configuration for an MCP implementation linked to an AI Gateway MCP Server. type: object properties: gateway_control_plane_id: description: The AI Gateway control plane the linked model belongs to. type: string format: uuid example: 223e4567-e89b-12d3-a456-426614174999 x-speakeasy-name-override: ai_gateway_id gateway_mcp_server_id: description: The identifier of the linked AI Gateway MCP server. type: string example: 79087145-0159-4811-9042-6a9365f234bc x-speakeasy-name-override: ai_gateway_mcp_server_id additionalProperties: false required: - gateway_control_plane_id - gateway_mcp_server_id CatalogMCPGatewayImplementationBlock: description: | Schema to describe the type and configuration typing for an MCP implementation linked to an AI Gateway MCP Server. type: object properties: type: type: string const: ai-gateway config: $ref: '#/components/schemas/CatalogMCPGatewayImplementationConfig' additionalProperties: false required: - type - config CatalogMCPImplementation: description: An MCP implementation resource. type: object oneOf: - $ref: '#/components/schemas/CatalogMCPGatewayImplementation' CatalogMCPGatewayImplementation: description: An MCP implementation resource linked to an AI Gateway MCP Server. type: object additionalProperties: false allOf: - $ref: '#/components/schemas/BaseCatalogMCPImplementation' - type: object required: - implementation properties: implementation: $ref: '#/components/schemas/CatalogMCPGatewayImplementationBlock' x-speakeasy-name-override: AIGatewayMCPCatalog CreateCatalogMCPImplementation: description: Request body for creating an MCP implementation. type: object oneOf: - $ref: '#/components/schemas/CreateCatalogMCPGatewayImplementation' CreateCatalogMCPGatewayImplementation: description: Request body for creating an MCP implementation linked to an AI Gateway MCP Server. type: object properties: implementation: $ref: '#/components/schemas/CatalogMCPGatewayImplementationBlock' additionalProperties: false required: - implementation x-speakeasy-name-override: AIGatewayMCPCatalog MCPInput: type: object properties: description: description: A description of the input. type: string x-speakeasy-param-computed: false is_required: type: boolean default: false x-speakeasy-param-computed: false format: description: Specifies the input format. type: string default: string enum: - string - number - boolean - filepath x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow value: description: The value for the input. type: string x-speakeasy-param-computed: false is_secret: description: Indicates whether the input is a secret value. type: boolean default: false x-speakeasy-param-computed: false default: description: The default value for the input. type: string x-speakeasy-param-computed: false placeholder: description: A placeholder for the input to be displayed during configuration. type: string x-speakeasy-param-computed: false choices: description: A list of possible values for the input. type: array items: type: string example: [] nullable: false x-speakeasy-param-computed: true title: MCPInput MCPInputWithVariables: allOf: - $ref: '#/components/schemas/MCPInput' - type: object properties: variables: description: A map of variable names to their values. type: object default: null additionalProperties: $ref: '#/components/schemas/MCPInput' nullable: true x-speakeasy-param-computed: false title: MCPInputWithVariables MCPKeyValueInput: allOf: - $ref: '#/components/schemas/MCPInputWithVariables' - type: object required: - name properties: name: description: Name of the header or environment variable. type: string example: SOME_VARIABLE title: MCPKeyValueInput MCPStreamableHttpTransport: type: object properties: type: description: Transport type type: string example: streamable-http const: streamable-http url: description: URL template for the streamable-http transport. type: string example: 'https://api.example.com/mcp' pattern: '^https?://[^\s]+$' headers: description: HTTP headers to include type: array items: $ref: '#/components/schemas/MCPKeyValueInput' default: null nullable: true x-speakeasy-param-computed: false example: type: streamable-http url: 'https://api.example.com/mcp' required: - type - url title: MCPStreamableHttpTransport x-speakeasy-name-override: StreamableHttpTransport MCPSseTransport: type: object properties: type: description: Transport type type: string example: sse const: sse url: description: Server-Sent Events endpoint URL template. type: string example: 'https://mcp-fs.example.com/sse' pattern: '^https?://[^\s]+$' headers: description: HTTP headers to include type: array items: $ref: '#/components/schemas/MCPKeyValueInput' default: null nullable: true x-speakeasy-param-computed: false example: type: sse url: 'https://mcp-fs.example.com/sse' required: - type - url title: MCPSseTransport x-speakeasy-name-override: SseTransport MCPRemoteTransport: description: Transport protocol configuration for remote context allOf: - anyOf: - $ref: '#/components/schemas/MCPStreamableHttpTransport' - $ref: '#/components/schemas/MCPSseTransport' - type: object properties: variables: description: 'Configuration variables that can be referenced in URL template {curly_braces}.' type: object default: null additionalProperties: $ref: '#/components/schemas/MCPInput' nullable: true x-speakeasy-param-computed: false title: MCPRemoteTransport MCPStdioTransport: type: object properties: type: description: Transport type type: string example: stdio const: stdio example: type: stdio required: - type title: MCPStdioTransport x-speakeasy-name-override: StdioTransport MCPTransport: description: Transport protocol configuration for local/package context anyOf: - $ref: '#/components/schemas/MCPStdioTransport' - $ref: '#/components/schemas/MCPStreamableHttpTransport' - $ref: '#/components/schemas/MCPSseTransport' title: MCPTransport MCPPositionalArgument: description: A positional input is a value inserted verbatim into the command line. example: type: positional value_hint: file_path allOf: - $ref: '#/components/schemas/MCPInputWithVariables' - type: object required: - type properties: type: type: string example: positional const: positional value_hint: description: An identifier for the positional argument. type: string example: file_path x-speakeasy-param-computed: false is_repeated: description: Whether the argument can be repeated multiple times. type: boolean default: false - anyOf: - type: object required: - value_hint title: ValueHint - type: object required: - value title: Value title: MCPPositionalArgument x-speakeasy-name-override: PositionalArgument MCPNamedArgument: description: 'A command-line `--flag={value}`.' example: type: named name: '--port' allOf: - $ref: '#/components/schemas/MCPInputWithVariables' - type: object required: - type - name properties: type: type: string example: named const: named name: description: 'The flag name, including any leading dashes.' type: string example: '--port' is_repeated: description: Whether the argument can be repeated multiple times. type: boolean default: false title: MCPNamedArgument x-speakeasy-name-override: NamedArgument MCPArgument: anyOf: - $ref: '#/components/schemas/MCPPositionalArgument' - $ref: '#/components/schemas/MCPNamedArgument' title: MCPArgument MCPPackage: type: object properties: registry: description: Package registry details type: object properties: type: description: 'Registry type indicating how to download packages (e.g., ''npm'', ''pypi'', ''oci'', ''nuget'', ''mcpb'')' type: string example: npm base_url: description: Base URL of the package registry type: string format: uri example: 'https://registry.npmjs.org' default: null nullable: true x-speakeasy-param-computed: false required: - type identifier: description: Package identifier — either a package name or URL type: string example: '@modelcontextprotocol/server-brave-search' version: description: Package version. Must be a specific version. type: string example: 1.0.2 default: null minLength: 1 nullable: true x-speakeasy-param-computed: false file_sha256: description: SHA-256 hash of the package file for integrity verification. type: string example: fe333e598595000ae021bd27117db32ec69af6987f507ba7a63c90638ff633ce default: null nullable: true pattern: '^[a-f0-9]{64}$' x-speakeasy-param-computed: false transport: allOf: - $ref: '#/components/schemas/MCPTransport' - description: Transport protocol configuration for the package runtime: description: Runtime configuration for executing the package type: object properties: hint: description: A hint to help clients determine the appropriate runtime for the package. type: string example: npx x-speakeasy-param-computed: false arguments: description: A list of arguments to be passed to the package's runtime command. type: array items: $ref: '#/components/schemas/MCPArgument' x-speakeasy-param-computed: false x-speakeasy-param-computed: false package_arguments: description: A list of arguments to be passed to the package's binary. type: array items: $ref: '#/components/schemas/MCPArgument' default: null nullable: true x-speakeasy-param-computed: false environment_variables: description: Environment variables to be set when running the package. type: array items: $ref: '#/components/schemas/MCPKeyValueInput' default: null nullable: true x-speakeasy-param-computed: false required: - registry - identifier - transport title: MCPPackage AIGatewayEntityIdentifier: description: 'Identifier for an AI Gateway entity. In some cases, this may be the entity name or ID.' type: string example: my-entity-name maxLength: 256 minLength: 1 pattern: '^[A-Za-z0-9._:@-]{1,256}$' AIGatewayKonnectManagedEntityFlag: description: An immutable read-only flag to identify resource managed by Konnect services. type: boolean example: true readOnly: true x-speakeasy-param-suppress-computed-diff: true AIGatewayVaultName: description: An immutable user-defined identifier for this resource. type: string example: my-awesome-vault maxLength: 255 minLength: 2 pattern: '^[a-z][a-z0-9-]*[a-z0-9]+$' AIGatewayConfigStoreName: description: An immutable user-defined identifier for this resource. type: string example: my-config-store maxLength: 255 minLength: 2 pattern: '^[a-z][a-z0-9-]*[a-z0-9]+$' AIGatewayDatastoreName: description: An immutable user-defined identifier for this resource. type: string example: shared-redis maxLength: 255 minLength: 2 pattern: '^[a-z][a-z0-9-]*[a-z0-9]+$' AIGatewayDatastoreRef: description: A reference to an existing datastore type: object properties: name: $ref: '#/components/schemas/AIGatewayDatastoreName' additionalProperties: false required: - name AIGatewayModelDatastoreRef: description: 'A reference to an existing datastore, and the model feature that uses it.' type: object properties: name: $ref: '#/components/schemas/AIGatewayDatastoreName' purpose: description: | The model feature that uses the datastore. `semantic-balancer` supplies the connection of the model vector store. type: string default: semantic-balancer enum: - semantic-balancer additionalProperties: false required: - name AIGatewayProxyURL: description: Proxy URL associated with reaching the data-planes connected to a control-plane. type: object properties: host: description: Hostname of the proxy URL. type: string minLength: 1 port: description: Port of the proxy URL. type: integer protocol: description: Protocol of the proxy URL. type: string minLength: 1 example: host: example.com port: 443 protocol: https additionalProperties: false required: - host - port - protocol AIGatewayMinRuntimeVersion: description: | The minimum AI Gateway runtime version supported by this AI Gateway. This is the lowest data plane version that may receive configuration from it, and it controls which features the API accepts. Data planes older than this version still connect for topology visibility. When not specified, the latest generally available runtime version is used. When runtime_auto_upgrade is enabled (the default), this value is raised automatically to track the minimum runtime version reported across connected data planes, so any value set here may be superseded as the fleet upgrades. type: string example: '2.0' pattern: ^\d+\.\d+$ AIGatewayMinRuntimeVersionUpdate: description: | The minimum AI Gateway runtime version supported by this AI Gateway. This is the lowest data plane version that may receive configuration from it, and it controls which features the API accepts. It may be lowered only when no configuration already stored uses a feature that requires a runtime version above the requested one. Otherwise the request is rejected, naming the entities and fields that stand in the way so that they can be removed or downgraded first. When not specified, the minimum runtime version is left unchanged. When runtime_auto_upgrade is enabled (the default), this value is raised automatically to track the minimum runtime version reported across connected data planes, so any value set here may be superseded as the fleet upgrades. type: string example: '2.0' pattern: ^\d+\.\d+$ AIGatewayRuntimeAutoUpgrade: description: Whether the control plane should automatically raise min_runtime_version to match the DP fleet's minimum runtime version (the lowest AI Gateway runtime version reported across all connected data planes) as that value increases. type: boolean default: true CreateAIGatewayRequest: type: object properties: deployment_type: description: How this AI Gateway's control plane is deployed. Set at creation time and cannot be changed afterward. type: string example: hybrid default: hybrid enum: - hybrid - managed - serverless x-speakeasy-unknown-values: allow min_runtime_version: $ref: '#/components/schemas/AIGatewayMinRuntimeVersion' runtime_auto_upgrade: $ref: '#/components/schemas/AIGatewayRuntimeAutoUpgrade' display_name: description: The display name for this AI Gateway. type: string example: My AI Gateway maxLength: 256 minLength: 1 name: description: The name for this AI Gateway. This value is immutable after creation. type: string example: my-ai-gateway maxLength: 256 minLength: 1 pattern: '^[0-9a-z-]+$' description: description: The description of the AI Gateway. type: string example: An AI Gateway for my organization. maxLength: 1024 x-speakeasy-param-computed: false proxy_urls: description: Array of proxy URLs associated with reaching the data-planes connected to a control-plane. type: array items: $ref: '#/components/schemas/AIGatewayProxyURL' format: set nullable: false labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - display_name - name UpdateAIGatewayRequest: type: object properties: min_runtime_version: $ref: '#/components/schemas/AIGatewayMinRuntimeVersionUpdate' runtime_auto_upgrade: $ref: '#/components/schemas/AIGatewayRuntimeAutoUpgrade' display_name: description: The display name for this AI Gateway. type: string example: My AI Gateway maxLength: 256 minLength: 1 name: description: The name for this AI Gateway. This value is immutable after creation. type: string example: my-ai-gateway maxLength: 256 minLength: 1 pattern: '^[0-9a-z-]+$' description: description: The description of the AI Gateway. type: string example: An AI Gateway for my organization. maxLength: 1024 x-speakeasy-param-computed: false proxy_urls: description: Array of proxy URLs associated with reaching the data-planes connected to a control-plane. type: array items: $ref: '#/components/schemas/AIGatewayProxyURL' format: set nullable: false labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - display_name - name AIGateway: type: object properties: display_name: description: The display name for this AI Gateway. type: string example: My AI Gateway maxLength: 256 minLength: 1 name: description: The name for this AI Gateway. This value is immutable after creation. type: string example: my-ai-gateway maxLength: 256 minLength: 1 pattern: '^[0-9a-z-]+$' description: description: The description of the AI Gateway. type: string example: An AI Gateway for my organization. maxLength: 1024 x-speakeasy-param-computed: false proxy_urls: description: Array of proxy URLs associated with reaching the data-planes connected to a control-plane. type: array items: $ref: '#/components/schemas/AIGatewayProxyURL' format: set nullable: false labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' id: $ref: '#/components/schemas/UUID' min_runtime_version: $ref: '#/components/schemas/AIGatewayMinRuntimeVersion' runtime_auto_upgrade: $ref: '#/components/schemas/AIGatewayRuntimeAutoUpgrade' deployment_type: description: How this AI Gateway's control plane is deployed. type: string example: hybrid enum: - hybrid - managed - serverless readOnly: true x-speakeasy-param-suppress-computed-diff: true x-speakeasy-unknown-values: allow endpoints: description: Object containing AI Gateway access endpoints. type: object additionalProperties: false properties: configuration: description: Configuration Endpoint. type: string format: url example: 'https://acfe5f253f.cp.konghq.com' readOnly: true x-speakeasy-param-suppress-computed-diff: true telemetry: description: Telemetry Endpoint. type: string format: url example: 'https://acfe5f253f.tp0.konghq.com' readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - configuration - telemetry config_version: description: | The version identification of the latest configuration of the gateway. Any change to an entity under this gateway can result in a new version. The config_version is generated in the control plane and used to verify if an AI Gateway node configuration is up to date. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' konnect_managed: $ref: '#/components/schemas/AIGatewayKonnectManagedEntityFlag' required: - display_name - name - id - endpoints - created_at - updated_at - deployment_type CreateAIGatewayCACertificateRequest: description: A CA certificate represents a trusted CA. These objects are used to verify the validity of a client or server certificate. type: object properties: name: description: 'A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.' example: my-root-ca allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' cert: description: PEM-encoded public certificate of the CA. type: string example: | -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- minLength: 1 x-referenceable: true cert_digest: description: SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller. type: string nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - name - cert UpdateAIGatewayCACertificateRequest: description: A CA certificate represents a trusted CA. These objects are used to verify the validity of a client or server certificate. type: object properties: name: description: 'A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.' example: my-root-ca allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' cert: description: PEM-encoded public certificate of the CA. type: string example: | -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- minLength: 1 x-referenceable: true cert_digest: description: SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller. type: string nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - name - cert AIGatewayCACertificate: description: A CA certificate represents a trusted CA. These objects are used to verify the validity of a client or server certificate. type: object properties: name: description: 'A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.' example: my-root-ca allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' cert: description: PEM-encoded public certificate of the CA. type: string example: | -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- minLength: 1 x-referenceable: true cert_digest: description: SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller. type: string nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' konnect_managed: $ref: '#/components/schemas/AIGatewayKonnectManagedEntityFlag' additionalProperties: false required: - name - cert - id - created_at - updated_at CreateAIGatewayCertificateRequest: description: 'A certificate holds a PEM-encoded certificate and its matching private key, used to terminate or originate TLS connections.' type: object properties: name: description: 'A user-defined unique identifier for this certificate, used as a stable human-readable reference. This value is immutable after creation.' example: my-tls-cert allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' cert: description: PEM-encoded public certificate chain. type: string example: | -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- minLength: 1 x-referenceable: true key: description: PEM-encoded private key matching `cert`. type: string example: | -----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY----- minLength: 1 writeOnly: true x-referenceable: true cert_alt: description: 'PEM-encoded public certificate chain of the alternative certificate. It must use a different key algorithm than `cert`, and requires `key_alt` to be set.' type: string example: | -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false key_alt: description: PEM-encoded private key matching `cert_alt`. Requires `cert_alt` to be set. type: string example: | -----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY----- default: null nullable: true writeOnly: true x-referenceable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - name - cert - key UpdateAIGatewayCertificateRequest: description: 'A certificate holds a PEM-encoded certificate and its matching private key, used to terminate or originate TLS connections.' type: object properties: name: description: 'A user-defined unique identifier for this certificate, used as a stable human-readable reference. This value is immutable after creation.' example: my-tls-cert allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' cert: description: PEM-encoded public certificate chain. type: string example: | -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- minLength: 1 x-referenceable: true key: description: PEM-encoded private key matching `cert`. type: string example: | -----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY----- minLength: 1 writeOnly: true x-referenceable: true cert_alt: description: 'PEM-encoded public certificate chain of the alternative certificate. It must use a different key algorithm than `cert`, and requires `key_alt` to be set.' type: string example: | -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false key_alt: description: PEM-encoded private key matching `cert_alt`. Requires `cert_alt` to be set. type: string example: | -----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY----- default: null nullable: true writeOnly: true x-referenceable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - name - cert - key AIGatewayCertificate: description: 'A certificate holds a PEM-encoded certificate and its matching private key, used to terminate or originate TLS connections.' type: object properties: name: description: 'A user-defined unique identifier for this certificate, used as a stable human-readable reference. This value is immutable after creation.' example: my-tls-cert allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' cert: description: PEM-encoded public certificate chain. type: string example: | -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- minLength: 1 x-referenceable: true key: description: PEM-encoded private key matching `cert`. type: string example: | -----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY----- minLength: 1 writeOnly: true x-referenceable: true cert_alt: description: 'PEM-encoded public certificate chain of the alternative certificate. It must use a different key algorithm than `cert`, and requires `key_alt` to be set.' type: string example: | -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false key_alt: description: PEM-encoded private key matching `cert_alt`. Requires `cert_alt` to be set. type: string example: | -----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY----- default: null nullable: true writeOnly: true x-referenceable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' konnect_managed: $ref: '#/components/schemas/AIGatewayKonnectManagedEntityFlag' additionalProperties: false required: - name - cert - key - id - created_at - updated_at AIGatewaySNICertificateReference: description: 'A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.' type: string example: my-certificate minLength: 1 AIGatewayCertificateReference: description: 'A reference to an AI Certificate on the same AI Gateway, by certificate name. The certificate must have a valid private key to be presented as a client certificate to an upstream.' type: string example: my-certificate AIGatewayCACertificateReference: description: 'A reference to an AI CA Certificate on the same AI Gateway, by CA certificate name.' type: string example: my-ca-certificate AIGatewayHostname: description: A hostname used for TLS Server Name Indication (SNI) matching. Supports an optional wildcard segment at either end of the hostname (for example `*.example.com` or `example.*`). type: string example: example.org CreateAIGatewaySNIRequest: description: 'An SNI represents a many-to-one mapping of hostnames to a certificate. A certificate can have many hostnames associated with it; when the AI Gateway receives an SSL request, it uses the SNI field in the Client Hello to look up the certificate associated with the SNI.' type: object properties: name: description: The name for this SNI. This value is immutable after creation. type: string example: my-sni maxLength: 256 minLength: 1 pattern: '^[0-9a-z-]+$' display_name: description: The display name for this SNI. type: string example: My SNI maxLength: 256 minLength: 1 hostname: $ref: '#/components/schemas/AIGatewayHostname' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' certificate: $ref: '#/components/schemas/AIGatewaySNICertificateReference' additionalProperties: false required: - name - display_name - hostname - certificate UpdateAIGatewaySNIRequest: description: 'An SNI represents a many-to-one mapping of hostnames to a certificate. A certificate can have many hostnames associated with it; when the AI Gateway receives an SSL request, it uses the SNI field in the Client Hello to look up the certificate associated with the SNI.' type: object properties: name: description: The name for this SNI. This value is immutable after creation. type: string example: my-sni maxLength: 256 minLength: 1 pattern: '^[0-9a-z-]+$' display_name: description: The display name for this SNI. type: string example: My SNI maxLength: 256 minLength: 1 hostname: $ref: '#/components/schemas/AIGatewayHostname' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' certificate: $ref: '#/components/schemas/AIGatewaySNICertificateReference' additionalProperties: false required: - name - display_name - hostname - certificate AIGatewaySNI: description: 'An SNI represents a many-to-one mapping of hostnames to a certificate. A certificate can have many hostnames associated with it; when the AI Gateway receives an SSL request, it uses the SNI field in the Client Hello to look up the certificate associated with the SNI.' type: object properties: name: description: The name for this SNI. This value is immutable after creation. type: string example: my-sni maxLength: 256 minLength: 1 pattern: '^[0-9a-z-]+$' display_name: description: The display name for this SNI. type: string example: My SNI maxLength: 256 minLength: 1 hostname: $ref: '#/components/schemas/AIGatewayHostname' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' certificate: $ref: '#/components/schemas/AIGatewaySNICertificateReference' id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' konnect_managed: $ref: '#/components/schemas/AIGatewayKonnectManagedEntityFlag' additionalProperties: false required: - name - display_name - hostname - certificate - id - created_at - updated_at CreateAIGatewayDataPlaneCertificateRequest: type: object properties: cert: description: JSON escaped string of the certificate. type: string minLength: 1 title: description: A human-readable name for the certificate. type: string maxLength: 256 minLength: 1 description: description: An optional description of the certificate. type: string maxLength: 1024 nullable: false labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - cert - title AIGatewayDataPlaneClientCertificate: type: object properties: cert: description: JSON escaped string of the certificate. type: string minLength: 1 title: description: A human-readable name for the certificate. type: string maxLength: 256 minLength: 1 description: description: An optional description of the certificate. type: string maxLength: 1024 nullable: false labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' konnect_managed: $ref: '#/components/schemas/AIGatewayKonnectManagedEntityFlag' metadata: description: Metadata extracted from the certificate. type: object additionalProperties: false properties: subject: description: The certificate subject. type: string issuer: description: The certificate issuer. type: string san_names: description: Subject alternative names (deprecated). type: array items: type: string deprecated: true expiry: description: Unix timestamp of certificate expiry. type: integer format: int64 key_usages: description: Key usage types for the certificate. type: array items: type: string snis: description: Server Name Indications associated with the certificate. type: array items: type: string dns_names: description: DNS subject alternative names. type: array items: type: string email_addresses: description: Email subject alternative names. type: array items: type: string ip_addresses: description: IP subject alternative names. type: array items: type: string uris: description: URI subject alternative names. type: array items: type: string is_ca: description: Whether the certificate is a CA certificate. type: boolean readOnly: true x-speakeasy-param-suppress-computed-diff: true additionalProperties: false required: - cert - title - id - created_at - updated_at AIGatewayModelModel: description: Configuration for proxying synchronous requests/responses to/from an AI Gateway model using generative APIs. type: object properties: display_name: description: The display name for this model instance. type: string example: My GPT 5 model maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.' example: my-gpt-5-model allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' enabled: description: Whether the model is enabled. type: boolean example: true default: true access: $ref: '#/components/schemas/AIGatewayModelAccess' formats: description: List of request/response formats supported by this model. type: array items: $ref: '#/components/schemas/AIGatewayModelFormat' default: - type: '*' minItems: 1 targets: description: One or more backend models that this model entry routes to. type: array items: $ref: '#/components/schemas/AIGatewayTarget' minItems: 1 policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: description: 'The Datastores this model references, with the feature that uses each one.' type: array items: $ref: '#/components/schemas/AIGatewayModelDatastoreRef' example: - name: kong-managed purpose: semantic-balancer x-speakeasy-param-computed: true type: type: string const: model config: $ref: '#/components/schemas/AIGatewayModelModelConfig' capabilities: description: | The capabilities this model supports. Set to a specific capability to restrict the model to that capability only, or to `*` to allow all capabilities that the targets support at the gateway's min_runtime_version. A capability that needs a newer min_runtime_version is left out of `*`. type: array items: type: string enum: - '*' - generate - agentic - realtime - embeddings - image - audio/speech - audio/transcription - audio/translation - video - rerank - decisions x-enum-min-runtime-version: decisions: '2.2' description: '**`decisions` requires a minimum runtime version of `2.2`**.' x-speakeasy-unknown-values: allow default: - '*' required: - display_name - name - formats - targets - type - config - capabilities AIGatewayModelAPI: description: 'Configuration for proxying asynchronous requests/responses to/from an AI Gateway model using the files, batches, and skills APIs.' type: object properties: display_name: description: The display name for this model instance. type: string example: My GPT 5 model maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.' example: my-gpt-5-model allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' enabled: description: Whether the model is enabled. type: boolean example: true default: true access: $ref: '#/components/schemas/AIGatewayModelAccess' formats: description: List of request/response formats supported by this model. type: array items: $ref: '#/components/schemas/AIGatewayModelFormat' default: - type: '*' minItems: 1 targets: description: One or more backend models that this model entry routes to. type: array items: $ref: '#/components/schemas/AIGatewayTarget' minItems: 1 policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: description: 'The Datastores this model references, with the feature that uses each one.' type: array items: $ref: '#/components/schemas/AIGatewayModelDatastoreRef' example: - name: kong-managed purpose: semantic-balancer x-speakeasy-param-computed: true type: type: string const: api config: $ref: '#/components/schemas/AIGatewayModelAPIConfig' capabilities: description: | The capabilities this model supports. Set to a specific capability to restrict the model to that capability only, or to `*` to allow all capabilities that the targets support at the gateway's min_runtime_version. A capability that needs a newer min_runtime_version is left out of `*`. type: array items: type: string enum: - '*' - batches - files - skills x-enum-min-runtime-version: skills: '2.2' description: '**`skills` requires a minimum runtime version of `2.2`**.' x-speakeasy-unknown-values: allow default: - '*' required: - display_name - name - formats - targets - type - config - capabilities CreateAIGatewayModelRequest: description: Configuration for an AI Gateway model. discriminator: propertyName: type mapping: api: '#/components/schemas/AIGatewayModelAPI' model: '#/components/schemas/AIGatewayModelModel' oneOf: - $ref: '#/components/schemas/AIGatewayModelAPI' - $ref: '#/components/schemas/AIGatewayModelModel' UpdateAIGatewayModelRequest: description: Configuration for an AI Gateway model. discriminator: propertyName: type mapping: api: '#/components/schemas/AIGatewayModelAPI' model: '#/components/schemas/AIGatewayModelModel' oneOf: - $ref: '#/components/schemas/AIGatewayModelAPI' - $ref: '#/components/schemas/AIGatewayModelModel' AIGatewayModel: description: Configuration for an AI Gateway model. type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' discriminator: propertyName: type mapping: api: '#/components/schemas/AIGatewayModelAPI' model: '#/components/schemas/AIGatewayModelModel' oneOf: - $ref: '#/components/schemas/AIGatewayModelAPI' - $ref: '#/components/schemas/AIGatewayModelModel' required: - id - created_at - updated_at AIGatewayModelModelConfig: description: 'Routing, logging, and load balancing configuration for the model.' type: object properties: route: $ref: '#/components/schemas/AIGatewayModelRouteConfig' logging: $ref: '#/components/schemas/AIGatewayLoggingConfig' response_streaming: type: string default: allow enum: - allow - always - deny x-speakeasy-unknown-values: allow max_request_body_size: description: | The maximum size, in bytes, of a request body that the gateway reads and sends to the model. A request with a larger body fails. Set to 0 for no limit. If you do not set a value, the gateway uses the request size limit that the model's providers publish, with defaults to 8 MB. If the targets use more than one provider, the gateway uses the highest of these limits. type: integer minimum: 0 x-speakeasy-param-computed: true model: type: object default: name_header: true additionalProperties: false properties: name_header: description: Display the model name selected in the X-Kong-LLM-Model response header type: boolean default: true balancer: $ref: '#/components/schemas/AIGatewayModelBalancerConfig' proxy: $ref: '#/components/schemas/AIGatewayProxyConfig' additionalProperties: false required: - route AIGatewayModelAPIConfig: description: 'Routing, logging, and load balancing configuration for the model.' type: object properties: route: $ref: '#/components/schemas/AIGatewayModelRouteConfig' logging: $ref: '#/components/schemas/AIGatewayLoggingConfig' response_streaming: type: string default: allow enum: - allow - always - deny x-speakeasy-unknown-values: allow max_request_body_size: description: | The maximum size, in bytes, of a request body that the gateway reads and sends to the model. A request with a larger body fails. Set to 0 for no limit. If you do not set a value, the gateway uses the request size limit that the model's providers publish, with defaults to 8 MB. If the targets use more than one provider, the gateway uses the highest of these limits. type: integer minimum: 0 x-speakeasy-param-computed: true balancer: $ref: '#/components/schemas/AIGatewayModelBalancerConfig' proxy: $ref: '#/components/schemas/AIGatewayProxyConfig' additionalProperties: false required: - route AIGatewayModelRouteConfig: description: Configuration for an AI Gateway route. type: object properties: headers: description: 'One or more lists of values indexed by header name that will cause this route to match if present in the request. The `Host` header cannot be used with this attribute: hosts should be specified using the `hosts` attribute. When `headers` contains only one value and that value starts with the special prefix `~*`, the value is interpreted as a regular expression.' type: object example: version: - v1 - v2 additionalProperties: true x-speakeasy-param-computed: true hosts: description: A list of domain names that match this route. Note that the hosts value is case sensitive. type: array items: type: string example: foo.example.com x-speakeasy-param-computed: true https_redirect_status_code: description: 'The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is `HTTP` instead of `HTTPS`. `Location` header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the `https` protocol.' type: integer default: 426 maximum: 599 minimum: 100 methods: description: A list of HTTP methods that match this route. type: array items: type: string x-speakeasy-param-computed: true paths: description: A list of paths that match this route. type: array items: type: string x-speakeasy-param-computed: true preserve_host: description: 'When matching a route via one of the `hosts` domain names, use the request `Host` header in the upstream request headers. If set to `false`, the upstream `Host` header will be that of the service''s `host`.' type: boolean default: false protocols: description: 'An array of the protocols this route should allow. See the [route Object](#route-object) section for a list of accepted protocols. When set to only `https`, HTTP requests are answered with an upgrade error. When set to only `http`, HTTPS requests are answered with an error.' type: array items: type: string default: - http - https regex_priority: description: 'A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same `regex_priority`, the older one (lowest `created_at`) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones).' type: integer default: 0 maximum: 2147483647 minimum: -2147483648 request_buffering: description: 'Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding.' type: boolean default: true response_buffering: description: 'Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding.' type: boolean default: true strip_path: description: 'When matching a route via one of the `paths`, strip the matching prefix from the upstream request URL.' type: boolean default: true tags: description: An optional set of strings associated with the route for grouping and filtering. type: array items: type: string x-speakeasy-param-computed: true model: $ref: '#/components/schemas/AIGatewayModelSelectorConfig' additionalProperties: false AIGatewayModelSelectorConfig: description: | Configuration for overriding routing to this model using a selector. When no selector location is set, the format default selector is used. When values are not set, the model name is used as the selector value. type: object properties: body_param: description: The body property name to match for routing. type: string example: model minLength: 1 x-speakeasy-param-computed: false header_param: description: The header property name to match for routing. type: string example: x-model minLength: 1 x-speakeasy-param-computed: false path_param: description: | The name of the regex capture group defined in the route path for routing. type: string example: model_name minLength: 1 x-speakeasy-param-computed: false values: description: | Optional model aliases. When omitted, the model name is used. When no selector location is configured, the format default selector is used. type: array items: type: string minLength: 1 minItems: 1 x-speakeasy-param-computed: true additionalProperties: false title: AIGatewayModelSelectorConfig AIGatewayModelBalancerConfig: description: Configuration for a model's load balancer when multiple target models are configured. discriminator: propertyName: algorithm mapping: consistent-hashing: '#/components/schemas/AIGatewayModelBalancerConsistentHashingConfig' least-connections: '#/components/schemas/AIGatewayModelBalancerLeastConnectionsConfig' lowest-latency: '#/components/schemas/AIGatewayModelBalancerLowestLatencyConfig' lowest-usage: '#/components/schemas/AIGatewayModelBalancerLowestUsageConfig' priority: '#/components/schemas/AIGatewayModelBalancerPriorityConfig' round-robin: '#/components/schemas/AIGatewayModelBalancerRoundRobinConfig' semantic: '#/components/schemas/AIGatewayModelBalancerSemanticConfig' oneOf: - $ref: '#/components/schemas/AIGatewayModelBalancerConsistentHashingConfig' - $ref: '#/components/schemas/AIGatewayModelBalancerLeastConnectionsConfig' - $ref: '#/components/schemas/AIGatewayModelBalancerLowestLatencyConfig' - $ref: '#/components/schemas/AIGatewayModelBalancerLowestUsageConfig' - $ref: '#/components/schemas/AIGatewayModelBalancerPriorityConfig' - $ref: '#/components/schemas/AIGatewayModelBalancerRoundRobinConfig' - $ref: '#/components/schemas/AIGatewayModelBalancerSemanticConfig' AIGatewayModelBalancerConsistentHashingConfig: type: object properties: connect_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 fail_timeout: description: The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches `max_fails`. type: integer default: 10000 maximum: 2147483646 minimum: 1 failover_criteria: description: 'Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream' type: array items: type: string enum: - error - http_400 - http_401 - http_402 - http_403 - http_404 - http_405 - http_408 - http_409 - http_413 - http_415 - http_422 - http_429 - http_500 - http_502 - http_503 - http_504 - http_522 - http_529 - http_5xx - invalid_header - non_idempotent - timeout x-enum-min-runtime-version: http_400: '2.3' http_401: '2.3' http_402: '2.3' http_405: '2.3' http_408: '2.3' http_409: '2.3' http_413: '2.3' http_415: '2.3' http_422: '2.3' http_522: '2.3' http_529: '2.3' http_5xx: '2.3' description: |- **`http_400` requires a minimum runtime version of `2.3`**. **`http_401` requires a minimum runtime version of `2.3`**. **`http_402` requires a minimum runtime version of `2.3`**. **`http_405` requires a minimum runtime version of `2.3`**. **`http_408` requires a minimum runtime version of `2.3`**. **`http_409` requires a minimum runtime version of `2.3`**. **`http_413` requires a minimum runtime version of `2.3`**. **`http_415` requires a minimum runtime version of `2.3`**. **`http_422` requires a minimum runtime version of `2.3`**. **`http_522` requires a minimum runtime version of `2.3`**. **`http_529` requires a minimum runtime version of `2.3`**. **`http_5xx` requires a minimum runtime version of `2.3`**. x-speakeasy-unknown-values: allow default: - error - timeout max_fails: description: 'Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by `fail_timeout` before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by `failover_criteria`. Note the cases of `error`, `timeout` and `invalid_header` are always considered unsuccessful attempts, while the cases of `http_403` and `http_404` are never considered unsuccessful attempts.' type: integer default: 0 maximum: 32767 minimum: 0 read_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 retries: description: The number of retries to execute upon failure to proxy. type: integer default: 5 maximum: 32767 minimum: 0 slots: description: The number of slots in the load balancer algorithm. type: integer default: 10000 maximum: 65536 minimum: 10 write_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 algorithm: type: string const: consistent-hashing hash_on_header: description: The header to use for consistent-hashing. type: string default: X-Kong-LLM-Request-ID additionalProperties: false required: - algorithm AIGatewayModelBalancerLeastConnectionsConfig: type: object properties: connect_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 fail_timeout: description: The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches `max_fails`. type: integer default: 10000 maximum: 2147483646 minimum: 1 failover_criteria: description: 'Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream' type: array items: type: string enum: - error - http_400 - http_401 - http_402 - http_403 - http_404 - http_405 - http_408 - http_409 - http_413 - http_415 - http_422 - http_429 - http_500 - http_502 - http_503 - http_504 - http_522 - http_529 - http_5xx - invalid_header - non_idempotent - timeout x-enum-min-runtime-version: http_400: '2.3' http_401: '2.3' http_402: '2.3' http_405: '2.3' http_408: '2.3' http_409: '2.3' http_413: '2.3' http_415: '2.3' http_422: '2.3' http_522: '2.3' http_529: '2.3' http_5xx: '2.3' description: |- **`http_400` requires a minimum runtime version of `2.3`**. **`http_401` requires a minimum runtime version of `2.3`**. **`http_402` requires a minimum runtime version of `2.3`**. **`http_405` requires a minimum runtime version of `2.3`**. **`http_408` requires a minimum runtime version of `2.3`**. **`http_409` requires a minimum runtime version of `2.3`**. **`http_413` requires a minimum runtime version of `2.3`**. **`http_415` requires a minimum runtime version of `2.3`**. **`http_422` requires a minimum runtime version of `2.3`**. **`http_522` requires a minimum runtime version of `2.3`**. **`http_529` requires a minimum runtime version of `2.3`**. **`http_5xx` requires a minimum runtime version of `2.3`**. x-speakeasy-unknown-values: allow default: - error - timeout max_fails: description: 'Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by `fail_timeout` before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by `failover_criteria`. Note the cases of `error`, `timeout` and `invalid_header` are always considered unsuccessful attempts, while the cases of `http_403` and `http_404` are never considered unsuccessful attempts.' type: integer default: 0 maximum: 32767 minimum: 0 read_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 retries: description: The number of retries to execute upon failure to proxy. type: integer default: 5 maximum: 32767 minimum: 0 slots: description: The number of slots in the load balancer algorithm. type: integer default: 10000 maximum: 65536 minimum: 10 write_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 algorithm: type: string const: least-connections additionalProperties: false required: - algorithm AIGatewayModelBalancerLowestLatencyConfig: type: object properties: connect_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 fail_timeout: description: The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches `max_fails`. type: integer default: 10000 maximum: 2147483646 minimum: 1 failover_criteria: description: 'Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream' type: array items: type: string enum: - error - http_400 - http_401 - http_402 - http_403 - http_404 - http_405 - http_408 - http_409 - http_413 - http_415 - http_422 - http_429 - http_500 - http_502 - http_503 - http_504 - http_522 - http_529 - http_5xx - invalid_header - non_idempotent - timeout x-enum-min-runtime-version: http_400: '2.3' http_401: '2.3' http_402: '2.3' http_405: '2.3' http_408: '2.3' http_409: '2.3' http_413: '2.3' http_415: '2.3' http_422: '2.3' http_522: '2.3' http_529: '2.3' http_5xx: '2.3' description: |- **`http_400` requires a minimum runtime version of `2.3`**. **`http_401` requires a minimum runtime version of `2.3`**. **`http_402` requires a minimum runtime version of `2.3`**. **`http_405` requires a minimum runtime version of `2.3`**. **`http_408` requires a minimum runtime version of `2.3`**. **`http_409` requires a minimum runtime version of `2.3`**. **`http_413` requires a minimum runtime version of `2.3`**. **`http_415` requires a minimum runtime version of `2.3`**. **`http_422` requires a minimum runtime version of `2.3`**. **`http_522` requires a minimum runtime version of `2.3`**. **`http_529` requires a minimum runtime version of `2.3`**. **`http_5xx` requires a minimum runtime version of `2.3`**. x-speakeasy-unknown-values: allow default: - error - timeout max_fails: description: 'Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by `fail_timeout` before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by `failover_criteria`. Note the cases of `error`, `timeout` and `invalid_header` are always considered unsuccessful attempts, while the cases of `http_403` and `http_404` are never considered unsuccessful attempts.' type: integer default: 0 maximum: 32767 minimum: 0 read_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 retries: description: The number of retries to execute upon failure to proxy. type: integer default: 5 maximum: 32767 minimum: 0 slots: description: The number of slots in the load balancer algorithm. type: integer default: 10000 maximum: 65536 minimum: 10 write_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 algorithm: type: string const: lowest-latency latency_strategy: description: 'What metrics to use for latency. Available values are: `tpot` (time-per-output-token) and `e2e`.' type: string default: tpot enum: - e2e - tpot x-speakeasy-unknown-values: allow additionalProperties: false required: - algorithm - latency_strategy AIGatewayModelBalancerLowestUsageConfig: type: object properties: connect_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 fail_timeout: description: The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches `max_fails`. type: integer default: 10000 maximum: 2147483646 minimum: 1 failover_criteria: description: 'Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream' type: array items: type: string enum: - error - http_400 - http_401 - http_402 - http_403 - http_404 - http_405 - http_408 - http_409 - http_413 - http_415 - http_422 - http_429 - http_500 - http_502 - http_503 - http_504 - http_522 - http_529 - http_5xx - invalid_header - non_idempotent - timeout x-enum-min-runtime-version: http_400: '2.3' http_401: '2.3' http_402: '2.3' http_405: '2.3' http_408: '2.3' http_409: '2.3' http_413: '2.3' http_415: '2.3' http_422: '2.3' http_522: '2.3' http_529: '2.3' http_5xx: '2.3' description: |- **`http_400` requires a minimum runtime version of `2.3`**. **`http_401` requires a minimum runtime version of `2.3`**. **`http_402` requires a minimum runtime version of `2.3`**. **`http_405` requires a minimum runtime version of `2.3`**. **`http_408` requires a minimum runtime version of `2.3`**. **`http_409` requires a minimum runtime version of `2.3`**. **`http_413` requires a minimum runtime version of `2.3`**. **`http_415` requires a minimum runtime version of `2.3`**. **`http_422` requires a minimum runtime version of `2.3`**. **`http_522` requires a minimum runtime version of `2.3`**. **`http_529` requires a minimum runtime version of `2.3`**. **`http_5xx` requires a minimum runtime version of `2.3`**. x-speakeasy-unknown-values: allow default: - error - timeout max_fails: description: 'Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by `fail_timeout` before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by `failover_criteria`. Note the cases of `error`, `timeout` and `invalid_header` are always considered unsuccessful attempts, while the cases of `http_403` and `http_404` are never considered unsuccessful attempts.' type: integer default: 0 maximum: 32767 minimum: 0 read_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 retries: description: The number of retries to execute upon failure to proxy. type: integer default: 5 maximum: 32767 minimum: 0 slots: description: The number of slots in the load balancer algorithm. type: integer default: 10000 maximum: 65536 minimum: 10 write_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 algorithm: type: string const: lowest-usage tokens_count_strategy: description: Methodology to use for token usage calculation. type: string default: total-tokens enum: - completion-tokens - cost - llm-accuracy - prompt-tokens - total-tokens x-speakeasy-unknown-values: allow additionalProperties: false required: - algorithm - tokens_count_strategy AIGatewayModelBalancerPriorityConfig: type: object properties: connect_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 fail_timeout: description: The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches `max_fails`. type: integer default: 10000 maximum: 2147483646 minimum: 1 failover_criteria: description: 'Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream' type: array items: type: string enum: - error - http_400 - http_401 - http_402 - http_403 - http_404 - http_405 - http_408 - http_409 - http_413 - http_415 - http_422 - http_429 - http_500 - http_502 - http_503 - http_504 - http_522 - http_529 - http_5xx - invalid_header - non_idempotent - timeout x-enum-min-runtime-version: http_400: '2.3' http_401: '2.3' http_402: '2.3' http_405: '2.3' http_408: '2.3' http_409: '2.3' http_413: '2.3' http_415: '2.3' http_422: '2.3' http_522: '2.3' http_529: '2.3' http_5xx: '2.3' description: |- **`http_400` requires a minimum runtime version of `2.3`**. **`http_401` requires a minimum runtime version of `2.3`**. **`http_402` requires a minimum runtime version of `2.3`**. **`http_405` requires a minimum runtime version of `2.3`**. **`http_408` requires a minimum runtime version of `2.3`**. **`http_409` requires a minimum runtime version of `2.3`**. **`http_413` requires a minimum runtime version of `2.3`**. **`http_415` requires a minimum runtime version of `2.3`**. **`http_422` requires a minimum runtime version of `2.3`**. **`http_522` requires a minimum runtime version of `2.3`**. **`http_529` requires a minimum runtime version of `2.3`**. **`http_5xx` requires a minimum runtime version of `2.3`**. x-speakeasy-unknown-values: allow default: - error - timeout max_fails: description: 'Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by `fail_timeout` before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by `failover_criteria`. Note the cases of `error`, `timeout` and `invalid_header` are always considered unsuccessful attempts, while the cases of `http_403` and `http_404` are never considered unsuccessful attempts.' type: integer default: 0 maximum: 32767 minimum: 0 read_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 retries: description: The number of retries to execute upon failure to proxy. type: integer default: 5 maximum: 32767 minimum: 0 slots: description: The number of slots in the load balancer algorithm. type: integer default: 10000 maximum: 65536 minimum: 10 write_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 algorithm: type: string const: priority additionalProperties: false required: - algorithm AIGatewayModelBalancerRoundRobinConfig: type: object properties: connect_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 fail_timeout: description: The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches `max_fails`. type: integer default: 10000 maximum: 2147483646 minimum: 1 failover_criteria: description: 'Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream' type: array items: type: string enum: - error - http_400 - http_401 - http_402 - http_403 - http_404 - http_405 - http_408 - http_409 - http_413 - http_415 - http_422 - http_429 - http_500 - http_502 - http_503 - http_504 - http_522 - http_529 - http_5xx - invalid_header - non_idempotent - timeout x-enum-min-runtime-version: http_400: '2.3' http_401: '2.3' http_402: '2.3' http_405: '2.3' http_408: '2.3' http_409: '2.3' http_413: '2.3' http_415: '2.3' http_422: '2.3' http_522: '2.3' http_529: '2.3' http_5xx: '2.3' description: |- **`http_400` requires a minimum runtime version of `2.3`**. **`http_401` requires a minimum runtime version of `2.3`**. **`http_402` requires a minimum runtime version of `2.3`**. **`http_405` requires a minimum runtime version of `2.3`**. **`http_408` requires a minimum runtime version of `2.3`**. **`http_409` requires a minimum runtime version of `2.3`**. **`http_413` requires a minimum runtime version of `2.3`**. **`http_415` requires a minimum runtime version of `2.3`**. **`http_422` requires a minimum runtime version of `2.3`**. **`http_522` requires a minimum runtime version of `2.3`**. **`http_529` requires a minimum runtime version of `2.3`**. **`http_5xx` requires a minimum runtime version of `2.3`**. x-speakeasy-unknown-values: allow default: - error - timeout max_fails: description: 'Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by `fail_timeout` before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by `failover_criteria`. Note the cases of `error`, `timeout` and `invalid_header` are always considered unsuccessful attempts, while the cases of `http_403` and `http_404` are never considered unsuccessful attempts.' type: integer default: 0 maximum: 32767 minimum: 0 read_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 retries: description: The number of retries to execute upon failure to proxy. type: integer default: 5 maximum: 32767 minimum: 0 slots: description: The number of slots in the load balancer algorithm. type: integer default: 10000 maximum: 65536 minimum: 10 write_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 algorithm: type: string const: round-robin additionalProperties: false required: - algorithm AIGatewayModelBalancerSemanticConfig: type: object properties: connect_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 fail_timeout: description: The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches `max_fails`. type: integer default: 10000 maximum: 2147483646 minimum: 1 failover_criteria: description: 'Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream' type: array items: type: string enum: - error - http_400 - http_401 - http_402 - http_403 - http_404 - http_405 - http_408 - http_409 - http_413 - http_415 - http_422 - http_429 - http_500 - http_502 - http_503 - http_504 - http_522 - http_529 - http_5xx - invalid_header - non_idempotent - timeout x-enum-min-runtime-version: http_400: '2.3' http_401: '2.3' http_402: '2.3' http_405: '2.3' http_408: '2.3' http_409: '2.3' http_413: '2.3' http_415: '2.3' http_422: '2.3' http_522: '2.3' http_529: '2.3' http_5xx: '2.3' description: |- **`http_400` requires a minimum runtime version of `2.3`**. **`http_401` requires a minimum runtime version of `2.3`**. **`http_402` requires a minimum runtime version of `2.3`**. **`http_405` requires a minimum runtime version of `2.3`**. **`http_408` requires a minimum runtime version of `2.3`**. **`http_409` requires a minimum runtime version of `2.3`**. **`http_413` requires a minimum runtime version of `2.3`**. **`http_415` requires a minimum runtime version of `2.3`**. **`http_422` requires a minimum runtime version of `2.3`**. **`http_522` requires a minimum runtime version of `2.3`**. **`http_529` requires a minimum runtime version of `2.3`**. **`http_5xx` requires a minimum runtime version of `2.3`**. x-speakeasy-unknown-values: allow default: - error - timeout max_fails: description: 'Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by `fail_timeout` before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by `failover_criteria`. Note the cases of `error`, `timeout` and `invalid_header` are always considered unsuccessful attempts, while the cases of `http_403` and `http_404` are never considered unsuccessful attempts.' type: integer default: 0 maximum: 32767 minimum: 0 read_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 retries: description: The number of retries to execute upon failure to proxy. type: integer default: 5 maximum: 32767 minimum: 0 slots: description: The number of slots in the load balancer algorithm. type: integer default: 10000 maximum: 65536 minimum: 10 write_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 algorithm: type: string const: semantic embeddings: description: Embeddings model configuration for this model. type: object additionalProperties: false properties: allow_auth_override: description: | When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. type: boolean default: false provider: $ref: '#/components/schemas/AIGatewayModelProviderReference' name: description: The name of the embeddings model. type: string minLength: 1 config: $ref: '#/components/schemas/AIGatewayEmbeddingsModelConfig' required: - name - provider - config vectordb: $ref: '#/components/schemas/AIGatewayModelVectorDBConfig' additionalProperties: false required: - algorithm - embeddings - vectordb AIGatewayEmbeddingsModelConfig: description: Configuration for an embeddings model. discriminator: propertyName: type mapping: azure: '#/components/schemas/AIGatewayAzureEmbeddingsModelConfig' bedrock: '#/components/schemas/AIGatewayBedrockEmbeddingsModelConfig' gemini: '#/components/schemas/AIGatewayGeminiEmbeddingsModelConfig' huggingface: '#/components/schemas/AIGatewayHuggingfaceEmbeddingsModelConfig' mistral: '#/components/schemas/AIGatewayMistralEmbeddingsModelConfig' ollama: '#/components/schemas/AIGatewayOllamaEmbeddingsModelConfig' openai: '#/components/schemas/AIGatewayOpenaiEmbeddingsModelConfig' oneOf: - $ref: '#/components/schemas/AIGatewayAzureEmbeddingsModelConfig' - $ref: '#/components/schemas/AIGatewayBedrockEmbeddingsModelConfig' - $ref: '#/components/schemas/AIGatewayGeminiEmbeddingsModelConfig' - $ref: '#/components/schemas/AIGatewayHuggingfaceEmbeddingsModelConfig' - $ref: '#/components/schemas/AIGatewayMistralEmbeddingsModelConfig' - $ref: '#/components/schemas/AIGatewayOllamaEmbeddingsModelConfig' - $ref: '#/components/schemas/AIGatewayOpenaiEmbeddingsModelConfig' AIGatewayAzureEmbeddingsModelConfig: description: |- Azure OpenAI-specific configuration for an embeddings model. Azure AI Foundry embeddings are not supported. type: object properties: upstream_url: description: The URL of the embeddings model. type: string x-speakeasy-param-computed: false type: type: string enum: - azure deployment_id: description: The Azure OpenAI deployment ID for the embeddings model. type: string minLength: 1 api_version: description: The Azure OpenAI API version to use. type: string default: '2023-05-15' additionalProperties: false required: - type - deployment_id title: AIGatewayAzureEmbeddingsModelConfig AIGatewayBedrockEmbeddingsModelConfig: description: AWS Bedrock-specific configuration for a model. type: object properties: upstream_url: description: The URL of the embeddings model. type: string x-speakeasy-param-computed: false type: type: string const: bedrock region: description: | The AWS region for the model. Setting this option overrides the AWS_REGION environment variable. type: string x-speakeasy-param-computed: false batch_bucket_prefix: description: S3 bucket prefix for batch inference jobs. type: string x-speakeasy-param-computed: false embeddings_normalize: description: Whether to normalize embedding vectors in the response. type: boolean default: false performance_config_latency: description: Latency performance configuration for the model invocation. type: string x-speakeasy-param-computed: false video_output_s3_uri: description: S3 URI for storing video generation outputs. type: string x-speakeasy-param-computed: false vpc_endpoint: description: |- Hostname of an AWS PrivateLink VPC endpoint to use instead of the public Bedrock endpoint. Ignored if `upstream_url` is set. **Requires a minimum runtime version of `2.3`**. type: string x-min-runtime-version: '2.3' x-speakeasy-param-computed: false additionalProperties: false required: - type AIGatewayGeminiEmbeddingsModelConfig: description: Google Gemini-specific configuration for a model. type: object properties: upstream_url: description: The URL of the embeddings model. type: string x-speakeasy-param-computed: false type: type: string const: gemini gcp_environment: $ref: '#/components/schemas/GCPModelConfig' additionalProperties: false required: - type AIGatewayHuggingfaceEmbeddingsModelConfig: description: Hugging Face-specific configuration for a model. type: object properties: upstream_url: description: The URL of the embeddings model. type: string x-speakeasy-param-computed: false type: type: string const: huggingface use_cache: description: Whether to use the Hugging Face inference cache. type: boolean default: false wait_for_model: description: Whether to wait for the model to load if it is not ready. type: boolean default: false additionalProperties: false required: - type AIGatewayMistralEmbeddingsModelConfig: type: object properties: upstream_url: description: The URL of the embeddings model. type: string x-speakeasy-param-computed: false type: type: string enum: - mistral additionalProperties: false required: - type AIGatewayOllamaEmbeddingsModelConfig: description: Ollama-specific configuration for a model. type: object properties: upstream_url: description: The URL of the embeddings model. type: string x-speakeasy-param-computed: false type: type: string const: ollama additionalProperties: false required: - type AIGatewayOpenaiEmbeddingsModelConfig: description: Openai-specific configuration for a model. type: object properties: upstream_url: description: The URL of the embeddings model. type: string x-speakeasy-param-computed: false type: type: string const: openai additionalProperties: false required: - type AIGatewayModelVectorDBConfig: description: Configuration for the vector database used by the model. discriminator: propertyName: type mapping: pgvector: '#/components/schemas/AIGatewayModelVectorDBConfigPgVector' redis: '#/components/schemas/AIGatewayModelVectorDBConfigRedis' oneOf: - $ref: '#/components/schemas/AIGatewayModelVectorDBConfigPgVector' - $ref: '#/components/schemas/AIGatewayModelVectorDBConfigRedis' AIGatewayModelVectorDBConfigRedis: description: Config for connecting to a Cloud Provider's Redis instance. type: object properties: type: type: string const: redis dimensions: description: the desired dimensionality for the vectors type: integer distance_metric: description: the distance metric to use for vector searches type: string enum: - cosine - euclidean x-speakeasy-unknown-values: allow threshold: description: the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar. type: number x-speakeasy-param-computed: false cloud_authentication: description: Auth related config for connecting to a Cloud Provider's Redis instance. discriminator: propertyName: type mapping: aws: '#/components/schemas/AIGatewayRedisAWSAuthentication' azure: '#/components/schemas/AIGatewayRedisAzureAuthentication' gcp: '#/components/schemas/AIGatewayRedisGCPAuthentication' oneOf: - $ref: '#/components/schemas/AIGatewayRedisAWSAuthentication' - $ref: '#/components/schemas/AIGatewayRedisAzureAuthentication' - $ref: '#/components/schemas/AIGatewayRedisGCPAuthentication' cluster: description: Cluster configuration for the Redis connection. type: object additionalProperties: false nullable: true properties: max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 maximum: 2147483646 minimum: 0 nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: type: object properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 minItems: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 maximum: 2147483646 minimum: 0 host: description: | A string representing a host name, such as example.com. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string default: 127.0.0.1 x-referenceable: true keepalive: description: Keepalive configuration for the Redis connection. type: object additionalProperties: false nullable: true properties: backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `pool_size`.' type: integer maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `pool_size` nor `backlog` is specified, no pool is created. If `pool_size` isn''t specified but `backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 x-speakeasy-param-computed: false password: description: | Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false port: description: | An integer representing a port number between 0 and 65535, inclusive. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string example: 6379 default: '6379' maximum: 65535 minimum: 0 x-go-type: types.Referenceable x-go-type-import: path: github.com/kong-konnect/koko-private/internal/server/public/openapi/controlplanesconfig/types name: types x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel: description: Configuration for Redis Sentinel. type: object additionalProperties: false nullable: true properties: master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string nullable: true x-speakeasy-param-computed: false nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: type: object properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 minItems: 1 nullable: true x-speakeasy-param-computed: false password: description: | Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow username: description: | Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false server_name: description: | A string representing an SNI (server name indication) value for TLS. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: true ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: true username: description: | Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false additionalProperties: false required: - type - dimensions - distance_metric x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end x-terraform-no-default-null: true AIGatewayModelVectorDBConfigPgVector: type: object properties: type: type: string const: pgvector dimensions: description: the desired dimensionality for the vectors type: integer distance_metric: description: the distance metric to use for vector searches type: string enum: - cosine - euclidean x-speakeasy-unknown-values: allow threshold: description: the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar. type: number x-speakeasy-param-computed: false database: description: the database of the pgvector database type: string default: kong-pgvector host: description: the host of the pgvector database type: string default: 127.0.0.1 password: description: | the password of the pgvector database This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string writeOnly: true x-referenceable: true x-speakeasy-param-computed: false port: description: the port of the pgvector database type: integer default: 5432 maximum: 65535 minimum: 0 ssl: type: object additionalProperties: false nullable: true properties: enabled: description: whether to use ssl for the pgvector database type: boolean default: true cert: description: the path of ssl cert to use for the pgvector database type: string x-speakeasy-param-computed: false cert_key: description: the path of ssl cert key to use for the pgvector database type: string x-speakeasy-param-computed: false required: description: whether ssl is required for the pgvector database type: boolean default: true verify: description: whether to verify ssl for the pgvector database type: boolean default: true version: description: the ssl version to use for the pgvector database type: string default: tlsv1_2 enum: - any - tlsv1_2 - tlsv1_3 x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false timeout: description: the timeout of the pgvector database type: number default: 5000 user: description: | the user of the pgvector database This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string default: postgres x-referenceable: true additionalProperties: false required: - type - dimensions - distance_metric x-terraform-no-default-null: true AIGatewayModelFormat: description: Request and response format supported by this model. type: object properties: type: description: |- The request and response format this model supports. Set to a specific format to restrict the model to that format only, or to `*` to allow all formats that the targets support at the gateway's min_runtime_version. A format that needs a newer min_runtime_version is left out of `*`. The `*` format never includes passthrough. **`passthrough` requires a minimum runtime version of `2.2`**. **`typesafe` requires a minimum runtime version of `2.2`**. type: string example: openai enum: - '*' - anthropic - bedrock - cohere - gemini - huggingface - openai - passthrough - typesafe x-enum-min-runtime-version: passthrough: '2.2' typesafe: '2.2' x-speakeasy-unknown-values: allow additionalProperties: false AIGatewayTarget: description: A target instance a model entry routes requests to. type: object properties: name: description: The name of the model defined in the upstream provider that will be executed. type: string example: gpt-5-model minLength: 1 weight: description: The weight this target gets within the upstream load balancer type: integer example: 100 default: 100 maximum: 65535 minimum: 1 semantic_description: description: | The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold. type: string x-speakeasy-param-computed: false allow_auth_override: description: | When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. type: boolean default: false provider: $ref: '#/components/schemas/AIGatewayModelProviderReference' config: $ref: '#/components/schemas/AIGatewayTargetConfig' additionalProperties: false required: - name - provider - config AIGatewayTargetConfig: description: Configuration for a target model. discriminator: propertyName: type mapping: anthropic: '#/components/schemas/AIGatewayTargetAnthropicConfig' azure: '#/components/schemas/AIGatewayTargetAzureConfig' baseten: '#/components/schemas/AIGatewayTargetBasetenConfig' bedrock: '#/components/schemas/AIGatewayTargetBedrockConfig' cerebras: '#/components/schemas/AIGatewayTargetCerebrasConfig' cohere: '#/components/schemas/AIGatewayTargetCohereConfig' dashscope: '#/components/schemas/AIGatewayTargetDashscopeConfig' databricks: '#/components/schemas/AIGatewayTargetDatabricksConfig' deepseek: '#/components/schemas/AIGatewayTargetDeepseekConfig' gemini: '#/components/schemas/AIGatewayTargetGeminiConfig' huggingface: '#/components/schemas/AIGatewayTargetHuggingfaceConfig' kimi: '#/components/schemas/AIGatewayTargetKimiConfig' llama2: '#/components/schemas/AIGatewayTargetLlama2Config' mistral: '#/components/schemas/AIGatewayTargetMistralConfig' ollama: '#/components/schemas/AIGatewayTargetOllamaConfig' openai: '#/components/schemas/AIGatewayTargetOpenaiConfig' vercel: '#/components/schemas/AIGatewayTargetVercelConfig' vllm: '#/components/schemas/AIGatewayTargetVllmConfig' xai: '#/components/schemas/AIGatewayTargetXaiConfig' sagemaker: '#/components/schemas/AIGatewayTargetSagemakerConfig' typesafe: '#/components/schemas/AIGatewayTargetTypesafeConfig' oneOf: - $ref: '#/components/schemas/AIGatewayTargetAnthropicConfig' - $ref: '#/components/schemas/AIGatewayTargetAzureConfig' - $ref: '#/components/schemas/AIGatewayTargetBasetenConfig' - $ref: '#/components/schemas/AIGatewayTargetBedrockConfig' - $ref: '#/components/schemas/AIGatewayTargetCerebrasConfig' - $ref: '#/components/schemas/AIGatewayTargetCohereConfig' - $ref: '#/components/schemas/AIGatewayTargetDashscopeConfig' - $ref: '#/components/schemas/AIGatewayTargetDatabricksConfig' - $ref: '#/components/schemas/AIGatewayTargetDeepseekConfig' - $ref: '#/components/schemas/AIGatewayTargetGeminiConfig' - $ref: '#/components/schemas/AIGatewayTargetHuggingfaceConfig' - $ref: '#/components/schemas/AIGatewayTargetKimiConfig' - $ref: '#/components/schemas/AIGatewayTargetLlama2Config' - $ref: '#/components/schemas/AIGatewayTargetMistralConfig' - $ref: '#/components/schemas/AIGatewayTargetOllamaConfig' - $ref: '#/components/schemas/AIGatewayTargetOpenaiConfig' - $ref: '#/components/schemas/AIGatewayTargetVercelConfig' - $ref: '#/components/schemas/AIGatewayTargetVllmConfig' - $ref: '#/components/schemas/AIGatewayTargetXaiConfig' - $ref: '#/components/schemas/AIGatewayTargetSagemakerConfig' - $ref: '#/components/schemas/AIGatewayTargetTypesafeConfig' AIGatewayCacheWriteCost: type: object properties: ttl: description: 'Cache TTL this price applies to, e.g. "5m" or "1h".' type: string minLength: 1 pattern: '^[0-9]+\.?[0-9]*[hm]$' cost: description: Cost per 1M cache-write prompt tokens for this TTL. type: number minimum: 0 additionalProperties: false required: - ttl - cost title: AIGatewayCacheWriteCost AIGatewayModalCostList: type: object properties: modal: description: The modal type this price applies to. type: string enum: - text - audio - image - video x-speakeasy-unknown-values: allow cost: description: Cost per 1M tokens for this modal type. type: number minimum: 0 additionalProperties: false required: - modal - cost title: AIGatewayModalCostList AIGatewayContextWindowFactor: type: object properties: above: description: 'Input-token threshold above which the factors apply, e.g. "128k" or "1m".' type: string minLength: 1 pattern: '^[0-9]+\.?[0-9]*[km]$' input_factor: description: Multiplier applied to input pricing above the threshold. type: number exclusiveMinimum: true minimum: 0 output_factor: description: Multiplier applied to output pricing above the threshold. type: number exclusiveMinimum: true minimum: 0 additionalProperties: false required: - above - input_factor - output_factor title: AIGatewayContextWindowFactor AIGatewayServiceTierFactor: type: object properties: tier: description: 'Matched case-insensitively as a substring of the vendor''s reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter.' type: string minLength: 1 factor: description: Multiplier applied to the whole request for this service tier. type: number exclusiveMinimum: true minimum: 0 additionalProperties: false required: - tier - factor title: AIGatewayServiceTierFactor AIGatewayTargetAnthropicConfig: description: Anthropic-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: anthropic version: description: The Anthropic API version to use. type: string default: '2023-06-01' required: - type AIGatewayTargetAzureConfig: description: Azure-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: azure deployment_id: description: | The Azure deployment ID for the model. Applies when the Azure provider's `service` is `azure-openai`; not used for `azure-foundry`. type: string x-speakeasy-param-computed: false api_version: description: The Azure OpenAI API version to use. type: string default: '2023-05-15' foundry_path_prefix: description: | The API path prefix for the Azure AI Foundry endpoint, selecting the model's API surface. `/openai/v1` targets the OpenAI-compatible surface; `/anthropic/v1` targets the Anthropic surface. Applies when the Azure provider's `service` is `azure-foundry`. type: string default: /openai/v1 enum: - /openai/v1 - /anthropic/v1 x-speakeasy-unknown-values: allow required: - type AIGatewayTargetBasetenConfig: description: |- Baseten-specific configuration for a model. Requests are sent to Baseten Model APIs at `https://inference.baseten.co/v1` by default, and the target `name` is the Baseten model slug (for example, `deepseek-ai/DeepSeek-V4-Pro-0813`). To route to a dedicated Baseten deployment, set `upstream_url` to the deployment's full OpenAI-compatible endpoint (for example, `https://model-{model_id}.api.baseten.co/environments/{environment}/sync/v1/chat/completions`) or use passthrough format. **Requires a minimum runtime version of `2.3`**. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: baseten required: - type x-min-runtime-version: '2.3' x-speakeasy-param-computed: false AIGatewayTargetBedrockConfig: description: AWS Bedrock-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: bedrock region: description: | The AWS region for the model. Setting this option overrides the AWS_REGION environment variable. type: string x-speakeasy-param-computed: false batch_bucket_prefix: description: S3 bucket prefix for batch inference jobs. type: string x-speakeasy-param-computed: false embeddings_normalize: description: Whether to normalize embedding vectors in the response. type: boolean default: false performance_config_latency: description: Latency performance configuration for the model invocation. type: string x-speakeasy-param-computed: false video_output_s3_uri: description: S3 URI for storing video generation outputs. type: string x-speakeasy-param-computed: false vpc_endpoint: description: |- Hostname of an AWS PrivateLink VPC endpoint to use instead of the public Bedrock endpoint. Ignored if `upstream_url` is set. **Requires a minimum runtime version of `2.3`**. type: string x-min-runtime-version: '2.3' x-speakeasy-param-computed: false endpoint_type: description: |- The AWS Bedrock inference endpoint that requests to this target are sent to. `runtime` sends requests to the Bedrock Runtime endpoint (`bedrock-runtime.{region}.amazonaws.com`). `mantle` sends requests to the Bedrock Mantle endpoint (`bedrock-mantle.{region}.api.aws`), which accepts OpenAI and Anthropic request formats natively. A target with `endpoint_type` set to `mantle` is rejected if its model includes a format with `type` set to `bedrock`, because the Mantle endpoint does not support the Bedrock Converse or InvokeModel APIs. **Requires a minimum runtime version of `2.3`**. type: string example: runtime enum: - runtime - mantle x-min-runtime-version: '2.3' x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow additionalProperties: false required: - type AIGatewayTargetCerebrasConfig: description: Cerebras-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: cerebras required: - type AIGatewayTargetCohereConfig: description: Cohere-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: cohere api_version: description: | Cohere API version. `v1` uses the legacy `/v1/chat` endpoint; `v2` (default) uses `/v2/chat` and supports tool calling. type: string default: v2 enum: - v1 - v2 x-speakeasy-unknown-values: allow embedding_input_type: description: The intended downstream use of the embeddings to improve model quality. type: string default: classification enum: - classification - clustering - image - search_document - search_query x-speakeasy-unknown-values: allow wait_for_model: description: Whether to wait for the model to be ready before sending the request. type: boolean default: false required: - type AIGatewayTargetDashscopeConfig: description: Alibaba DashScope-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: dashscope international: description: Whether to use the international DashScope endpoint. type: boolean default: true required: - type AIGatewayTargetDatabricksConfig: description: Databricks-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: databricks workspace_instance_id: description: The Databricks workspace instance ID. type: string minLength: 1 required: - type - workspace_instance_id AIGatewayTargetDeepseekConfig: description: Deepseek-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: deepseek required: - type AIGatewayTargetGeminiConfig: description: Google Gemini-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: gemini gcp_environment: $ref: '#/components/schemas/GCPModelConfig' required: - type AIGatewayTargetHuggingfaceConfig: description: Hugging Face-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: huggingface use_cache: description: Whether to use the Hugging Face inference cache. type: boolean default: false wait_for_model: description: Whether to wait for the model to load if it is not ready. type: boolean default: false required: - type AIGatewayTargetKimiConfig: description: Kimi (Moonshot AI)-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: kimi international: description: | When `true`, requests are sent to `api.moonshot.ai` (international). When `false`, requests are sent to `api.moonshot.cn` (mainland China). type: boolean default: true required: - type AIGatewayTargetLlama2Config: description: | Llama2-specific configuration for a model. Deprecated: the `llama2` provider is deprecated and will be removed in 3.0. Migrate by the `format` value: `ollama` maps to the `ollama` provider, `openai` maps to the `openai` provider with `upstream_url` set, or to the `vllm` provider; `raw` has no replacement provider. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri minLength: 1 x-speakeasy-param-computed: false type: type: string const: llama2 format: description: The request format to use when communicating with the Llama2 model. type: string enum: - ollama - openai - raw x-speakeasy-unknown-values: allow deprecated: true required: - type - format - upstream_url AIGatewayTargetMistralConfig: description: Mistral-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: mistral format: description: The request format to use when communicating with the Mistral model. type: string enum: - ollama - openai x-speakeasy-unknown-values: allow required: - type - format AIGatewayTargetOllamaConfig: description: Ollama-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: ollama required: - type AIGatewayTargetOpenaiConfig: description: Openai-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: openai required: - type AIGatewayTargetVercelConfig: description: Vercel AI Gateway-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: vercel required: - type AIGatewayTargetVllmConfig: description: Vllm-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri minLength: 1 x-speakeasy-param-computed: false type: type: string const: vllm required: - type - upstream_url AIGatewayTargetXaiConfig: description: Xai-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: xai required: - type AIGatewayTargetSagemakerConfig: description: AWS SageMaker-specific configuration for a model. type: object properties: embeddings_dimensions: description: The number of dimensions for embedding outputs. type: integer exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false max_tokens: description: The maximum number of tokens to generate in the response. type: integer maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_read_cost: description: Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false cache_write_cost: description: Cost per 1M cache-write prompt tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false input_cost_list: description: |- Per-modality override of `input_cost`, in cost per 1M prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false output_cost_list: description: |- Per-modality override of `output_cost`, in cost per 1M output tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_read_cost_list: description: |- Per-modality override of `cache_read_cost`, in cost per 1M cache-read prompt tokens. Set it for models that price each modality separately. **Requires a minimum runtime version of `2.1`**. type: array items: $ref: '#/components/schemas/AIGatewayModalCostList' nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache_write_cost_list: description: Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this when the upstream provider charges differently for different cache TTLs. type: array items: $ref: '#/components/schemas/AIGatewayCacheWriteCost' x-speakeasy-param-computed: true context_window_factor: description: 'Above an input-token threshold, scale input and output pricing by the corresponding factor.' type: array items: $ref: '#/components/schemas/AIGatewayContextWindowFactor' x-speakeasy-param-computed: true service_tier_factor: description: Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches. type: array items: $ref: '#/components/schemas/AIGatewayServiceTierFactor' x-speakeasy-param-computed: true temperature: description: Controls randomness in the model output. Higher values produce more varied responses. type: number maximum: 5 minimum: 0 x-speakeasy-param-computed: false top_k: description: Limits the number of highest-probability tokens considered during generation. type: integer maximum: 500 minimum: 0 x-speakeasy-param-computed: false top_p: description: Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered. type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false type: type: string const: sagemaker aws: type: object additionalProperties: false nullable: true properties: region: description: Overrides the AWS_REGION environment variable for SageMaker requests. type: string nullable: true x-speakeasy-param-computed: false assume_role_arn: description: Assume a different IAM role after authenticating; mutually required with role_session_name. type: string nullable: true x-speakeasy-param-computed: false role_session_name: description: Session identifier for the assumed role; mutually required with assume_role_arn. type: string nullable: true x-speakeasy-param-computed: false sts_endpoint_url: description: Overrides the STS endpoint when assuming a role. type: string nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false target: type: object additionalProperties: false nullable: true properties: model: description: Sets the X-Amzn-SageMaker-Target-Model header (multi-model endpoints). type: string nullable: true x-speakeasy-param-computed: false variant: description: Sets the X-Amzn-SageMaker-Target-Variant header (A/B variant testing). type: string nullable: true x-speakeasy-param-computed: false container_hostname: description: Sets the X-Amzn-SageMaker-Target-Container-Hostname header (multi-container). type: string nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false required: - type x-terraform-no-default-null: true AIGatewayTargetTypesafeConfig: description: |- Typesafe-specific configuration for a model. **Requires a minimum runtime version of `2.2`**. type: object properties: type: type: string const: typesafe input_cost: description: Cost per 1M input tokens for billing and cost tracking. type: number exclusiveMinimum: true minimum: 0 x-speakeasy-param-computed: false output_cost: description: Cost per 1M output tokens for billing and cost tracking. type: number minimum: 0 x-speakeasy-param-computed: false upstream_url: description: The upstream URL for the model endpoint. type: string format: uri x-speakeasy-param-computed: false required: - type title: AIGatewayTargetTypesafeConfig x-min-runtime-version: '2.2' x-speakeasy-param-computed: false GCPModelConfig: description: Configuration for a model hosted on Google Cloud Project. type: object properties: api_endpoint: description: The custom API endpoint for the Gemini model. type: string minLength: 1 location_id: description: The Google Cloud location ID for the model endpoint. type: string minLength: 1 project_id: description: The Google Cloud project ID for the model endpoint. type: string minLength: 1 required: - api_endpoint - location_id - project_id AIGatewayACLS: description: 'Access control rules. Configure exactly one of `allow`, `deny`, `allow_when`, or `deny_when`.' properties: allow: description: 'List of Consumer Groups Names, or Authenticated Groups Names that are permitted access.' type: array items: type: string x-speakeasy-param-computed: true deny: description: 'List of Consumer Groups Names, or Authenticated Groups Names that are denied access.' type: array items: type: string x-speakeasy-param-computed: true allow_when: description: 'Allow the request if it matches any of these CEL boolean expressions evaluated against the request context (consumer, principal, HTTP attributes, consumer groups, etc.). Exactly one of `allow`, `deny`, `allow_when`, or `deny_when` must be specified.' type: array items: type: string minLength: 1 maxLength: 1024 x-expression: type: boolean nullable: true x-min-runtime-version: '2.2' x-speakeasy-param-computed: false deny_when: description: 'Deny the request if it matches any of these CEL boolean expressions evaluated against the request context (consumer, principal, HTTP attributes, consumer groups, etc.). Exactly one of `allow`, `deny`, `allow_when`, or `deny_when` must be specified.' type: array items: type: string minLength: 1 maxLength: 1024 x-expression: type: boolean nullable: true x-min-runtime-version: '2.2' x-speakeasy-param-computed: false AIGatewayAgentAccess: description: Access control configuration for an agent. type: object properties: acls: $ref: '#/components/schemas/AIGatewayACLS' identity_providers: description: | List of identity providers for granting access to the agent. At most 1 identity provider of each identity provider type can be referenced. Deprecated: use `auth_strategies` instead. The two are mutually exclusive. type: array items: $ref: '#/components/schemas/AIGatewayIdentityProviderReference' deprecated: true maxItems: 1 x-speakeasy-param-computed: true auth_strategies: description: | List of auth strategies for granting access to the agent. At most 1 auth strategy of each auth strategy type can be referenced. type: array items: $ref: '#/components/schemas/AIGatewayAuthStrategyReference' maxItems: 1 x-speakeasy-param-computed: true additionalProperties: false AIGatewayModelAccess: description: Access control configuration for a model. type: object properties: acls: $ref: '#/components/schemas/AIGatewayACLS' identity_providers: description: | List of identity providers for granting access to the model. At most 1 identity provider of each identity provider type can be referenced. Deprecated: use `auth_strategies` instead. The two are mutually exclusive. type: array items: $ref: '#/components/schemas/AIGatewayIdentityProviderReference' deprecated: true x-speakeasy-param-computed: true auth_strategies: description: | List of auth strategies for granting access to the model. At most 1 auth strategy of each auth strategy type can be referenced. type: array items: $ref: '#/components/schemas/AIGatewayAuthStrategyReference' x-speakeasy-param-computed: true additionalProperties: false AIGatewayMCPACLs: description: 'Access control rules for MCP resources. Configure `allow`, `deny`, or both.' type: object properties: allow: description: List of consumer groups that are permitted access. type: array items: type: string x-speakeasy-param-computed: true deny: description: List of consumer groups that are denied access. type: array items: type: string x-speakeasy-param-computed: true allow_when: description: |- Allow the request if it matches any of these CEL boolean expressions evaluated against the request context. **Requires a minimum runtime version of `2.3`**. type: array items: type: string minLength: 1 maxLength: 1024 x-expression: type: boolean nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false deny_when: description: |- Deny the request if it matches any of these CEL boolean expressions evaluated against the request context. **Requires a minimum runtime version of `2.3`**. type: array items: type: string minLength: 1 maxLength: 1024 x-expression: type: boolean nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false example: allow: - gold-partner deny: - bronze-partner allow_when: - has(principal.metadata.tier) && principal.metadata.tier == 'partner' deny_when: - has(principal.metadata.role) && principal.metadata.role != 'admin' AIGatewayMCPServerACLs: description: 'Access control rules for MCP resources. Configure exactly one of `allow`, `deny`, `allow_when`, or `deny_when`.' type: object properties: allow: description: List of consumer groups that are permitted access. type: array items: type: string x-speakeasy-param-computed: true deny: description: List of consumer groups that are denied access. type: array items: type: string x-speakeasy-param-computed: true allow_when: description: Allow the request if it matches any of these CEL boolean expressions evaluated against the request context. type: array items: type: string minLength: 1 maxLength: 1024 x-expression: type: boolean nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false deny_when: description: Deny the request if it matches any of these CEL boolean expressions evaluated against the request context. type: array items: type: string minLength: 1 maxLength: 1024 x-expression: type: boolean nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false additionalProperties: false AIGatewayPolicyReferences: description: List of policy references. type: array items: type: string description: Reference to a policy instance by name. KonnectConfigStoreVault: type: object properties: name: description: | A user-defined unique identifier for this vault instance, used as a stable human-readable reference. This value is immutable after creation. The name is used to load the right Vault configuration and implementation when referencing secrets with the other entities. example: my-awesome-vault allOf: - $ref: '#/components/schemas/AIGatewayVaultName' description: description: The description of the Vault. type: string example: This vault is used to retrieve redis database access credentials default: '' maxLength: 1024 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' type: type: string const: konnect config: type: object additionalProperties: false properties: config_store_id: description: | The ID of the Konnect Config Store that contains the secrets. type: string example: 77426bee-2bca-4005-81af-284868fd3038 minLength: 1 required: - config_store_id required: - name - type - config EnvironmentVariableVault: type: object properties: name: description: | A user-defined unique identifier for this vault instance, used as a stable human-readable reference. This value is immutable after creation. The name is used to load the right Vault configuration and implementation when referencing secrets with the other entities. example: my-awesome-vault allOf: - $ref: '#/components/schemas/AIGatewayVaultName' description: description: The description of the Vault. type: string example: This vault is used to retrieve redis database access credentials default: '' maxLength: 1024 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' type: type: string const: env config: type: object properties: base64_decode: description: | Decode all secrets in this vault as base64. Useful for binary data. If some of the secrets in the vault are not base64-encoded, an error will occur when using them. We recommend creating a separate vault for base64 secrets. type: boolean x-speakeasy-param-computed: true prefix: description: | The prefix for the environment variable that the value will be stored in. type: string example: MY_SECRET_ x-speakeasy-param-computed: false title: EnvironmentVariableVaultConfig required: - name - type - config AwsSecretsManagerVault: type: object properties: name: description: | A user-defined unique identifier for this vault instance, used as a stable human-readable reference. This value is immutable after creation. The name is used to load the right Vault configuration and implementation when referencing secrets with the other entities. example: my-awesome-vault allOf: - $ref: '#/components/schemas/AIGatewayVaultName' description: description: The description of the Vault. type: string example: This vault is used to retrieve redis database access credentials default: '' maxLength: 1024 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' type: type: string const: aws config: type: object properties: base64_decode: description: | Decode all secrets in this vault as base64. Useful for binary data. If some of the secrets in the vault are not base64-encoded, an error will occur when using them. We recommend creating a separate vault for base64 secrets. type: boolean x-speakeasy-param-computed: true neg_ttl: description: | Time-to-live (in seconds) for caching failed secret lookups. A value of 0 disables negative caching. Kong will retry fetching the secret after neg_ttl expires. type: integer default: 0 maximum: 4294967295 minimum: 0 resurrect_ttl: description: | Time (in seconds) that secrets remain in use after expiration (config.ttl ends). Useful if the vault is unreachable or the secret is deleted but not yet replaced. Kong continues to retry for resurrect_ttl seconds before giving up. The default is ~3 years to support uninterrupted service during outages. type: integer default: 100000000 maximum: 4294967295 minimum: 0 ttl: description: | Time-to-live (in seconds) for a cached secret. A value of 0 disables rotation. For non-zero values, use a minimum of 60 seconds. type: integer default: 0 maximum: 4294967295 minimum: 0 assume_role_arn: description: | The ARN of the role to assume when retrieving secrets from AWS Secrets Manager. type: string x-speakeasy-param-computed: false endpoint_url: description: | The endpoint URL of the AWS Secrets Manager service. If not specified, the default is https://secretsmanager.{region}.amazonaws.com. You can override this by specifying a complete URL including the http/https scheme. type: string x-speakeasy-param-computed: false region: description: The AWS region where your vault is located. type: string example: us-east-1 x-speakeasy-param-computed: false role_session_name: description: The session name used when assuming a role. type: string default: KongVault minLength: 1 sts_endpoint_url: description: | A custom STS endpoint URL used for IAM role assumption. Overrides the default https://sts.amazonaws.com or regional variant https://sts.<region>.amazonaws.com. Include the full http/https scheme. Only specify this if using a private VPC endpoint for STS. type: string x-speakeasy-param-computed: false required: - role_session_name title: AwsSecretsManagerVaultConfig required: - name - type - config GoogleSecretManagerVault: type: object properties: name: description: | A user-defined unique identifier for this vault instance, used as a stable human-readable reference. This value is immutable after creation. The name is used to load the right Vault configuration and implementation when referencing secrets with the other entities. example: my-awesome-vault allOf: - $ref: '#/components/schemas/AIGatewayVaultName' description: description: The description of the Vault. type: string example: This vault is used to retrieve redis database access credentials default: '' maxLength: 1024 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' type: type: string const: gcp config: type: object properties: base64_decode: description: | Decode all secrets in this vault as base64. Useful for binary data. If some of the secrets in the vault are not base64-encoded, an error will occur when using them. We recommend creating a separate vault for base64 secrets. type: boolean x-speakeasy-param-computed: true neg_ttl: description: | Time-to-live (in seconds) for caching failed secret lookups. A value of 0 disables negative caching. Kong will retry fetching the secret after neg_ttl expires. type: integer default: 0 maximum: 4294967295 minimum: 0 resurrect_ttl: description: | Time (in seconds) that secrets remain in use after expiration (config.ttl ends). Useful if the vault is unreachable or the secret is deleted but not yet replaced. Kong continues to retry for resurrect_ttl seconds before giving up. The default is ~3 years to support uninterrupted service during outages. type: integer default: 100000000 maximum: 4294967295 minimum: 0 ttl: description: | Time-to-live (in seconds) for a cached secret. A value of 0 disables rotation. For non-zero values, use a minimum of 60 seconds. type: integer default: 0 maximum: 4294967295 minimum: 0 project_id: description: | The project ID from your Google API Console. You can find it by visiting your Google API Console and selecting “Manage all projects” in the projects list. type: string minLength: 1 required: - project_id title: GoogleSecretManagerVaultConfig required: - name - type - config AzureKeyVault: type: object properties: name: description: | A user-defined unique identifier for this vault instance, used as a stable human-readable reference. This value is immutable after creation. The name is used to load the right Vault configuration and implementation when referencing secrets with the other entities. example: my-awesome-vault allOf: - $ref: '#/components/schemas/AIGatewayVaultName' description: description: The description of the Vault. type: string example: This vault is used to retrieve redis database access credentials default: '' maxLength: 1024 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' type: type: string const: azure config: type: object properties: base64_decode: description: | Decode all secrets in this vault as base64. Useful for binary data. If some of the secrets in the vault are not base64-encoded, an error will occur when using them. We recommend creating a separate vault for base64 secrets. type: boolean x-speakeasy-param-computed: true neg_ttl: description: | Time-to-live (in seconds) for caching failed secret lookups. A value of 0 disables negative caching. Kong will retry fetching the secret after neg_ttl expires. type: integer default: 0 maximum: 4294967295 minimum: 0 resurrect_ttl: description: | Time (in seconds) that secrets remain in use after expiration (config.ttl ends). Useful if the vault is unreachable or the secret is deleted but not yet replaced. Kong continues to retry for resurrect_ttl seconds before giving up. The default is ~3 years to support uninterrupted service during outages. type: integer default: 100000000 maximum: 4294967295 minimum: 0 ttl: description: | Time-to-live (in seconds) for a cached secret. A value of 0 disables rotation. For non-zero values, use a minimum of 60 seconds. type: integer default: 0 maximum: 4294967295 minimum: 0 credentials_prefix: description: | The prefix for the credentials stored in the Azure Key Vault. type: string default: AZURE vault_uri: description: | The URI from which the vault is reachable. This value can be found in your Azure Key Vault Dashboard under the Vault URI entry. type: string minLength: 1 location: description: | Each Azure geography includes one or more regions that meet specific data residency and compliance requirements. type: string minLength: 1 client_id: description: | The client ID for your registered application. You can find this in the Azure Dashboard under App Registrations. type: string x-speakeasy-param-computed: false tenant_id: description: | The DirectoryId and TenantId are the same: both refer to the GUID representing your Azure Active Directory tenant. Microsoft documentation and products may use either term depending on context. type: string x-speakeasy-param-computed: false type: type: string default: secrets enum: - secrets required: - vault_uri - location - type title: AzureKeyVaultConfig required: - name - type - config ConjurVault: type: object properties: name: description: | A user-defined unique identifier for this vault instance, used as a stable human-readable reference. This value is immutable after creation. The name is used to load the right Vault configuration and implementation when referencing secrets with the other entities. example: my-awesome-vault allOf: - $ref: '#/components/schemas/AIGatewayVaultName' description: description: The description of the Vault. type: string example: This vault is used to retrieve redis database access credentials default: '' maxLength: 1024 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' type: type: string const: conjur config: type: object properties: base64_decode: description: | Decode all secrets in this vault as base64. Useful for binary data. If some of the secrets in the vault are not base64-encoded, an error will occur when using them. We recommend creating a separate vault for base64 secrets. type: boolean x-speakeasy-param-computed: true neg_ttl: description: | Time-to-live (in seconds) for caching failed secret lookups. A value of 0 disables negative caching. Kong will retry fetching the secret after neg_ttl expires. type: integer default: 0 maximum: 4294967295 minimum: 0 resurrect_ttl: description: | Time (in seconds) that secrets remain in use after expiration (config.ttl ends). Useful if the vault is unreachable or the secret is deleted but not yet replaced. Kong continues to retry for resurrect_ttl seconds before giving up. The default is ~3 years to support uninterrupted service during outages. type: integer default: 100000000 maximum: 4294967295 minimum: 0 ttl: description: | Time-to-live (in seconds) for a cached secret. A value of 0 disables rotation. For non-zero values, use a minimum of 60 seconds. type: integer default: 0 maximum: 4294967295 minimum: 0 account: description: | The CyberArk Secrets Manager organization account name. type: string minLength: 1 api_key: description: | The API key of the workload identity. type: string writeOnly: true x-speakeasy-param-computed: false endpoint_url: description: | The CyberArk Secrets Manager backend URL to connect with. Accepts http or https protocols. type: string minLength: 1 login: description: | The login name of the workload identity. type: string minLength: 1 required: - endpoint_url - login - account title: ConjurVaultConfig required: - name - type - config HashiCorpVault: type: object properties: name: description: | A user-defined unique identifier for this vault instance, used as a stable human-readable reference. This value is immutable after creation. The name is used to load the right Vault configuration and implementation when referencing secrets with the other entities. example: my-awesome-vault allOf: - $ref: '#/components/schemas/AIGatewayVaultName' description: description: The description of the Vault. type: string example: This vault is used to retrieve redis database access credentials default: '' maxLength: 1024 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' type: type: string const: hcv config: $ref: '#/components/schemas/HashiCorpVaultConfig' required: - name - type - config HashiCorpVaultConfig: description: Configuration for an AI Gateway Vault. discriminator: propertyName: auth_method mapping: token: '#/components/schemas/HashiCorpVaultTokenConfig' cert: '#/components/schemas/HashiCorpVaultCertConfig' jwt: '#/components/schemas/HashiCorpVaultOauth2Config' approle: '#/components/schemas/HashiCorpVaultAppRoleConfig' kubernetes: '#/components/schemas/HashiCorpVaultKubernetesConfig' gcp_iam: '#/components/schemas/HashiCorpVaultGcpIAMConfig' gcp_gce: '#/components/schemas/HashiCorpVaultGcpGCEConfig' aws_ec2: '#/components/schemas/HashiCorpVaultAwsEC2Config' aws_iam: '#/components/schemas/HashiCorpVaultAwsIAMConfig' azure: '#/components/schemas/HashiCorpVaultAzureConfig' oneOf: - $ref: '#/components/schemas/HashiCorpVaultTokenConfig' - $ref: '#/components/schemas/HashiCorpVaultCertConfig' - $ref: '#/components/schemas/HashiCorpVaultOauth2Config' - $ref: '#/components/schemas/HashiCorpVaultAppRoleConfig' - $ref: '#/components/schemas/HashiCorpVaultKubernetesConfig' - $ref: '#/components/schemas/HashiCorpVaultGcpIAMConfig' - $ref: '#/components/schemas/HashiCorpVaultGcpGCEConfig' - $ref: '#/components/schemas/HashiCorpVaultAwsEC2Config' - $ref: '#/components/schemas/HashiCorpVaultAwsIAMConfig' - $ref: '#/components/schemas/HashiCorpVaultAzureConfig' title: HashiCorpVaultConfig HashiCorpVaultTokenConfig: type: object properties: base64_decode: description: | Decode all secrets in this vault as base64. Useful for binary data. If some of the secrets in the vault are not base64-encoded, an error will occur when using them. We recommend creating a separate vault for base64 secrets. type: boolean x-speakeasy-param-computed: true neg_ttl: description: | Time-to-live (in seconds) for caching failed secret lookups. A value of 0 disables negative caching. Kong will retry fetching the secret after neg_ttl expires. type: integer default: 0 maximum: 4294967295 minimum: 0 resurrect_ttl: description: | Time (in seconds) that secrets remain in use after expiration (config.ttl ends). Useful if the vault is unreachable or the secret is deleted but not yet replaced. Kong continues to retry for resurrect_ttl seconds before giving up. The default is ~3 years to support uninterrupted service during outages. type: integer default: 100000000 maximum: 4294967295 minimum: 0 ttl: description: | Time-to-live (in seconds) for a cached secret. A value of 0 disables rotation. For non-zero values, use a minimum of 60 seconds. type: integer default: 0 maximum: 4294967295 minimum: 0 host: description: The hostname of your HashiCorp vault. type: string minLength: 1 port: description: The port number of your HashiCorp vault. type: integer mount: description: The mount point. type: string default: secret minLength: 1 kv: description: The secrets engine version. type: string default: v1 enum: - v1 - v2 x-speakeasy-unknown-values: allow protocol: description: The protocol to connect with. type: string default: https enum: - http - https x-speakeasy-unknown-values: allow ssl_verify: description: Whether to verify the TLS certificate of the vault when connecting. type: boolean default: true namespace: description: Namespace for the Vault. Vault Enterprise requires a namespace to connect successfully. type: string default: null nullable: true x-speakeasy-param-computed: false auth_method: type: string const: token token: description: The token string to be used for authentication. type: string default: null nullable: true writeOnly: true x-speakeasy-param-computed: false required: - host - port - mount - auth_method HashiCorpVaultCertConfig: type: object properties: base64_decode: description: | Decode all secrets in this vault as base64. Useful for binary data. If some of the secrets in the vault are not base64-encoded, an error will occur when using them. We recommend creating a separate vault for base64 secrets. type: boolean x-speakeasy-param-computed: true neg_ttl: description: | Time-to-live (in seconds) for caching failed secret lookups. A value of 0 disables negative caching. Kong will retry fetching the secret after neg_ttl expires. type: integer default: 0 maximum: 4294967295 minimum: 0 resurrect_ttl: description: | Time (in seconds) that secrets remain in use after expiration (config.ttl ends). Useful if the vault is unreachable or the secret is deleted but not yet replaced. Kong continues to retry for resurrect_ttl seconds before giving up. The default is ~3 years to support uninterrupted service during outages. type: integer default: 100000000 maximum: 4294967295 minimum: 0 ttl: description: | Time-to-live (in seconds) for a cached secret. A value of 0 disables rotation. For non-zero values, use a minimum of 60 seconds. type: integer default: 0 maximum: 4294967295 minimum: 0 host: description: The hostname of your HashiCorp vault. type: string minLength: 1 port: description: The port number of your HashiCorp vault. type: integer mount: description: The mount point. type: string default: secret minLength: 1 kv: description: The secrets engine version. type: string default: v1 enum: - v1 - v2 x-speakeasy-unknown-values: allow protocol: description: The protocol to connect with. type: string default: https enum: - http - https x-speakeasy-unknown-values: allow ssl_verify: description: Whether to verify the TLS certificate of the vault when connecting. type: boolean default: true namespace: description: Namespace for the Vault. Vault Enterprise requires a namespace to connect successfully. type: string default: null nullable: true x-speakeasy-param-computed: false auth_method: type: string const: cert cert: description: The client certificate. type: string example: | -----BEGIN CERTIFICATE----- certificate-content -----END CERTIFICATE----- minLength: 1 key: description: The key for the client certificate. type: string example: | -----BEGIN PRIVATE KEY----- private-key-content -----END PRIVATE KEY----- default: null nullable: true writeOnly: true x-speakeasy-param-computed: false role_name: description: The trusted certificate role name. type: string default: null nullable: true x-speakeasy-param-computed: false required: - host - port - mount - auth_method - cert HashiCorpVaultOauth2Config: type: object properties: base64_decode: description: | Decode all secrets in this vault as base64. Useful for binary data. If some of the secrets in the vault are not base64-encoded, an error will occur when using them. We recommend creating a separate vault for base64 secrets. type: boolean x-speakeasy-param-computed: true neg_ttl: description: | Time-to-live (in seconds) for caching failed secret lookups. A value of 0 disables negative caching. Kong will retry fetching the secret after neg_ttl expires. type: integer default: 0 maximum: 4294967295 minimum: 0 resurrect_ttl: description: | Time (in seconds) that secrets remain in use after expiration (config.ttl ends). Useful if the vault is unreachable or the secret is deleted but not yet replaced. Kong continues to retry for resurrect_ttl seconds before giving up. The default is ~3 years to support uninterrupted service during outages. type: integer default: 100000000 maximum: 4294967295 minimum: 0 ttl: description: | Time-to-live (in seconds) for a cached secret. A value of 0 disables rotation. For non-zero values, use a minimum of 60 seconds. type: integer default: 0 maximum: 4294967295 minimum: 0 host: description: The hostname of your HashiCorp vault. type: string minLength: 1 port: description: The port number of your HashiCorp vault. type: integer mount: description: The mount point. type: string default: secret minLength: 1 kv: description: The secrets engine version. type: string default: v1 enum: - v1 - v2 x-speakeasy-unknown-values: allow protocol: description: The protocol to connect with. type: string default: https enum: - http - https x-speakeasy-unknown-values: allow ssl_verify: description: Whether to verify the TLS certificate of the vault when connecting. type: boolean default: true namespace: description: Namespace for the Vault. Vault Enterprise requires a namespace to connect successfully. type: string default: null nullable: true x-speakeasy-param-computed: false auth_method: type: string const: jwt role: description: | The configured role name in HashiCorp Vault for JWT auth. When creating the role in HashiCorp Vault, make sure that the `role_type` is `jwt` and the `token_policies` have permissions to read the secrets. type: string example: demo minLength: 1 token_endpoint: description: The OAuth2 token endpoint for Hashicorp Vault's OAuth2 auth method. type: string minLength: 1 client_id: description: The OAuth2 client ID. type: string minLength: 1 client_secret: description: The OAuth2 client secret. type: string default: null nullable: true writeOnly: true x-speakeasy-param-computed: false audiences: description: Comma-separated list of OAuth2 audiences. type: string default: null nullable: true x-speakeasy-param-computed: false required: - host - port - mount - auth_method - role - token_endpoint - client_id HashiCorpVaultAppRoleConfig: type: object properties: base64_decode: description: | Decode all secrets in this vault as base64. Useful for binary data. If some of the secrets in the vault are not base64-encoded, an error will occur when using them. We recommend creating a separate vault for base64 secrets. type: boolean x-speakeasy-param-computed: true neg_ttl: description: | Time-to-live (in seconds) for caching failed secret lookups. A value of 0 disables negative caching. Kong will retry fetching the secret after neg_ttl expires. type: integer default: 0 maximum: 4294967295 minimum: 0 resurrect_ttl: description: | Time (in seconds) that secrets remain in use after expiration (config.ttl ends). Useful if the vault is unreachable or the secret is deleted but not yet replaced. Kong continues to retry for resurrect_ttl seconds before giving up. The default is ~3 years to support uninterrupted service during outages. type: integer default: 100000000 maximum: 4294967295 minimum: 0 ttl: description: | Time-to-live (in seconds) for a cached secret. A value of 0 disables rotation. For non-zero values, use a minimum of 60 seconds. type: integer default: 0 maximum: 4294967295 minimum: 0 host: description: The hostname of your HashiCorp vault. type: string minLength: 1 port: description: The port number of your HashiCorp vault. type: integer mount: description: The mount point. type: string default: secret minLength: 1 kv: description: The secrets engine version. type: string default: v1 enum: - v1 - v2 x-speakeasy-unknown-values: allow protocol: description: The protocol to connect with. type: string default: https enum: - http - https x-speakeasy-unknown-values: allow ssl_verify: description: Whether to verify the TLS certificate of the vault when connecting. type: boolean default: true namespace: description: Namespace for the Vault. Vault Enterprise requires a namespace to connect successfully. type: string default: null nullable: true x-speakeasy-param-computed: false auth_method: type: string const: approle path: description: | Path for enabling the AppRole auth method. Single leading/trailing slashes are trimmed. type: string default: approle response_wrapping: description: | Whether the secret ID is a response-wrapping token. When true, Kong unwraps the token to get the actual secret ID. Note: tokens can only be unwrapped once; distribute them individually to Kong nodes. type: boolean default: false role_id: description: | Specifies the AppRole role ID in HashiCorp Vault. Either `role_id` or `secret_id_file` must be set. type: string default: null nullable: true x-speakeasy-param-computed: false secret_id: description: Defines the AppRole’s secret ID in HashiCorp Vault. type: string default: null nullable: true x-speakeasy-param-computed: false secret_id_file: description: | Path to a file containing the AppRole secret ID. Either `role_id` or `secret_id_file` must be set. type: string default: null nullable: true x-speakeasy-param-computed: false required: - host - port - mount - auth_method HashiCorpVaultKubernetesConfig: type: object properties: base64_decode: description: | Decode all secrets in this vault as base64. Useful for binary data. If some of the secrets in the vault are not base64-encoded, an error will occur when using them. We recommend creating a separate vault for base64 secrets. type: boolean x-speakeasy-param-computed: true neg_ttl: description: | Time-to-live (in seconds) for caching failed secret lookups. A value of 0 disables negative caching. Kong will retry fetching the secret after neg_ttl expires. type: integer default: 0 maximum: 4294967295 minimum: 0 resurrect_ttl: description: | Time (in seconds) that secrets remain in use after expiration (config.ttl ends). Useful if the vault is unreachable or the secret is deleted but not yet replaced. Kong continues to retry for resurrect_ttl seconds before giving up. The default is ~3 years to support uninterrupted service during outages. type: integer default: 100000000 maximum: 4294967295 minimum: 0 ttl: description: | Time-to-live (in seconds) for a cached secret. A value of 0 disables rotation. For non-zero values, use a minimum of 60 seconds. type: integer default: 0 maximum: 4294967295 minimum: 0 host: description: The hostname of your HashiCorp vault. type: string minLength: 1 port: description: The port number of your HashiCorp vault. type: integer mount: description: The mount point. type: string default: secret minLength: 1 kv: description: The secrets engine version. type: string default: v1 enum: - v1 - v2 x-speakeasy-unknown-values: allow protocol: description: The protocol to connect with. type: string default: https enum: - http - https x-speakeasy-unknown-values: allow ssl_verify: description: Whether to verify the TLS certificate of the vault when connecting. type: boolean default: true namespace: description: Namespace for the Vault. Vault Enterprise requires a namespace to connect successfully. type: string default: null nullable: true x-speakeasy-param-computed: false auth_method: type: string const: kubernetes role: description: | Role assigned to the Kubernetes service account. type: string default: null nullable: true x-speakeasy-param-computed: false path: description: | Path for enabling the Kubernetes auth method. Single leading/trailing slashes are trimmed. type: string default: kubernetes api_token_file: description: | Path to the Kubernetes service account token file. type: string default: /run/secrets/kubernetes.io/serviceaccount/token required: - host - port - mount - auth_method HashiCorpVaultGcpIAMConfig: type: object properties: base64_decode: description: | Decode all secrets in this vault as base64. Useful for binary data. If some of the secrets in the vault are not base64-encoded, an error will occur when using them. We recommend creating a separate vault for base64 secrets. type: boolean x-speakeasy-param-computed: true neg_ttl: description: | Time-to-live (in seconds) for caching failed secret lookups. A value of 0 disables negative caching. Kong will retry fetching the secret after neg_ttl expires. type: integer default: 0 maximum: 4294967295 minimum: 0 resurrect_ttl: description: | Time (in seconds) that secrets remain in use after expiration (config.ttl ends). Useful if the vault is unreachable or the secret is deleted but not yet replaced. Kong continues to retry for resurrect_ttl seconds before giving up. The default is ~3 years to support uninterrupted service during outages. type: integer default: 100000000 maximum: 4294967295 minimum: 0 ttl: description: | Time-to-live (in seconds) for a cached secret. A value of 0 disables rotation. For non-zero values, use a minimum of 60 seconds. type: integer default: 0 maximum: 4294967295 minimum: 0 host: description: The hostname of your HashiCorp vault. type: string minLength: 1 port: description: The port number of your HashiCorp vault. type: integer mount: description: The mount point. type: string default: secret minLength: 1 kv: description: The secrets engine version. type: string default: v1 enum: - v1 - v2 x-speakeasy-unknown-values: allow protocol: description: The protocol to connect with. type: string default: https enum: - http - https x-speakeasy-unknown-values: allow ssl_verify: description: Whether to verify the TLS certificate of the vault when connecting. type: boolean default: true namespace: description: Namespace for the Vault. Vault Enterprise requires a namespace to connect successfully. type: string default: null nullable: true x-speakeasy-param-computed: false auth_method: type: string const: gcp_iam role: description: The role to use for GCP IAM auth. type: string minLength: 1 service_account: description: The GCP service account for GCE auth. type: string minLength: 1 jwt_exp: description: The JWT expiration time in seconds for GCP auth (0-900) type: integer maximum: 900 minimum: 0 required: - host - port - mount - auth_method - role - service_account - jwt_exp HashiCorpVaultGcpGCEConfig: type: object properties: base64_decode: description: | Decode all secrets in this vault as base64. Useful for binary data. If some of the secrets in the vault are not base64-encoded, an error will occur when using them. We recommend creating a separate vault for base64 secrets. type: boolean x-speakeasy-param-computed: true neg_ttl: description: | Time-to-live (in seconds) for caching failed secret lookups. A value of 0 disables negative caching. Kong will retry fetching the secret after neg_ttl expires. type: integer default: 0 maximum: 4294967295 minimum: 0 resurrect_ttl: description: | Time (in seconds) that secrets remain in use after expiration (config.ttl ends). Useful if the vault is unreachable or the secret is deleted but not yet replaced. Kong continues to retry for resurrect_ttl seconds before giving up. The default is ~3 years to support uninterrupted service during outages. type: integer default: 100000000 maximum: 4294967295 minimum: 0 ttl: description: | Time-to-live (in seconds) for a cached secret. A value of 0 disables rotation. For non-zero values, use a minimum of 60 seconds. type: integer default: 0 maximum: 4294967295 minimum: 0 host: description: The hostname of your HashiCorp vault. type: string minLength: 1 port: description: The port number of your HashiCorp vault. type: integer mount: description: The mount point. type: string default: secret minLength: 1 kv: description: The secrets engine version. type: string default: v1 enum: - v1 - v2 x-speakeasy-unknown-values: allow protocol: description: The protocol to connect with. type: string default: https enum: - http - https x-speakeasy-unknown-values: allow ssl_verify: description: Whether to verify the TLS certificate of the vault when connecting. type: boolean default: true namespace: description: Namespace for the Vault. Vault Enterprise requires a namespace to connect successfully. type: string default: null nullable: true x-speakeasy-param-computed: false auth_method: type: string const: gcp_gce role: description: The role to use for GCP GCE auth. type: string minLength: 1 login_path: description: The login path for GCP auth in HashiCorp Vault. type: string default: /v1/auth/gcp/login required: - host - port - mount - auth_method - role HashiCorpVaultAzureConfig: type: object properties: base64_decode: description: | Decode all secrets in this vault as base64. Useful for binary data. If some of the secrets in the vault are not base64-encoded, an error will occur when using them. We recommend creating a separate vault for base64 secrets. type: boolean x-speakeasy-param-computed: true neg_ttl: description: | Time-to-live (in seconds) for caching failed secret lookups. A value of 0 disables negative caching. Kong will retry fetching the secret after neg_ttl expires. type: integer default: 0 maximum: 4294967295 minimum: 0 resurrect_ttl: description: | Time (in seconds) that secrets remain in use after expiration (config.ttl ends). Useful if the vault is unreachable or the secret is deleted but not yet replaced. Kong continues to retry for resurrect_ttl seconds before giving up. The default is ~3 years to support uninterrupted service during outages. type: integer default: 100000000 maximum: 4294967295 minimum: 0 ttl: description: | Time-to-live (in seconds) for a cached secret. A value of 0 disables rotation. For non-zero values, use a minimum of 60 seconds. type: integer default: 0 maximum: 4294967295 minimum: 0 host: description: The hostname of your HashiCorp vault. type: string minLength: 1 port: description: The port number of your HashiCorp vault. type: integer mount: description: The mount point. type: string default: secret minLength: 1 kv: description: The secrets engine version. type: string default: v1 enum: - v1 - v2 x-speakeasy-unknown-values: allow protocol: description: The protocol to connect with. type: string default: https enum: - http - https x-speakeasy-unknown-values: allow ssl_verify: description: Whether to verify the TLS certificate of the vault when connecting. type: boolean default: true namespace: description: Namespace for the Vault. Vault Enterprise requires a namespace to connect successfully. type: string default: null nullable: true x-speakeasy-param-computed: false auth_method: type: string const: azure role: description: The role to use for Azure auth. type: string minLength: 1 login_path: description: The login path for Azure auth in HashiCorp Vault type: string default: /v1/auth/azure/login required: - host - port - mount - auth_method - role HashiCorpVaultAwsEC2Config: type: object properties: base64_decode: description: | Decode all secrets in this vault as base64. Useful for binary data. If some of the secrets in the vault are not base64-encoded, an error will occur when using them. We recommend creating a separate vault for base64 secrets. type: boolean x-speakeasy-param-computed: true neg_ttl: description: | Time-to-live (in seconds) for caching failed secret lookups. A value of 0 disables negative caching. Kong will retry fetching the secret after neg_ttl expires. type: integer default: 0 maximum: 4294967295 minimum: 0 resurrect_ttl: description: | Time (in seconds) that secrets remain in use after expiration (config.ttl ends). Useful if the vault is unreachable or the secret is deleted but not yet replaced. Kong continues to retry for resurrect_ttl seconds before giving up. The default is ~3 years to support uninterrupted service during outages. type: integer default: 100000000 maximum: 4294967295 minimum: 0 ttl: description: | Time-to-live (in seconds) for a cached secret. A value of 0 disables rotation. For non-zero values, use a minimum of 60 seconds. type: integer default: 0 maximum: 4294967295 minimum: 0 host: description: The hostname of your HashiCorp vault. type: string minLength: 1 port: description: The port number of your HashiCorp vault. type: integer mount: description: The mount point. type: string default: secret minLength: 1 kv: description: The secrets engine version. type: string default: v1 enum: - v1 - v2 x-speakeasy-unknown-values: allow protocol: description: The protocol to connect with. type: string default: https enum: - http - https x-speakeasy-unknown-values: allow ssl_verify: description: Whether to verify the TLS certificate of the vault when connecting. type: boolean default: true namespace: description: Namespace for the Vault. Vault Enterprise requires a namespace to connect successfully. type: string default: null nullable: true x-speakeasy-param-computed: false auth_method: type: string const: aws_ec2 role: description: The role to use for AWS EC2 auth. type: string minLength: 1 nonce: description: The nonce for AWS EC2 auth. type: string minLength: 1 login_path: description: The login path for AWS auth in HashiCorp Vault. type: string default: /v1/auth/aws/login required: - host - port - mount - auth_method - role - nonce HashiCorpVaultAwsIAMConfig: type: object properties: base64_decode: description: | Decode all secrets in this vault as base64. Useful for binary data. If some of the secrets in the vault are not base64-encoded, an error will occur when using them. We recommend creating a separate vault for base64 secrets. type: boolean x-speakeasy-param-computed: true neg_ttl: description: | Time-to-live (in seconds) for caching failed secret lookups. A value of 0 disables negative caching. Kong will retry fetching the secret after neg_ttl expires. type: integer default: 0 maximum: 4294967295 minimum: 0 resurrect_ttl: description: | Time (in seconds) that secrets remain in use after expiration (config.ttl ends). Useful if the vault is unreachable or the secret is deleted but not yet replaced. Kong continues to retry for resurrect_ttl seconds before giving up. The default is ~3 years to support uninterrupted service during outages. type: integer default: 100000000 maximum: 4294967295 minimum: 0 ttl: description: | Time-to-live (in seconds) for a cached secret. A value of 0 disables rotation. For non-zero values, use a minimum of 60 seconds. type: integer default: 0 maximum: 4294967295 minimum: 0 host: description: The hostname of your HashiCorp vault. type: string minLength: 1 port: description: The port number of your HashiCorp vault. type: integer mount: description: The mount point. type: string default: secret minLength: 1 kv: description: The secrets engine version. type: string default: v1 enum: - v1 - v2 x-speakeasy-unknown-values: allow protocol: description: The protocol to connect with. type: string default: https enum: - http - https x-speakeasy-unknown-values: allow ssl_verify: description: Whether to verify the TLS certificate of the vault when connecting. type: boolean default: true namespace: description: Namespace for the Vault. Vault Enterprise requires a namespace to connect successfully. type: string default: null nullable: true x-speakeasy-param-computed: false auth_method: type: string const: aws_iam role: description: The role to use for AWS IAM auth. type: string minLength: 1 region: description: The AWS region for auth. type: string minLength: 1 login_path: description: The login path for AWS auth in HashiCorp Vault. type: string default: /v1/auth/aws/login access_key_id: description: | The AWS access key ID for IAM auth. If not provided, the default credentials provider chain is used. If set, `secret_access_key` must also be set. type: string default: null nullable: true x-speakeasy-param-computed: false secret_access_key: description: | The AWS secret access key for IAM auth. If not provided, the default credentials provider chain is used. If set, `access_key_id` must also be set. type: string default: null nullable: true writeOnly: true x-speakeasy-param-computed: false sts_endpoint_url: description: | The AWS STS endpoint URL used by Kong Gateway when signing the GetCallerIdentity request for AWS IAM authentication. If not provided, defaults to the standard STS endpoint for the specified region. This setting only affects the STS endpoint that Kong Gateway itself contacts - it does not influence which STS endpoint HashiCorp Vault uses on its side. type: string default: null nullable: true x-speakeasy-param-computed: false assume_role_arn: description: | The ARN of the role to assume for AWS IAM authentication. If set, `role_session_name` must also be set. type: string default: null nullable: true x-speakeasy-param-computed: false role_session_name: description: | The session name to use when assuming a role for AWS IAM authentication. If set, `assume_role_arn` must also be set. type: string default: null nullable: true x-speakeasy-param-computed: false required: - host - port - mount - auth_method - role - region CreateAIGatewayVaultRequest: description: Configuration for an AI Gateway Vault. discriminator: propertyName: type mapping: konnect: '#/components/schemas/KonnectConfigStoreVault' env: '#/components/schemas/EnvironmentVariableVault' aws: '#/components/schemas/AwsSecretsManagerVault' gcp: '#/components/schemas/GoogleSecretManagerVault' azure: '#/components/schemas/AzureKeyVault' conjur: '#/components/schemas/ConjurVault' hcv: '#/components/schemas/HashiCorpVault' oneOf: - $ref: '#/components/schemas/KonnectConfigStoreVault' - $ref: '#/components/schemas/EnvironmentVariableVault' - $ref: '#/components/schemas/AwsSecretsManagerVault' - $ref: '#/components/schemas/GoogleSecretManagerVault' - $ref: '#/components/schemas/AzureKeyVault' - $ref: '#/components/schemas/ConjurVault' - $ref: '#/components/schemas/HashiCorpVault' UpdateAIGatewayVaultRequest: description: Configuration for an AI Gateway Vault. discriminator: propertyName: type mapping: konnect: '#/components/schemas/KonnectConfigStoreVault' env: '#/components/schemas/EnvironmentVariableVault' aws: '#/components/schemas/AwsSecretsManagerVault' gcp: '#/components/schemas/GoogleSecretManagerVault' azure: '#/components/schemas/AzureKeyVault' conjur: '#/components/schemas/ConjurVault' hcv: '#/components/schemas/HashiCorpVault' oneOf: - $ref: '#/components/schemas/KonnectConfigStoreVault' - $ref: '#/components/schemas/EnvironmentVariableVault' - $ref: '#/components/schemas/AwsSecretsManagerVault' - $ref: '#/components/schemas/GoogleSecretManagerVault' - $ref: '#/components/schemas/AzureKeyVault' - $ref: '#/components/schemas/ConjurVault' - $ref: '#/components/schemas/HashiCorpVault' AIGatewayVault: description: Configuration for an AI Gateway Vault. type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' discriminator: propertyName: type mapping: konnect: '#/components/schemas/KonnectConfigStoreVault' env: '#/components/schemas/EnvironmentVariableVault' aws: '#/components/schemas/AwsSecretsManagerVault' gcp: '#/components/schemas/GoogleSecretManagerVault' azure: '#/components/schemas/AzureKeyVault' conjur: '#/components/schemas/ConjurVault' hcv: '#/components/schemas/HashiCorpVault' oneOf: - $ref: '#/components/schemas/KonnectConfigStoreVault' - $ref: '#/components/schemas/EnvironmentVariableVault' - $ref: '#/components/schemas/AwsSecretsManagerVault' - $ref: '#/components/schemas/GoogleSecretManagerVault' - $ref: '#/components/schemas/AzureKeyVault' - $ref: '#/components/schemas/ConjurVault' - $ref: '#/components/schemas/HashiCorpVault' required: - id - created_at - updated_at DatastoreRedisCloudAuthentication: description: Cloud-managed Redis authentication. Only the fields relevant to the chosen `auth_provider` need to be set. type: object properties: auth_provider: oneOf: - type: string nullable: true enum: - aws - gcp - azure x-speakeasy-unknown-values: allow - type: string example: '{vault://hcv/redis/auth_provider}' x-referenceable: true aws_cache_name: type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_region: type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: type: boolean nullable: true x-speakeasy-param-computed: false aws_access_key_id: type: string nullable: true x-speakeasy-param-computed: false aws_secret_access_key: type: string nullable: true writeOnly: true x-speakeasy-param-computed: false aws_assume_role_arn: type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: type: string nullable: true x-speakeasy-param-computed: false gcp_service_account_json: type: string nullable: true writeOnly: true x-speakeasy-param-computed: false azure_client_id: type: string nullable: true x-speakeasy-param-computed: false azure_client_secret: type: string nullable: true writeOnly: true x-speakeasy-param-computed: false azure_tenant_id: type: string nullable: true x-speakeasy-param-computed: false additionalProperties: false x-terraform-no-default-null: true RedisCEDatastore: type: object properties: name: description: | A user-defined unique identifier for this Datastore, used as a stable human-readable reference. This value is immutable after creation. example: shared-redis allOf: - $ref: '#/components/schemas/AIGatewayDatastoreName' display_name: description: The display name for this Datastore. type: string example: Shared Redis maxLength: 256 minLength: 1 description: description: The description of the Datastore. type: string example: Redis shared by rate limiting and semantic cache default: '' maxLength: 1024 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' type: type: string const: redis-ce config: $ref: '#/components/schemas/RedisCEDatastoreConfig' required: - name - display_name - type - config RedisCEDatastoreConfig: type: object properties: host: type: string example: 127.0.0.1 minLength: 1 port: type: integer maximum: 65535 minimum: 1 nullable: true x-speakeasy-param-computed: false username: type: string nullable: true x-speakeasy-param-computed: false password: type: string nullable: true writeOnly: true x-speakeasy-param-computed: false database: description: The Redis database index to use. type: integer nullable: true x-speakeasy-param-computed: false timeout: description: 'Timeout in milliseconds for connecting, reading, and writing to the Redis server.' type: integer nullable: true x-speakeasy-param-computed: false ssl: type: boolean nullable: true x-speakeasy-param-computed: false ssl_verify: type: boolean nullable: true x-speakeasy-param-computed: false server_name: description: SNI to use when connecting over SSL. type: string nullable: true x-speakeasy-param-computed: false cloud_authentication: $ref: '#/components/schemas/DatastoreRedisCloudAuthentication' additionalProperties: false required: - host title: RedisCEDatastoreConfig x-terraform-no-default-null: true RedisEEDatastore: type: object properties: name: description: | A user-defined unique identifier for this Datastore, used as a stable human-readable reference. This value is immutable after creation. example: shared-redis allOf: - $ref: '#/components/schemas/AIGatewayDatastoreName' display_name: description: The display name for this Datastore. type: string example: Shared Redis maxLength: 256 minLength: 1 description: description: The description of the Datastore. type: string example: Redis shared by rate limiting and semantic cache default: '' maxLength: 1024 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' type: type: string const: redis-ee config: $ref: '#/components/schemas/RedisEEDatastoreConfig' required: - name - display_name - type - config RedisEEDatastoreConfig: type: object properties: host: type: string example: 127.0.0.1 minLength: 1 x-referenceable: true port: description: | An integer representing a port number between 0 and 65535, inclusive. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). oneOf: - type: integer default: 6379 maximum: 65535 minimum: 0 example: 6379 - type: string example: '{vault://hcv/redis/port}' x-go-type: types.Referenceable x-go-type-import: path: github.com/kong-konnect/koko-private/internal/server/public/openapi/controlplanesconfig/types name: types x-referenceable: true username: type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false password: type: string nullable: true writeOnly: true x-speakeasy-param-computed: false database: description: The Redis database index to use. type: integer nullable: true x-speakeasy-param-computed: false connect_timeout: type: integer nullable: true x-speakeasy-param-computed: false send_timeout: type: integer nullable: true x-speakeasy-param-computed: false read_timeout: type: integer nullable: true x-speakeasy-param-computed: false keepalive_pool_size: type: integer nullable: true x-speakeasy-param-computed: false keepalive_backlog: type: integer nullable: true x-speakeasy-param-computed: false ssl: type: boolean nullable: true x-speakeasy-param-computed: false ssl_verify: type: boolean nullable: true x-speakeasy-param-computed: false server_name: description: SNI to use when connecting over SSL. type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false connection_is_proxied: type: boolean nullable: true x-speakeasy-param-computed: false sentinel_master: type: string nullable: true x-speakeasy-param-computed: false sentinel_role: type: string enum: - master - slave - any nullable: true x-speakeasy-unknown-values: allow sentinel_username: type: string nullable: true x-speakeasy-param-computed: false sentinel_password: type: string nullable: true writeOnly: true x-speakeasy-param-computed: false sentinel_nodes: type: array items: type: object additionalProperties: false required: - host - port properties: host: type: string example: 127.0.0.1 minLength: 1 port: type: integer example: 6379 maximum: 65535 minimum: 1 nullable: true x-speakeasy-param-computed: false cluster_nodes: type: array items: type: object additionalProperties: false required: - ip - port properties: ip: type: string example: 127.0.0.1 minLength: 1 port: type: integer example: 6379 maximum: 65535 minimum: 1 nullable: true x-speakeasy-param-computed: false cluster_max_redirections: type: integer nullable: true x-speakeasy-param-computed: false cloud_authentication: $ref: '#/components/schemas/DatastoreRedisCloudAuthentication' additionalProperties: false required: - host title: RedisEEDatastoreConfig x-terraform-no-default-null: true VectorDBDatastore: description: | Carries the pgvector connection only. `strategy`, `dimensions`, `distance_metric`, and `threshold` belong to the policy or model referencing this Datastore, not the Datastore itself. type: object properties: name: description: | A user-defined unique identifier for this Datastore, used as a stable human-readable reference. This value is immutable after creation. example: shared-redis allOf: - $ref: '#/components/schemas/AIGatewayDatastoreName' display_name: description: The display name for this Datastore. type: string example: Shared Redis maxLength: 256 minLength: 1 description: description: The description of the Datastore. type: string example: Redis shared by rate limiting and semantic cache default: '' maxLength: 1024 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' type: type: string const: vectordb config: $ref: '#/components/schemas/VectorDBDatastoreConfig' required: - name - display_name - type - config VectorDBDatastoreConfig: type: object properties: host: type: string example: 127.0.0.1 minLength: 1 port: type: integer default: 5432 maximum: 65535 minimum: 1 user: type: string default: postgres password: type: string default: null nullable: true writeOnly: true x-speakeasy-param-computed: false database: type: string example: kong-pgvector minLength: 1 timeout: description: 'Timeout in milliseconds for connecting, reading, and writing to the database.' type: integer default: 5000 ssl: type: boolean default: false ssl_required: type: boolean default: false ssl_verify: type: boolean default: true ssl_version: type: string default: tlsv1_2 ssl_cert: type: string default: null nullable: true x-speakeasy-param-computed: false ssl_cert_key: type: string default: null nullable: true writeOnly: true x-speakeasy-param-computed: false additionalProperties: false required: - host - database title: VectorDBDatastoreConfig x-terraform-no-default-null: true TokenVaultDatastore: type: object properties: name: description: | A user-defined unique identifier for this Datastore, used as a stable human-readable reference. This value is immutable after creation. example: shared-redis allOf: - $ref: '#/components/schemas/AIGatewayDatastoreName' display_name: description: The display name for this Datastore. type: string example: Shared Redis maxLength: 256 minLength: 1 description: description: The description of the Datastore. type: string example: Redis shared by rate limiting and semantic cache default: '' maxLength: 1024 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' type: type: string const: token-vault config: $ref: '#/components/schemas/TokenVaultDatastoreConfig' required: - name - display_name - type - config TokenVaultDatastoreConfig: type: object properties: directory: description: The name of the directory in which tokens are stored. type: string example: my-directory minLength: 1 current_version: description: The version of the encryption key used to encrypt new tokens. type: string example: v1 minLength: 1 keys: description: The encryption keys used to protect stored tokens. Keep previous versions in the list so existing tokens can still be decrypted. type: array items: $ref: '#/components/schemas/TokenVaultDatastoreKey' minItems: 1 additionalProperties: false required: - directory - current_version - keys title: TokenVaultDatastoreConfig TokenVaultDatastoreKey: type: object properties: version: description: The identifier of this key version. type: string example: v1 minLength: 1 key: description: | A [vault reference](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault) to the encryption key. A literal key value is rejected. type: string example: '{vault://hcv/vault-enc-key}' nullable: true pattern: '^\{vault://.*\}$' x-referenceable: true x-speakeasy-param-computed: false additionalProperties: false required: - version title: TokenVaultDatastoreKey x-terraform-no-default-null: true CreateAIGatewayDatastoreRequest: description: Configuration for an AI Gateway Datastore. discriminator: propertyName: type mapping: redis-ce: '#/components/schemas/RedisCEDatastore' redis-ee: '#/components/schemas/RedisEEDatastore' vectordb: '#/components/schemas/VectorDBDatastore' token-vault: '#/components/schemas/TokenVaultDatastore' oneOf: - $ref: '#/components/schemas/RedisCEDatastore' - $ref: '#/components/schemas/RedisEEDatastore' - $ref: '#/components/schemas/VectorDBDatastore' - $ref: '#/components/schemas/TokenVaultDatastore' UpdateAIGatewayDatastoreRequest: description: Configuration for an AI Gateway Datastore. discriminator: propertyName: type mapping: redis-ce: '#/components/schemas/RedisCEDatastore' redis-ee: '#/components/schemas/RedisEEDatastore' vectordb: '#/components/schemas/VectorDBDatastore' token-vault: '#/components/schemas/TokenVaultDatastore' oneOf: - $ref: '#/components/schemas/RedisCEDatastore' - $ref: '#/components/schemas/RedisEEDatastore' - $ref: '#/components/schemas/VectorDBDatastore' - $ref: '#/components/schemas/TokenVaultDatastore' AIGatewayDatastore: description: Configuration for an AI Gateway Datastore. type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' konnect_managed: $ref: '#/components/schemas/AIGatewayKonnectManagedEntityFlag' discriminator: propertyName: type mapping: redis-ce: '#/components/schemas/RedisCEDatastore' redis-ee: '#/components/schemas/RedisEEDatastore' vectordb: '#/components/schemas/VectorDBDatastore' token-vault: '#/components/schemas/TokenVaultDatastore' oneOf: - $ref: '#/components/schemas/RedisCEDatastore' - $ref: '#/components/schemas/RedisEEDatastore' - $ref: '#/components/schemas/VectorDBDatastore' - $ref: '#/components/schemas/TokenVaultDatastore' required: - id - created_at - updated_at CreateAIGatewayPolicyRequest: type: object properties: display_name: description: The display name for this policy instance. type: string example: My Cool AI PII Sanitizer Policy maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this policy instance, used as a stable human-readable reference. This value is immutable after creation.' example: ai-pii-sanitizer-1234 allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' type: description: | The type of the Policy. This is equivalent to the Kong 3 plugin name. Some examples are: 'ai-sanitizer', 'ai-prompt-guard', and 'rate-limiting'. Note: Plugins have been renamed to Policies in Kong AI Gateway. Policy types and configuration documentation can be found in the [Developer Docs](https://developer.konghq.com/plugins/). type: string example: ai-sanitizer minLength: 1 enabled: description: Whether the policy is enabled. type: boolean example: true default: true global: description: Whether the policy is globally applied to all resources. type: boolean example: false default: false config: description: | Configuration for the policy. This is equivalent to the Kong 3 plugin configuration. Note: Plugins have been renamed to Policies in Kong AI Gateway. Policy types and configuration documentation can be found in the [Developer Docs](https://developer.konghq.com/plugins/). type: object example: anonymize: - phone - creditcard stop_on_error: true additionalProperties: true x-speakeasy-type-override: any condition: description: |- An expression used for conditional control over plugin execution. If the expression evaluates to `true` during the request flow, the plugin is executed; otherwise, it is skipped. **Requires a minimum runtime version of `2.1`**. type: string maxLength: 1024 nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false expressions: description: |- Policy config expressions **Requires a minimum runtime version of `2.3`**. type: object additionalProperties: true nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: description: Names of the Datastores this policy references. type: array items: $ref: '#/components/schemas/AIGatewayDatastoreRef' example: - name: kong-managed x-speakeasy-param-computed: true additionalProperties: false required: - display_name - name - type - config UpdateAIGatewayPolicyRequest: type: object properties: display_name: description: The display name for this policy instance. type: string example: My Cool AI PII Sanitizer Policy maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this policy instance, used as a stable human-readable reference. This value is immutable after creation.' example: ai-pii-sanitizer-1234 allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' type: description: | The type of the Policy. This is equivalent to the Kong 3 plugin name. Some examples are: 'ai-sanitizer', 'ai-prompt-guard', and 'rate-limiting'. Note: Plugins have been renamed to Policies in Kong AI Gateway. Policy types and configuration documentation can be found in the [Developer Docs](https://developer.konghq.com/plugins/). type: string example: ai-sanitizer minLength: 1 enabled: description: Whether the policy is enabled. type: boolean example: true default: true global: description: Whether the policy is globally applied to all resources. type: boolean example: false default: false config: description: | Configuration for the policy. This is equivalent to the Kong 3 plugin configuration. Note: Plugins have been renamed to Policies in Kong AI Gateway. Policy types and configuration documentation can be found in the [Developer Docs](https://developer.konghq.com/plugins/). type: object example: anonymize: - phone - creditcard stop_on_error: true additionalProperties: true x-speakeasy-type-override: any condition: description: |- An expression used for conditional control over plugin execution. If the expression evaluates to `true` during the request flow, the plugin is executed; otherwise, it is skipped. **Requires a minimum runtime version of `2.1`**. type: string maxLength: 1024 nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false expressions: description: |- Policy config expressions **Requires a minimum runtime version of `2.3`**. type: object additionalProperties: true nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: description: Names of the Datastores this policy references. type: array items: $ref: '#/components/schemas/AIGatewayDatastoreRef' example: - name: kong-managed x-speakeasy-param-computed: true additionalProperties: false required: - display_name - name - type - config AIGatewayPolicy: type: object properties: display_name: description: The display name for this policy instance. type: string example: My Cool AI PII Sanitizer Policy maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this policy instance, used as a stable human-readable reference. This value is immutable after creation.' example: ai-pii-sanitizer-1234 allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' type: description: | The type of the Policy. This is equivalent to the Kong 3 plugin name. Some examples are: 'ai-sanitizer', 'ai-prompt-guard', and 'rate-limiting'. Note: Plugins have been renamed to Policies in Kong AI Gateway. Policy types and configuration documentation can be found in the [Developer Docs](https://developer.konghq.com/plugins/). type: string example: ai-sanitizer minLength: 1 enabled: description: Whether the policy is enabled. type: boolean example: true default: true global: description: Whether the policy is globally applied to all resources. type: boolean example: false default: false config: description: | Configuration for the policy. This is equivalent to the Kong 3 plugin configuration. Note: Plugins have been renamed to Policies in Kong AI Gateway. Policy types and configuration documentation can be found in the [Developer Docs](https://developer.konghq.com/plugins/). type: object example: anonymize: - phone - creditcard stop_on_error: true additionalProperties: true x-speakeasy-type-override: any condition: description: |- An expression used for conditional control over plugin execution. If the expression evaluates to `true` during the request flow, the plugin is executed; otherwise, it is skipped. **Requires a minimum runtime version of `2.1`**. type: string maxLength: 1024 nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false expressions: description: |- Policy config expressions **Requires a minimum runtime version of `2.3`**. type: object additionalProperties: true nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: description: Names of the Datastores this policy references. type: array items: $ref: '#/components/schemas/AIGatewayDatastoreRef' example: - name: kong-managed x-speakeasy-param-computed: true id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - display_name - name - type - config - id - created_at - updated_at CreateAIGatewayCustomPolicyInstalledRequest: type: object properties: name: description: 'A user-defined unique identifier for this custom policy, used as a stable human-readable reference. This value is immutable after creation.' example: my-installed-custom-policy allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' type: description: An installed Kong plugin used as a custom policy. type: string const: installed display_name: description: The display name for this custom policy. type: string example: Custom Policy - Installed plugin maxLength: 256 minLength: 1 schema: description: 'The Lua schema definition for the custom policy, equivalent to a Kong plugin''s `schema.lua`.' type: string example: <lua_schema> minLength: 1 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - name - type - display_name - schema CreateAIGatewayCustomPolicyStreamingRequest: type: object properties: name: description: 'A user-defined unique identifier for this custom policy, used as a stable human-readable reference. This value is immutable after creation.' example: my-streaming-custom-policy allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' type: description: A streaming Kong plugin used as a custom policy. type: string const: streaming display_name: description: The display name for this custom policy. type: string example: Custom Policy Streaming Plugin maxLength: 256 minLength: 1 schema: description: 'The Lua schema definition for the custom policy, equivalent to a Kong plugin''s `schema.lua`.' type: string example: <lua_schema> minLength: 1 handler: description: 'The Lua handler implementation for the custom policy, equivalent to a Kong plugin''s `handler.lua`.' type: string example: <lua_handler> minLength: 1 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - name - type - display_name - schema - handler CreateAIGatewayCustomPolicyRequest: description: Request payload to register a new AI Gateway custom policy. type: object discriminator: propertyName: type mapping: installed: '#/components/schemas/CreateAIGatewayCustomPolicyInstalledRequest' streaming: '#/components/schemas/CreateAIGatewayCustomPolicyStreamingRequest' oneOf: - $ref: '#/components/schemas/CreateAIGatewayCustomPolicyInstalledRequest' - $ref: '#/components/schemas/CreateAIGatewayCustomPolicyStreamingRequest' UpdateAIGatewayCustomPolicyInstalledRequest: type: object properties: name: description: 'A user-defined unique identifier for this custom policy, used as a stable human-readable reference. This value is immutable after creation.' example: my-installed-custom-policy allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' type: description: An installed Kong plugin used as a custom policy. type: string const: installed display_name: description: The display name for this custom policy. type: string example: Custom Policy - Installed plugin maxLength: 256 minLength: 1 schema: description: 'The Lua schema definition for the custom policy, equivalent to a Kong plugin''s `schema.lua`.' type: string example: <lua_schema> minLength: 1 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - name - type - display_name - schema UpdateAIGatewayCustomPolicyStreamingRequest: type: object properties: name: description: 'A user-defined unique identifier for this custom policy, used as a stable human-readable reference. This value is immutable after creation.' example: my-streaming-custom-policy allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' type: description: A streaming Kong plugin used as a custom policy. type: string const: streaming display_name: description: The display name for this custom policy. type: string example: Custom Policy Streaming Plugin maxLength: 256 minLength: 1 schema: description: 'The Lua schema definition for the custom policy, equivalent to a Kong plugin''s `schema.lua`.' type: string example: <lua_schema> minLength: 1 handler: description: 'The Lua handler implementation for the custom policy, equivalent to a Kong plugin''s `handler.lua`.' type: string example: <lua_handler> minLength: 1 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - name - type - display_name - schema - handler UpdateAIGatewayCustomPolicyRequest: description: Request payload to update an existing AI Gateway custom policy. type: object discriminator: propertyName: type mapping: installed: '#/components/schemas/UpdateAIGatewayCustomPolicyInstalledRequest' streaming: '#/components/schemas/UpdateAIGatewayCustomPolicyStreamingRequest' oneOf: - $ref: '#/components/schemas/UpdateAIGatewayCustomPolicyInstalledRequest' - $ref: '#/components/schemas/UpdateAIGatewayCustomPolicyStreamingRequest' AIGatewayCustomPolicyInstalled: type: object properties: name: description: 'A user-defined unique identifier for this custom policy, used as a stable human-readable reference. This value is immutable after creation.' example: my-installed-custom-policy allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' type: description: An installed Kong plugin used as a custom policy. type: string const: installed display_name: description: The display name for this custom policy. type: string example: Custom Policy - Installed plugin maxLength: 256 minLength: 1 schema: description: 'The Lua schema definition for the custom policy, equivalent to a Kong plugin''s `schema.lua`.' type: string example: <lua_schema> minLength: 1 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - name - type - display_name - schema - id - created_at - updated_at AIGatewayCustomPolicyStreaming: type: object properties: name: description: 'A user-defined unique identifier for this custom policy, used as a stable human-readable reference. This value is immutable after creation.' example: my-streaming-custom-policy allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' type: description: A streaming Kong plugin used as a custom policy. type: string const: streaming display_name: description: The display name for this custom policy. type: string example: Custom Policy Streaming Plugin maxLength: 256 minLength: 1 schema: description: 'The Lua schema definition for the custom policy, equivalent to a Kong plugin''s `schema.lua`.' type: string example: <lua_schema> minLength: 1 handler: description: 'The Lua handler implementation for the custom policy, equivalent to a Kong plugin''s `handler.lua`.' type: string example: <lua_handler> minLength: 1 labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - name - type - display_name - schema - handler - id - created_at - updated_at AIGatewayCustomPolicy: description: An AI Gateway custom policy. type: object discriminator: propertyName: type mapping: installed: '#/components/schemas/AIGatewayCustomPolicyInstalled' streaming: '#/components/schemas/AIGatewayCustomPolicyStreaming' oneOf: - $ref: '#/components/schemas/AIGatewayCustomPolicyInstalled' - $ref: '#/components/schemas/AIGatewayCustomPolicyStreaming' CreateAIGatewayAgentRequest: type: object properties: display_name: description: The display name for this agent. type: string example: Kong Air Flight Booking Agent maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.' example: kongair-flight-booking-agent allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' enabled: description: Whether the Agent is enabled. type: boolean example: true default: true type: description: The type of the agent. type: string example: a2a enum: - a2a - http x-speakeasy-unknown-values: allow policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' access: $ref: '#/components/schemas/AIGatewayAgentAccess' config: description: Configuration for the agent. The structure varies depending on the agent type. type: object additionalProperties: false properties: url: description: | Helper field to set protocol, host, port and path of the upstream A2A Agent using a URL. This is the same as a Kong Gateway Service URL: ${scheme}://${host}:${port}/${path} type: string format: uri example: 'https://booking-agent.internal.kongair.com' default: null minLength: 1 nullable: true x-speakeasy-param-computed: false upstream: $ref: '#/components/schemas/AIGatewayUpstreamConfig' route: $ref: '#/components/schemas/AIGatewayRouteConfig' proxy: $ref: '#/components/schemas/AIGatewayProxyConfig' max_request_body_size: description: Maximum size of request body to parse. Set to 0 for unlimited. type: integer default: 8388608 maximum: 2147483646 minimum: 0 logging: description: Configuration for AI Gateway logging. type: object additionalProperties: false properties: payloads: type: boolean default: false max_payload_size: description: Maximum size in bytes for logged request/response payloads. Payloads exceeding this size will be truncated. type: integer example: 524288 default: 1048576 exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: true certificates: description: | Client certificates used for mutual TLS (mTLS) authentication with the upstream agent endpoint, referenced by name. Each entry must be the `name` of an existing AI Certificate on the same AI Gateway. The certificates are applied to the Kong Gateway Service generated for this Agent, which proxies requests to `config.url`. The generated Service presents a single client certificate (`client_certificate`) during the TLS handshake with the upstream, so at most one certificate may be configured. If unset, no client certificate is presented to the upstream. type: array items: $ref: '#/components/schemas/AIGatewayCertificateReference' maxItems: 1 x-speakeasy-param-computed: true ca_certificates: description: | CA certificates used to verify the TLS certificate of the upstream agent endpoint, referenced by name. Each entry must be the `name` of an existing AI CA Certificate on the same AI Gateway. The CA certificates build the trust store (`ca_certificates`) of the Kong Gateway Service generated for this Agent, which proxies requests to `config.url`. If unset, the default trust store is used to verify the upstream's TLS certificate. type: array items: $ref: '#/components/schemas/AIGatewayCACertificateReference' x-speakeasy-param-computed: true labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - display_name - name - type - config UpdateAIGatewayAgentRequest: type: object properties: display_name: description: The display name for this agent. type: string example: Kong Air Flight Booking Agent maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.' example: kongair-flight-booking-agent allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' enabled: description: Whether the Agent is enabled. type: boolean example: true default: true type: description: The type of the agent. type: string example: a2a enum: - a2a - http x-speakeasy-unknown-values: allow policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' access: $ref: '#/components/schemas/AIGatewayAgentAccess' config: description: Configuration for the agent. The structure varies depending on the agent type. type: object additionalProperties: false properties: url: description: | Helper field to set protocol, host, port and path of the upstream A2A Agent using a URL. This is the same as a Kong Gateway Service URL: ${scheme}://${host}:${port}/${path} type: string format: uri example: 'https://booking-agent.internal.kongair.com' default: null minLength: 1 nullable: true x-speakeasy-param-computed: false upstream: $ref: '#/components/schemas/AIGatewayUpstreamConfig' route: $ref: '#/components/schemas/AIGatewayRouteConfig' proxy: $ref: '#/components/schemas/AIGatewayProxyConfig' max_request_body_size: description: Maximum size of request body to parse. Set to 0 for unlimited. type: integer default: 8388608 maximum: 2147483646 minimum: 0 logging: description: Configuration for AI Gateway logging. type: object additionalProperties: false properties: payloads: type: boolean default: false max_payload_size: description: Maximum size in bytes for logged request/response payloads. Payloads exceeding this size will be truncated. type: integer example: 524288 default: 1048576 exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: true certificates: description: | Client certificates used for mutual TLS (mTLS) authentication with the upstream agent endpoint, referenced by name. Each entry must be the `name` of an existing AI Certificate on the same AI Gateway. The certificates are applied to the Kong Gateway Service generated for this Agent, which proxies requests to `config.url`. The generated Service presents a single client certificate (`client_certificate`) during the TLS handshake with the upstream, so at most one certificate may be configured. If unset, no client certificate is presented to the upstream. type: array items: $ref: '#/components/schemas/AIGatewayCertificateReference' maxItems: 1 x-speakeasy-param-computed: true ca_certificates: description: | CA certificates used to verify the TLS certificate of the upstream agent endpoint, referenced by name. Each entry must be the `name` of an existing AI CA Certificate on the same AI Gateway. The CA certificates build the trust store (`ca_certificates`) of the Kong Gateway Service generated for this Agent, which proxies requests to `config.url`. If unset, the default trust store is used to verify the upstream's TLS certificate. type: array items: $ref: '#/components/schemas/AIGatewayCACertificateReference' x-speakeasy-param-computed: true labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - display_name - name - type - config AIGatewayAgent: type: object properties: display_name: description: The display name for this agent. type: string example: Kong Air Flight Booking Agent maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.' example: kongair-flight-booking-agent allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' enabled: description: Whether the Agent is enabled. type: boolean example: true default: true type: description: The type of the agent. type: string example: a2a enum: - a2a - http x-speakeasy-unknown-values: allow policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' access: $ref: '#/components/schemas/AIGatewayAgentAccess' config: description: Configuration for the agent. The structure varies depending on the agent type. type: object additionalProperties: false properties: url: description: | Helper field to set protocol, host, port and path of the upstream A2A Agent using a URL. This is the same as a Kong Gateway Service URL: ${scheme}://${host}:${port}/${path} type: string format: uri example: 'https://booking-agent.internal.kongair.com' default: null minLength: 1 nullable: true x-speakeasy-param-computed: false upstream: $ref: '#/components/schemas/AIGatewayUpstreamConfig' route: $ref: '#/components/schemas/AIGatewayRouteConfig' proxy: $ref: '#/components/schemas/AIGatewayProxyConfig' max_request_body_size: description: Maximum size of request body to parse. Set to 0 for unlimited. type: integer default: 8388608 maximum: 2147483646 minimum: 0 logging: description: Configuration for AI Gateway logging. type: object additionalProperties: false properties: payloads: type: boolean default: false max_payload_size: description: Maximum size in bytes for logged request/response payloads. Payloads exceeding this size will be truncated. type: integer example: 524288 default: 1048576 exclusiveMinimum: true maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: true certificates: description: | Client certificates used for mutual TLS (mTLS) authentication with the upstream agent endpoint, referenced by name. Each entry must be the `name` of an existing AI Certificate on the same AI Gateway. The certificates are applied to the Kong Gateway Service generated for this Agent, which proxies requests to `config.url`. The generated Service presents a single client certificate (`client_certificate`) during the TLS handshake with the upstream, so at most one certificate may be configured. If unset, no client certificate is presented to the upstream. type: array items: $ref: '#/components/schemas/AIGatewayCertificateReference' maxItems: 1 x-speakeasy-param-computed: true ca_certificates: description: | CA certificates used to verify the TLS certificate of the upstream agent endpoint, referenced by name. Each entry must be the `name` of an existing AI CA Certificate on the same AI Gateway. The CA certificates build the trust store (`ca_certificates`) of the Kong Gateway Service generated for this Agent, which proxies requests to `config.url`. If unset, the default trust store is used to verify the upstream's TLS certificate. type: array items: $ref: '#/components/schemas/AIGatewayCACertificateReference' x-speakeasy-param-computed: true labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - display_name - name - type - config - id - created_at - updated_at CreateAIGatewayConsumerRequest: description: Configuration for an AI Gateway Consumer. type: object properties: display_name: description: The display name for this consumer instance. type: string example: Greg's Dev Consumer maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this consumer, used as a stable human-readable reference. This value is immutable after creation.' example: gregs-dev-consumer allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' type: description: The type of the consumer. type: string enum: - api-key - oauth x-speakeasy-unknown-values: allow custom_id: description: Identifier for mapping the consumer when using OAuth authentication. type: string example: dev-users x-speakeasy-param-computed: false policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - display_name - name - type UpdateAIGatewayConsumerRequest: description: Configuration for an AI Gateway Consumer. type: object properties: display_name: description: The display name for this consumer instance. type: string example: Greg's Dev Consumer maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this consumer, used as a stable human-readable reference. This value is immutable after creation.' example: gregs-dev-consumer allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' type: description: The type of the consumer. type: string enum: - api-key - oauth x-speakeasy-unknown-values: allow custom_id: description: Identifier for mapping the consumer when using OAuth authentication. type: string example: dev-users x-speakeasy-param-computed: false policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - display_name - name - type AIGatewayConsumer: description: Configuration for an AI Gateway Consumer. type: object properties: display_name: description: The display name for this consumer instance. type: string example: Greg's Dev Consumer maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this consumer, used as a stable human-readable reference. This value is immutable after creation.' example: gregs-dev-consumer allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' type: description: The type of the consumer. type: string enum: - api-key - oauth x-speakeasy-unknown-values: allow custom_id: description: Identifier for mapping the consumer when using OAuth authentication. type: string example: dev-users x-speakeasy-param-computed: false policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - display_name - name - type - id - created_at - updated_at AIGatewayConsumerCredential: type: object properties: display_name: description: The display name for this credential instance. type: string example: Greg's Dev Key minLength: 1 name: description: 'A user-defined unique identifier for this credential, used as a stable human-readable reference. This value is immutable after creation.' example: gregs-dev-key allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' type: type: string example: api-key enum: - api-key ttl: description: The API Key's time-to-live in seconds. A value of 0 means the API Key never expires. type: integer example: 86400 default: 0 id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - display_name - name - type - id - created_at - updated_at AIGatewayConsumerCredentialWithKey: type: object properties: display_name: description: The display name for this credential instance. type: string example: Greg's Dev Key minLength: 1 name: description: 'A user-defined unique identifier for this credential, used as a stable human-readable reference. This value is immutable after creation.' example: gregs-dev-key allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' type: type: string example: api-key enum: - api-key ttl: description: The API Key's time-to-live in seconds. A value of 0 means the API Key never expires. type: integer example: 86400 default: 0 api_key: description: 'The API Key value. If not provided, then the key will be auto generated by the server and returned in the response.' type: string example: sk-387788hd3xnej id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - display_name - name - id - created_at - updated_at - type - api_key CreateAIGatewayConsumerCredentialRequest: type: object properties: display_name: description: The display name for this credential instance. type: string example: Greg's Dev Key minLength: 1 name: description: 'A user-defined unique identifier for this credential, used as a stable human-readable reference. This value is immutable after creation.' example: gregs-dev-key allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' type: type: string example: api-key enum: - api-key ttl: description: The API Key's time-to-live in seconds. A value of 0 means the API Key never expires. type: integer example: 86400 default: 0 api_key: description: 'The API Key value. If not provided, then the key will be auto generated by the server and returned in the response.' type: string example: sk-387788hd3xnej writeOnly: true x-speakeasy-param-computed: true additionalProperties: false required: - display_name - name - type CreateAIGatewayConsumerGroupRequest: type: object properties: display_name: description: The display name for this consumer group instance. type: string example: Dev Users Group maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this consumer group, used as a stable human-readable reference. This value is immutable after creation.' example: dev-users allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - display_name - name UpdateAIGatewayConsumerGroupRequest: type: object properties: display_name: description: The display name for this consumer group instance. type: string example: Dev Users Group maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this consumer group, used as a stable human-readable reference. This value is immutable after creation.' example: dev-users allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - display_name - name AddAIGatewayConsumerToGroupRequest: properties: consumer: description: The ID of the consumer to add to the group. type: string example: cf4c7e60-11db-49dd-b300-7c7e5f0f7e6b minLength: 1 x-speakeasy-name-override: consumer_id additionalProperties: false required: - consumer AIGatewayConsumerGroup: type: object properties: display_name: description: The display name for this consumer group instance. type: string example: Dev Users Group maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this consumer group, used as a stable human-readable reference. This value is immutable after creation.' example: dev-users allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - display_name - name - id - created_at - updated_at AIGatewayMCPServerConversionOnly: type: object properties: type: type: string const: conversion-only config: $ref: '#/components/schemas/AIGatewayMCPServerWithUpstreamNoProxyConfigNoServerConfig' tools: description: List of tools exposed by this MCP Server. type: array items: $ref: '#/components/schemas/AIGatewayMCPConversionTool' minItems: 1 x-speakeasy-param-computed: true display_name: description: The display name for the MCP Server. type: string example: Kong Air Flights maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this MCP server, used as a stable human-readable reference. This value is immutable after creation.' example: kongair-flights allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' enabled: description: Whether the MCP Server is enabled. type: boolean example: true default: true policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' additionalProperties: false required: - type - config - tools - display_name - name AIGatewayMCPServerConversionListener: type: object properties: type: type: string const: conversion-listener config: description: Server-side configuration specific to modes where Kong answers as the MCP server. type: object additionalProperties: false properties: route: $ref: '#/components/schemas/AIGatewayMCPServerRouteWithMatcher' logging: description: Configuration for AI Gateway logging. type: object additionalProperties: false properties: payloads: type: boolean default: false audits: type: boolean default: false x-speakeasy-param-computed: true max_request_body_size: description: Maximum size of request body to parse. Set to 0 for unlimited. type: integer default: 8388608 maximum: 2147483646 minimum: 0 server: $ref: '#/components/schemas/AIGatewayMCPServerServerConfigBase' url: description: | Helper field to set protocol, host, port and path of the upstream service using a URL. This is the same as a Kong Gateway Service URL: ${scheme}://${host}:${port}/${path} type: string format: uri example: 'https://mcp.internal.kongair.com' minLength: 1 nullable: true x-speakeasy-param-computed: false certificates: description: | Client certificates used for mutual TLS (mTLS) authentication with the upstream MCP server, referenced by name. Each entry must be the `name` of an existing AI Certificate on the same AI Gateway. The certificates are applied to the Kong Gateway Service generated for this MCP Server, which proxies requests to the upstream MCP server. The generated Service presents a single client certificate (`client_certificate`) during the TLS handshake with the upstream, so at most one certificate may be configured. If unset, no client certificate is presented to the upstream. type: array items: $ref: '#/components/schemas/AIGatewayCertificateReference' maxItems: 1 x-speakeasy-param-computed: true ca_certificates: description: | CA certificates used to verify the TLS certificate of the upstream MCP server, referenced by name. Each entry must be the `name` of an existing AI CA Certificate on the same AI Gateway. The CA certificates build the trust store (`ca_certificates`) of the Kong Gateway Service generated for this MCP Server, which proxies requests to the upstream MCP server. If unset, the default trust store is used to verify the upstream's TLS certificate. type: array items: $ref: '#/components/schemas/AIGatewayCACertificateReference' x-speakeasy-param-computed: true allowed_versions: description: |- The MCP protocol revisions this server accepts. Leave unset to accept every revision Kong implements, which is the default. When set, `server/discover` advertises exactly this list and a request declaring anything else is rejected. Listing only per-request revisions refuses handshake clients. **Requires a minimum runtime version of `2.1`**. type: array items: type: string enum: - '2026-07-28' - '2025-11-25' - '2025-06-18' - '2025-03-26' x-speakeasy-unknown-values: allow minItems: 1 nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache: description: |- Cache hints Kong emits on the cacheable operations it serves. Only clients on a protocol revision that defines them receive them. **Requires a minimum runtime version of `2.1`**. type: object additionalProperties: false properties: tools_list: $ref: '#/components/schemas/AIGatewayMCPServerCacheHint' discover: $ref: '#/components/schemas/AIGatewayMCPServerCacheHint' x-min-runtime-version: '2.1' x-speakeasy-param-computed: false upstream: $ref: '#/components/schemas/AIGatewayMCPServerUpstreamConfig' required: - route title: AIGatewayMCPServerKongListenerConfig x-terraform-no-default-null: true tools: description: | List of tools exposed by this MCP Server. Each tool's `path`, `method`, and `host` describe the backend HTTP operation on the upstream selected by `config.url` — they do not need to match the public MCP Route configured in `config.route`. type: array items: $ref: '#/components/schemas/AIGatewayMCPConversionTool' minItems: 1 x-speakeasy-param-computed: true access: $ref: '#/components/schemas/AIGatewayMCPServerListenerAccess' rate_limiting: $ref: '#/components/schemas/AIGatewayMCPServerRateLimiting' display_name: description: The display name for the MCP Server. type: string example: Kong Air Flights maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this MCP server, used as a stable human-readable reference. This value is immutable after creation.' example: kongair-flights allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' enabled: description: Whether the MCP Server is enabled. type: boolean example: true default: true policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' additionalProperties: false required: - type - config - tools - display_name - name AIGatewayMCPServerListener: type: object properties: type: type: string const: listener config: description: Server-side configuration specific to modes where Kong answers as the MCP server. type: object additionalProperties: false properties: route: $ref: '#/components/schemas/AIGatewayMCPServerRouteWithMatcher' logging: description: Configuration for AI Gateway logging. type: object additionalProperties: false properties: payloads: type: boolean default: false audits: type: boolean default: false x-speakeasy-param-computed: true max_request_body_size: description: Maximum size of request body to parse. Set to 0 for unlimited. type: integer default: 8388608 maximum: 2147483646 minimum: 0 server: $ref: '#/components/schemas/AIGatewayMCPServerServerConfigBase' allowed_versions: description: |- The MCP protocol revisions this server accepts. Leave unset to accept every revision Kong implements, which is the default. When set, `server/discover` advertises exactly this list and a request declaring anything else is rejected. Listing only per-request revisions refuses handshake clients. **Requires a minimum runtime version of `2.1`**. type: array items: type: string enum: - '2026-07-28' - '2025-11-25' - '2025-06-18' - '2025-03-26' x-speakeasy-unknown-values: allow minItems: 1 nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache: description: |- Cache hints Kong emits on the cacheable operations it serves. Only clients on a protocol revision that defines them receive them. **Requires a minimum runtime version of `2.1`**. type: object additionalProperties: false properties: tools_list: $ref: '#/components/schemas/AIGatewayMCPServerCacheHint' discover: $ref: '#/components/schemas/AIGatewayMCPServerCacheHint' x-min-runtime-version: '2.1' x-speakeasy-param-computed: false required: - route title: AIGatewayMCPServerKongListenerConfig x-terraform-no-default-null: true sources: description: | The explicit list of source MCP Servers whose tools this listener exposes. Each entry is the immutable `name` of a `conversion-only` (toolset) or `upstream-server` (third-party MCP server) MCP Server in the same AI Gateway. All of the referenced source's tools are exposed. type: array items: $ref: '#/components/schemas/AIGatewayEntityIdentifier' example: - kongair-flights - github-mcp minItems: 1 access: $ref: '#/components/schemas/AIGatewayMCPServerListenerAccess' display_name: description: The display name for the MCP Server. type: string example: Kong Air Flights maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this MCP server, used as a stable human-readable reference. This value is immutable after creation.' example: kongair-flights allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' enabled: description: Whether the MCP Server is enabled. type: boolean example: true default: true policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' additionalProperties: false required: - type - config - sources - display_name - name AIGatewayMCPServerPassthroughListener: type: object properties: type: type: string const: passthrough-listener config: $ref: '#/components/schemas/AIGatewayMCPServerWithUpstreamConfig' tools: description: | Per-tool access-control overrides for tools advertised by the remote MCP Server. Each entry is matched to a remote tool by `name`; only its access-control rules are applied. type: array items: $ref: '#/components/schemas/AIGatewayMCPPassthroughTool' x-speakeasy-param-computed: true access: $ref: '#/components/schemas/AIGatewayMCPServerListenerAccess' rate_limiting: $ref: '#/components/schemas/AIGatewayMCPServerRateLimiting' display_name: description: The display name for the MCP Server. type: string example: Kong Air Flights maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this MCP server, used as a stable human-readable reference. This value is immutable after creation.' example: kongair-flights allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' enabled: description: Whether the MCP Server is enabled. type: boolean example: true default: true policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' additionalProperties: false required: - type - config - display_name - name AIGatewayMCPServerRateLimiting: description: |- Rate limits applied to requests to this MCP Server, matched by MCP method or tool name. Each AI Gateway node counts and enforces the limits independently. **Requires a minimum runtime version of `2.3`**. type: object properties: limits: description: | The rate limits to enforce. Each entry targets exactly one of `method` or `tool`. Two entries cannot share the same target and `window_size`. type: array items: $ref: '#/components/schemas/AIGatewayMCPServerRateLimit' example: - method: tools/call limit: 100 window_size: 60 - tool: search_flights limit: 10 window_size: 1 minItems: 1 additionalProperties: false required: - limits title: AIGatewayMCPServerRateLimiting x-min-runtime-version: '2.3' x-speakeasy-param-computed: false AIGatewayMCPServerRateLimit: description: A rate limit on an MCP method or tool. Exactly one of `method` or `tool` must be set. type: object properties: method: description: The MCP method this limit applies to. type: string example: tools/call nullable: true pattern: '^[A-Za-z0-9._/-]+$' x-speakeasy-param-computed: false tool: description: The name of the tool this limit applies to. type: string example: search_flights maxLength: 128 minLength: 1 nullable: true pattern: '^[A-Za-z0-9._/-]+$' x-speakeasy-param-computed: false limit: description: The number of requests allowed per window. type: integer example: 100 maximum: 2147483646 minimum: 1 window_size: description: 'The window size in seconds, one of a second, a minute, an hour, or a day.' type: integer example: 60 enum: - 1 - 60 - 3600 - 86400 x-speakeasy-unknown-values: allow additionalProperties: false required: - limit - window_size title: AIGatewayMCPServerRateLimit x-terraform-no-default-null: true AIGatewayMCPServerUpstreamServer: type: object properties: type: type: string const: upstream-server config: $ref: '#/components/schemas/AIGatewayMCPServerUpstreamServerConfig' tools: description: | List of tools exposed by this MCP Server. type: array items: $ref: '#/components/schemas/AIGatewayMCPUpstreamTool' x-speakeasy-param-computed: true display_name: description: The display name for the MCP Server. type: string example: Kong Air Flights maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this MCP server, used as a stable human-readable reference. This value is immutable after creation.' example: kongair-flights allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' enabled: description: Whether the MCP Server is enabled. type: boolean example: true default: true policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' additionalProperties: false required: - type - config - display_name - name AIGatewayMCPToolAccess: description: Access-control rules for a tool. type: object properties: acls: description: | Access control rules for allowing or denying consumer groups access to this tool. When configured, these will override the default access control rules defined on the MCP Server. allOf: - $ref: '#/components/schemas/AIGatewayMCPACLs' additionalProperties: false AIGatewayMCPPassthroughTool: description: | A tool exposed by an MCP Server in `passthrough-listener` mode. type: object properties: access: $ref: '#/components/schemas/AIGatewayMCPToolAccess' name: description: Tool identifier used to match remote MCP Server tools for ACL enforcement. type: string minLength: 1 additionalProperties: false required: - name - access title: AIGatewayMCPPassthroughTool AIGatewayMCPConversionTool: description: A tool exposed by an MCP Server in `conversion-only` or `conversion-listener` mode. type: object properties: access: $ref: '#/components/schemas/AIGatewayMCPToolAccess' annotations: $ref: '#/components/schemas/AIGatewayMCPToolAnnotations' description: description: A description of what the tool does. type: string example: Search for available flights name: description: 'The MCP tool name. In upstream-server mode, it also matches the remote MCP Server tool whose metadata this entry overrides.' type: string maxLength: 128 minLength: 1 pattern: '^[A-Za-z0-9._-]+$' headers: $ref: '#/components/schemas/AIGatewayMCPToolHeaders' host: description: 'The host used when forwarding the request to the upstream API. By default, Kong will extract the host from API configuration. If the configured host is wildcard, this field is required.' type: string nullable: true x-speakeasy-param-computed: false method: description: The HTTP method used when forwarding the request to the upstream API. type: string enum: - DELETE - GET - PATCH - POST - PUT x-speakeasy-unknown-values: allow path: description: | The path of the exported API. Always treated as relative to the path component of `config.url` and simply concatenated onto it — a leading `/` has no special "absolute path" meaning. If this tool's `host` or `scheme` overrides the source's URL, `path` is instead relative to the root of that overridden host, since there is no URL path from a different host to append to. By default, Kong will extract the path from API configuration. type: string nullable: true x-speakeasy-param-computed: false query: $ref: '#/components/schemas/AIGatewayMCPToolQuery' request_body: $ref: '#/components/schemas/AIGatewayMCPToolRequestBody' responses: $ref: '#/components/schemas/AIGatewayMCPToolResponses' scheme: description: 'The scheme of the exported API. By default, Kong will extract the scheme from API configuration. If the configured scheme is not expected, this field can be used to override it.' type: string enum: - http - https x-speakeasy-unknown-values: allow parameters: $ref: '#/components/schemas/AIGatewayMCPToolParameters' additionalProperties: false required: - name - description - method x-terraform-no-default-null: true AIGatewayMCPServerListenerAccess: default: acl_attribute_type: consumer discriminator: propertyName: acl_attribute_type mapping: consumer: '#/components/schemas/AIGatewayMCPServerListenerConsumer' oauth_access_token: '#/components/schemas/AIGatewayMCPServerListenerOauth' oneOf: - $ref: '#/components/schemas/AIGatewayMCPServerListenerConsumer' - $ref: '#/components/schemas/AIGatewayMCPServerListenerOauth' AIGatewayMCPServerListenerConsumer: description: | Auth strategy and OAuth 2.0 Protected Resource Metadata configuration for granting access to an MCP server. type: object properties: acl_attribute_type: description: The type of attributes that ACL is evaluated with. type: string default: consumer const: consumer acls: description: | Server-level access control rules for allowing or denying consumer groups. This is the top-level gate: a caller's consumer group must pass this check before any MCP protocol operation (`initialize`, `tools/list`, `tools/call`) is allowed, and before any tool-level `default_tool_acls` or per-tool `access.acls` check is evaluated. allOf: - $ref: '#/components/schemas/AIGatewayMCPServerACLs' default_tool_acls: description: | Default per-tool access control rules for allowing or denying consumer groups access to tools. Evaluated only for callers that already passed the server-level `acls` check above. Applies to every tool exposed by this MCP Server unless a specific tool overrides it via that tool's own `access.acls`. allOf: - $ref: '#/components/schemas/AIGatewayMCPACLs' identity_providers: description: | List of identity providers for granting access to the MCP server. At most 1 identity provider of each identity provider type can be referenced. Deprecated: use `auth_strategies` instead. The two are mutually exclusive. type: array items: $ref: '#/components/schemas/AIGatewayIdentityProviderReference' deprecated: true maxItems: 1 x-speakeasy-param-computed: true auth_strategies: description: | List of auth strategies for granting access to the MCP server. At most 1 auth strategy of each auth strategy type can be referenced. type: array items: $ref: '#/components/schemas/AIGatewayAuthStrategyReference' maxItems: 1 x-speakeasy-param-computed: true metadata: description: OAuth 2.0 Protected Resource Metadata advertised for this MCP server. allOf: - $ref: '#/components/schemas/AIGatewayMCPServerProtectedResourceMetadata' additionalProperties: false required: - acl_attribute_type title: AIGatewayMCPServerBaseACLPropertiesConsumer AIGatewayMCPServerListenerOauth: description: | Auth strategy and OAuth 2.0 Protected Resource Metadata configuration for granting access to an MCP server. type: object properties: acl_attribute_type: description: The type of attributes that ACL is evaluated with. type: string const: oauth_access_token access_token_claim_field: description: | The claim in the OAuth2 access token to use as the subject for ACL evaluation when `acl_attribute_type` is set to `oauth_access_token`. Nested claim can be fetched by using a jq filter starts with dot, e.g., “.user.email”: https://jqlang.org/manual/#object-identifier-index type: string minLength: 1 acls: description: | Server-level access control rules for allowing or denying callers, evaluated against the value of the configured `access_token_claim_field`. This is the top-level gate: a caller must pass this check before any MCP protocol operation (`initialize`, `tools/list`, `tools/call`) is allowed, and before any tool-level `default_tool_acls` or per-tool `access.acls` check is evaluated. allOf: - $ref: '#/components/schemas/AIGatewayMCPServerACLs' default_tool_acls: description: | Default per-tool access control rules for allowing or denying callers access to tools, evaluated against the value of the configured `access_token_claim_field`. Evaluated only for callers that already passed the server-level `acls` check above. Applies to every tool exposed by this MCP Server unless a specific tool overrides it via that tool's own `access.acls`. allOf: - $ref: '#/components/schemas/AIGatewayMCPACLs' identity_providers: description: | List of identity providers for granting access to the MCP server. At most 1 identity provider of each identity provider type can be referenced. Deprecated: use `auth_strategies` instead. The two are mutually exclusive. type: array items: $ref: '#/components/schemas/AIGatewayIdentityProviderReference' deprecated: true maxItems: 1 x-speakeasy-param-computed: true auth_strategies: description: | List of auth strategies for granting access to the MCP server. At most 1 auth strategy of each auth strategy type can be referenced. type: array items: $ref: '#/components/schemas/AIGatewayAuthStrategyReference' maxItems: 1 x-speakeasy-param-computed: true metadata: description: OAuth 2.0 Protected Resource Metadata advertised for this MCP server. allOf: - $ref: '#/components/schemas/AIGatewayMCPServerProtectedResourceMetadata' additionalProperties: false required: - acl_attribute_type - access_token_claim_field title: AIGatewayMCPServerBaseACLPropertiesOauth AIGatewayMCPServerProtectedResourceMetadata: description: | OAuth 2.0 Protected Resource Metadata (RFC 9728) advertised for this MCP server, allowing clients to discover the authorization servers that protect it. type: object properties: discovery_endpoint: description: The authorization server metadata discovery URL. type: string x-speakeasy-param-computed: false endpoint: description: The URL path where the OAuth 2.0 Protected Resource Metadata is served. type: string x-speakeasy-param-computed: false authorization_servers: description: List of authorization server issuer URLs that can issue tokens for this resource. type: array items: type: string x-speakeasy-param-computed: false resource: description: The protected resource's identifier (resource URI). type: string x-speakeasy-param-computed: false scopes_supported: description: List of OAuth scopes supported by the protected resource. type: array items: type: string x-speakeasy-param-computed: false title: AIGatewayMCPServerProtectedResourceMetadata AIGatewayTokenVaultDatastores: description: |- The Token Vault Datastore holding this entity's credential storage: the directory credentials are written to, and the encryption keys that seal them. Required when `token_vault` is set (on an auth strategy, when its credential manager is enabled), and the referenced Datastore must have type `token-vault`. Only one Datastore can be referenced. **Requires a minimum runtime version of `2.3`**. type: array items: $ref: '#/components/schemas/AIGatewayDatastoreRef' example: - name: vault-konnect-prod maxItems: 1 minItems: 1 nullable: true title: AIGatewayTokenVaultDatastores x-min-runtime-version: '2.3' x-speakeasy-param-computed: false AIGatewayTokenVault: description: |- Resolves an upstream credential per request via Kong's Token Vault instead of sending a static credential. The directory credentials live in, and the keys that encrypt them, come from the `token-vault` Datastore this entity references, and are returned read-only in `storage`. Callers must enroll with the configured Token Vault provider before the credential can be resolved. Until enrollment completes, an MCP Server serves virtual `authenticate` and `check_authentication_status` tools that guide the caller through the enrollment flow. **Requires a minimum runtime version of `2.3`**. type: object properties: provider: description: Name of the upstream credential provider registered in the Token Vault directory. type: string minLength: 1 subject_token_type: description: | The kind of bearer token the caller presents, which the Token Vault exchanges for the upstream credential. Omit it unless the request shape makes the token type ambiguous: it is otherwise resolved from the request, and failing that from the token's shape (a JWS is an `access_token`, anything else an `api_key`). type: string enum: - access_token - api_key x-speakeasy-unknown-values: allow credential: $ref: '#/components/schemas/AIGatewayTokenVaultCredential' cache: description: | Optional best-effort cache for exchanged credentials, shared across the cluster. Losing it only costs a re-exchange. Credentials are encrypted with the keys held by the Token Vault Datastore before being cached. type: object additionalProperties: false nullable: true properties: redis: $ref: '#/components/schemas/AIGatewayRedisCloudConfiguration' x-speakeasy-param-computed: false storage: description: | Read-only. The directory and encryption key versions this entity's credentials are stored with, resolved from the `token-vault` Datastore referenced in `datastores`; change them on the Datastore. allOf: - $ref: '#/components/schemas/TokenVaultDatastoreConfig' readOnly: true x-speakeasy-param-suppress-computed-diff: true example: provider: my-upstream-provider subject_token_type: access_token credential: inbound: location: header name: Authorization prefix: 'Bearer ' cache: redis: host: redis.internal port: 6379 additionalProperties: false required: - provider title: AIGatewayTokenVault x-min-runtime-version: '2.3' x-speakeasy-param-computed: false x-terraform-no-default-null: true AIGatewayTokenVaultCredential: description: | Where the caller's subject token is read from, and where the credential the Token Vault returns is placed on the upstream request. Both placements default to `Authorization: Bearer <credential>` in a header, though an `outbound` placement left unset honours whatever the provider advertises instead. Set them for providers that take the credential elsewhere, such as an `x-api-key` header carrying the raw credential. type: object properties: inbound: $ref: '#/components/schemas/AIGatewayTokenVaultCredentialPlacement' outbound: $ref: '#/components/schemas/AIGatewayTokenVaultCredentialPlacement' additionalProperties: false title: AIGatewayTokenVaultCredential AIGatewayTokenVaultCredentialPlacement: type: object properties: location: description: 'Whether the credential travels in a header, the request body, or the query string. Defaults to `header`.' type: string enum: - header - body - query x-speakeasy-unknown-values: allow name: description: | Name of the header, query parameter, or body field carrying the credential. Defaults to `Authorization` for a header, `access_token` otherwise. type: string nullable: true x-speakeasy-param-computed: false prefix: description: | String prepended verbatim to the credential value. Defaults to `Bearer ` (with its trailing space) for a header, and to no prefix otherwise. Set it to an empty string when the provider expects the raw credential. type: string minLength: 0 nullable: true x-speakeasy-param-computed: false example: location: header name: x-api-key prefix: '' additionalProperties: false title: AIGatewayTokenVaultCredentialPlacement x-terraform-no-default-null: true AIGatewayTokenVaultEnrollmentProtection: description: |- Enables enrollment protection for the Token Vault datastore linked to this auth strategy. Users of the linked Token Vault will need to authenticate using this OIDC auth strategy before completing enrollment with upstream providers. Enrollment links always store upstream credentials in the Token Vault belonging to the principal who requested the link. Enrollment protection ensures that other principals cannot use an enrollment link to unknowingly authorize the storage of their upstream credentials in another principal's Token Vault. Note that the auth strategy used to protect upstream resources such as MCP servers need not be the same auth strategy used for enrollment protection. Omit `token_vault` entirely to enforce no such enrollment protection. Requires a `token-vault` Datastore reference in `datastores`; enabling enrollment protection without one is rejected. **Requires a minimum runtime version of `2.3`**. type: object properties: enable_credential_manager: description: | Enables the self-service credential manager UI through which end users authorize upstream providers for Token Vault datastore linked to this auth strategy. This OIDC auth strategy is used to authenticate access to the self-service UI, but need not necessarily be the same auth strategy that is used to authenticate access to upstream Token Vault providers. Requires a `token-vault` Datastore reference in `datastores`; enabling the credential manager without one is rejected. The credential manager cannot be used without enrollment protection. type: boolean default: false storage: description: | Read-only. The directory and encryption key versions this entity's credentials are stored with, resolved from the `token-vault` Datastore referenced in `datastores`; change them on the Datastore. allOf: - $ref: '#/components/schemas/TokenVaultDatastoreConfig' readOnly: true x-speakeasy-param-suppress-computed-diff: true additionalProperties: false title: AIGatewayTokenVaultEnrollmentProtection x-min-runtime-version: '2.3' x-speakeasy-param-computed: false AIGatewayRedisAWSAuthentication: description: AWS specific configs for connecting to a Cloud Provider's redis instance. type: object properties: type: type: string const: aws access_key_id: description: | AWS Access Key ID to be used for authentication. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false assume_role_arn: description: | The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false cache_name: description: | The name of the AWS Elasticache cluster. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false is_serverless: description: This flag specifies whether the cluster is serverless. type: boolean default: true region: description: | The region of the AWS ElastiCache cluster. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false role_session_name: description: | The session name for the temporary credentials when assuming the IAM role. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false secret_access_key: description: | AWS Secret Access Key. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true writeOnly: true x-referenceable: true x-speakeasy-param-computed: false additionalProperties: false required: - type title: AIGatewayRedisAWSAuthentication x-terraform-no-default-null: true AIGatewayRedisAzureAuthentication: description: Azure specific configs for connecting to a Cloud Provider's redis instance. type: object properties: type: type: string const: azure client_id: description: | Azure Client ID. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: | Azure Client Secret. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true writeOnly: true x-referenceable: true x-speakeasy-param-computed: false tenant_id: description: | Azure Tenant ID. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false additionalProperties: false required: - type title: AIGatewayRedisAzureAuthentication x-terraform-no-default-null: true AIGatewayRedisGCPAuthentication: description: GCP specific configs for connecting to a Cloud Provider's redis instance. type: object properties: type: type: string const: gcp service_account_json: description: | GCP Service Account JSON. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true writeOnly: true x-referenceable: true x-speakeasy-param-computed: false additionalProperties: false required: - type title: AIGatewayRedisGCPAuthentication x-terraform-no-default-null: true AIGatewayRedisCloudConfiguration: description: Config for connecting to a Cloud Provider's Redis instance. type: object properties: cloud_authentication: description: Auth related config for connecting to a Cloud Provider's Redis instance. discriminator: propertyName: type mapping: aws: '#/components/schemas/AIGatewayRedisAWSAuthentication' azure: '#/components/schemas/AIGatewayRedisAzureAuthentication' gcp: '#/components/schemas/AIGatewayRedisGCPAuthentication' oneOf: - $ref: '#/components/schemas/AIGatewayRedisAWSAuthentication' - $ref: '#/components/schemas/AIGatewayRedisAzureAuthentication' - $ref: '#/components/schemas/AIGatewayRedisGCPAuthentication' cluster: description: Cluster configuration for the Redis connection. type: object additionalProperties: false nullable: true properties: max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 maximum: 2147483646 minimum: 0 nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: type: object properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 minItems: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 maximum: 2147483646 minimum: 0 host: description: | A string representing a host name, such as example.com. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string default: 127.0.0.1 x-referenceable: true keepalive: description: Keepalive configuration for the Redis connection. type: object additionalProperties: false nullable: true properties: backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `pool_size`.' type: integer maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `pool_size` nor `backlog` is specified, no pool is created. If `pool_size` isn''t specified but `backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 x-speakeasy-param-computed: false password: description: | Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false port: description: | An integer representing a port number between 0 and 65535, inclusive. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string example: 6379 default: '6379' maximum: 65535 minimum: 0 x-go-type: types.Referenceable x-go-type-import: path: github.com/kong-konnect/koko-private/internal/server/public/openapi/controlplanesconfig/types name: types x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel: description: Configuration for Redis Sentinel. type: object additionalProperties: false nullable: true properties: master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string nullable: true x-speakeasy-param-computed: false nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: type: object properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 minItems: 1 nullable: true x-speakeasy-param-computed: false password: description: | Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow username: description: | Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false server_name: description: | A string representing an SNI (server name indication) value for TLS. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: true ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: true username: description: | Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false additionalProperties: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end x-terraform-no-default-null: true AIGatewayProxyConfig: description: HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider. type: object properties: http_proxy: description: HTTP proxy server to route plaintext outbound requests through. type: object additionalProperties: false nullable: true properties: host: description: 'A string representing a host name, such as example.com.' type: string nullable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false https_proxy: description: HTTPS proxy server to route TLS outbound requests through. type: object additionalProperties: false nullable: true properties: host: description: 'A string representing a host name, such as example.com.' type: string nullable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false proxy_scheme: description: The proxy scheme to use when connecting to the proxy server. type: string default: http enum: - http auth: description: Credentials used to authenticate to the proxy server. type: object additionalProperties: false nullable: true properties: username: description: | The username to use for proxy authentication. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false password: description: | The password to use for proxy authentication. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true writeOnly: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false no_proxy: description: Comma-separated list of hosts that should not be proxied. type: string nullable: true x-speakeasy-param-computed: false additionalProperties: false x-terraform-no-default-null: true AIGatewayRouteConfig: description: Configuration for an AI Gateway route. type: object properties: headers: description: 'One or more lists of values indexed by header name that will cause this route to match if present in the request. The `Host` header cannot be used with this attribute: hosts should be specified using the `hosts` attribute. When `headers` contains only one value and that value starts with the special prefix `~*`, the value is interpreted as a regular expression.' type: object example: version: - v1 - v2 additionalProperties: true x-speakeasy-param-computed: true hosts: description: A list of domain names that match this route. Note that the hosts value is case sensitive. type: array items: type: string example: foo.example.com x-speakeasy-param-computed: true https_redirect_status_code: description: 'The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is `HTTP` instead of `HTTPS`. `Location` header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the `https` protocol.' type: integer default: 426 maximum: 599 minimum: 100 methods: description: A list of HTTP methods that match this route. type: array items: type: string x-speakeasy-param-computed: true paths: description: A list of paths that match this route. type: array items: type: string x-speakeasy-param-computed: true preserve_host: description: 'When matching a route via one of the `hosts` domain names, use the request `Host` header in the upstream request headers. If set to `false`, the upstream `Host` header will be that of the service''s `host`.' type: boolean default: false protocols: description: 'An array of the protocols this route should allow. See the [route Object](#route-object) section for a list of accepted protocols. When set to only `https`, HTTP requests are answered with an upgrade error. When set to only `http`, HTTPS requests are answered with an error.' type: array items: type: string default: - http - https regex_priority: description: 'A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same `regex_priority`, the older one (lowest `created_at`) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones).' type: integer default: 0 maximum: 2147483647 minimum: -2147483648 request_buffering: description: 'Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding.' type: boolean default: true response_buffering: description: 'Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding.' type: boolean default: true strip_path: description: 'When matching a route via one of the `paths`, strip the matching prefix from the upstream request URL.' type: boolean default: true tags: description: An optional set of strings associated with the route for grouping and filtering. type: array items: type: string x-speakeasy-param-computed: true additionalProperties: false AIGatewayLoggingConfig: description: Configuration for AI Gateway logging. type: object properties: payloads: type: boolean default: false additionalProperties: false x-speakeasy-param-computed: true AIGatewayMCPServerWithUpstreamNoProxyConfigNoServerConfig: description: 'Routing, logging, and request body size limits for the MCP Server.' type: object properties: route: $ref: '#/components/schemas/AIGatewayMCPServerRouteWithMatcher' logging: description: Configuration for AI Gateway logging. type: object additionalProperties: false properties: payloads: type: boolean default: false audits: type: boolean default: false x-speakeasy-param-computed: true max_request_body_size: description: Maximum size of request body to parse. Set to 0 for unlimited. type: integer default: 8388608 url: description: | Helper field to set protocol, host, port and path of the upstream service using a URL. This is the same as a Kong Gateway Service URL: ${scheme}://${host}:${port}/${path} type: string format: uri example: 'https://mcp.internal.kongair.com' default: null minLength: 1 nullable: true x-speakeasy-param-computed: false upstream: $ref: '#/components/schemas/AIGatewayMCPServerUpstreamConfig' certificates: description: | Client certificates used for mutual TLS (mTLS) authentication with the upstream MCP server, referenced by name. Each entry must be the `name` of an existing AI Certificate on the same AI Gateway. The certificates are applied to the Kong Gateway Service generated for this MCP Server, which proxies requests to the upstream MCP server. The generated Service presents a single client certificate (`client_certificate`) during the TLS handshake with the upstream, so at most one certificate may be configured. If unset, no client certificate is presented to the upstream. type: array items: $ref: '#/components/schemas/AIGatewayCertificateReference' maxItems: 1 x-speakeasy-param-computed: true ca_certificates: description: | CA certificates used to verify the TLS certificate of the upstream MCP server, referenced by name. Each entry must be the `name` of an existing AI CA Certificate on the same AI Gateway. The CA certificates build the trust store (`ca_certificates`) of the Kong Gateway Service generated for this MCP Server, which proxies requests to the upstream MCP server. If unset, the default trust store is used to verify the upstream's TLS certificate. type: array items: $ref: '#/components/schemas/AIGatewayCACertificateReference' x-speakeasy-param-computed: true additionalProperties: false AIGatewayMCPServerWithUpstreamConfig: description: 'Routing, logging, and server configuration for the MCP Server.' type: object properties: route: $ref: '#/components/schemas/AIGatewayMCPServerRouteWithMatcher' logging: description: Configuration for AI Gateway logging. type: object additionalProperties: false properties: payloads: type: boolean default: false audits: type: boolean default: false x-speakeasy-param-computed: true max_request_body_size: description: Maximum size of request body to parse. Set to 0 for unlimited. type: integer default: 8388608 maximum: 2147483646 minimum: 0 server: description: Server-side configuration for the MCP Server. type: object additionalProperties: false nullable: true properties: forward_client_headers: description: Whether to forward the client request headers to the upstream server when calling the tools. type: boolean default: true session: description: | Enable managed session when Kong responds as MCP server in listener, conversion-listener, or upstream-server modes. This doesn't affect the passthrough-listener mode as the state in that mode is maintained by the upstream MCP servers. type: object additionalProperties: false nullable: true properties: client: description: The configuration for client-side session storage. type: object additionalProperties: false nullable: true properties: secrets: description: | The secrets that are used in session encryption. Required when the strategy is 'client'. The first secret is used for encryption, while all secrets are used for decryption to support key rotation. type: array items: type: string minLength: 8 x-referenceable: true description: | This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). minItems: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false managed: description: 'If enabled, Kong will maintain managed sessions with the MCP server.' type: boolean default: true redis: $ref: '#/components/schemas/AIGatewayRedisCloudConfiguration' session_ttl: description: The time-to-live (TTL) for each session in seconds. type: integer default: 86400 maximum: 2147483646 minimum: 0 strategy: description: 'The strategy for the session. If the value is ''client'', the session is encrypted into MCP session id assigned to the client. If the value is not ''client'', the session is stored in the configured database.' type: string enum: - client - redis x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false timeout: description: The timeout for calling the tools in milliseconds. type: integer default: 10000 maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false x-terraform-no-default-null: true url: description: | Helper field to set protocol, host, port and path of the upstream service using a URL. This is the same as a Kong Gateway Service URL: ${scheme}://${host}:${port}/${path} type: string format: uri example: 'https://mcp.internal.kongair.com' default: null minLength: 1 nullable: true x-speakeasy-param-computed: false certificates: description: | Client certificates used for mutual TLS (mTLS) authentication with the upstream MCP server, referenced by name. Each entry must be the `name` of an existing AI Certificate on the same AI Gateway. The certificates are applied to the Kong Gateway Service generated for this MCP Server, which proxies requests to the upstream MCP server. The generated Service presents a single client certificate (`client_certificate`) during the TLS handshake with the upstream, so at most one certificate may be configured. If unset, no client certificate is presented to the upstream. type: array items: $ref: '#/components/schemas/AIGatewayCertificateReference' maxItems: 1 x-speakeasy-param-computed: true ca_certificates: description: | CA certificates used to verify the TLS certificate of the upstream MCP server, referenced by name. Each entry must be the `name` of an existing AI CA Certificate on the same AI Gateway. The CA certificates build the trust store (`ca_certificates`) of the Kong Gateway Service generated for this MCP Server, which proxies requests to the upstream MCP server. If unset, the default trust store is used to verify the upstream's TLS certificate. type: array items: $ref: '#/components/schemas/AIGatewayCACertificateReference' x-speakeasy-param-computed: true upstream: $ref: '#/components/schemas/AIGatewayMCPServerUpstreamConfig' proxy: $ref: '#/components/schemas/AIGatewayProxyConfig' additionalProperties: false required: - route AIGatewayMCPServerRouteWithMatcher: description: | Route configuration for an MCP Server that terminates its own listener. At least one of `hosts`, `paths`, `methods`, or `headers` must be set so the route can match incoming requests. type: object allOf: - $ref: '#/components/schemas/AIGatewayRouteConfig' AIGatewayMCPServerUpstreamServerConfig: description: 'Routing, logging, and server configuration for the MCP Server.' type: object properties: route: $ref: '#/components/schemas/AIGatewayMCPServerRouteWithMatcher' logging: description: Configuration for AI Gateway logging. type: object additionalProperties: false properties: payloads: type: boolean default: false audits: type: boolean default: false x-speakeasy-param-computed: true max_request_body_size: description: Maximum size of request body to parse. Set to 0 for unlimited. type: integer default: 8388608 maximum: 2147483646 minimum: 0 server: $ref: '#/components/schemas/AIGatewayMCPServerUpstreamServerServerConfig' url: description: | Helper field to set protocol, host, port and path of the upstream service using a URL. This is the same as a Kong Gateway Service URL: ${scheme}://${host}:${port}/${path} type: string format: uri example: 'https://mcp.internal.kongair.com' default: null minLength: 1 nullable: true x-speakeasy-param-computed: false certificates: description: | Client certificates used for mutual TLS (mTLS) authentication with the upstream MCP server, referenced by name. Each entry must be the `name` of an existing AI Certificate on the same AI Gateway. The certificates are applied to the Kong Gateway Service generated for this MCP Server, which proxies requests to the upstream MCP server. The generated Service presents a single client certificate (`client_certificate`) during the TLS handshake with the upstream, so at most one certificate may be configured. If unset, no client certificate is presented to the upstream. type: array items: $ref: '#/components/schemas/AIGatewayCertificateReference' maxItems: 1 x-speakeasy-param-computed: true ca_certificates: description: | CA certificates used to verify the TLS certificate of the upstream MCP server, referenced by name. Each entry must be the `name` of an existing AI CA Certificate on the same AI Gateway. The CA certificates build the trust store (`ca_certificates`) of the Kong Gateway Service generated for this MCP Server, which proxies requests to the upstream MCP server. If unset, the default trust store is used to verify the upstream's TLS certificate. type: array items: $ref: '#/components/schemas/AIGatewayCACertificateReference' x-speakeasy-param-computed: true upstream: $ref: '#/components/schemas/AIGatewayMCPServerUpstreamConfig' tools_cache_ttl_seconds: description: | The time-to-live (TTL) for the upstream tools cache in seconds. Set to `0` to refresh on every client call. type: integer minimum: 0 additionalProperties: false required: - route - tools_cache_ttl_seconds AIGatewayMCPServerServerConfigBase: description: Server-side configuration for the MCP Server. type: object properties: forward_client_headers: description: Whether to forward the client request headers to the upstream server when calling the tools. type: boolean default: true session: description: | Enable managed session when Kong responds as MCP server in listener, conversion-listener, or upstream-server modes. This doesn't affect the passthrough-listener mode as the state in that mode is maintained by the upstream MCP servers. type: object additionalProperties: false nullable: true properties: client: description: The configuration for client-side session storage. type: object additionalProperties: false nullable: true properties: secrets: description: | The secrets that are used in session encryption. Required when the strategy is 'client'. The first secret is used for encryption, while all secrets are used for decryption to support key rotation. type: array items: type: string minLength: 8 x-referenceable: true description: | This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). minItems: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false managed: description: 'If enabled, Kong will maintain managed sessions with the MCP server.' type: boolean default: true redis: $ref: '#/components/schemas/AIGatewayRedisCloudConfiguration' session_ttl: description: The time-to-live (TTL) for each session in seconds. type: integer default: 86400 maximum: 2147483646 minimum: 0 strategy: description: 'The strategy for the session. If the value is ''client'', the session is encrypted into MCP session id assigned to the client. If the value is not ''client'', the session is stored in the configured database.' type: string enum: - client - redis x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false timeout: description: The timeout for calling the tools in milliseconds. type: integer default: 10000 maximum: 2147483646 minimum: 0 additionalProperties: false x-terraform-no-default-null: true AIGatewayMCPServerCacheHint: description: A cache hint Kong emits on a cacheable operation it serves. type: object properties: ttl_ms: description: 'How long a client may treat the result as fresh, in milliseconds.' type: integer minimum: 0 nullable: true x-speakeasy-param-computed: false cache_scope: description: | Whether the result may be cached across authorization contexts. `public` is rejected when the server's tool list is filtered per subject by `default_tool_acls` or a tool's own `access.acls`. type: string default: private enum: - public - private x-speakeasy-unknown-values: allow additionalProperties: false x-terraform-no-default-null: true AIGatewayMCPServerUpstreamServerServerConfig: description: Server-side configuration specific to `upstream-server` mode. type: object properties: forward_client_headers: description: Whether to forward the client request headers to the upstream server when calling the tools. type: boolean default: true session: description: | Enable managed session when Kong responds as MCP server in listener, conversion-listener, or upstream-server modes. This doesn't affect the passthrough-listener mode as the state in that mode is maintained by the upstream MCP servers. type: object additionalProperties: false nullable: true properties: client: description: The configuration for client-side session storage. type: object additionalProperties: false nullable: true properties: secrets: description: | The secrets that are used in session encryption. Required when the strategy is 'client'. The first secret is used for encryption, while all secrets are used for decryption to support key rotation. type: array items: type: string minLength: 8 x-referenceable: true description: | This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). minItems: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false managed: description: 'If enabled, Kong will maintain managed sessions with the MCP server.' type: boolean default: true redis: $ref: '#/components/schemas/AIGatewayRedisCloudConfiguration' session_ttl: description: The time-to-live (TTL) for each session in seconds. type: integer default: 86400 maximum: 2147483646 minimum: 0 strategy: description: 'The strategy for the session. If the value is ''client'', the session is encrypted into MCP session id assigned to the client. If the value is not ''client'', the session is stored in the configured database.' type: string enum: - client - redis x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false timeout: description: The timeout for calling the tools in milliseconds. type: integer default: 10000 maximum: 2147483646 minimum: 0 preserve_upstream_tool_names: description: | If enabled, the original upstream tool names are preserved as-is when Kong acts as an MCP server. If disabled (`false`), the service name will be prepended to the MCP tool names to avoid name collisions when multiple services are used. type: boolean default: false tools_list_auth: $ref: '#/components/schemas/AIGatewayMCPServerUpstreamServerServerToolAuthConfig' upstream_protocol_version: description: |- The MCP protocol revision Kong speaks to the upstream MCP server. Leave unset to negotiate a handshake revision with an `initialize` exchange, which is the default. Set a per-request revision to reach an upstream that answers no handshake and mints no session. **Requires a minimum runtime version of `2.1`**. type: string enum: - '2026-07-28' - '2025-11-25' - '2025-06-18' - '2025-03-26' x-min-runtime-version: '2.1' x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow additionalProperties: false x-terraform-no-default-null: true AIGatewayMCPServerUpstreamServerServerToolAuthConfig: description: Configuration for an Upstream Server's MCP Server Tools' Authentication. discriminator: propertyName: type mapping: jwt: '#/components/schemas/AIGatewayMCPServerUpstreamServerToolOauth2ConfigJwt' credentials: '#/components/schemas/AIGatewayMCPServerUpstreamServerToolOauth2ConfigCredentials' oneOf: - $ref: '#/components/schemas/AIGatewayMCPServerUpstreamServerToolOauth2ConfigJwt' - $ref: '#/components/schemas/AIGatewayMCPServerUpstreamServerToolOauth2ConfigCredentials' AIGatewayMCPServerUpstreamServerToolOauth2ConfigJwt: type: object properties: scope: description: | The scopes for the OAuth 2.0 client-credentials. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false access_token_header: description: | Header name used to send the fetched access token to the upstream MCP server. The value should include the header name and the token prefix if needed. type: string default: Authorization id_token_header: description: | Header name used to send the fetched ID token to the upstream MCP server. The value should include the header name and the token prefix if needed. Leave empty to omit the ID token when fetching the tools list. type: string nullable: true x-speakeasy-param-computed: false type: type: string const: jwt additionalProperties: false required: - type x-terraform-no-default-null: true AIGatewayMCPServerUpstreamServerToolOauth2ConfigCredentials: type: object properties: scope: description: | The scopes for the OAuth 2.0 client-credentials. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false access_token_header: description: | Header name used to send the fetched access token to the upstream MCP server. The value should include the header name and the token prefix if needed. type: string default: Authorization id_token_header: description: | Header name used to send the fetched ID token to the upstream MCP server. The value should include the header name and the token prefix if needed. Leave empty to omit the ID token when fetching the tools list. type: string nullable: true x-speakeasy-param-computed: false type: type: string const: credentials token_endpoint: description: | The token endpoint URL for fetching the OAuth 2.0 access token using client-credentials. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string format: uri minLength: 1 x-referenceable: true client_id: description: | The client ID for the OAuth 2.0 client-credentials. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string minLength: 1 x-referenceable: true client_secret: description: | The client secret for the OAuth 2.0 client-credentials. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true writeOnly: true x-referenceable: true x-speakeasy-param-computed: false additionalProperties: false required: - type - token_endpoint - client_id x-terraform-no-default-null: true CreateAIGatewayMCPServerRequest: discriminator: propertyName: type mapping: conversion-only: '#/components/schemas/AIGatewayMCPServerConversionOnly' conversion-listener: '#/components/schemas/AIGatewayMCPServerConversionListener' listener: '#/components/schemas/AIGatewayMCPServerListener' passthrough-listener: '#/components/schemas/AIGatewayMCPServerPassthroughListener' upstream-server: '#/components/schemas/AIGatewayMCPServerUpstreamServer' oneOf: - $ref: '#/components/schemas/AIGatewayMCPServerConversionOnly' - $ref: '#/components/schemas/AIGatewayMCPServerConversionListener' - $ref: '#/components/schemas/AIGatewayMCPServerListener' - $ref: '#/components/schemas/AIGatewayMCPServerPassthroughListener' - $ref: '#/components/schemas/AIGatewayMCPServerUpstreamServer' UpdateAIGatewayMCPServerRequest: discriminator: propertyName: type mapping: conversion-only: '#/components/schemas/AIGatewayMCPServerConversionOnly' conversion-listener: '#/components/schemas/AIGatewayMCPServerConversionListener' listener: '#/components/schemas/AIGatewayMCPServerListener' passthrough-listener: '#/components/schemas/AIGatewayMCPServerPassthroughListener' upstream-server: '#/components/schemas/AIGatewayMCPServerUpstreamServer' oneOf: - $ref: '#/components/schemas/AIGatewayMCPServerConversionOnly' - $ref: '#/components/schemas/AIGatewayMCPServerConversionListener' - $ref: '#/components/schemas/AIGatewayMCPServerListener' - $ref: '#/components/schemas/AIGatewayMCPServerPassthroughListener' - $ref: '#/components/schemas/AIGatewayMCPServerUpstreamServer' AIGatewayMCPServer: type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' discriminator: propertyName: type mapping: conversion-only: '#/components/schemas/AIGatewayMCPServerConversionOnlyResponse' conversion-listener: '#/components/schemas/AIGatewayMCPServerConversionListenerResponse' listener: '#/components/schemas/AIGatewayMCPServerListenerResponse' passthrough-listener: '#/components/schemas/AIGatewayMCPServerPassthroughListenerResponse' upstream-server: '#/components/schemas/AIGatewayMCPServerUpstreamServerResponse' oneOf: - $ref: '#/components/schemas/AIGatewayMCPServerConversionOnlyResponse' - $ref: '#/components/schemas/AIGatewayMCPServerConversionListenerResponse' - $ref: '#/components/schemas/AIGatewayMCPServerListenerResponse' - $ref: '#/components/schemas/AIGatewayMCPServerPassthroughListenerResponse' - $ref: '#/components/schemas/AIGatewayMCPServerUpstreamServerResponse' required: - id - created_at - updated_at AIGatewayMCPServerConversionOnlyResponse: type: object properties: type: type: string const: conversion-only config: $ref: '#/components/schemas/AIGatewayMCPServerWithUpstreamNoProxyConfigNoServerConfig' tools: description: List of tools exposed by this MCP Server. type: array items: $ref: '#/components/schemas/AIGatewayMCPConversionTool' minItems: 1 x-speakeasy-param-computed: true display_name: description: The display name for the MCP Server. type: string example: Kong Air Flights maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this MCP server, used as a stable human-readable reference. This value is immutable after creation.' example: kongair-flights allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' enabled: description: Whether the MCP Server is enabled. type: boolean example: true default: true policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - type - config - tools - display_name - name - id - created_at - updated_at title: AIGatewayMCPServerConversionOnlyResponse AIGatewayMCPServerConversionListenerResponse: type: object properties: type: type: string const: conversion-listener config: description: Server-side configuration specific to modes where Kong answers as the MCP server. type: object additionalProperties: false properties: route: $ref: '#/components/schemas/AIGatewayMCPServerRouteWithMatcher' logging: description: Configuration for AI Gateway logging. type: object additionalProperties: false properties: payloads: type: boolean default: false audits: type: boolean default: false x-speakeasy-param-computed: true max_request_body_size: description: Maximum size of request body to parse. Set to 0 for unlimited. type: integer default: 8388608 maximum: 2147483646 minimum: 0 server: $ref: '#/components/schemas/AIGatewayMCPServerServerConfigBase' url: description: | Helper field to set protocol, host, port and path of the upstream service using a URL. This is the same as a Kong Gateway Service URL: ${scheme}://${host}:${port}/${path} type: string format: uri example: 'https://mcp.internal.kongair.com' minLength: 1 nullable: true x-speakeasy-param-computed: false certificates: description: | Client certificates used for mutual TLS (mTLS) authentication with the upstream MCP server, referenced by name. Each entry must be the `name` of an existing AI Certificate on the same AI Gateway. The certificates are applied to the Kong Gateway Service generated for this MCP Server, which proxies requests to the upstream MCP server. The generated Service presents a single client certificate (`client_certificate`) during the TLS handshake with the upstream, so at most one certificate may be configured. If unset, no client certificate is presented to the upstream. type: array items: $ref: '#/components/schemas/AIGatewayCertificateReference' maxItems: 1 x-speakeasy-param-computed: true ca_certificates: description: | CA certificates used to verify the TLS certificate of the upstream MCP server, referenced by name. Each entry must be the `name` of an existing AI CA Certificate on the same AI Gateway. The CA certificates build the trust store (`ca_certificates`) of the Kong Gateway Service generated for this MCP Server, which proxies requests to the upstream MCP server. If unset, the default trust store is used to verify the upstream's TLS certificate. type: array items: $ref: '#/components/schemas/AIGatewayCACertificateReference' x-speakeasy-param-computed: true allowed_versions: description: |- The MCP protocol revisions this server accepts. Leave unset to accept every revision Kong implements, which is the default. When set, `server/discover` advertises exactly this list and a request declaring anything else is rejected. Listing only per-request revisions refuses handshake clients. **Requires a minimum runtime version of `2.1`**. type: array items: type: string enum: - '2026-07-28' - '2025-11-25' - '2025-06-18' - '2025-03-26' x-speakeasy-unknown-values: allow minItems: 1 nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache: description: |- Cache hints Kong emits on the cacheable operations it serves. Only clients on a protocol revision that defines them receive them. **Requires a minimum runtime version of `2.1`**. type: object additionalProperties: false properties: tools_list: $ref: '#/components/schemas/AIGatewayMCPServerCacheHint' discover: $ref: '#/components/schemas/AIGatewayMCPServerCacheHint' x-min-runtime-version: '2.1' x-speakeasy-param-computed: false upstream: $ref: '#/components/schemas/AIGatewayMCPServerUpstreamConfig' required: - route title: AIGatewayMCPServerKongListenerConfig x-terraform-no-default-null: true tools: description: | List of tools exposed by this MCP Server. Each tool's `path`, `method`, and `host` describe the backend HTTP operation on the upstream selected by `config.url` — they do not need to match the public MCP Route configured in `config.route`. type: array items: $ref: '#/components/schemas/AIGatewayMCPConversionTool' minItems: 1 x-speakeasy-param-computed: true access: $ref: '#/components/schemas/AIGatewayMCPServerListenerAccess' rate_limiting: $ref: '#/components/schemas/AIGatewayMCPServerRateLimiting' display_name: description: The display name for the MCP Server. type: string example: Kong Air Flights maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this MCP server, used as a stable human-readable reference. This value is immutable after creation.' example: kongair-flights allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' enabled: description: Whether the MCP Server is enabled. type: boolean example: true default: true policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - type - config - tools - display_name - name - id - created_at - updated_at title: AIGatewayMCPServerConversionListenerResponse AIGatewayMCPServerListenerResponse: type: object properties: type: type: string const: listener config: description: Server-side configuration specific to modes where Kong answers as the MCP server. type: object additionalProperties: false properties: route: $ref: '#/components/schemas/AIGatewayMCPServerRouteWithMatcher' logging: description: Configuration for AI Gateway logging. type: object additionalProperties: false properties: payloads: type: boolean default: false audits: type: boolean default: false x-speakeasy-param-computed: true max_request_body_size: description: Maximum size of request body to parse. Set to 0 for unlimited. type: integer default: 8388608 maximum: 2147483646 minimum: 0 server: $ref: '#/components/schemas/AIGatewayMCPServerServerConfigBase' allowed_versions: description: |- The MCP protocol revisions this server accepts. Leave unset to accept every revision Kong implements, which is the default. When set, `server/discover` advertises exactly this list and a request declaring anything else is rejected. Listing only per-request revisions refuses handshake clients. **Requires a minimum runtime version of `2.1`**. type: array items: type: string enum: - '2026-07-28' - '2025-11-25' - '2025-06-18' - '2025-03-26' x-speakeasy-unknown-values: allow minItems: 1 nullable: true x-min-runtime-version: '2.1' x-speakeasy-param-computed: false cache: description: |- Cache hints Kong emits on the cacheable operations it serves. Only clients on a protocol revision that defines them receive them. **Requires a minimum runtime version of `2.1`**. type: object additionalProperties: false properties: tools_list: $ref: '#/components/schemas/AIGatewayMCPServerCacheHint' discover: $ref: '#/components/schemas/AIGatewayMCPServerCacheHint' x-min-runtime-version: '2.1' x-speakeasy-param-computed: false required: - route title: AIGatewayMCPServerKongListenerConfig x-terraform-no-default-null: true sources: description: | The explicit list of source MCP Servers whose tools this listener exposes. Each entry is the immutable `name` of a `conversion-only` (toolset) or `upstream-server` (third-party MCP server) MCP Server in the same AI Gateway. All of the referenced source's tools are exposed. type: array items: $ref: '#/components/schemas/AIGatewayEntityIdentifier' example: - kongair-flights - github-mcp minItems: 1 access: $ref: '#/components/schemas/AIGatewayMCPServerListenerAccess' display_name: description: The display name for the MCP Server. type: string example: Kong Air Flights maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this MCP server, used as a stable human-readable reference. This value is immutable after creation.' example: kongair-flights allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' enabled: description: Whether the MCP Server is enabled. type: boolean example: true default: true policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - type - config - sources - display_name - name - id - created_at - updated_at title: AIGatewayMCPServerListenerResponse AIGatewayMCPServerPassthroughListenerResponse: type: object properties: type: type: string const: passthrough-listener config: $ref: '#/components/schemas/AIGatewayMCPServerWithUpstreamConfig' tools: description: | Per-tool access-control overrides for tools advertised by the remote MCP Server. Each entry is matched to a remote tool by `name`; only its access-control rules are applied. type: array items: $ref: '#/components/schemas/AIGatewayMCPPassthroughTool' x-speakeasy-param-computed: true access: $ref: '#/components/schemas/AIGatewayMCPServerListenerAccess' rate_limiting: $ref: '#/components/schemas/AIGatewayMCPServerRateLimiting' display_name: description: The display name for the MCP Server. type: string example: Kong Air Flights maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this MCP server, used as a stable human-readable reference. This value is immutable after creation.' example: kongair-flights allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' enabled: description: Whether the MCP Server is enabled. type: boolean example: true default: true policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - type - config - display_name - name - id - created_at - updated_at title: AIGatewayMCPServerPassthroughListenerResponse AIGatewayMCPServerUpstreamServerResponse: type: object properties: type: type: string const: upstream-server config: $ref: '#/components/schemas/AIGatewayMCPServerUpstreamServerConfig' tools: description: | List of tools exposed by this MCP Server. type: array items: $ref: '#/components/schemas/AIGatewayMCPUpstreamTool' x-speakeasy-param-computed: true display_name: description: The display name for the MCP Server. type: string example: Kong Air Flights maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this MCP server, used as a stable human-readable reference. This value is immutable after creation.' example: kongair-flights allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' enabled: description: Whether the MCP Server is enabled. type: boolean example: true default: true policies: $ref: '#/components/schemas/AIGatewayPolicyReferences' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - type - config - display_name - name - id - created_at - updated_at title: AIGatewayMCPServerUpstreamServerResponse AIGatewayMCPUpstreamTool: description: | A tool exposed by an MCP Server in `upstream-server` mode. Provides optional metadata overrides (`description`, `annotations`, `input_schema`, `output_schema`) and per-tool ACLs for a tool advertised by the upstream MCP server; any field not overridden here falls back to the remote tool's own definition. type: object properties: access: $ref: '#/components/schemas/AIGatewayMCPToolAccess' annotations: $ref: '#/components/schemas/AIGatewayMCPToolAnnotations' description: description: A description of what the tool does. type: string example: Search for available flights nullable: true x-speakeasy-param-computed: false name: description: 'The MCP tool name. In upstream-server mode, it also matches the remote MCP Server tool whose metadata this entry overrides.' type: string maxLength: 128 minLength: 1 pattern: '^[A-Za-z0-9._-]+$' input_schema: description: | The entire `inputSchema` section for the tool. Overrides the upstream server's `inputSchema` for the same tool name, if present. type: object additionalProperties: true nullable: true x-speakeasy-param-computed: false x-speakeasy-type-override: any output_schema: description: | The entire `outputSchema` section for the tool. Overrides the upstream server's `outputSchema` for the same tool name, if present. type: object additionalProperties: true nullable: true x-speakeasy-param-computed: false x-speakeasy-type-override: any additionalProperties: false required: - name x-terraform-no-default-null: true AIGatewayMCPToolAnnotations: type: object properties: destructive_hint: description: 'If true, the tool may perform destructive updates' type: boolean x-speakeasy-param-computed: false idempotent_hint: description: 'If true, repeated calls with same args have no additional effect' type: boolean x-speakeasy-param-computed: false open_world_hint: description: 'If true, tool interacts with external entities' type: boolean x-speakeasy-param-computed: false read_only_hint: description: 'If true, the tool does not modify its environment' type: boolean x-speakeasy-param-computed: false title: description: Human-readable title for the tool type: string x-speakeasy-param-computed: false additionalProperties: false AIGatewayMCPToolHeaders: description: 'The headers of the exported API. By default, Kong will extract the headers from API configuration. If the configured headers are not exactly matched, this field is required.' type: object additionalProperties: true x-speakeasy-type-override: any AIGatewayMCPToolQuery: description: 'The query arguments of the exported API. If the generated query arguments are not exactly matched, this field is required.' type: object additionalProperties: true x-speakeasy-type-override: any AIGatewayMCPToolRequestBody: description: 'The API requestBody specification defined in OpenAPI JSON format. For example, ''{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"color":{"type":"array","items":{"type":"string"}}}}}}}''. See https://swagger.io/docs/specification/v3_0/describing-request-body/describing-request-body/ for more details. Note that `$ref` is not supported.' type: object additionalProperties: true x-speakeasy-type-override: any AIGatewayMCPToolResponses: description: 'The API responses specification defined in OpenAPI JSON format. This specification will be used to validate the upstream response and map it back to the structuredOutput. For example, ''{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string"}}}}}}}}''. See https://swagger.io/docs/specification/v3_0/describing-responses/ for more details. Only one non-error (status code < 400) response is supported. Note that `$ref` is not supported.' type: object additionalProperties: true x-speakeasy-type-override: any AIGatewayMCPToolParameters: type: array items: $ref: '#/components/schemas/AIGatewayMCPToolParameter' AIGatewayMCPToolParameter: description: 'An API parameter specification defined in OpenAPI JSON format. For example, ''[{"name": "city", "in": "query", "description": "Name of the city to get the weather for", "required": true, "schema": {"type": "string"}}]''. See https://swagger.io/docs/specification/v3_0/describing-parameters/ for more details.' type: object properties: name: description: The name of the parameter. type: string example: origin minLength: 1 in: description: The location of the parameter in the request. type: string example: query enum: - query - path - header - body x-speakeasy-unknown-values: allow description: description: A description of the parameter. type: string example: The origin airport code. x-speakeasy-param-computed: false required: description: Whether this parameter is required. type: boolean example: true x-speakeasy-param-computed: false schema: description: 'JSON Schema definition for the parameter value. See https://swagger.io/docs/specification/v3_0/describing-parameters/#schema-vs-content for more details.' type: object additionalProperties: true x-speakeasy-param-computed: false additionalProperties: false required: - name - in AIGatewayIdentityProviderReference: description: Reference to a identity provider instance by name. type: string example: okta-ai-se deprecated: true AIGatewayAuthStrategyReference: description: Reference to an auth strategy instance by name. type: string example: okta-ai-se AIGatewayAuthStrategyKeyAuth: description: Configuration for an auth strategy. type: object properties: display_name: description: The display name for this auth strategy instance. type: string example: Okta AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this auth strategy instance, used as a stable human-readable reference. This value is immutable after creation.' example: okta-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' type: type: string const: key-auth config: description: | Configuration for the key-auth auth strategy. type: object additionalProperties: false properties: anonymous: description: | The read-only anonymous consumer value used when authentication fails. AI Gateway always sets this value to `anonymous`. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true hide_credentials: description: 'An optional boolean value telling the plugin to show or hide the credential from the upstream service. If `true`, the plugin strips the credential from the request.' type: boolean default: true identity_realms: description: A configuration of Konnect Identity Realms that indicate where to source a consumer from. type: array items: properties: id: description: A string representing a UUID (universally unique identifier). type: string nullable: true region: type: string nullable: true x-speakeasy-param-computed: false scope: type: string default: cp enum: - cp - realm x-speakeasy-unknown-values: allow type: object nullable: true x-speakeasy-param-computed: false key_in_body: description: 'If enabled, the plugin reads the request body. Supported MIME types: `application/www-form-urlencoded`, `application/json`, and `multipart/form-data`.' type: boolean default: false key_in_header: description: 'If enabled (default), the plugin reads the request header and tries to find the key in it.' type: boolean default: true key_in_query: description: 'If enabled (default), the plugin reads the query parameter in the request and tries to find the key in it.' type: boolean default: true key_names: description: 'Describes an array of parameter names where the plugin will look for a key. The key names may only contain [a-z], [A-Z], [0-9], [_] underscore, and [-] hyphen.' type: array items: description: A string representing an HTTP header name. type: string default: - apikey principals: type: object properties: directory: description: The Kong Identity directory instance to authenticate against. type: string default: default pattern: '^[a-zA-Z0-9_-]+$' enabled: description: 'When true, authenticate against Kong Identity instead of local credentials.' type: boolean default: false error_on_miss: description: 'When true (default), return 401 if no matching principal is found in Kong Identity. When false, allow the request to continue unauthenticated instead.' type: boolean default: true x-speakeasy-param-computed: true realm: description: When authentication fails the plugin sends `WWW-Authenticate` header with `realm` attribute value. type: string nullable: true x-speakeasy-param-computed: false run_on_preflight: description: 'A boolean value that indicates whether the plugin should run (and try to authenticate) on `OPTIONS` preflight requests. If set to `false`, then `OPTIONS` requests are always allowed.' type: boolean default: true x-speakeasy-param-computed: true x-terraform-no-default-null: true required: - display_name - name - type title: AIGatewayAuthStrategyKeyAuthConfig AIGatewayAuthStrategyOpenIDConnect: description: Configuration for an auth strategy. type: object properties: display_name: description: The display name for this auth strategy instance. type: string example: Okta AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this auth strategy instance, used as a stable human-readable reference. This value is immutable after creation.' example: okta-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' type: type: string const: openid-connect token_vault: $ref: '#/components/schemas/AIGatewayTokenVaultEnrollmentProtection' config: description: | Configuration for the OpenID Connect auth strategy. type: object additionalProperties: false properties: anonymous: description: 'An optional string (consumer UUID or username) value that functions as an “anonymous” consumer if authentication fails. If empty (default null), requests that fail authentication will return a `4xx` HTTP status code. This value must refer to the consumer `id` or `username` attribute, and **not** its `custom_id`.' type: string nullable: true x-speakeasy-param-computed: false audience: description: The audience passed to the authorization endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false audience_claim: description: 'The claim that contains the audience. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: - aud audience_required: description: The audiences (`audience_claim` claim) required to be present in the access token (or introspection results) for successful authorization. This config parameter works in both **AND** / **OR** cases. type: array items: type: string x-speakeasy-param-computed: true auth_methods: description: Types of credentials/grants to enable. type: array items: enum: - authorization_code - bearer - client_credentials - introspection - kong_oauth2 - password - refresh_token - session - userinfo type: string x-speakeasy-unknown-values: allow default: - authorization_code - bearer - client_credentials - introspection - kong_oauth2 - password - refresh_token - session - userinfo authenticated_groups_claim: description: 'The claim that contains authenticated groups. This setting can be used together with ACL plugin, but it also enables IdP managed groups with other applications and integrations. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string nullable: true x-speakeasy-param-computed: false authorization_cookie_domain: description: The authorization cookie Domain flag. type: string nullable: true x-speakeasy-param-computed: false authorization_cookie_http_only: description: 'Forbids JavaScript from accessing the cookie, for example, through the `Document.cookie` property.' type: boolean default: true authorization_cookie_name: description: The authorization cookie name. type: string default: authorization authorization_cookie_path: description: The authorization cookie Path flag. type: string default: / authorization_cookie_same_site: description: 'Controls whether a cookie is sent with cross-origin requests, providing some protection against cross-site request forgery attacks.' type: string default: Default enum: - Default - Lax - None - Strict x-speakeasy-unknown-values: allow authorization_cookie_secure: description: 'Cookie is only sent to the server when a request is made with the https: scheme (except on localhost), and therefore is more resistant to man-in-the-middle attacks.' type: boolean nullable: true x-speakeasy-param-computed: false authorization_endpoint: description: The authorization endpoint. If set it overrides the value in `authorization_endpoint` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false authorization_query_args_client: description: Extra query arguments passed from the client to the authorization endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false authorization_query_args_names: description: Extra query argument names passed to the authorization endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false authorization_query_args_values: description: Extra query argument values passed to the authorization endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false authorization_rolling_timeout: description: Specifies how long the session used for the authorization code flow can be used in seconds until it needs to be renewed. 0 disables the checks and rolling. type: number default: 600 bearer_token_cookie_name: description: The name of the cookie in which the bearer token is passed. type: string nullable: true x-speakeasy-param-computed: false bearer_token_header_name: description: |- The name of the HTTP header from which the bearer token is retrieved. The default value is `authorization:bearer`, which reads the token from the `Authorization: Bearer <token>` header. Accepts plain header names such as `x-my-token` as well as Kong's special `authorization:bearer` notation. The `access-token` and `x-access-token` headers are also checked as a fallback for backward compatibility regardless of this setting. **Requires a minimum runtime version of `2.1`**. type: string default: 'authorization:bearer' x-min-runtime-version: '2.1' x-speakeasy-param-computed: false bearer_token_param_type: description: 'Where to look for the bearer token: - `header`: search the `Authorization`, `access-token`, and `x-access-token` HTTP headers - `query`: search the URL''s query string - `body`: search the HTTP request body - `cookie`: search the HTTP request cookies specified with `config.bearer_token_cookie_name`.' type: array items: enum: - body - cookie - header - query type: string x-speakeasy-unknown-values: allow default: - body - header - query by_username_ignore_case: description: 'If `consumer_by` is set to `username`, specify whether `username` can match consumers case-insensitively.' type: boolean default: false cache_introspection: description: Cache the introspection endpoint requests. type: boolean default: true cache_token_exchange: description: Cache the legacy token exchange endpoint requests. type: boolean default: true cache_tokens: description: Cache the token endpoint requests. type: boolean default: true cache_tokens_salt: description: Salt used for generating the cache key that is used for caching the token endpoint requests. type: string cache_ttl: description: The default cache ttl in seconds that is used in case the cached object does not specify the expiry. type: number default: 3600 cache_ttl_max: description: The maximum cache ttl in seconds (enforced). type: number nullable: true x-speakeasy-param-computed: false cache_ttl_min: description: The minimum cache ttl in seconds (enforced). type: number nullable: true x-speakeasy-param-computed: false cache_ttl_neg: description: The negative cache ttl in seconds. type: number nullable: true x-speakeasy-param-computed: false cache_ttl_resurrect: description: The resurrection ttl in seconds. type: number nullable: true x-speakeasy-param-computed: false cache_user_info: description: Cache the user info requests. type: boolean default: true claims_forbidden: description: 'If given, these claims are forbidden in the token payload.' type: array items: type: string nullable: true x-speakeasy-param-computed: false client_alg: description: The algorithm to use for client_secret_jwt (only HS***) or private_key_jwt authentication. type: array items: enum: - ES256 - ES384 - ES512 - EdDSA - HS256 - HS384 - HS512 - PS256 - PS384 - PS512 - RS256 - RS384 - RS512 type: string x-speakeasy-unknown-values: allow nullable: true x-speakeasy-param-computed: false client_arg: description: The client to use for this request (the selection is made with a request parameter with the same name). type: string default: client_id client_auth: description: 'The default OpenID Connect client authentication method is ''client_secret_basic'' (using ''Authorization: Basic'' header), ''client_secret_post'' (credentials in body), ''client_secret_jwt'' (signed client assertion in body), ''private_key_jwt'' (private key-signed assertion), ''tls_client_auth'' (client certificate), ''self_signed_tls_client_auth'' (self-signed client certificate), and ''none'' (no authentication).' type: array items: enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth type: string x-speakeasy-unknown-values: allow nullable: true x-speakeasy-param-computed: false client_credentials_param_type: description: 'Where to look for the client credentials: - `header`: search the HTTP headers - `query`: search the URL''s query string - `body`: search from the HTTP request body.' type: array items: enum: - body - header - query type: string x-speakeasy-unknown-values: allow default: - body - header - query client_id: description: The client id(s) that the plugin uses when it calls authenticated endpoints on the identity provider. type: array items: type: string x-referenceable: true nullable: true x-encrypted: true x-speakeasy-param-computed: false client_jwk: description: The JWK used for the private_key_jwt authentication. type: array items: properties: alg: type: string nullable: true x-speakeasy-param-computed: false crv: type: string nullable: true x-speakeasy-param-computed: false d: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false dp: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false dq: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false e: type: string nullable: true x-speakeasy-param-computed: false issuer: type: string nullable: true x-speakeasy-param-computed: false k: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false key_ops: type: array items: type: string nullable: true x-speakeasy-param-computed: false kid: type: string nullable: true x-speakeasy-param-computed: false kty: type: string nullable: true x-speakeasy-param-computed: false 'n': type: string nullable: true x-speakeasy-param-computed: false oth: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false p: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false q: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false qi: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false r: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false t: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false use: type: string nullable: true x-speakeasy-param-computed: false x: type: string nullable: true x-speakeasy-param-computed: false x5c: type: array items: type: string nullable: true x-speakeasy-param-computed: false x5t: type: string nullable: true x-speakeasy-param-computed: false x5t#S256: type: string nullable: true x-speakeasy-param-computed: false x5u: type: string nullable: true x-speakeasy-param-computed: false 'y': type: string nullable: true x-speakeasy-param-computed: false type: object nullable: true x-speakeasy-param-computed: false client_secret: description: The client secret. type: array items: type: string x-referenceable: true nullable: true writeOnly: true x-encrypted: true x-speakeasy-param-computed: false cluster_cache_redis: type: object nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: true username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end cluster_cache_strategy: description: 'The strategy to use for the cluster cache. If set, the plugin will share cache with nodes configured with the same strategy backend. Currentlly only introspection cache is shared.' type: string default: 'off' enum: - 'off' - redis x-speakeasy-unknown-values: allow consumer_by: description: 'Consumer fields used for mapping: - `id`: try to find the matching Consumer by `id` - `username`: try to find the matching Consumer by `username` - `custom_id`: try to find the matching Consumer by `custom_id`.' type: array items: enum: - custom_id - id - username type: string x-speakeasy-unknown-values: allow default: - custom_id - username consumer_claims: description: 'The claims used for consumer mapping. Each entry represents a claim path inside the token payload. The paths are evaluated in order, and the first matching claim is used.' type: array items: description: 'A path of strings representing the location of the claim in a nested object. For example, to map to `user.info.id`, set `[ "user", "info", "id" ]`.' items: type: string type: array nullable: true x-speakeasy-param-computed: false consumer_groups_claim: description: 'The claim used for consumer groups mapping. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string nullable: true x-speakeasy-param-computed: false consumer_groups_optional: description: Do not terminate the request if consumer groups mapping fails. type: boolean default: false consumer_optional: description: Do not terminate the request if consumer mapping fails. type: boolean default: false credential_claims: description: |- The claims used to derive a virtual credential, for example to be consumed by the rate-limiting plugin, when consumer mapping is not used. Each entry represents a claim path inside the token payload. The paths are evaluated in order, and the first matching claim is used. **Requires a minimum runtime version of `2.3`**. type: array items: description: 'A path of strings representing the location of the claim in a nested object. For example, to map to `account.id`, set `[ "account", "id" ]`.' items: type: string minItems: 1 type: array default: - - sub nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false disable_session: description: Disable issuing the session cookie with the specified grants. type: array items: enum: - authorization_code - bearer - client_credentials - introspection - kong_oauth2 - password - refresh_token - session - userinfo type: string x-speakeasy-unknown-values: allow nullable: true x-speakeasy-param-computed: false discovery_headers_names: description: Extra header names passed to the discovery endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false discovery_headers_values: description: Extra header values passed to the discovery endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false display_errors: description: Display errors on failure responses. type: boolean default: false domains: description: The allowed values for the `hd` claim. type: array items: type: string nullable: true x-speakeasy-param-computed: false downstream_access_token_header: description: The downstream access token header. type: string nullable: true x-speakeasy-param-computed: false downstream_access_token_jwk_header: description: The downstream access token JWK header. type: string nullable: true x-speakeasy-param-computed: false downstream_headers: description: The downstream claim to header mappings. type: array items: properties: header: description: The name of the header. type: string path: description: The path of the header value. type: array items: type: string minItems: 1 required: - header - path type: object nullable: true x-speakeasy-param-computed: false downstream_headers_claims: description: The downstream header claims. Only top level claims are supported. type: array items: type: string nullable: true x-speakeasy-param-computed: false downstream_headers_names: description: The downstream header names for the claim values. type: array items: type: string nullable: true x-speakeasy-param-computed: false downstream_id_token_header: description: The downstream id token header. type: string nullable: true x-speakeasy-param-computed: false downstream_id_token_jwk_header: description: The downstream id token JWK header. type: string nullable: true x-speakeasy-param-computed: false downstream_introspection_header: description: The downstream introspection header. type: string nullable: true x-speakeasy-param-computed: false downstream_introspection_jwt_header: description: The downstream introspection JWT header. type: string nullable: true x-speakeasy-param-computed: false downstream_refresh_token_header: description: The downstream refresh token header. type: string nullable: true x-speakeasy-param-computed: false downstream_session_id_header: description: The downstream session id header. type: string nullable: true x-speakeasy-param-computed: false downstream_user_info_header: description: The downstream user info header. type: string nullable: true x-speakeasy-param-computed: false downstream_user_info_jwt_header: description: The downstream user info JWT header (in case the user info returns a JWT response). type: string nullable: true x-speakeasy-param-computed: false dpop_proof_lifetime: description: 'Specifies the lifetime in seconds of the DPoP proof. It determines how long the same proof can be used after creation. The creation time is determined by the nonce creation time if a nonce is used, and the iat claim otherwise.' type: number default: 300 dpop_use_nonce: description: Specifies whether to challenge the client with a nonce value for DPoP proof. When enabled it will also be used to calculate the DPoP proof lifetime. type: boolean default: false enable_hs_signatures: description: 'Enable shared secret, for example, HS256, signatures (when disabled they will not be accepted).' type: boolean default: false end_session_endpoint: description: The end session endpoint. If set it overrides the value in `end_session_endpoint` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false expose_error_code: description: 'Specifies whether to expose the error code header, as defined in RFC 6750. If an authorization request fails, this header is sent in the response. Set to `false` to disable.' type: boolean default: true extra_jwks_uris: description: JWKS URIs whose public keys are trusted (in addition to the keys found with the discovery). type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false forbidden_destroy_session: description: Destroy any active session for the forbidden requests. type: boolean default: true forbidden_error_message: description: The error message for the forbidden requests (when not using the redirection). type: string default: Forbidden forbidden_redirect_uri: description: Where to redirect the client on forbidden requests. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string nullable: true x-speakeasy-param-computed: false groups_claim: description: 'The claim that contains the groups. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: - groups groups_required: description: The groups (`groups_claim` claim) required to be present in the access token (or introspection results) for successful authorization. This config parameter works in both **AND** / **OR** cases. type: array items: type: string nullable: true x-speakeasy-param-computed: false hide_credentials: description: 'Remove the credentials used for authentication from the request. If multiple credentials are sent with the same request, the plugin will remove those that were used for successful authentication.' type: boolean default: true http_proxy: description: The HTTP proxy. type: string format: uri nullable: true x-speakeasy-param-computed: false http_proxy_authorization: description: The HTTP proxy authorization. type: string nullable: true writeOnly: true x-referenceable: true x-speakeasy-param-computed: false http_version: description: 'The HTTP version used for the requests by this plugin: - `1.1`: HTTP 1.1 (the default) - `1.0`: HTTP 1.0.' type: number enum: - 1 - 1.1 x-speakeasy-param-computed: true x-speakeasy-unknown-values: allow https_proxy: description: The HTTPS proxy. type: string format: uri nullable: true x-speakeasy-param-computed: false https_proxy_authorization: description: The HTTPS proxy authorization. type: string nullable: true writeOnly: true x-referenceable: true x-speakeasy-param-computed: false id_token_param_name: description: The name of the parameter used to pass the id token. type: string nullable: true x-speakeasy-param-computed: false id_token_param_type: description: 'Where to look for the id token: - `header`: search the HTTP headers - `query`: search the URL''s query string - `body`: search the HTTP request body.' type: array items: enum: - body - header - query type: string x-speakeasy-unknown-values: allow default: - body - header - query ignore_signature: description: 'Skip the token signature verification on certain grants. This is insecure and logs a warning; use it only for providers that publish no verification key. Grants: - `password`: OAuth password grant - `client_credentials`: OAuth client credentials grant - `authorization_code`: authorization code flow - `refresh_token`: OAuth refresh token grant - `session`: session cookie authentication - `introspection`: OAuth introspection - `userinfo`: OpenID Connect user info endpoint authentication.' type: array items: enum: - authorization_code - client_credentials - introspection - password - refresh_token - session - userinfo type: string x-speakeasy-unknown-values: allow default: [] introspect_jwt_tokens: description: Specifies whether to introspect the JWT access tokens (can be used to check for revocations). type: boolean default: false introspection_accept: description: 'The value of `Accept` header for introspection requests: - `application/json`: introspection response as JSON - `application/token-introspection+jwt`: introspection response as JWT (from the current IETF draft document) - `application/jwt`: introspection response as JWT (from the obsolete IETF draft document).' type: string default: application/json enum: - application/json - application/jwt - application/token-introspection+jwt x-speakeasy-unknown-values: allow introspection_check_active: description: Check that the introspection response has an `active` claim with a value of `true`. type: boolean default: true introspection_endpoint: description: The introspection endpoint. If set it overrides the value in `introspection_endpoint` returned by the discovery endpoint. type: string format: uri nullable: true x-referenceable: true x-speakeasy-param-computed: false introspection_endpoint_auth_method: description: 'The introspection endpoint authentication method: : `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`, `tls_client_auth`, `self_signed_tls_client_auth`, or `none`: do not authenticate' type: string enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow introspection_headers_client: description: Extra headers passed from the client to the introspection endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false introspection_headers_names: description: Extra header names passed to the introspection endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false introspection_headers_values: description: Extra header values passed to the introspection endpoint. type: array items: type: string x-referenceable: true nullable: true x-encrypted: true x-speakeasy-param-computed: false introspection_hint: description: Introspection hint parameter value passed to the introspection endpoint. type: string default: access_token introspection_post_args_client: description: Extra post arguments passed from the client to the introspection endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false introspection_post_args_client_headers: description: Extra post arguments passed from the client headers to the introspection endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false introspection_post_args_names: description: Extra post argument names passed to the introspection endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false introspection_post_args_values: description: Extra post argument values passed to the introspection endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false introspection_token_param_name: description: Designate token's parameter name for introspection. type: string default: token issuer: description: 'The discovery endpoint (or the issuer identifier). When there is no discovery endpoint, please also configure `config.using_pseudo_issuer=true`.' type: string x-referenceable: true issuers_allowed: description: The issuers allowed to be present in the tokens (`iss` claim). type: array items: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false jwks_endpoint: description: Overrides the `jwks_uri` returned by discovery. Use when the IdP exposes a non-standard JWKS endpoint. type: string format: uri nullable: true x-speakeasy-param-computed: false jwt_session_claim: description: The claim to match against the JWT session cookie. type: string default: sid jwt_session_cookie: description: The name of the JWT session cookie. type: string nullable: true x-speakeasy-param-computed: false keepalive: description: Use keepalive with the HTTP client. type: boolean default: true leeway: description: 'Defines leeway time (in seconds) for `auth_time`, `exp`, `iat`, and `nbf` claims' type: number default: 0 minimum: 0 login_action: description: 'What to do after successful login: - `upstream`: proxy request to upstream service - `response`: terminate request with a response - `redirect`: redirect to a different location.' type: string default: upstream enum: - redirect - response - upstream x-speakeasy-unknown-values: allow login_methods: description: Enable login functionality with specified grants. type: array items: enum: - authorization_code - bearer - client_credentials - introspection - kong_oauth2 - password - refresh_token - session - userinfo type: string x-speakeasy-unknown-values: allow default: - authorization_code login_redirect_mode: description: 'Where to place `login_tokens` when using `redirect` `login_action`: - `query`: place tokens in query string - `fragment`: place tokens in url fragment (not readable by servers).' type: string default: fragment enum: - fragment - query x-speakeasy-unknown-values: allow login_redirect_uri: description: Where to redirect the client when `login_action` is set to `redirect`. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false login_tokens: description: 'What tokens to include in `response` body or `redirect` query string or fragment: - `id_token`: include id token - `access_token`: include access token - `refresh_token`: include refresh token - `tokens`: include the full token endpoint response - `introspection`: include introspection response.' type: array items: enum: - access_token - id_token - introspection - refresh_token - tokens type: string x-speakeasy-unknown-values: allow default: - id_token logout_methods: description: 'The request methods that can activate the logout: - `POST`: HTTP POST method - `GET`: HTTP GET method - `DELETE`: HTTP DELETE method.' type: array items: enum: - DELETE - GET - POST type: string x-speakeasy-unknown-values: allow default: - DELETE - POST logout_post_arg: description: The request body argument that activates the logout. type: string nullable: true x-speakeasy-param-computed: false logout_query_arg: description: The request query argument that activates the logout. type: string nullable: true x-speakeasy-param-computed: false logout_redirect_uri: description: Where to redirect the client after the logout. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false logout_revoke: description: |- Revoke tokens as part of the logout. For more granular token revocation, you can also adjust the `logout_revoke_access_token` and `logout_revoke_refresh_token` parameters. type: boolean default: false logout_revoke_access_token: description: Revoke the access token as part of the logout. Requires `logout_revoke` to be set to `true`. type: boolean default: true logout_revoke_refresh_token: description: Revoke the refresh token as part of the logout. Requires `logout_revoke` to be set to `true`. type: boolean default: true logout_uri_suffix: description: The request URI suffix that activates the logout. type: string nullable: true x-speakeasy-param-computed: false max_age: description: The maximum age (in seconds) compared to the `auth_time` claim. type: number nullable: true x-speakeasy-param-computed: false mtls_introspection_endpoint: description: Alias for the introspection endpoint to be used for mTLS client authentication. If set it overrides the value in `mtls_endpoint_aliases` returned by the discovery endpoint. type: string format: uri nullable: true x-speakeasy-param-computed: false mtls_revocation_endpoint: description: Alias for the introspection endpoint to be used for mTLS client authentication. If set it overrides the value in `mtls_endpoint_aliases` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false mtls_token_endpoint: description: Alias for the token endpoint to be used for mTLS client authentication. If set it overrides the value in `mtls_endpoint_aliases` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false no_proxy: description: Do not use proxy with these hosts. type: string nullable: true x-speakeasy-param-computed: false password_param_type: description: 'Where to look for the username and password: - `header`: search the HTTP headers - `query`: search the URL''s query string - `body`: search the HTTP request body.' type: array items: enum: - body - header - query type: string x-speakeasy-unknown-values: allow default: - body - header - query preserve_query_args: description: 'With this parameter, you can preserve request query arguments even when doing authorization code flow.' type: boolean default: false principals: description: Configuration for Kong Identity principal hydration after token verification. type: object properties: directory: description: The Kong Identity directory instance to look up against. type: string default: default pattern: '^[a-zA-Z0-9_-]+$' enabled: description: 'When true, query Kong Identity to map a Principal after token verification.' type: boolean default: false error_on_miss: description: 'When true (default), return 401 if fail to match a Principal in Kong Identity after token verification. When false, the request continues without authenticated_principal set.' type: boolean default: true jit: description: |- Token claims to share with the Kong Identity principal lookup. Kong Identity, not this plugin, decides whether the claims are used: a trusted IdP with JIT provisioning enabled in Konnect maps them onto a principal provisioned just in time. By default the lookup only carries the principal claim (e.g. 'sub') and no additional claims are shared. **Requires a minimum runtime version of `2.3`**. type: object properties: all_claims: description: Send the full set of verified token claims with the Kong Identity principal lookup. type: boolean default: false claims: description: Send only the named token claims with the Kong Identity principal lookup. The claims are picked from the same source the principal claim is read from. Set all_claims to send every verified claim instead. type: array items: minLength: 1 type: string minItems: 1 nullable: true x-speakeasy-param-computed: false x-min-runtime-version: '2.3' x-speakeasy-param-computed: false match_consumer: description: 'If a Consumer is attached to the matched Principal in Kong Identity, load it and set it in the request context, overriding consumer_by.' type: boolean default: true match_consumer_groups: description: 'If Consumer Groups are attached to the matched Principal in Kong Identity, load them, overriding consumer_groups_claim.' type: boolean default: true principal_by: description: 'Custom identity name for a type=custom Kong Identity lookup. When absent and principal_claim is set, an OIDC lookup is performed using principal_claim as the claim name instead of ''sub''.' type: string minLength: 1 nullable: true x-speakeasy-param-computed: false principal_claim: description: 'Token claim to use for the Kong Identity lookup. If multiple values are set, it means the claim is inside a nested object of the token payload. When principal_by is also set, performs a custom identity lookup (type=custom). When set alone, performs an OIDC lookup using this claim name instead of the default ''sub''.' type: array items: minLength: 1 type: string minItems: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true proof_of_possession_auth_methods_validation: description: 'If set to true, only the auth_methods that are compatible with Proof of Possession (PoP) can be configured when PoP is enabled. If set to false, all auth_methods will be configurable and PoP checks will be silently skipped for those auth_methods that are not compatible with PoP.' type: boolean default: true proof_of_possession_dpop: description: 'Enable Demonstrating Proof-of-Possession (DPoP). If set to strict, all request are verified despite the presence of the DPoP key claim (cnf.jkt). If set to optional, only tokens bound with DPoP''s key are verified with the proof.' type: string default: 'off' enum: - 'off' - optional - strict x-speakeasy-unknown-values: allow proof_of_possession_mtls: description: 'Enable mtls proof of possession. If set to strict, all tokens (from supported auth_methods: bearer, introspection, and session granted with bearer or introspection) are verified, if set to optional, only tokens that contain the certificate hash claim are verified. If the verification fails, the request will be rejected with 401.' type: string default: 'off' enum: - 'off' - optional - strict x-speakeasy-unknown-values: allow protected_resource_metadata: description: |- When configured, the plugin advertises this API as an OAuth 2.0 protected resource per RFC 9728. It serves a discovery document at the well-known URI and includes resource_metadata in WWW-Authenticate challenge headers. **Requires a minimum runtime version of `2.3`**. type: object properties: authorization_servers: description: List of authorization server issuer URIs to advertise in the RFC 9728 metadata document. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string minItems: 1 metadata_endpoint: description: Override the well-known metadata endpoint path. Defaults to the path component of resource with /.well-known/oauth-protected-resource appended. type: string nullable: true x-speakeasy-param-computed: false resource: description: The URI of the protected resource. Used as the resource field in the RFC 9728 metadata document and to derive the well-known endpoint path. type: string scopes_supported: description: Scopes supported by this protected resource. Included in the RFC 9728 metadata document and in the scope attribute of WWW-Authenticate challenge headers on 401 responses. type: array items: type: string minItems: 1 nullable: true x-speakeasy-param-computed: false required: - authorization_servers - resource x-min-runtime-version: '2.3' x-speakeasy-param-computed: false pushed_authorization_request_endpoint: description: The pushed authorization endpoint. If set it overrides the value in `pushed_authorization_request_endpoint` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false pushed_authorization_request_endpoint_auth_method: description: 'The pushed authorization request endpoint authentication method: `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`, `tls_client_auth`, `self_signed_tls_client_auth`, or `none`: do not authenticate' type: string enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow redirect_uri: description: The redirect URI passed to the authorization and token endpoints. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string nullable: true x-speakeasy-param-computed: false redis: type: object nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true prefix: description: The Redis session key prefix. type: string nullable: true x-speakeasy-param-computed: false read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false socket: description: The Redis unix socket path. type: string nullable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: true username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end rediscovery_lifetime: description: Specifies how long (in seconds) the plugin waits between discovery attempts. Discovery is still triggered on an as-needed basis. type: number default: 30 refresh_token_param_name: description: The name of the parameter used to pass the refresh token. type: string nullable: true x-speakeasy-param-computed: false refresh_token_param_type: description: 'Where to look for the refresh token: - `header`: search the HTTP headers - `query`: search the URL''s query string - `body`: search the HTTP request body.' type: array items: enum: - body - header - query type: string x-speakeasy-unknown-values: allow default: - body - header - query refresh_tokens: description: Specifies whether the plugin should try to refresh (soon to be) expired access tokens if the plugin has a `refresh_token` available. type: boolean default: true require_proof_key_for_code_exchange: description: 'Forcibly enable or disable the proof key for code exchange. When not set the value is determined through the discovery using the value of `code_challenge_methods_supported`, and enabled automatically (in case the `code_challenge_methods_supported` is missing, the PKCE will not be enabled).' type: boolean nullable: true x-speakeasy-param-computed: false require_pushed_authorization_requests: description: Forcibly enable or disable the pushed authorization requests. When not set the value is determined through the discovery using the value of `require_pushed_authorization_requests` (which defaults to `false`). type: boolean nullable: true x-speakeasy-param-computed: false require_signed_request_object: description: 'Forcibly enable or disable the usage of signed request object on authorization or pushed authorization endpoint. When not set the value is determined through the discovery using the value of `require_signed_request_object`, and enabled automatically (in case the `require_signed_request_object` is missing, the feature will not be enabled).' type: boolean nullable: true x-speakeasy-param-computed: false resolve_distributed_claims: description: 'Distributed claims are represented by the `_claim_names` and `_claim_sources` members of the JSON object containing the claims. If this parameter is set to `true`, the plugin explicitly resolves these distributed claims.' type: boolean default: false response_mode: description: 'Response mode passed to the authorization endpoint: - `query`: for parameters in query string - `form_post`: for parameters in request body - `fragment`: for parameters in uri fragment (rarely useful as the plugin itself cannot read it) - `query.jwt`, `form_post.jwt`, `fragment.jwt`: similar to `query`, `form_post` and `fragment` but the parameters are encoded in a JWT - `jwt`: shortcut that indicates the default encoding for the requested response type.' type: string default: query enum: - form_post - form_post.jwt - fragment - fragment.jwt - jwt - query - query.jwt x-speakeasy-unknown-values: allow response_type: description: The response type passed to the authorization endpoint. type: array items: type: string default: - code reverify: description: Specifies whether to always verify tokens stored in the session. type: boolean default: false revocation_endpoint: description: The revocation endpoint. If set it overrides the value in `revocation_endpoint` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false revocation_endpoint_auth_method: description: 'The revocation endpoint authentication method: : `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`, `tls_client_auth`, `self_signed_tls_client_auth`, or `none`: do not authenticate' type: string enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow revocation_token_param_name: description: Designate token's parameter name for revocation. type: string default: token roles_claim: description: 'The claim that contains the roles. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: - roles roles_required: description: The roles (`roles_claim` claim) required to be present in the access token (or introspection results) for successful authorization. This config parameter works in both **AND** / **OR** cases. type: array items: type: string nullable: true x-speakeasy-param-computed: false run_on_preflight: description: Specifies whether to run this plugin on pre-flight (`OPTIONS`) requests. type: boolean default: true scopes: description: The scopes passed to the authorization and token endpoints. type: array items: type: string x-referenceable: true default: - openid scopes_claim: description: 'The claim that contains the scopes. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: - scope scopes_required: description: The scopes (`scopes_claim` claim) required to be present in the access token (or introspection results) for successful authorization. This config parameter works in both **AND** / **OR** cases. type: array items: type: string nullable: true x-speakeasy-param-computed: false search_user_info: description: 'Specify whether to use the user info endpoint to get additional claims for consumer mapping, credential mapping, authenticated groups, and upstream and downstream headers.' type: boolean default: false session_absolute_timeout: description: 'Limits how long the session can be renewed in seconds, until re-authentication is required. 0 disables the checks.' type: number default: 86400 session_audience: description: 'The session audience, which is the intended target application. For example `"my-application"`.' type: string default: default session_bind: description: Bind the session to data acquired from the HTTP request or connection. type: array items: enum: - ip - scheme - user-agent type: string x-speakeasy-unknown-values: allow nullable: true x-speakeasy-param-computed: false session_cookie_domain: description: The session cookie Domain flag. type: string nullable: true x-speakeasy-param-computed: false session_cookie_http_only: description: 'Forbids JavaScript from accessing the cookie, for example, through the `Document.cookie` property.' type: boolean default: true session_cookie_name: description: The session cookie name. type: string default: session session_cookie_path: description: The session cookie Path flag. type: string default: / session_cookie_same_site: description: 'Controls whether a cookie is sent with cross-origin requests, providing some protection against cross-site request forgery attacks.' type: string default: Lax enum: - Default - Lax - None - Strict x-speakeasy-unknown-values: allow session_cookie_secure: description: 'Cookie is only sent to the server when a request is made with the https: scheme (except on localhost), and therefore is more resistant to man-in-the-middle attacks.' type: boolean nullable: true x-speakeasy-param-computed: false session_enforce_same_subject: description: 'When set to `true`, audiences are forced to share the same subject.' type: boolean default: false session_hash_storage_key: description: 'When set to `true`, the storage key (session ID) is hashed for extra security. Hashing the storage key means it is impossible to decrypt data from the storage without a cookie.' type: boolean default: false session_hash_subject: description: 'When set to `true`, the value of subject is hashed before being stored. Only applies when `session_store_metadata` is enabled.' type: boolean default: false session_idling_timeout: description: Specifies how long the session can be inactive until it is considered invalid in seconds. 0 disables the checks and touching. type: number default: 900 session_memcached_host: description: The memcached host. type: string default: 127.0.0.1 session_memcached_port: description: The memcached port. type: integer default: 11211 maximum: 65535 minimum: 0 session_memcached_prefix: description: The memcached session key prefix. type: string nullable: true x-speakeasy-param-computed: false session_memcached_socket: description: The memcached unix socket path. type: string nullable: true x-speakeasy-param-computed: false session_memcached_ssl: description: 'If set to true, uses SSL to connect to memcached' type: boolean nullable: true x-speakeasy-param-computed: false session_memcached_ssl_verify: description: 'If set to true, verifies the validity of the memcached server SSL certificate' type: boolean default: true session_remember: description: Enables or disables persistent sessions. type: boolean default: false session_remember_absolute_timeout: description: 'Limits how long the persistent session can be renewed in seconds, until re-authentication is required. 0 disables the checks.' type: number default: 2592000 session_remember_cookie_name: description: Persistent session cookie name. Use with the `remember` configuration parameter. type: string default: remember session_remember_rolling_timeout: description: Specifies how long the persistent session is considered valid in seconds. 0 disables the checks and rolling. type: number default: 604800 session_request_headers: description: 'Set of headers to send to upstream, use id, audience, subject, timeout, idling-timeout, rolling-timeout, absolute-timeout. E.g. `[ "id", "timeout" ]` will set Session-Id and Session-Timeout request headers.' type: array items: enum: - absolute-timeout - audience - id - idling-timeout - rolling-timeout - subject - timeout type: string x-speakeasy-unknown-values: allow nullable: true x-speakeasy-param-computed: false session_response_headers: description: 'Set of headers to send to downstream, use id, audience, subject, timeout, idling-timeout, rolling-timeout, absolute-timeout. E.g. `[ "id", "timeout" ]` will set Session-Id and Session-Timeout response headers.' type: array items: enum: - absolute-timeout - audience - id - idling-timeout - rolling-timeout - subject - timeout type: string x-speakeasy-unknown-values: allow nullable: true x-speakeasy-param-computed: false session_rolling_timeout: description: Specifies how long the session can be used in seconds until it needs to be renewed. 0 disables the checks and rolling. type: number default: 3600 session_secret: description: The session secret. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false session_storage: description: 'The session storage for session data: - `cookie`: stores session data with the session cookie (the session cannot be invalidated or revoked without changing session secret, but is stateless, and doesn''t require a database) - `memcache`: stores session data in memcached - `redis`: stores session data in Redis.' type: string default: cookie enum: - cookie - memcache - memcached - redis x-speakeasy-unknown-values: allow session_store_metadata: description: Configures whether or not session metadata should be stored. This metadata includes information about the active sessions for a specific audience belonging to a specific subject. type: boolean default: false ssl_verify: description: 'Verify identity provider server certificate. If set to `true`, the plugin uses the CA certificate set in the `kong.conf` config parameter `lua_ssl_trusted_certificate`.' type: boolean default: true timeout: description: Network IO timeout in milliseconds. type: number default: 10000 minimum: 0 tls_client_auth_cert_id: description: ID of the Certificate entity representing the client certificate to use for mTLS client authentication for connections between Kong and the Auth Server. type: string nullable: true x-speakeasy-param-computed: false tls_client_auth_ssl_verify: description: Verify identity provider server certificate during mTLS client authentication. type: boolean default: true token_cache_key_include_scope: description: 'Include the scope in the token cache key, so token with different scopes are considered diffrent tokens.' type: boolean default: false token_endpoint: description: The token endpoint. If set it overrides the value in `token_endpoint` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false token_endpoint_auth_method: description: 'The token endpoint authentication method: `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`, `tls_client_auth`, `self_signed_tls_client_auth`, or `none`: do not authenticate' type: string enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow token_exchange: description: Details on how to accept tokens from other identity providers. type: object nullable: true properties: cache: description: Cache support for token exchange type: object default: enabled: true properties: enabled: description: Whether to enable caching. type: boolean default: true ttl: description: 'Cache ttl in seconds used when caching exchanged tokens, use it to override `conf.cache_ttl`. Token expiry will be used if shorter than this value.' type: integer nullable: true x-speakeasy-param-computed: false grant_type: description: |- The token exchange grant. `token_exchange` (default) uses the OAuth 2.0 Token Exchange grant (RFC 8693). `jwt_bearer` uses the JWT Bearer authorization-grant flow (RFC 7523); see `token_exchange.provider` for provider-specific defaults in this mode. **Requires a minimum runtime version of `2.3`**. type: string default: token_exchange enum: - jwt_bearer - token_exchange x-min-runtime-version: '2.3' x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow map_identities_from: description: |- Which token's claims to use for consumer, consumer group, and principal mapping. Only takes effect when token exchange is configured. `exchanged_tokens` (default) uses the token(s) returned by the exchange or tokens derived from it, as today. `subject_token` uses the original, pre-exchange bearer token's claims instead. **Requires a minimum runtime version of `2.3`**. type: string default: exchanged_tokens enum: - exchanged_tokens - subject_token x-min-runtime-version: '2.3' x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow provider: description: |- Identity provider used with `grant_type = jwt_bearer`; not allowed with `grant_type = token_exchange`. `standard` (default) adds no provider-specific parameter. `microsoft` adds the required `requested_token_use=on_behalf_of`, which is fixed and cannot be overridden via `post_args_names/values`. **Requires a minimum runtime version of `2.3`**. type: string default: standard enum: - microsoft - standard x-min-runtime-version: '2.3' x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow request: description: Parameters used in the token exchange request. type: object nullable: true properties: actor_token: description: |- How to obtain the actor token to include in the token exchange request. Represents the identity of the party acting on behalf of the subject. **Requires a minimum runtime version of `2.3`**. type: object properties: header_name: description: Header name containing the actor token. Required when `source` is `header`. type: string nullable: true x-speakeasy-param-computed: false source: description: Where to obtain the actor token. `header` reads it from a request header. `config` uses a fixed value. `none` disables actor token support. type: string default: none enum: - config - header - none x-speakeasy-unknown-values: allow static_token: description: Static actor token value. Required when `source` is `config`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false type: description: The RFC 8693 token type identifier of the actor token (the `actor_token_type` request parameter). type: string default: 'urn:ietf:params:oauth:token-type:access_token' x-min-runtime-version: '2.3' x-speakeasy-param-computed: false audience: description: Audiences used in the token exchange request. Values defined here override those defined in `config.audience`. type: array items: type: string nullable: true x-speakeasy-param-computed: false empty_audience: description: Use empty audiences. Use this field to remove audiences defined in `config.audience`. type: boolean default: false empty_headers: description: |- Use no extra headers on the token exchange request. Use this field to remove extra headers defined in `config.token_headers_names`. **Requires a minimum runtime version of `2.3`**. type: boolean default: false x-min-runtime-version: '2.3' x-speakeasy-param-computed: false empty_post_args: description: |- Use no extra POST arguments on the token exchange request. Use this field to remove extra POST arguments defined in `config.token_post_args_names`. **Requires a minimum runtime version of `2.3`**. type: boolean default: false x-min-runtime-version: '2.3' x-speakeasy-param-computed: false empty_scopes: description: Use empty scopes. Use this field to remove scopes defined in `config.scopes`. type: boolean default: false headers_names: description: |- Extra header names sent only on the token exchange request. Overrides `config.token_headers_names` for this request. **Requires a minimum runtime version of `2.3`**. type: array items: type: string nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false headers_values: description: |- Values paired by index with `headers_names`. **Requires a minimum runtime version of `2.3`**. type: array items: type: string nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false post_args_names: description: |- Extra POST argument names sent only on the token exchange request. Overrides `config.token_post_args_names` for this request. Use this, not the top-level field, for parameters that must not be attached to the plugin's other token endpoint calls, for example `requested_token_use` for Entra ID's On-Behalf-Of flow. **Requires a minimum runtime version of `2.3`**. type: array items: type: string nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false post_args_values: description: |- Values paired by index with `post_args_names`. **Requires a minimum runtime version of `2.3`**. type: array items: type: string nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false scopes: description: Scopes used in the token exchange request. Values defined here override those defined in `config.scopes`. type: array items: type: string nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false subject_token_issuers: description: 'Trusted token issuers from which the upstream may accept tokens to be exchanged. If a JWT bearer matches all the conditions of a subject token issuer item, the token will be exchanged.' type: array items: properties: conditions: description: 'A token will only be exchanged when it matches all these criteria. To exchange tokens issued by a different issuer, `conditions` must not be defined -- every token from that issuer is exchanged unconditionally, since a foreign-issued token that isn''t exchanged can never pass normal verification against the target issuer anyway. In contrast, to exchange tokens issued by the target issuer itself, `conditions` must be defined.' type: object nullable: true properties: has_audience: description: 'Audience values that must all be present in the token, matched against `audience_claim`.' type: array items: type: string nullable: true x-speakeasy-param-computed: false has_scopes: description: 'Scope values that must all be present in the token, matched against `scopes_claim`.' type: array items: type: string nullable: true x-speakeasy-param-computed: false missing_audience: description: 'Audience values that must all be absent from the token, matched against `audience_claim`.' type: array items: type: string nullable: true x-speakeasy-param-computed: false missing_scopes: description: 'Scope values that must all be absent from the token, matched against `scopes_claim`.' type: array items: type: string nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false deny_on_mismatch: description: |- When true, a token issued by `issuer` that fails to match `conditions` is denied instead of being passed through unexchanged. Evaluated independently for this item only, with no effect on other `subject_token_issuers` items. Only allowed when this issuer is the target issuer, since `conditions` is required there and foreign-issuer items always match. **Requires a minimum runtime version of `2.3`**. type: boolean default: false x-min-runtime-version: '2.3' x-speakeasy-param-computed: false issuer: description: Tokens of whose iss claim matches this value will be exchanged. type: string jwks_uri: description: |- An explicit JWKS endpoint for this issuer. This field should be left empty when this issuer is the same as the target issuer. It is only used when `verify_signature` is `true`. When set, Kong fetches the signing keys from this URI directly instead of using OIDC Discovery. **Requires a minimum runtime version of `2.3`**. type: string x-min-runtime-version: '2.3' x-speakeasy-param-computed: false verify_signature: description: |- When true, Kong cryptographically verifies the signature of the incoming subject token before exchanging it. This field should be left empty or set to `false` when this issuer is the same as the target issuer. Defaults to `false` for backward compatibility. **Requires a minimum runtime version of `2.3`**. type: boolean default: false x-min-runtime-version: '2.3' x-speakeasy-param-computed: false required: - issuer type: object minItems: 1 required: - subject_token_issuers x-speakeasy-param-computed: false token_exchange_endpoint: description: Endpoint used to perform the legacy token exchange. type: string nullable: true x-speakeasy-param-computed: false token_headers_client: description: Extra headers passed from the client to the token endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false token_headers_grants: description: 'Enable the sending of the token endpoint response headers only with certain grants: - `password`: with OAuth password grant - `client_credentials`: with OAuth client credentials grant - `authorization_code`: with authorization code flow - `refresh_token` with refresh token grant.' type: array items: enum: - authorization_code - client_credentials - password - refresh_token type: string x-speakeasy-unknown-values: allow nullable: true x-speakeasy-param-computed: false token_headers_names: description: Extra header names passed to the token endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false token_headers_prefix: description: Add a prefix to the token endpoint response headers before forwarding them to the downstream client. type: string nullable: true x-speakeasy-param-computed: false token_headers_replay: description: The names of token endpoint response headers to forward to the downstream client. type: array items: type: string nullable: true x-speakeasy-param-computed: false token_headers_values: description: Extra header values passed to the token endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false token_post_args_client: description: 'Pass extra arguments from the client to the OpenID-Connect plugin. If arguments exist, the client can pass them using: - Query parameters - Request Body - Request Header This parameter can be used with `scope` values, like this: `config.token_post_args_client=scope` In this case, the token would take the `scope` value from the query parameter or from the request body or from the header and send it to the token endpoint.' type: array items: type: string nullable: true x-speakeasy-param-computed: false token_post_args_names: description: Extra post argument names passed to the token endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false token_post_args_values: description: Extra post argument values passed to the token endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false unauthorized_destroy_session: description: Destroy any active session for the unauthorized requests. type: boolean default: true unauthorized_error_message: description: The error message for the unauthorized requests (when not using the redirection). type: string default: Unauthorized unauthorized_redirect_uri: description: Where to redirect the client on unauthorized requests. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string nullable: true x-speakeasy-param-computed: false unexpected_redirect_uri: description: Where to redirect the client when unexpected errors happen with the requests. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string nullable: true x-speakeasy-param-computed: false upstream_access_token_header: description: The upstream access token header. type: string default: 'authorization:bearer' upstream_access_token_jwk_header: description: The upstream access token JWK header. type: string nullable: true x-speakeasy-param-computed: false upstream_headers: description: The upstream claim to header mappings. type: array items: properties: header: description: The name of the header. type: string path: description: The path of the header value. type: array items: type: string minItems: 1 required: - header - path type: object nullable: true x-speakeasy-param-computed: false upstream_headers_claims: description: The upstream header claims. Only top level claims are supported. type: array items: type: string nullable: true x-speakeasy-param-computed: false upstream_headers_names: description: The upstream header names for the claim values. type: array items: type: string nullable: true x-speakeasy-param-computed: false upstream_id_token_header: description: The upstream id token header. type: string nullable: true x-speakeasy-param-computed: false upstream_id_token_jwk_header: description: The upstream id token JWK header. type: string nullable: true x-speakeasy-param-computed: false upstream_introspection_header: description: The upstream introspection header. type: string nullable: true x-speakeasy-param-computed: false upstream_introspection_jwt_header: description: The upstream introspection JWT header. type: string nullable: true x-speakeasy-param-computed: false upstream_refresh_token_header: description: The upstream refresh token header. type: string nullable: true x-speakeasy-param-computed: false upstream_session_id_header: description: The upstream session id header. type: string nullable: true x-speakeasy-param-computed: false upstream_user_info_header: description: The upstream user info header. type: string nullable: true x-speakeasy-param-computed: false upstream_user_info_jwt_header: description: The upstream user info JWT header (in case the user info returns a JWT response). type: string nullable: true x-speakeasy-param-computed: false userinfo_accept: description: 'The value of `Accept` header for user info requests: - `application/json`: user info response as JSON - `application/jwt`: user info response as JWT (from the obsolete IETF draft document).' type: string default: application/json enum: - application/json - application/jwt x-speakeasy-unknown-values: allow userinfo_endpoint: description: The user info endpoint. If set it overrides the value in `userinfo_endpoint` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false userinfo_headers_client: description: Extra headers passed from the client to the user info endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false userinfo_headers_names: description: Extra header names passed to the user info endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false userinfo_headers_values: description: Extra header values passed to the user info endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false userinfo_query_args_client: description: Extra query arguments passed from the client to the user info endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false userinfo_query_args_names: description: Extra query argument names passed to the user info endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false userinfo_query_args_values: description: Extra query argument values passed to the user info endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false using_pseudo_issuer: description: 'If the plugin uses a pseudo issuer. When set to true, the plugin will not discover the configuration from the issuer URL specified with `config.issuer`.' type: boolean default: false verify_claims: description: Verify tokens for standard claims. type: boolean default: true verify_nonce: description: Verify nonce on authorization code flow. type: boolean default: true verify_parameters: description: Verify plugin configuration against discovery. type: boolean default: false verify_signature: description: 'Verify the cryptographic signature of tokens. Disabling this skips verification for every token source, including tokens presented directly by clients (bearer); this is insecure for that path. To trust only tokens fetched from the identity provider for specific grants, use `ignore_signature` instead, which never affects bearer tokens.' type: boolean default: true credential_claim: description: Claim path used to derive virtual credentials when consumer mapping is not used. type: array items: type: string default: - sub x-speakeasy-param-computed: true required: - issuer - cache_tokens_salt x-speakeasy-param-computed: true x-terraform-no-default-null: true required: - display_name - name - type title: AIGatewayAuthStrategyOpenIDConnectConfig AIGatewayModelProviderReference: description: Reference to a model provider instance by name. type: string example: azure-ai-se minLength: 1 AIGatewayModelProviderAnthropic: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: anthropic display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config AIGatewayModelProviderBaseten: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: baseten display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config x-min-runtime-version: '2.3' x-speakeasy-param-computed: false AIGatewayModelProviderCerebras: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: cerebras display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config AIGatewayModelProviderCohere: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: cohere display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config AIGatewayModelProviderDashscope: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: dashscope display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config AIGatewayModelProviderDatabricks: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: databricks display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config AIGatewayModelProviderDeepseek: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: deepseek display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config AIGatewayModelProviderHuggingface: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: huggingface display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config AIGatewayModelProviderKimi: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: kimi display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config AIGatewayModelProviderLlama2: description: | Configuration for an upstream `llama2` model provider. Deprecated: the `llama2` provider is deprecated and will be removed in 3.0. Migrate each target by its `format` value: `ollama` maps to the `ollama` provider, `openai` maps to the `openai` provider with `upstream_url` set on the target, or to the `vllm` provider; `raw` has no replacement provider. type: object properties: type: type: string const: llama2 display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth deprecated: true required: - type - display_name - name - config AIGatewayModelProviderMistral: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: mistral display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config AIGatewayModelProviderOllama: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: ollama display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config AIGatewayModelProviderOpenai: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: openai display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config AIGatewayModelProviderVercel: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: vercel display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config AIGatewayModelProviderVllm: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: vllm display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config AIGatewayModelProviderXai: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: xai display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config AIGatewayModelProviderTypesafe: description: | Configuration for an upstream model provider. type: object properties: type: type: string const: typesafe display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: description: Configuration for the model provider. type: object additionalProperties: false properties: auth: $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' required: - auth required: - type - display_name - name - config x-min-runtime-version: '2.2' x-speakeasy-param-computed: false AIGatewayModelProviderConfigAuthBasic: description: | Basic auth config for an upstream model provider. type: object properties: type: type: string const: basic headers: type: array items: type: object additionalProperties: false required: - name properties: name: description: | The name of the header used for authentication. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string minLength: 1 x-referenceable: true value: description: | The auth header value for ‘header_name’, for example ‘Bearer key...’. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: false writeOnly: true x-referenceable: true x-speakeasy-terraform-plan-only: true maxItems: 1 x-speakeasy-param-computed: true params: type: array items: type: object additionalProperties: false required: - name - location properties: name: description: | This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string minLength: 1 x-referenceable: true value: description: | This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: false writeOnly: true x-referenceable: true x-speakeasy-terraform-plan-only: true location: description: 'Specify whether the param name and value options go in a query string, or the POST form/JSON body.' type: string enum: - body - query x-speakeasy-unknown-values: allow maxItems: 1 x-speakeasy-param-computed: true additionalProperties: false required: - type title: AIGatewayModelProviderConfigAuthBasic AIGatewayModelProviderBedrock: description: | Config for AWS model provider. type: object properties: type: type: string const: bedrock display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: type: object additionalProperties: false properties: auth: discriminator: propertyName: type mapping: basic: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' aws: '#/components/schemas/AIGatewayModelProviderConfigAuthAWS' oneOf: - $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' - $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthAWS' required: - auth required: - type - display_name - name - config AIGatewayModelProviderConfigAuthAWS: description: | Configuration for AWS model provider. type: object properties: type: type: string const: aws access_key_id: description: | The access key id for authenticating with static IAM User credentials. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string x-referenceable: true x-speakeasy-param-computed: false secret_access_key: description: | The secret access key for authenticating with static IAM User credentials. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string writeOnly: true x-referenceable: true x-speakeasy-param-computed: false session_token: description: | The session token for authenticating with temporary IAM credentials (issued by AWS STS, Vault, or SSO/SAML). It is sent to AWS as the `X-Amz-Security-Token` header. Because temporary credentials are short-lived, reference this from a secrets backend so it is refreshed before it expires. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string writeOnly: true x-referenceable: true x-speakeasy-param-computed: false assume_role_arn: description: | The ARN of the IAM role to assume for generating authentication tokens. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string x-referenceable: true x-speakeasy-param-computed: false role_session_name: description: | The session name for the temporary credentials when assuming the IAM role. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string x-referenceable: true x-speakeasy-param-computed: false sts_endpoint_url: description: 'The STS endpoint URL to use for generating authentication tokens. If not specified, the default AWS STS endpoint will be used.' type: string x-speakeasy-param-computed: false batch_role_arn: description: AWS role arn to use when calling the batch API. type: string x-speakeasy-param-computed: false additionalProperties: false required: - type title: AIGatewayModelProviderConfigAuthAWS AIGatewayUpstreamConfig: description: 'Configuration applied when proxying to the upstream service, including authentication.' type: object properties: auth: description: Authentication to use when proxying to the upstream service. discriminator: propertyName: type mapping: aws: '#/components/schemas/AIGatewayUpstreamAuthAWS' oneOf: - $ref: '#/components/schemas/AIGatewayUpstreamAuthAWS' additionalProperties: false AIGatewayMCPServerUpstreamConfig: description: 'Configuration applied when proxying to the upstream service, including authentication.' type: object properties: auth: description: Authentication to use when proxying to the upstream service. discriminator: propertyName: type mapping: aws: '#/components/schemas/AIGatewayUpstreamAuthAWS' oneOf: - $ref: '#/components/schemas/AIGatewayUpstreamAuthAWS' additionalProperties: false AIGatewayUpstreamAuthAWS: description: | AWS IAM (SigV4) authentication for the upstream service. type: object properties: type: type: string const: aws access_key_id: description: | The access key id for authenticating with static IAM User credentials. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string x-referenceable: true x-speakeasy-param-computed: false secret_access_key: description: | The secret access key for authenticating with static IAM User credentials. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string writeOnly: true x-referenceable: true x-speakeasy-param-computed: false session_token: description: | The session token for authenticating with temporary IAM credentials. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string writeOnly: true x-referenceable: true x-speakeasy-param-computed: false region: description: | The AWS region of the upstream service. Overrides the region inferred from the environment. type: string x-speakeasy-param-computed: false assume_role_arn: description: | The ARN of the IAM role to assume for generating authentication tokens. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string x-referenceable: true x-speakeasy-param-computed: false role_session_name: description: | The session name for the temporary credentials when assuming the IAM role. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string x-referenceable: true x-speakeasy-param-computed: false sts_endpoint_url: description: | The STS endpoint URL to use for generating authentication tokens. If not specified, the default AWS STS endpoint will be used. type: string x-speakeasy-param-computed: false example: type: aws region: us-east-1 access_key_id: AKIAIOSFODNN7EXAMPLE required: - type title: AIGatewayUpstreamAuthAWS AIGatewayModelProviderAzure: description: | Config for Azure model provider. type: object properties: type: type: string const: azure display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: type: object additionalProperties: false properties: auth: discriminator: propertyName: type mapping: basic: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' azure: '#/components/schemas/AIGatewayModelProviderConfigAuthAzure' oneOf: - $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' - $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthAzure' service: description: | Selects the Azure backend for this provider instance. Use `azure-openai` for Azure OpenAI deployments or `azure-foundry` for Azure AI Foundry. type: string default: azure-openai enum: - azure-openai - azure-foundry x-speakeasy-unknown-values: allow instance: description: | The Azure OpenAI instance name. Required when `service` is `azure-openai`. type: string example: kong-az-east x-speakeasy-param-computed: false foundry: description: | Endpoint configuration for Azure AI Foundry hosted models. Required when `service` is `azure-foundry`. type: object additionalProperties: false properties: resource: description: The Azure AI Foundry resource name. type: string example: kong-foundry-east minLength: 1 domain: description: The domain for Azure AI Foundry hosted models. type: string default: services.ai.azure.com required: - resource x-speakeasy-param-computed: false required: - auth required: - type - display_name - name - config AIGatewayModelProviderConfigAuthAzure: description: | Configuration for Azure model provider. type: object properties: type: type: string const: azure client_id: description: | If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string x-referenceable: true x-speakeasy-param-computed: false client_secret: description: | If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string writeOnly: true x-referenceable: true x-speakeasy-param-computed: false tenant_id: description: | If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string x-referenceable: true x-speakeasy-param-computed: false use_managed_identity: description: Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. type: boolean x-speakeasy-param-computed: false additionalProperties: false required: - type title: AIGatewayModelProviderConfigAuthAzure AIGatewayModelProviderGemini: description: | Config for GCP model provider. type: object properties: type: type: string const: gemini display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: type: object additionalProperties: false properties: auth: discriminator: propertyName: type mapping: basic: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' gcp: '#/components/schemas/AIGatewayModelProviderConfigAuthGCP' oneOf: - $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' - $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthGCP' required: - auth required: - type - display_name - name - config AIGatewayModelProviderConfigAuthGCP: description: | Configuration for GCP model provider. type: object properties: type: type: string const: gcp service_account_json: description: | Full JSON string of the GCP service account to authenticate. If not set (and gcp_use_service_account is true), the service account JSON will be from the environment variable GCP_SERVICE_ACCOUNT. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string writeOnly: true x-referenceable: true x-speakeasy-param-computed: false metadata_url: description: | Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If not set, Kong will use the default Google metadata endpoint. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string x-referenceable: true x-speakeasy-param-computed: false oauth_token_url: description: | Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If not set, Kong will use the default Google OAuth token endpoint. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string x-referenceable: true x-speakeasy-param-computed: false use_gcp_service_account: description: Use service account auth for GCP-based providers and models. type: boolean x-speakeasy-param-computed: false workload_identity_federation: $ref: '#/components/schemas/AuthGCPWorkloadIdentityFederation' additionalProperties: false required: - type title: AIGatewayModelProviderConfigAuthGCP AuthGCPWorkloadIdentityFederation: description: | Config for GCP Workload Identity Federation. discriminator: propertyName: source mapping: aws_iam: '#/components/schemas/AuthGCPWorkloadIdentityFederationAwsIam' oneOf: - $ref: '#/components/schemas/AuthGCPWorkloadIdentityFederationAwsIam' title: AuthGCPWorkloadIdentityFederation AuthGCPWorkloadIdentityFederationAwsIam: description: | Enables authenticating with GCP via Workload Identity Federation, obtaining temporary GCP credentials instead of using a static service account key. type: object properties: source: description: | The source identity provider/system used to obtain temporary GCP credentials. type: string enum: - aws_iam auth_json: description: | JSON configuration for the Workload Identity Federation token exchange (Google's `external_account` credential config: audience, token URL, credential source, and optional service account impersonation URL). If not set, Kong falls back to the file path in the `GOOGLE_APPLICATION_CREDENTIALS` environment variable. This field is [referenceable](https://developer.konghq.com/gateway/entities/vault/#how-do-i-reference-secrets-stored-in-a-vault). type: string nullable: true writeOnly: true x-referenceable: true x-speakeasy-param-computed: false aws: $ref: '#/components/schemas/AIGatewayUpstreamAuthAWS' additionalProperties: false required: - source title: AuthGCPWorkloadIdentityFederationAwsIam x-terraform-no-default-null: true AIGatewayModelProviderSagemaker: description: | Config for Sagemaker model provider. type: object properties: type: type: string const: sagemaker display_name: description: The display name for this model provider instance. type: string example: Azure AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this model provider instance, used as a stable human-readable reference. This value is immutable after creation.' example: azure-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' token_vault: $ref: '#/components/schemas/AIGatewayTokenVault' config: type: object additionalProperties: false properties: auth: discriminator: propertyName: type mapping: basic: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' sagemaker: '#/components/schemas/AIGatewayModelProviderConfigAuthSagemaker' oneOf: - $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthBasic' - $ref: '#/components/schemas/AIGatewayModelProviderConfigAuthSagemaker' required: - auth required: - type - display_name - name - config AIGatewayModelProviderConfigAuthSagemaker: description: | Auth configuration for Sagemaker model provider. type: object properties: type: type: string enum: - sagemaker aws: type: object additionalProperties: false properties: access_key_id: description: static IAM user credential; overrides AWS_ACCESS_KEY_ID env var type: string nullable: true x-speakeasy-param-computed: false secret_access_key: description: static IAM user credential; overrides AWS_SECRET_ACCESS_KEY env var type: string nullable: true writeOnly: true x-speakeasy-param-computed: false session_token: description: static IAM user credential; overrides AWS_SESSION_TOKEN env var type: string nullable: true writeOnly: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true additionalProperties: false required: - type title: AIGatewayModelProviderConfigAuthSagemaker x-terraform-no-default-null: true CreateAIGatewayConfigStoreRequest: type: object properties: display_name: description: The display name of the Config Store. type: string example: my-config-store maxLength: 256 pattern: '^[a-zA-Z0-9.\-_~]*$' x-speakeasy-param-computed: false name: description: The name of the Config Store. This value is immutable after creation. example: my-config-store allOf: - $ref: '#/components/schemas/AIGatewayConfigStoreName' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - name UpdateAIGatewayConfigStoreRequest: type: object properties: display_name: description: The display name of the Config Store. type: string example: MyConfigStore x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false AIGatewayConfigStore: type: object properties: display_name: description: The display name of the Config Store. type: string example: my-config-store maxLength: 256 pattern: '^[a-zA-Z0-9.\-_~]*$' x-speakeasy-param-computed: false name: description: The name of the Config Store. This value is immutable after creation. example: my-config-store allOf: - $ref: '#/components/schemas/AIGatewayConfigStoreName' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - name - id - created_at - updated_at AIGatewayConfigStoreSecretKey: description: The unique key identifying the secret within the Config Store. type: string example: my-secret-key maxLength: 512 minLength: 1 x-speakeasy-param-force-new: true AIGatewayConfigStoreSecretValue: description: 'The secret value. Once stored, this value cannot be retrieved.' type: string example: my-secret-value maxLength: 8192 minLength: 1 writeOnly: true x-speakeasy-param-sensitive: true x-speakeasy-terraform-plan-only: true CreateAIGatewayConfigStoreSecretRequest: type: object properties: key: $ref: '#/components/schemas/AIGatewayConfigStoreSecretKey' value: $ref: '#/components/schemas/AIGatewayConfigStoreSecretValue' additionalProperties: false required: - key - value UpdateAIGatewayConfigStoreSecretRequest: type: object properties: value: $ref: '#/components/schemas/AIGatewayConfigStoreSecretValue' additionalProperties: false required: - value AIGatewayConfigStoreSecret: type: object properties: key: $ref: '#/components/schemas/AIGatewayConfigStoreSecretKey' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - key - created_at - updated_at CreateAIGatewayModelProviderRequest: discriminator: propertyName: type mapping: anthropic: '#/components/schemas/AIGatewayModelProviderAnthropic' azure: '#/components/schemas/AIGatewayModelProviderAzure' baseten: '#/components/schemas/AIGatewayModelProviderBaseten' bedrock: '#/components/schemas/AIGatewayModelProviderBedrock' cerebras: '#/components/schemas/AIGatewayModelProviderCerebras' cohere: '#/components/schemas/AIGatewayModelProviderCohere' dashscope: '#/components/schemas/AIGatewayModelProviderDashscope' databricks: '#/components/schemas/AIGatewayModelProviderDatabricks' deepseek: '#/components/schemas/AIGatewayModelProviderDeepseek' gemini: '#/components/schemas/AIGatewayModelProviderGemini' huggingface: '#/components/schemas/AIGatewayModelProviderHuggingface' kimi: '#/components/schemas/AIGatewayModelProviderKimi' llama2: '#/components/schemas/AIGatewayModelProviderLlama2' mistral: '#/components/schemas/AIGatewayModelProviderMistral' ollama: '#/components/schemas/AIGatewayModelProviderOllama' openai: '#/components/schemas/AIGatewayModelProviderOpenai' vercel: '#/components/schemas/AIGatewayModelProviderVercel' vllm: '#/components/schemas/AIGatewayModelProviderVllm' xai: '#/components/schemas/AIGatewayModelProviderXai' sagemaker: '#/components/schemas/AIGatewayModelProviderSagemaker' typesafe: '#/components/schemas/AIGatewayModelProviderTypesafe' oneOf: - $ref: '#/components/schemas/AIGatewayModelProviderAnthropic' - $ref: '#/components/schemas/AIGatewayModelProviderAzure' - $ref: '#/components/schemas/AIGatewayModelProviderBaseten' - $ref: '#/components/schemas/AIGatewayModelProviderBedrock' - $ref: '#/components/schemas/AIGatewayModelProviderCerebras' - $ref: '#/components/schemas/AIGatewayModelProviderCohere' - $ref: '#/components/schemas/AIGatewayModelProviderDashscope' - $ref: '#/components/schemas/AIGatewayModelProviderDatabricks' - $ref: '#/components/schemas/AIGatewayModelProviderDeepseek' - $ref: '#/components/schemas/AIGatewayModelProviderGemini' - $ref: '#/components/schemas/AIGatewayModelProviderHuggingface' - $ref: '#/components/schemas/AIGatewayModelProviderKimi' - $ref: '#/components/schemas/AIGatewayModelProviderLlama2' - $ref: '#/components/schemas/AIGatewayModelProviderMistral' - $ref: '#/components/schemas/AIGatewayModelProviderOllama' - $ref: '#/components/schemas/AIGatewayModelProviderOpenai' - $ref: '#/components/schemas/AIGatewayModelProviderVercel' - $ref: '#/components/schemas/AIGatewayModelProviderVllm' - $ref: '#/components/schemas/AIGatewayModelProviderXai' - $ref: '#/components/schemas/AIGatewayModelProviderSagemaker' - $ref: '#/components/schemas/AIGatewayModelProviderTypesafe' UpdateAIGatewayModelProviderRequest: discriminator: propertyName: type mapping: anthropic: '#/components/schemas/AIGatewayModelProviderAnthropic' azure: '#/components/schemas/AIGatewayModelProviderAzure' baseten: '#/components/schemas/AIGatewayModelProviderBaseten' bedrock: '#/components/schemas/AIGatewayModelProviderBedrock' cerebras: '#/components/schemas/AIGatewayModelProviderCerebras' cohere: '#/components/schemas/AIGatewayModelProviderCohere' dashscope: '#/components/schemas/AIGatewayModelProviderDashscope' databricks: '#/components/schemas/AIGatewayModelProviderDatabricks' deepseek: '#/components/schemas/AIGatewayModelProviderDeepseek' gemini: '#/components/schemas/AIGatewayModelProviderGemini' huggingface: '#/components/schemas/AIGatewayModelProviderHuggingface' kimi: '#/components/schemas/AIGatewayModelProviderKimi' llama2: '#/components/schemas/AIGatewayModelProviderLlama2' mistral: '#/components/schemas/AIGatewayModelProviderMistral' ollama: '#/components/schemas/AIGatewayModelProviderOllama' openai: '#/components/schemas/AIGatewayModelProviderOpenai' vercel: '#/components/schemas/AIGatewayModelProviderVercel' vllm: '#/components/schemas/AIGatewayModelProviderVllm' xai: '#/components/schemas/AIGatewayModelProviderXai' sagemaker: '#/components/schemas/AIGatewayModelProviderSagemaker' typesafe: '#/components/schemas/AIGatewayModelProviderTypesafe' oneOf: - $ref: '#/components/schemas/AIGatewayModelProviderAnthropic' - $ref: '#/components/schemas/AIGatewayModelProviderAzure' - $ref: '#/components/schemas/AIGatewayModelProviderBaseten' - $ref: '#/components/schemas/AIGatewayModelProviderBedrock' - $ref: '#/components/schemas/AIGatewayModelProviderCerebras' - $ref: '#/components/schemas/AIGatewayModelProviderCohere' - $ref: '#/components/schemas/AIGatewayModelProviderDashscope' - $ref: '#/components/schemas/AIGatewayModelProviderDatabricks' - $ref: '#/components/schemas/AIGatewayModelProviderDeepseek' - $ref: '#/components/schemas/AIGatewayModelProviderGemini' - $ref: '#/components/schemas/AIGatewayModelProviderHuggingface' - $ref: '#/components/schemas/AIGatewayModelProviderKimi' - $ref: '#/components/schemas/AIGatewayModelProviderLlama2' - $ref: '#/components/schemas/AIGatewayModelProviderMistral' - $ref: '#/components/schemas/AIGatewayModelProviderOllama' - $ref: '#/components/schemas/AIGatewayModelProviderOpenai' - $ref: '#/components/schemas/AIGatewayModelProviderVercel' - $ref: '#/components/schemas/AIGatewayModelProviderVllm' - $ref: '#/components/schemas/AIGatewayModelProviderXai' - $ref: '#/components/schemas/AIGatewayModelProviderSagemaker' - $ref: '#/components/schemas/AIGatewayModelProviderTypesafe' AIGatewayModelProvider: type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' discriminator: propertyName: type mapping: anthropic: '#/components/schemas/AIGatewayModelProviderAnthropic' azure: '#/components/schemas/AIGatewayModelProviderAzure' baseten: '#/components/schemas/AIGatewayModelProviderBaseten' bedrock: '#/components/schemas/AIGatewayModelProviderBedrock' cerebras: '#/components/schemas/AIGatewayModelProviderCerebras' cohere: '#/components/schemas/AIGatewayModelProviderCohere' dashscope: '#/components/schemas/AIGatewayModelProviderDashscope' databricks: '#/components/schemas/AIGatewayModelProviderDatabricks' deepseek: '#/components/schemas/AIGatewayModelProviderDeepseek' gemini: '#/components/schemas/AIGatewayModelProviderGemini' huggingface: '#/components/schemas/AIGatewayModelProviderHuggingface' kimi: '#/components/schemas/AIGatewayModelProviderKimi' llama2: '#/components/schemas/AIGatewayModelProviderLlama2' mistral: '#/components/schemas/AIGatewayModelProviderMistral' ollama: '#/components/schemas/AIGatewayModelProviderOllama' openai: '#/components/schemas/AIGatewayModelProviderOpenai' vercel: '#/components/schemas/AIGatewayModelProviderVercel' vllm: '#/components/schemas/AIGatewayModelProviderVllm' xai: '#/components/schemas/AIGatewayModelProviderXai' sagemaker: '#/components/schemas/AIGatewayModelProviderSagemaker' typesafe: '#/components/schemas/AIGatewayModelProviderTypesafe' oneOf: - $ref: '#/components/schemas/AIGatewayModelProviderAnthropic' - $ref: '#/components/schemas/AIGatewayModelProviderAzure' - $ref: '#/components/schemas/AIGatewayModelProviderBaseten' - $ref: '#/components/schemas/AIGatewayModelProviderBedrock' - $ref: '#/components/schemas/AIGatewayModelProviderCerebras' - $ref: '#/components/schemas/AIGatewayModelProviderCohere' - $ref: '#/components/schemas/AIGatewayModelProviderDashscope' - $ref: '#/components/schemas/AIGatewayModelProviderDatabricks' - $ref: '#/components/schemas/AIGatewayModelProviderDeepseek' - $ref: '#/components/schemas/AIGatewayModelProviderGemini' - $ref: '#/components/schemas/AIGatewayModelProviderHuggingface' - $ref: '#/components/schemas/AIGatewayModelProviderKimi' - $ref: '#/components/schemas/AIGatewayModelProviderLlama2' - $ref: '#/components/schemas/AIGatewayModelProviderMistral' - $ref: '#/components/schemas/AIGatewayModelProviderOllama' - $ref: '#/components/schemas/AIGatewayModelProviderOpenai' - $ref: '#/components/schemas/AIGatewayModelProviderVercel' - $ref: '#/components/schemas/AIGatewayModelProviderVllm' - $ref: '#/components/schemas/AIGatewayModelProviderXai' - $ref: '#/components/schemas/AIGatewayModelProviderSagemaker' - $ref: '#/components/schemas/AIGatewayModelProviderTypesafe' required: - id - created_at - updated_at CreateAIGatewayAuthStrategyRequest: discriminator: propertyName: type mapping: key-auth: '#/components/schemas/AIGatewayAuthStrategyKeyAuth' openid-connect: '#/components/schemas/AIGatewayAuthStrategyOpenIDConnect' oneOf: - $ref: '#/components/schemas/AIGatewayAuthStrategyKeyAuth' - $ref: '#/components/schemas/AIGatewayAuthStrategyOpenIDConnect' UpdateAIGatewayAuthStrategyRequest: discriminator: propertyName: type mapping: key-auth: '#/components/schemas/AIGatewayAuthStrategyKeyAuth' openid-connect: '#/components/schemas/AIGatewayAuthStrategyOpenIDConnect' oneOf: - $ref: '#/components/schemas/AIGatewayAuthStrategyKeyAuth' - $ref: '#/components/schemas/AIGatewayAuthStrategyOpenIDConnect' AIGatewayAuthStrategy: discriminator: propertyName: type mapping: key-auth: '#/components/schemas/AIGatewayAuthStrategyKeyAuthResponse' openid-connect: '#/components/schemas/AIGatewayAuthStrategyOpenIDConnectResponse' oneOf: - $ref: '#/components/schemas/AIGatewayAuthStrategyKeyAuthResponse' - $ref: '#/components/schemas/AIGatewayAuthStrategyOpenIDConnectResponse' AIGatewayAuthStrategyKeyAuthResponse: description: Configuration for an auth strategy. type: object properties: display_name: description: The display name for this auth strategy instance. type: string example: Okta AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this auth strategy instance, used as a stable human-readable reference. This value is immutable after creation.' example: okta-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' type: type: string const: key-auth config: description: | Configuration for the key-auth auth strategy. type: object additionalProperties: false properties: anonymous: description: | The read-only anonymous consumer value used when authentication fails. AI Gateway always sets this value to `anonymous`. type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true hide_credentials: description: 'An optional boolean value telling the plugin to show or hide the credential from the upstream service. If `true`, the plugin strips the credential from the request.' type: boolean default: true identity_realms: description: A configuration of Konnect Identity Realms that indicate where to source a consumer from. type: array items: properties: id: description: A string representing a UUID (universally unique identifier). type: string nullable: true region: type: string nullable: true x-speakeasy-param-computed: false scope: type: string default: cp enum: - cp - realm x-speakeasy-unknown-values: allow type: object nullable: true x-speakeasy-param-computed: false key_in_body: description: 'If enabled, the plugin reads the request body. Supported MIME types: `application/www-form-urlencoded`, `application/json`, and `multipart/form-data`.' type: boolean default: false key_in_header: description: 'If enabled (default), the plugin reads the request header and tries to find the key in it.' type: boolean default: true key_in_query: description: 'If enabled (default), the plugin reads the query parameter in the request and tries to find the key in it.' type: boolean default: true key_names: description: 'Describes an array of parameter names where the plugin will look for a key. The key names may only contain [a-z], [A-Z], [0-9], [_] underscore, and [-] hyphen.' type: array items: description: A string representing an HTTP header name. type: string default: - apikey principals: type: object properties: directory: description: The Kong Identity directory instance to authenticate against. type: string default: default pattern: '^[a-zA-Z0-9_-]+$' enabled: description: 'When true, authenticate against Kong Identity instead of local credentials.' type: boolean default: false error_on_miss: description: 'When true (default), return 401 if no matching principal is found in Kong Identity. When false, allow the request to continue unauthenticated instead.' type: boolean default: true x-speakeasy-param-computed: true realm: description: When authentication fails the plugin sends `WWW-Authenticate` header with `realm` attribute value. type: string nullable: true x-speakeasy-param-computed: false run_on_preflight: description: 'A boolean value that indicates whether the plugin should run (and try to authenticate) on `OPTIONS` preflight requests. If set to `false`, then `OPTIONS` requests are always allowed.' type: boolean default: true x-speakeasy-param-computed: true x-terraform-no-default-null: true id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - display_name - name - type - id - created_at - updated_at title: AIGatewayAuthStrategyKeyAuthConfig AIGatewayAuthStrategyOpenIDConnectResponse: description: Configuration for an auth strategy. type: object properties: display_name: description: The display name for this auth strategy instance. type: string example: Okta AI SE maxLength: 256 minLength: 1 name: description: 'A user-defined unique identifier for this auth strategy instance, used as a stable human-readable reference. This value is immutable after creation.' example: okta-ai-se allOf: - $ref: '#/components/schemas/AIGatewayEntityIdentifier' labels: $ref: '#/components/schemas/PublicLabels' managed_by: $ref: '#/components/schemas/ManagedBy' datastores: $ref: '#/components/schemas/AIGatewayTokenVaultDatastores' type: type: string const: openid-connect token_vault: $ref: '#/components/schemas/AIGatewayTokenVaultEnrollmentProtection' config: description: | Configuration for the OpenID Connect auth strategy. type: object additionalProperties: false properties: anonymous: description: 'An optional string (consumer UUID or username) value that functions as an “anonymous” consumer if authentication fails. If empty (default null), requests that fail authentication will return a `4xx` HTTP status code. This value must refer to the consumer `id` or `username` attribute, and **not** its `custom_id`.' type: string nullable: true x-speakeasy-param-computed: false audience: description: The audience passed to the authorization endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false audience_claim: description: 'The claim that contains the audience. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: - aud audience_required: description: The audiences (`audience_claim` claim) required to be present in the access token (or introspection results) for successful authorization. This config parameter works in both **AND** / **OR** cases. type: array items: type: string x-speakeasy-param-computed: true auth_methods: description: Types of credentials/grants to enable. type: array items: enum: - authorization_code - bearer - client_credentials - introspection - kong_oauth2 - password - refresh_token - session - userinfo type: string x-speakeasy-unknown-values: allow default: - authorization_code - bearer - client_credentials - introspection - kong_oauth2 - password - refresh_token - session - userinfo authenticated_groups_claim: description: 'The claim that contains authenticated groups. This setting can be used together with ACL plugin, but it also enables IdP managed groups with other applications and integrations. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string nullable: true x-speakeasy-param-computed: false authorization_cookie_domain: description: The authorization cookie Domain flag. type: string nullable: true x-speakeasy-param-computed: false authorization_cookie_http_only: description: 'Forbids JavaScript from accessing the cookie, for example, through the `Document.cookie` property.' type: boolean default: true authorization_cookie_name: description: The authorization cookie name. type: string default: authorization authorization_cookie_path: description: The authorization cookie Path flag. type: string default: / authorization_cookie_same_site: description: 'Controls whether a cookie is sent with cross-origin requests, providing some protection against cross-site request forgery attacks.' type: string default: Default enum: - Default - Lax - None - Strict x-speakeasy-unknown-values: allow authorization_cookie_secure: description: 'Cookie is only sent to the server when a request is made with the https: scheme (except on localhost), and therefore is more resistant to man-in-the-middle attacks.' type: boolean nullable: true x-speakeasy-param-computed: false authorization_endpoint: description: The authorization endpoint. If set it overrides the value in `authorization_endpoint` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false authorization_query_args_client: description: Extra query arguments passed from the client to the authorization endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false authorization_query_args_names: description: Extra query argument names passed to the authorization endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false authorization_query_args_values: description: Extra query argument values passed to the authorization endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false authorization_rolling_timeout: description: Specifies how long the session used for the authorization code flow can be used in seconds until it needs to be renewed. 0 disables the checks and rolling. type: number default: 600 bearer_token_cookie_name: description: The name of the cookie in which the bearer token is passed. type: string nullable: true x-speakeasy-param-computed: false bearer_token_header_name: description: |- The name of the HTTP header from which the bearer token is retrieved. The default value is `authorization:bearer`, which reads the token from the `Authorization: Bearer <token>` header. Accepts plain header names such as `x-my-token` as well as Kong's special `authorization:bearer` notation. The `access-token` and `x-access-token` headers are also checked as a fallback for backward compatibility regardless of this setting. **Requires a minimum runtime version of `2.1`**. type: string default: 'authorization:bearer' x-min-runtime-version: '2.1' x-speakeasy-param-computed: false bearer_token_param_type: description: 'Where to look for the bearer token: - `header`: search the `Authorization`, `access-token`, and `x-access-token` HTTP headers - `query`: search the URL''s query string - `body`: search the HTTP request body - `cookie`: search the HTTP request cookies specified with `config.bearer_token_cookie_name`.' type: array items: enum: - body - cookie - header - query type: string x-speakeasy-unknown-values: allow default: - body - header - query by_username_ignore_case: description: 'If `consumer_by` is set to `username`, specify whether `username` can match consumers case-insensitively.' type: boolean default: false cache_introspection: description: Cache the introspection endpoint requests. type: boolean default: true cache_token_exchange: description: Cache the legacy token exchange endpoint requests. type: boolean default: true cache_tokens: description: Cache the token endpoint requests. type: boolean default: true cache_tokens_salt: description: Salt used for generating the cache key that is used for caching the token endpoint requests. type: string cache_ttl: description: The default cache ttl in seconds that is used in case the cached object does not specify the expiry. type: number default: 3600 cache_ttl_max: description: The maximum cache ttl in seconds (enforced). type: number nullable: true x-speakeasy-param-computed: false cache_ttl_min: description: The minimum cache ttl in seconds (enforced). type: number nullable: true x-speakeasy-param-computed: false cache_ttl_neg: description: The negative cache ttl in seconds. type: number nullable: true x-speakeasy-param-computed: false cache_ttl_resurrect: description: The resurrection ttl in seconds. type: number nullable: true x-speakeasy-param-computed: false cache_user_info: description: Cache the user info requests. type: boolean default: true claims_forbidden: description: 'If given, these claims are forbidden in the token payload.' type: array items: type: string nullable: true x-speakeasy-param-computed: false client_alg: description: The algorithm to use for client_secret_jwt (only HS***) or private_key_jwt authentication. type: array items: enum: - ES256 - ES384 - ES512 - EdDSA - HS256 - HS384 - HS512 - PS256 - PS384 - PS512 - RS256 - RS384 - RS512 type: string x-speakeasy-unknown-values: allow nullable: true x-speakeasy-param-computed: false client_arg: description: The client to use for this request (the selection is made with a request parameter with the same name). type: string default: client_id client_auth: description: 'The default OpenID Connect client authentication method is ''client_secret_basic'' (using ''Authorization: Basic'' header), ''client_secret_post'' (credentials in body), ''client_secret_jwt'' (signed client assertion in body), ''private_key_jwt'' (private key-signed assertion), ''tls_client_auth'' (client certificate), ''self_signed_tls_client_auth'' (self-signed client certificate), and ''none'' (no authentication).' type: array items: enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth type: string x-speakeasy-unknown-values: allow nullable: true x-speakeasy-param-computed: false client_credentials_param_type: description: 'Where to look for the client credentials: - `header`: search the HTTP headers - `query`: search the URL''s query string - `body`: search from the HTTP request body.' type: array items: enum: - body - header - query type: string x-speakeasy-unknown-values: allow default: - body - header - query client_id: description: The client id(s) that the plugin uses when it calls authenticated endpoints on the identity provider. type: array items: type: string x-referenceable: true nullable: true x-encrypted: true x-speakeasy-param-computed: false client_jwk: description: The JWK used for the private_key_jwt authentication. type: array items: properties: alg: type: string nullable: true x-speakeasy-param-computed: false crv: type: string nullable: true x-speakeasy-param-computed: false d: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false dp: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false dq: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false e: type: string nullable: true x-speakeasy-param-computed: false issuer: type: string nullable: true x-speakeasy-param-computed: false k: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false key_ops: type: array items: type: string nullable: true x-speakeasy-param-computed: false kid: type: string nullable: true x-speakeasy-param-computed: false kty: type: string nullable: true x-speakeasy-param-computed: false 'n': type: string nullable: true x-speakeasy-param-computed: false oth: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false p: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false q: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false qi: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false r: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false t: type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false use: type: string nullable: true x-speakeasy-param-computed: false x: type: string nullable: true x-speakeasy-param-computed: false x5c: type: array items: type: string nullable: true x-speakeasy-param-computed: false x5t: type: string nullable: true x-speakeasy-param-computed: false x5t#S256: type: string nullable: true x-speakeasy-param-computed: false x5u: type: string nullable: true x-speakeasy-param-computed: false 'y': type: string nullable: true x-speakeasy-param-computed: false type: object nullable: true x-speakeasy-param-computed: false client_secret: description: The client secret. type: array items: type: string x-referenceable: true nullable: true writeOnly: true x-encrypted: true x-speakeasy-param-computed: false cluster_cache_redis: type: object nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: true username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end cluster_cache_strategy: description: 'The strategy to use for the cluster cache. If set, the plugin will share cache with nodes configured with the same strategy backend. Currentlly only introspection cache is shared.' type: string default: 'off' enum: - 'off' - redis x-speakeasy-unknown-values: allow consumer_by: description: 'Consumer fields used for mapping: - `id`: try to find the matching Consumer by `id` - `username`: try to find the matching Consumer by `username` - `custom_id`: try to find the matching Consumer by `custom_id`.' type: array items: enum: - custom_id - id - username type: string x-speakeasy-unknown-values: allow default: - custom_id - username consumer_claims: description: 'The claims used for consumer mapping. Each entry represents a claim path inside the token payload. The paths are evaluated in order, and the first matching claim is used.' type: array items: description: 'A path of strings representing the location of the claim in a nested object. For example, to map to `user.info.id`, set `[ "user", "info", "id" ]`.' items: type: string type: array nullable: true x-speakeasy-param-computed: false consumer_groups_claim: description: 'The claim used for consumer groups mapping. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string nullable: true x-speakeasy-param-computed: false consumer_groups_optional: description: Do not terminate the request if consumer groups mapping fails. type: boolean default: false consumer_optional: description: Do not terminate the request if consumer mapping fails. type: boolean default: false credential_claims: description: |- The claims used to derive a virtual credential, for example to be consumed by the rate-limiting plugin, when consumer mapping is not used. Each entry represents a claim path inside the token payload. The paths are evaluated in order, and the first matching claim is used. **Requires a minimum runtime version of `2.3`**. type: array items: description: 'A path of strings representing the location of the claim in a nested object. For example, to map to `account.id`, set `[ "account", "id" ]`.' items: type: string minItems: 1 type: array default: - - sub nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false disable_session: description: Disable issuing the session cookie with the specified grants. type: array items: enum: - authorization_code - bearer - client_credentials - introspection - kong_oauth2 - password - refresh_token - session - userinfo type: string x-speakeasy-unknown-values: allow nullable: true x-speakeasy-param-computed: false discovery_headers_names: description: Extra header names passed to the discovery endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false discovery_headers_values: description: Extra header values passed to the discovery endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false display_errors: description: Display errors on failure responses. type: boolean default: false domains: description: The allowed values for the `hd` claim. type: array items: type: string nullable: true x-speakeasy-param-computed: false downstream_access_token_header: description: The downstream access token header. type: string nullable: true x-speakeasy-param-computed: false downstream_access_token_jwk_header: description: The downstream access token JWK header. type: string nullable: true x-speakeasy-param-computed: false downstream_headers: description: The downstream claim to header mappings. type: array items: properties: header: description: The name of the header. type: string path: description: The path of the header value. type: array items: type: string minItems: 1 required: - header - path type: object nullable: true x-speakeasy-param-computed: false downstream_headers_claims: description: The downstream header claims. Only top level claims are supported. type: array items: type: string nullable: true x-speakeasy-param-computed: false downstream_headers_names: description: The downstream header names for the claim values. type: array items: type: string nullable: true x-speakeasy-param-computed: false downstream_id_token_header: description: The downstream id token header. type: string nullable: true x-speakeasy-param-computed: false downstream_id_token_jwk_header: description: The downstream id token JWK header. type: string nullable: true x-speakeasy-param-computed: false downstream_introspection_header: description: The downstream introspection header. type: string nullable: true x-speakeasy-param-computed: false downstream_introspection_jwt_header: description: The downstream introspection JWT header. type: string nullable: true x-speakeasy-param-computed: false downstream_refresh_token_header: description: The downstream refresh token header. type: string nullable: true x-speakeasy-param-computed: false downstream_session_id_header: description: The downstream session id header. type: string nullable: true x-speakeasy-param-computed: false downstream_user_info_header: description: The downstream user info header. type: string nullable: true x-speakeasy-param-computed: false downstream_user_info_jwt_header: description: The downstream user info JWT header (in case the user info returns a JWT response). type: string nullable: true x-speakeasy-param-computed: false dpop_proof_lifetime: description: 'Specifies the lifetime in seconds of the DPoP proof. It determines how long the same proof can be used after creation. The creation time is determined by the nonce creation time if a nonce is used, and the iat claim otherwise.' type: number default: 300 dpop_use_nonce: description: Specifies whether to challenge the client with a nonce value for DPoP proof. When enabled it will also be used to calculate the DPoP proof lifetime. type: boolean default: false enable_hs_signatures: description: 'Enable shared secret, for example, HS256, signatures (when disabled they will not be accepted).' type: boolean default: false end_session_endpoint: description: The end session endpoint. If set it overrides the value in `end_session_endpoint` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false expose_error_code: description: 'Specifies whether to expose the error code header, as defined in RFC 6750. If an authorization request fails, this header is sent in the response. Set to `false` to disable.' type: boolean default: true extra_jwks_uris: description: JWKS URIs whose public keys are trusted (in addition to the keys found with the discovery). type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false forbidden_destroy_session: description: Destroy any active session for the forbidden requests. type: boolean default: true forbidden_error_message: description: The error message for the forbidden requests (when not using the redirection). type: string default: Forbidden forbidden_redirect_uri: description: Where to redirect the client on forbidden requests. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string nullable: true x-speakeasy-param-computed: false groups_claim: description: 'The claim that contains the groups. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: - groups groups_required: description: The groups (`groups_claim` claim) required to be present in the access token (or introspection results) for successful authorization. This config parameter works in both **AND** / **OR** cases. type: array items: type: string nullable: true x-speakeasy-param-computed: false hide_credentials: description: 'Remove the credentials used for authentication from the request. If multiple credentials are sent with the same request, the plugin will remove those that were used for successful authentication.' type: boolean default: true http_proxy: description: The HTTP proxy. type: string format: uri nullable: true x-speakeasy-param-computed: false http_proxy_authorization: description: The HTTP proxy authorization. type: string nullable: true writeOnly: true x-referenceable: true x-speakeasy-param-computed: false http_version: description: 'The HTTP version used for the requests by this plugin: - `1.1`: HTTP 1.1 (the default) - `1.0`: HTTP 1.0.' type: number enum: - 1 - 1.1 x-speakeasy-param-computed: true x-speakeasy-unknown-values: allow https_proxy: description: The HTTPS proxy. type: string format: uri nullable: true x-speakeasy-param-computed: false https_proxy_authorization: description: The HTTPS proxy authorization. type: string nullable: true writeOnly: true x-referenceable: true x-speakeasy-param-computed: false id_token_param_name: description: The name of the parameter used to pass the id token. type: string nullable: true x-speakeasy-param-computed: false id_token_param_type: description: 'Where to look for the id token: - `header`: search the HTTP headers - `query`: search the URL''s query string - `body`: search the HTTP request body.' type: array items: enum: - body - header - query type: string x-speakeasy-unknown-values: allow default: - body - header - query ignore_signature: description: 'Skip the token signature verification on certain grants. This is insecure and logs a warning; use it only for providers that publish no verification key. Grants: - `password`: OAuth password grant - `client_credentials`: OAuth client credentials grant - `authorization_code`: authorization code flow - `refresh_token`: OAuth refresh token grant - `session`: session cookie authentication - `introspection`: OAuth introspection - `userinfo`: OpenID Connect user info endpoint authentication.' type: array items: enum: - authorization_code - client_credentials - introspection - password - refresh_token - session - userinfo type: string x-speakeasy-unknown-values: allow default: [] introspect_jwt_tokens: description: Specifies whether to introspect the JWT access tokens (can be used to check for revocations). type: boolean default: false introspection_accept: description: 'The value of `Accept` header for introspection requests: - `application/json`: introspection response as JSON - `application/token-introspection+jwt`: introspection response as JWT (from the current IETF draft document) - `application/jwt`: introspection response as JWT (from the obsolete IETF draft document).' type: string default: application/json enum: - application/json - application/jwt - application/token-introspection+jwt x-speakeasy-unknown-values: allow introspection_check_active: description: Check that the introspection response has an `active` claim with a value of `true`. type: boolean default: true introspection_endpoint: description: The introspection endpoint. If set it overrides the value in `introspection_endpoint` returned by the discovery endpoint. type: string format: uri nullable: true x-referenceable: true x-speakeasy-param-computed: false introspection_endpoint_auth_method: description: 'The introspection endpoint authentication method: : `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`, `tls_client_auth`, `self_signed_tls_client_auth`, or `none`: do not authenticate' type: string enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow introspection_headers_client: description: Extra headers passed from the client to the introspection endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false introspection_headers_names: description: Extra header names passed to the introspection endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false introspection_headers_values: description: Extra header values passed to the introspection endpoint. type: array items: type: string x-referenceable: true nullable: true x-encrypted: true x-speakeasy-param-computed: false introspection_hint: description: Introspection hint parameter value passed to the introspection endpoint. type: string default: access_token introspection_post_args_client: description: Extra post arguments passed from the client to the introspection endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false introspection_post_args_client_headers: description: Extra post arguments passed from the client headers to the introspection endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false introspection_post_args_names: description: Extra post argument names passed to the introspection endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false introspection_post_args_values: description: Extra post argument values passed to the introspection endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false introspection_token_param_name: description: Designate token's parameter name for introspection. type: string default: token issuer: description: 'The discovery endpoint (or the issuer identifier). When there is no discovery endpoint, please also configure `config.using_pseudo_issuer=true`.' type: string x-referenceable: true issuers_allowed: description: The issuers allowed to be present in the tokens (`iss` claim). type: array items: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false jwks_endpoint: description: Overrides the `jwks_uri` returned by discovery. Use when the IdP exposes a non-standard JWKS endpoint. type: string format: uri nullable: true x-speakeasy-param-computed: false jwt_session_claim: description: The claim to match against the JWT session cookie. type: string default: sid jwt_session_cookie: description: The name of the JWT session cookie. type: string nullable: true x-speakeasy-param-computed: false keepalive: description: Use keepalive with the HTTP client. type: boolean default: true leeway: description: 'Defines leeway time (in seconds) for `auth_time`, `exp`, `iat`, and `nbf` claims' type: number default: 0 minimum: 0 login_action: description: 'What to do after successful login: - `upstream`: proxy request to upstream service - `response`: terminate request with a response - `redirect`: redirect to a different location.' type: string default: upstream enum: - redirect - response - upstream x-speakeasy-unknown-values: allow login_methods: description: Enable login functionality with specified grants. type: array items: enum: - authorization_code - bearer - client_credentials - introspection - kong_oauth2 - password - refresh_token - session - userinfo type: string x-speakeasy-unknown-values: allow default: - authorization_code login_redirect_mode: description: 'Where to place `login_tokens` when using `redirect` `login_action`: - `query`: place tokens in query string - `fragment`: place tokens in url fragment (not readable by servers).' type: string default: fragment enum: - fragment - query x-speakeasy-unknown-values: allow login_redirect_uri: description: Where to redirect the client when `login_action` is set to `redirect`. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false login_tokens: description: 'What tokens to include in `response` body or `redirect` query string or fragment: - `id_token`: include id token - `access_token`: include access token - `refresh_token`: include refresh token - `tokens`: include the full token endpoint response - `introspection`: include introspection response.' type: array items: enum: - access_token - id_token - introspection - refresh_token - tokens type: string x-speakeasy-unknown-values: allow default: - id_token logout_methods: description: 'The request methods that can activate the logout: - `POST`: HTTP POST method - `GET`: HTTP GET method - `DELETE`: HTTP DELETE method.' type: array items: enum: - DELETE - GET - POST type: string x-speakeasy-unknown-values: allow default: - DELETE - POST logout_post_arg: description: The request body argument that activates the logout. type: string nullable: true x-speakeasy-param-computed: false logout_query_arg: description: The request query argument that activates the logout. type: string nullable: true x-speakeasy-param-computed: false logout_redirect_uri: description: Where to redirect the client after the logout. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false logout_revoke: description: |- Revoke tokens as part of the logout. For more granular token revocation, you can also adjust the `logout_revoke_access_token` and `logout_revoke_refresh_token` parameters. type: boolean default: false logout_revoke_access_token: description: Revoke the access token as part of the logout. Requires `logout_revoke` to be set to `true`. type: boolean default: true logout_revoke_refresh_token: description: Revoke the refresh token as part of the logout. Requires `logout_revoke` to be set to `true`. type: boolean default: true logout_uri_suffix: description: The request URI suffix that activates the logout. type: string nullable: true x-speakeasy-param-computed: false max_age: description: The maximum age (in seconds) compared to the `auth_time` claim. type: number nullable: true x-speakeasy-param-computed: false mtls_introspection_endpoint: description: Alias for the introspection endpoint to be used for mTLS client authentication. If set it overrides the value in `mtls_endpoint_aliases` returned by the discovery endpoint. type: string format: uri nullable: true x-speakeasy-param-computed: false mtls_revocation_endpoint: description: Alias for the introspection endpoint to be used for mTLS client authentication. If set it overrides the value in `mtls_endpoint_aliases` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false mtls_token_endpoint: description: Alias for the token endpoint to be used for mTLS client authentication. If set it overrides the value in `mtls_endpoint_aliases` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false no_proxy: description: Do not use proxy with these hosts. type: string nullable: true x-speakeasy-param-computed: false password_param_type: description: 'Where to look for the username and password: - `header`: search the HTTP headers - `query`: search the URL''s query string - `body`: search the HTTP request body.' type: array items: enum: - body - header - query type: string x-speakeasy-unknown-values: allow default: - body - header - query preserve_query_args: description: 'With this parameter, you can preserve request query arguments even when doing authorization code flow.' type: boolean default: false principals: description: Configuration for Kong Identity principal hydration after token verification. type: object properties: directory: description: The Kong Identity directory instance to look up against. type: string default: default pattern: '^[a-zA-Z0-9_-]+$' enabled: description: 'When true, query Kong Identity to map a Principal after token verification.' type: boolean default: false error_on_miss: description: 'When true (default), return 401 if fail to match a Principal in Kong Identity after token verification. When false, the request continues without authenticated_principal set.' type: boolean default: true jit: description: |- Token claims to share with the Kong Identity principal lookup. Kong Identity, not this plugin, decides whether the claims are used: a trusted IdP with JIT provisioning enabled in Konnect maps them onto a principal provisioned just in time. By default the lookup only carries the principal claim (e.g. 'sub') and no additional claims are shared. **Requires a minimum runtime version of `2.3`**. type: object properties: all_claims: description: Send the full set of verified token claims with the Kong Identity principal lookup. type: boolean default: false claims: description: Send only the named token claims with the Kong Identity principal lookup. The claims are picked from the same source the principal claim is read from. Set all_claims to send every verified claim instead. type: array items: minLength: 1 type: string minItems: 1 nullable: true x-speakeasy-param-computed: false x-min-runtime-version: '2.3' x-speakeasy-param-computed: false match_consumer: description: 'If a Consumer is attached to the matched Principal in Kong Identity, load it and set it in the request context, overriding consumer_by.' type: boolean default: true match_consumer_groups: description: 'If Consumer Groups are attached to the matched Principal in Kong Identity, load them, overriding consumer_groups_claim.' type: boolean default: true principal_by: description: 'Custom identity name for a type=custom Kong Identity lookup. When absent and principal_claim is set, an OIDC lookup is performed using principal_claim as the claim name instead of ''sub''.' type: string minLength: 1 nullable: true x-speakeasy-param-computed: false principal_claim: description: 'Token claim to use for the Kong Identity lookup. If multiple values are set, it means the claim is inside a nested object of the token payload. When principal_by is also set, performs a custom identity lookup (type=custom). When set alone, performs an OIDC lookup using this claim name instead of the default ''sub''.' type: array items: minLength: 1 type: string minItems: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true proof_of_possession_auth_methods_validation: description: 'If set to true, only the auth_methods that are compatible with Proof of Possession (PoP) can be configured when PoP is enabled. If set to false, all auth_methods will be configurable and PoP checks will be silently skipped for those auth_methods that are not compatible with PoP.' type: boolean default: true proof_of_possession_dpop: description: 'Enable Demonstrating Proof-of-Possession (DPoP). If set to strict, all request are verified despite the presence of the DPoP key claim (cnf.jkt). If set to optional, only tokens bound with DPoP''s key are verified with the proof.' type: string default: 'off' enum: - 'off' - optional - strict x-speakeasy-unknown-values: allow proof_of_possession_mtls: description: 'Enable mtls proof of possession. If set to strict, all tokens (from supported auth_methods: bearer, introspection, and session granted with bearer or introspection) are verified, if set to optional, only tokens that contain the certificate hash claim are verified. If the verification fails, the request will be rejected with 401.' type: string default: 'off' enum: - 'off' - optional - strict x-speakeasy-unknown-values: allow protected_resource_metadata: description: |- When configured, the plugin advertises this API as an OAuth 2.0 protected resource per RFC 9728. It serves a discovery document at the well-known URI and includes resource_metadata in WWW-Authenticate challenge headers. **Requires a minimum runtime version of `2.3`**. type: object properties: authorization_servers: description: List of authorization server issuer URIs to advertise in the RFC 9728 metadata document. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string minItems: 1 metadata_endpoint: description: Override the well-known metadata endpoint path. Defaults to the path component of resource with /.well-known/oauth-protected-resource appended. type: string nullable: true x-speakeasy-param-computed: false resource: description: The URI of the protected resource. Used as the resource field in the RFC 9728 metadata document and to derive the well-known endpoint path. type: string scopes_supported: description: Scopes supported by this protected resource. Included in the RFC 9728 metadata document and in the scope attribute of WWW-Authenticate challenge headers on 401 responses. type: array items: type: string minItems: 1 nullable: true x-speakeasy-param-computed: false required: - authorization_servers - resource x-min-runtime-version: '2.3' x-speakeasy-param-computed: false pushed_authorization_request_endpoint: description: The pushed authorization endpoint. If set it overrides the value in `pushed_authorization_request_endpoint` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false pushed_authorization_request_endpoint_auth_method: description: 'The pushed authorization request endpoint authentication method: `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`, `tls_client_auth`, `self_signed_tls_client_auth`, or `none`: do not authenticate' type: string enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow redirect_uri: description: The redirect URI passed to the authorization and token endpoints. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string nullable: true x-speakeasy-param-computed: false redis: type: object nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true prefix: description: The Redis session key prefix. type: string nullable: true x-speakeasy-param-computed: false read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false socket: description: The Redis unix socket path. type: string nullable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: true username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end rediscovery_lifetime: description: Specifies how long (in seconds) the plugin waits between discovery attempts. Discovery is still triggered on an as-needed basis. type: number default: 30 refresh_token_param_name: description: The name of the parameter used to pass the refresh token. type: string nullable: true x-speakeasy-param-computed: false refresh_token_param_type: description: 'Where to look for the refresh token: - `header`: search the HTTP headers - `query`: search the URL''s query string - `body`: search the HTTP request body.' type: array items: enum: - body - header - query type: string x-speakeasy-unknown-values: allow default: - body - header - query refresh_tokens: description: Specifies whether the plugin should try to refresh (soon to be) expired access tokens if the plugin has a `refresh_token` available. type: boolean default: true require_proof_key_for_code_exchange: description: 'Forcibly enable or disable the proof key for code exchange. When not set the value is determined through the discovery using the value of `code_challenge_methods_supported`, and enabled automatically (in case the `code_challenge_methods_supported` is missing, the PKCE will not be enabled).' type: boolean nullable: true x-speakeasy-param-computed: false require_pushed_authorization_requests: description: Forcibly enable or disable the pushed authorization requests. When not set the value is determined through the discovery using the value of `require_pushed_authorization_requests` (which defaults to `false`). type: boolean nullable: true x-speakeasy-param-computed: false require_signed_request_object: description: 'Forcibly enable or disable the usage of signed request object on authorization or pushed authorization endpoint. When not set the value is determined through the discovery using the value of `require_signed_request_object`, and enabled automatically (in case the `require_signed_request_object` is missing, the feature will not be enabled).' type: boolean nullable: true x-speakeasy-param-computed: false resolve_distributed_claims: description: 'Distributed claims are represented by the `_claim_names` and `_claim_sources` members of the JSON object containing the claims. If this parameter is set to `true`, the plugin explicitly resolves these distributed claims.' type: boolean default: false response_mode: description: 'Response mode passed to the authorization endpoint: - `query`: for parameters in query string - `form_post`: for parameters in request body - `fragment`: for parameters in uri fragment (rarely useful as the plugin itself cannot read it) - `query.jwt`, `form_post.jwt`, `fragment.jwt`: similar to `query`, `form_post` and `fragment` but the parameters are encoded in a JWT - `jwt`: shortcut that indicates the default encoding for the requested response type.' type: string default: query enum: - form_post - form_post.jwt - fragment - fragment.jwt - jwt - query - query.jwt x-speakeasy-unknown-values: allow response_type: description: The response type passed to the authorization endpoint. type: array items: type: string default: - code reverify: description: Specifies whether to always verify tokens stored in the session. type: boolean default: false revocation_endpoint: description: The revocation endpoint. If set it overrides the value in `revocation_endpoint` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false revocation_endpoint_auth_method: description: 'The revocation endpoint authentication method: : `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`, `tls_client_auth`, `self_signed_tls_client_auth`, or `none`: do not authenticate' type: string enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow revocation_token_param_name: description: Designate token's parameter name for revocation. type: string default: token roles_claim: description: 'The claim that contains the roles. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: - roles roles_required: description: The roles (`roles_claim` claim) required to be present in the access token (or introspection results) for successful authorization. This config parameter works in both **AND** / **OR** cases. type: array items: type: string nullable: true x-speakeasy-param-computed: false run_on_preflight: description: Specifies whether to run this plugin on pre-flight (`OPTIONS`) requests. type: boolean default: true scopes: description: The scopes passed to the authorization and token endpoints. type: array items: type: string x-referenceable: true default: - openid scopes_claim: description: 'The claim that contains the scopes. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: - scope scopes_required: description: The scopes (`scopes_claim` claim) required to be present in the access token (or introspection results) for successful authorization. This config parameter works in both **AND** / **OR** cases. type: array items: type: string nullable: true x-speakeasy-param-computed: false search_user_info: description: 'Specify whether to use the user info endpoint to get additional claims for consumer mapping, credential mapping, authenticated groups, and upstream and downstream headers.' type: boolean default: false session_absolute_timeout: description: 'Limits how long the session can be renewed in seconds, until re-authentication is required. 0 disables the checks.' type: number default: 86400 session_audience: description: 'The session audience, which is the intended target application. For example `"my-application"`.' type: string default: default session_bind: description: Bind the session to data acquired from the HTTP request or connection. type: array items: enum: - ip - scheme - user-agent type: string x-speakeasy-unknown-values: allow nullable: true x-speakeasy-param-computed: false session_cookie_domain: description: The session cookie Domain flag. type: string nullable: true x-speakeasy-param-computed: false session_cookie_http_only: description: 'Forbids JavaScript from accessing the cookie, for example, through the `Document.cookie` property.' type: boolean default: true session_cookie_name: description: The session cookie name. type: string default: session session_cookie_path: description: The session cookie Path flag. type: string default: / session_cookie_same_site: description: 'Controls whether a cookie is sent with cross-origin requests, providing some protection against cross-site request forgery attacks.' type: string default: Lax enum: - Default - Lax - None - Strict x-speakeasy-unknown-values: allow session_cookie_secure: description: 'Cookie is only sent to the server when a request is made with the https: scheme (except on localhost), and therefore is more resistant to man-in-the-middle attacks.' type: boolean nullable: true x-speakeasy-param-computed: false session_enforce_same_subject: description: 'When set to `true`, audiences are forced to share the same subject.' type: boolean default: false session_hash_storage_key: description: 'When set to `true`, the storage key (session ID) is hashed for extra security. Hashing the storage key means it is impossible to decrypt data from the storage without a cookie.' type: boolean default: false session_hash_subject: description: 'When set to `true`, the value of subject is hashed before being stored. Only applies when `session_store_metadata` is enabled.' type: boolean default: false session_idling_timeout: description: Specifies how long the session can be inactive until it is considered invalid in seconds. 0 disables the checks and touching. type: number default: 900 session_memcached_host: description: The memcached host. type: string default: 127.0.0.1 session_memcached_port: description: The memcached port. type: integer default: 11211 maximum: 65535 minimum: 0 session_memcached_prefix: description: The memcached session key prefix. type: string nullable: true x-speakeasy-param-computed: false session_memcached_socket: description: The memcached unix socket path. type: string nullable: true x-speakeasy-param-computed: false session_memcached_ssl: description: 'If set to true, uses SSL to connect to memcached' type: boolean nullable: true x-speakeasy-param-computed: false session_memcached_ssl_verify: description: 'If set to true, verifies the validity of the memcached server SSL certificate' type: boolean default: true session_remember: description: Enables or disables persistent sessions. type: boolean default: false session_remember_absolute_timeout: description: 'Limits how long the persistent session can be renewed in seconds, until re-authentication is required. 0 disables the checks.' type: number default: 2592000 session_remember_cookie_name: description: Persistent session cookie name. Use with the `remember` configuration parameter. type: string default: remember session_remember_rolling_timeout: description: Specifies how long the persistent session is considered valid in seconds. 0 disables the checks and rolling. type: number default: 604800 session_request_headers: description: 'Set of headers to send to upstream, use id, audience, subject, timeout, idling-timeout, rolling-timeout, absolute-timeout. E.g. `[ "id", "timeout" ]` will set Session-Id and Session-Timeout request headers.' type: array items: enum: - absolute-timeout - audience - id - idling-timeout - rolling-timeout - subject - timeout type: string x-speakeasy-unknown-values: allow nullable: true x-speakeasy-param-computed: false session_response_headers: description: 'Set of headers to send to downstream, use id, audience, subject, timeout, idling-timeout, rolling-timeout, absolute-timeout. E.g. `[ "id", "timeout" ]` will set Session-Id and Session-Timeout response headers.' type: array items: enum: - absolute-timeout - audience - id - idling-timeout - rolling-timeout - subject - timeout type: string x-speakeasy-unknown-values: allow nullable: true x-speakeasy-param-computed: false session_rolling_timeout: description: Specifies how long the session can be used in seconds until it needs to be renewed. 0 disables the checks and rolling. type: number default: 3600 session_secret: description: The session secret. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false session_storage: description: 'The session storage for session data: - `cookie`: stores session data with the session cookie (the session cannot be invalidated or revoked without changing session secret, but is stateless, and doesn''t require a database) - `memcache`: stores session data in memcached - `redis`: stores session data in Redis.' type: string default: cookie enum: - cookie - memcache - memcached - redis x-speakeasy-unknown-values: allow session_store_metadata: description: Configures whether or not session metadata should be stored. This metadata includes information about the active sessions for a specific audience belonging to a specific subject. type: boolean default: false ssl_verify: description: 'Verify identity provider server certificate. If set to `true`, the plugin uses the CA certificate set in the `kong.conf` config parameter `lua_ssl_trusted_certificate`.' type: boolean default: true timeout: description: Network IO timeout in milliseconds. type: number default: 10000 minimum: 0 tls_client_auth_cert_id: description: ID of the Certificate entity representing the client certificate to use for mTLS client authentication for connections between Kong and the Auth Server. type: string nullable: true x-speakeasy-param-computed: false tls_client_auth_ssl_verify: description: Verify identity provider server certificate during mTLS client authentication. type: boolean default: true token_cache_key_include_scope: description: 'Include the scope in the token cache key, so token with different scopes are considered diffrent tokens.' type: boolean default: false token_endpoint: description: The token endpoint. If set it overrides the value in `token_endpoint` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false token_endpoint_auth_method: description: 'The token endpoint authentication method: `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`, `tls_client_auth`, `self_signed_tls_client_auth`, or `none`: do not authenticate' type: string enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow token_exchange: description: Details on how to accept tokens from other identity providers. type: object nullable: true properties: cache: description: Cache support for token exchange type: object default: enabled: true properties: enabled: description: Whether to enable caching. type: boolean default: true ttl: description: 'Cache ttl in seconds used when caching exchanged tokens, use it to override `conf.cache_ttl`. Token expiry will be used if shorter than this value.' type: integer nullable: true x-speakeasy-param-computed: false grant_type: description: |- The token exchange grant. `token_exchange` (default) uses the OAuth 2.0 Token Exchange grant (RFC 8693). `jwt_bearer` uses the JWT Bearer authorization-grant flow (RFC 7523); see `token_exchange.provider` for provider-specific defaults in this mode. **Requires a minimum runtime version of `2.3`**. type: string default: token_exchange enum: - jwt_bearer - token_exchange x-min-runtime-version: '2.3' x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow map_identities_from: description: |- Which token's claims to use for consumer, consumer group, and principal mapping. Only takes effect when token exchange is configured. `exchanged_tokens` (default) uses the token(s) returned by the exchange or tokens derived from it, as today. `subject_token` uses the original, pre-exchange bearer token's claims instead. **Requires a minimum runtime version of `2.3`**. type: string default: exchanged_tokens enum: - exchanged_tokens - subject_token x-min-runtime-version: '2.3' x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow provider: description: |- Identity provider used with `grant_type = jwt_bearer`; not allowed with `grant_type = token_exchange`. `standard` (default) adds no provider-specific parameter. `microsoft` adds the required `requested_token_use=on_behalf_of`, which is fixed and cannot be overridden via `post_args_names/values`. **Requires a minimum runtime version of `2.3`**. type: string default: standard enum: - microsoft - standard x-min-runtime-version: '2.3' x-speakeasy-param-computed: false x-speakeasy-unknown-values: allow request: description: Parameters used in the token exchange request. type: object nullable: true properties: actor_token: description: |- How to obtain the actor token to include in the token exchange request. Represents the identity of the party acting on behalf of the subject. **Requires a minimum runtime version of `2.3`**. type: object properties: header_name: description: Header name containing the actor token. Required when `source` is `header`. type: string nullable: true x-speakeasy-param-computed: false source: description: Where to obtain the actor token. `header` reads it from a request header. `config` uses a fixed value. `none` disables actor token support. type: string default: none enum: - config - header - none x-speakeasy-unknown-values: allow static_token: description: Static actor token value. Required when `source` is `config`. type: string nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false type: description: The RFC 8693 token type identifier of the actor token (the `actor_token_type` request parameter). type: string default: 'urn:ietf:params:oauth:token-type:access_token' x-min-runtime-version: '2.3' x-speakeasy-param-computed: false audience: description: Audiences used in the token exchange request. Values defined here override those defined in `config.audience`. type: array items: type: string nullable: true x-speakeasy-param-computed: false empty_audience: description: Use empty audiences. Use this field to remove audiences defined in `config.audience`. type: boolean default: false empty_headers: description: |- Use no extra headers on the token exchange request. Use this field to remove extra headers defined in `config.token_headers_names`. **Requires a minimum runtime version of `2.3`**. type: boolean default: false x-min-runtime-version: '2.3' x-speakeasy-param-computed: false empty_post_args: description: |- Use no extra POST arguments on the token exchange request. Use this field to remove extra POST arguments defined in `config.token_post_args_names`. **Requires a minimum runtime version of `2.3`**. type: boolean default: false x-min-runtime-version: '2.3' x-speakeasy-param-computed: false empty_scopes: description: Use empty scopes. Use this field to remove scopes defined in `config.scopes`. type: boolean default: false headers_names: description: |- Extra header names sent only on the token exchange request. Overrides `config.token_headers_names` for this request. **Requires a minimum runtime version of `2.3`**. type: array items: type: string nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false headers_values: description: |- Values paired by index with `headers_names`. **Requires a minimum runtime version of `2.3`**. type: array items: type: string nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false post_args_names: description: |- Extra POST argument names sent only on the token exchange request. Overrides `config.token_post_args_names` for this request. Use this, not the top-level field, for parameters that must not be attached to the plugin's other token endpoint calls, for example `requested_token_use` for Entra ID's On-Behalf-Of flow. **Requires a minimum runtime version of `2.3`**. type: array items: type: string nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false post_args_values: description: |- Values paired by index with `post_args_names`. **Requires a minimum runtime version of `2.3`**. type: array items: type: string nullable: true x-min-runtime-version: '2.3' x-speakeasy-param-computed: false scopes: description: Scopes used in the token exchange request. Values defined here override those defined in `config.scopes`. type: array items: type: string nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false subject_token_issuers: description: 'Trusted token issuers from which the upstream may accept tokens to be exchanged. If a JWT bearer matches all the conditions of a subject token issuer item, the token will be exchanged.' type: array items: properties: conditions: description: 'A token will only be exchanged when it matches all these criteria. To exchange tokens issued by a different issuer, `conditions` must not be defined -- every token from that issuer is exchanged unconditionally, since a foreign-issued token that isn''t exchanged can never pass normal verification against the target issuer anyway. In contrast, to exchange tokens issued by the target issuer itself, `conditions` must be defined.' type: object nullable: true properties: has_audience: description: 'Audience values that must all be present in the token, matched against `audience_claim`.' type: array items: type: string nullable: true x-speakeasy-param-computed: false has_scopes: description: 'Scope values that must all be present in the token, matched against `scopes_claim`.' type: array items: type: string nullable: true x-speakeasy-param-computed: false missing_audience: description: 'Audience values that must all be absent from the token, matched against `audience_claim`.' type: array items: type: string nullable: true x-speakeasy-param-computed: false missing_scopes: description: 'Scope values that must all be absent from the token, matched against `scopes_claim`.' type: array items: type: string nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false deny_on_mismatch: description: |- When true, a token issued by `issuer` that fails to match `conditions` is denied instead of being passed through unexchanged. Evaluated independently for this item only, with no effect on other `subject_token_issuers` items. Only allowed when this issuer is the target issuer, since `conditions` is required there and foreign-issuer items always match. **Requires a minimum runtime version of `2.3`**. type: boolean default: false x-min-runtime-version: '2.3' x-speakeasy-param-computed: false issuer: description: Tokens of whose iss claim matches this value will be exchanged. type: string jwks_uri: description: |- An explicit JWKS endpoint for this issuer. This field should be left empty when this issuer is the same as the target issuer. It is only used when `verify_signature` is `true`. When set, Kong fetches the signing keys from this URI directly instead of using OIDC Discovery. **Requires a minimum runtime version of `2.3`**. type: string x-min-runtime-version: '2.3' x-speakeasy-param-computed: false verify_signature: description: |- When true, Kong cryptographically verifies the signature of the incoming subject token before exchanging it. This field should be left empty or set to `false` when this issuer is the same as the target issuer. Defaults to `false` for backward compatibility. **Requires a minimum runtime version of `2.3`**. type: boolean default: false x-min-runtime-version: '2.3' x-speakeasy-param-computed: false required: - issuer type: object minItems: 1 required: - subject_token_issuers x-speakeasy-param-computed: false token_exchange_endpoint: description: Endpoint used to perform the legacy token exchange. type: string nullable: true x-speakeasy-param-computed: false token_headers_client: description: Extra headers passed from the client to the token endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false token_headers_grants: description: 'Enable the sending of the token endpoint response headers only with certain grants: - `password`: with OAuth password grant - `client_credentials`: with OAuth client credentials grant - `authorization_code`: with authorization code flow - `refresh_token` with refresh token grant.' type: array items: enum: - authorization_code - client_credentials - password - refresh_token type: string x-speakeasy-unknown-values: allow nullable: true x-speakeasy-param-computed: false token_headers_names: description: Extra header names passed to the token endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false token_headers_prefix: description: Add a prefix to the token endpoint response headers before forwarding them to the downstream client. type: string nullable: true x-speakeasy-param-computed: false token_headers_replay: description: The names of token endpoint response headers to forward to the downstream client. type: array items: type: string nullable: true x-speakeasy-param-computed: false token_headers_values: description: Extra header values passed to the token endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false token_post_args_client: description: 'Pass extra arguments from the client to the OpenID-Connect plugin. If arguments exist, the client can pass them using: - Query parameters - Request Body - Request Header This parameter can be used with `scope` values, like this: `config.token_post_args_client=scope` In this case, the token would take the `scope` value from the query parameter or from the request body or from the header and send it to the token endpoint.' type: array items: type: string nullable: true x-speakeasy-param-computed: false token_post_args_names: description: Extra post argument names passed to the token endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false token_post_args_values: description: Extra post argument values passed to the token endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false unauthorized_destroy_session: description: Destroy any active session for the unauthorized requests. type: boolean default: true unauthorized_error_message: description: The error message for the unauthorized requests (when not using the redirection). type: string default: Unauthorized unauthorized_redirect_uri: description: Where to redirect the client on unauthorized requests. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string nullable: true x-speakeasy-param-computed: false unexpected_redirect_uri: description: Where to redirect the client when unexpected errors happen with the requests. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string nullable: true x-speakeasy-param-computed: false upstream_access_token_header: description: The upstream access token header. type: string default: 'authorization:bearer' upstream_access_token_jwk_header: description: The upstream access token JWK header. type: string nullable: true x-speakeasy-param-computed: false upstream_headers: description: The upstream claim to header mappings. type: array items: properties: header: description: The name of the header. type: string path: description: The path of the header value. type: array items: type: string minItems: 1 required: - header - path type: object nullable: true x-speakeasy-param-computed: false upstream_headers_claims: description: The upstream header claims. Only top level claims are supported. type: array items: type: string nullable: true x-speakeasy-param-computed: false upstream_headers_names: description: The upstream header names for the claim values. type: array items: type: string nullable: true x-speakeasy-param-computed: false upstream_id_token_header: description: The upstream id token header. type: string nullable: true x-speakeasy-param-computed: false upstream_id_token_jwk_header: description: The upstream id token JWK header. type: string nullable: true x-speakeasy-param-computed: false upstream_introspection_header: description: The upstream introspection header. type: string nullable: true x-speakeasy-param-computed: false upstream_introspection_jwt_header: description: The upstream introspection JWT header. type: string nullable: true x-speakeasy-param-computed: false upstream_refresh_token_header: description: The upstream refresh token header. type: string nullable: true x-speakeasy-param-computed: false upstream_session_id_header: description: The upstream session id header. type: string nullable: true x-speakeasy-param-computed: false upstream_user_info_header: description: The upstream user info header. type: string nullable: true x-speakeasy-param-computed: false upstream_user_info_jwt_header: description: The upstream user info JWT header (in case the user info returns a JWT response). type: string nullable: true x-speakeasy-param-computed: false userinfo_accept: description: 'The value of `Accept` header for user info requests: - `application/json`: user info response as JSON - `application/jwt`: user info response as JWT (from the obsolete IETF draft document).' type: string default: application/json enum: - application/json - application/jwt x-speakeasy-unknown-values: allow userinfo_endpoint: description: The user info endpoint. If set it overrides the value in `userinfo_endpoint` returned by the discovery endpoint. type: string nullable: true x-speakeasy-param-computed: false userinfo_headers_client: description: Extra headers passed from the client to the user info endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false userinfo_headers_names: description: Extra header names passed to the user info endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false userinfo_headers_values: description: Extra header values passed to the user info endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false userinfo_query_args_client: description: Extra query arguments passed from the client to the user info endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false userinfo_query_args_names: description: Extra query argument names passed to the user info endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false userinfo_query_args_values: description: Extra query argument values passed to the user info endpoint. type: array items: type: string nullable: true x-speakeasy-param-computed: false using_pseudo_issuer: description: 'If the plugin uses a pseudo issuer. When set to true, the plugin will not discover the configuration from the issuer URL specified with `config.issuer`.' type: boolean default: false verify_claims: description: Verify tokens for standard claims. type: boolean default: true verify_nonce: description: Verify nonce on authorization code flow. type: boolean default: true verify_parameters: description: Verify plugin configuration against discovery. type: boolean default: false verify_signature: description: 'Verify the cryptographic signature of tokens. Disabling this skips verification for every token source, including tokens presented directly by clients (bearer); this is insecure for that path. To trust only tokens fetched from the identity provider for specific grants, use `ignore_signature` instead, which never affects bearer tokens.' type: boolean default: true credential_claim: description: Claim path used to derive virtual credentials when consumer mapping is not used. type: array items: type: string default: - sub x-speakeasy-param-computed: true required: - issuer - cache_tokens_salt x-speakeasy-param-computed: true x-terraform-no-default-null: true id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - display_name - name - type - id - created_at - updated_at title: AIGatewayAuthStrategyOpenIDConnectConfig TooManyRequestsError: description: standard error type: object properties: status: description: | The HTTP status code of the error. Useful when passing the response body to child properties in a frontend UI. Must be returned as an integer. type: integer example: 429 readOnly: true x-speakeasy-param-suppress-computed-diff: true title: description: | A short, human-readable summary of the problem. It should not change between occurences of a problem, except for localization. Should be provided as "Sentence case" for direct use in the UI. type: string example: Too Many Requests readOnly: true x-speakeasy-param-suppress-computed-diff: true type: description: The error type. type: string example: 'https://httpstatuses.com/429' readOnly: true x-speakeasy-param-suppress-computed-diff: true instance: description: | Used to return the correlation ID back to the user, in the format kong:trace:<correlation_id>. This helps us find the relevant logs when a customer reports an issue. type: string example: 'kong:trace:1234567890' readOnly: true x-speakeasy-param-suppress-computed-diff: true detail: description: | A human readable explanation specific to this occurence of the problem. This field may contain request/entity data to help the user understand what went wrong. Enclose variable values in square brackets. Should be provided as "Sentence case" for direct use in the UI. type: string example: Too Many Requests readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - status - title - instance - detail AICostCurrency: description: An ISO 4217 currency code. `USD` is the only supported currency. type: string enum: - USD AICostBudget: description: |- A budget sets a spending limit, or declares an exemption from limits, for part of the organization's AI usage. `scope` selects the usage it covers. `effect` tells the two kinds apart. A limit budget carries its settings in `limit`, `window`, and `posture`, and an exemption carries the period it covers in `validity`. The fields of the other kind are `null`. discriminator: propertyName: effect mapping: limit: '#/components/schemas/AICostLimitBudget' exempt: '#/components/schemas/AICostExemptBudget' oneOf: - $ref: '#/components/schemas/AICostLimitBudget' - $ref: '#/components/schemas/AICostExemptBudget' AICostLimitBudget: description: 'A limit budget sets a spending limit on the usage in its scope for each budget window. It has a balance, and it can have a notification rule that alerts as spend reaches shares of the limit.' type: object properties: id: $ref: '#/components/schemas/UUID' name: description: A human-readable name for the budget. type: string labels: description: Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels. allOf: - $ref: '#/components/schemas/Labels' managed_by: description: 'Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it.' allOf: - $ref: '#/components/schemas/ManagedBy' scope: description: The usage the budget covers. type: object properties: filters: description: The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage. type: array items: $ref: '#/components/schemas/AICostBudgetScopeFilter' x-max-depth: 5 x-speakeasy-type-override: any each: description: |- The field that splits the budget. With `each`, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them. A fixed usage field or `tags.<key>`. `null` for a pooled budget, whose limit applies to all its usage together, and always `null` on an exemption. type: string default: null nullable: true pattern: '^(subject_type|subject|subject_id|group|team|model|provider|request_mode|tags\.[a-z0-9._-]{1,128})$' x-speakeasy-param-computed: false required: - filters - each priority: description: 'The budget''s priority, from 1 (highest) to 100 (lowest). You can filter and sort the budget list by it.' type: integer maximum: 100 minimum: 1 created_by: description: |- The `id` of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created. `null` for a budget created before the service recorded creators. type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' effect: description: 'Always `limit` for a limit budget, which carries its settings in `limit`, `window`, and `posture`.' type: string const: limit window: description: 'The budget window: the period the limit applies to, such as a calendar month. When one window ends, the next starts.' type: object additionalProperties: false properties: type: description: 'The kind of budget window. Always `fixed`: windows of length `interval` follow each other, aligned to `anchored_at`.' type: string const: fixed interval: description: 'The length of each budget window, as an ISO 8601 duration such as `P1M` for a month or `P1D` for a day.' type: string anchored_at: description: |- A time when a budget window starts. Windows start a whole number of intervals before or after it. The intervals count in the local time of its time zone, so calendar units such as months stay aligned to the calendar. A window that would start on a day its month doesn't have, such as the 31st, starts on the month's last day. A date-time with a UTC offset and an IANA time zone in brackets, such as `2026-01-01T00:00:00+01:00[Europe/Budapest]`. type: string required: - type - interval - anchored_at posture: description: What the budget does when spend reaches its limit. allOf: - $ref: '#/components/schemas/AICostBudgetPosture' validity: description: 'Always `null`, because only an exemption has `validity`.' type: string enum: - null nullable: true value: description: 'The amount in major units of `currency`, as a canonical decimal string such as `4125.5` or `0.004372`: at most 9 fractional digits, no trailing fractional zeros, no exponent, and a leading `-` only when the amount is negative.' type: string pattern: '^(?:0|-?(?:[1-9]\d*(?:\.\d{0,8}[1-9])?|0\.\d{0,8}[1-9]))$' currency: description: The currency of `value`. allOf: - $ref: '#/components/schemas/AICostCurrency' required: - id - name - labels - scope - priority - created_by - created_at - updated_at - effect - value - currency - window - posture - validity x-speakeasy-transform-from-api: jq: '. + {value: .limit.value, currency: .limit.currency} | del(.limit)' AICostBudgetScopeFilter: description: 'One filter in a budget scope: a predicate on one usage field, or a group that combines filters with `and` or `or`.' discriminator: propertyName: op mapping: eq: '#/components/schemas/AICostBudgetScopePredicate' neq: '#/components/schemas/AICostBudgetScopePredicate' contains: '#/components/schemas/AICostBudgetScopePredicate' in: '#/components/schemas/AICostBudgetScopePredicate' nin: '#/components/schemas/AICostBudgetScopePredicate' ocontains: '#/components/schemas/AICostBudgetScopePredicate' exists: '#/components/schemas/AICostBudgetScopePredicate' nexists: '#/components/schemas/AICostBudgetScopePredicate' and: '#/components/schemas/AICostBudgetScopeFilterGroup' or: '#/components/schemas/AICostBudgetScopeFilterGroup' oneOf: - $ref: '#/components/schemas/AICostBudgetScopePredicate' - $ref: '#/components/schemas/AICostBudgetScopeFilterGroup' AICostBudgetScopePredicate: description: |- A condition on one usage field. `op` selects the comparison and the shape of `value`: one value, a list of values, or `null` for `exists` and `nexists`. Usage without a value for the field matches only `nexists`. discriminator: propertyName: op mapping: eq: '#/components/schemas/AICostBudgetScopeValuePredicate' neq: '#/components/schemas/AICostBudgetScopeValuePredicate' contains: '#/components/schemas/AICostBudgetScopeValuePredicate' in: '#/components/schemas/AICostBudgetScopeValueListPredicate' nin: '#/components/schemas/AICostBudgetScopeValueListPredicate' ocontains: '#/components/schemas/AICostBudgetScopeValueListPredicate' exists: '#/components/schemas/AICostBudgetScopeExistsPredicate' nexists: '#/components/schemas/AICostBudgetScopeNExistsPredicate' oneOf: - $ref: '#/components/schemas/AICostBudgetScopeValuePredicate' - $ref: '#/components/schemas/AICostBudgetScopeValueListPredicate' - $ref: '#/components/schemas/AICostBudgetScopeExistsPredicate' - $ref: '#/components/schemas/AICostBudgetScopeNExistsPredicate' AICostBudgetScopeValuePredicate: description: 'A predicate that compares a usage field with one value, using `eq`, `neq`, or `contains`.' type: object properties: field: description: 'The usage field to compare: one of the fixed usage fields, or `tags.<key>` for the value of the tag `<key>`, such as `tags.project`.' anyOf: - $ref: '#/components/schemas/AICostBudgetScopeField' - type: string pattern: '^tags\.[a-z0-9._-]{1,128}$' op: description: How the field is compared with `value`. allOf: - $ref: '#/components/schemas/AICostBudgetScopeValueOperator' value: description: |- The value to compare the field with. For `subject`, `group`, or `team`, a complete subject, group, or team reference, such as `principal/{uuid}`. Must not be empty. type: string minLength: 1 additionalProperties: false required: - field - op - value AICostBudgetScopeField: description: |- A usage field that a budget scope can filter on, and that `each` can split a budget by: - `subject`: the subject reference, such as `principal/{uuid}`. Equal identifiers from different identity systems stay distinct. - `subject_id`: the subject's identifier without its type, which pools equal identifiers across identity systems. - `subject_type`: the subject's identity system: `principal`, `consumer`, or `oidc`. - `group`: the usage's group references. Usage can carry several groups. `eq` and `in` match when any of them matches. `neq` and `nin` match only usage with at least one group, and exclude it when any of its groups matches. - `team`: the usage's Kong Identity team references, with the membership rules of `group`. - `model`: the model that the provider reports as served. - `provider`: the provider that served the invocation. - `request_mode`: how the invocation was served: `stream`, `oneshot`, or `realtime`. - `cost_center`: the person's Kong Identity cost center at the time of the request, as the gateway reported it. It isn't the ledger of a funded budget. Usage has at most one, so `neq` and `nin` match only usage with a cost center, and the budgets that `each` derives from it don't overlap. A scope can also use `tags.<key>` for the value of one tag. type: string enum: - subject_type - subject - subject_id - group - team - model - provider - request_mode - cost_center x-speakeasy-unknown-values: allow AICostBudgetScopeValueOperator: description: |- How a predicate compares a field with one value: - `eq`: the field has exactly this value. - `neq`: the field has a value, and it isn't this one. - `contains`: the field's value contains this text, ignoring case. `subject`, `group`, and `team` don't take `contains`. type: string enum: - eq - neq - contains x-speakeasy-unknown-values: allow AICostBudgetScopeValueListPredicate: description: 'A predicate that compares a usage field with a list of values, using `in`, `nin`, or `ocontains`.' type: object properties: field: description: 'The usage field to compare: one of the fixed usage fields, or `tags.<key>` for the value of the tag `<key>`, such as `tags.project`.' anyOf: - $ref: '#/components/schemas/AICostBudgetScopeField' - type: string pattern: '^tags\.[a-z0-9._-]{1,128}$' op: description: How the field is compared with the values in `value`. allOf: - $ref: '#/components/schemas/AICostBudgetScopeListOperator' value: description: |- The values to compare the field with. For `subject`, `group`, or `team`, complete subject, group, or team references, such as `principal/{uuid}`. 1 to 100 values, none of them empty. type: array items: type: string minLength: 1 maxItems: 100 minItems: 1 additionalProperties: false required: - field - op - value AICostBudgetScopeListOperator: description: |- How a predicate compares a field with a list of values: - `in`: the field has any of these exact values. - `nin`: the field has a value, and it's none of these. - `ocontains`: the field's value contains any of these texts, ignoring case. `subject`, `group`, and `team` don't take `ocontains`. type: string enum: - in - nin - ocontains x-speakeasy-unknown-values: allow AICostBudgetScopeExistsPredicate: description: A predicate that matches usage with any value for a field. type: object properties: field: description: 'The usage field to compare: one of the fixed usage fields, or `tags.<key>` for the value of the tag `<key>`, such as `tags.project`.' anyOf: - $ref: '#/components/schemas/AICostBudgetScopeField' - type: string pattern: '^tags\.[a-z0-9._-]{1,128}$' op: description: 'Always `exists`: the predicate matches usage that has any value for the field.' type: string enum: - exists value: description: 'Always `null`, because the operator takes no value.' type: string enum: - null nullable: true additionalProperties: false required: - field - op - value AICostBudgetScopeNExistsPredicate: description: A predicate that matches usage without a value for a field. type: object properties: field: description: 'The usage field to compare: one of the fixed usage fields, or `tags.<key>` for the value of the tag `<key>`, such as `tags.project`.' anyOf: - $ref: '#/components/schemas/AICostBudgetScopeField' - type: string pattern: '^tags\.[a-z0-9._-]{1,128}$' op: description: 'Always `nexists`: the predicate matches usage that has no value for the field.' type: string enum: - nexists value: description: 'Always `null`, because the operator takes no value.' type: string enum: - null nullable: true additionalProperties: false required: - field - op - value AICostBudgetScopeFilterGroup: description: A group of filters combined with `and` or `or`. A group's filters can include further groups. type: object properties: op: description: 'How the group combines its filters: `and` requires every filter to match, and `or` requires at least one. Usage that matches several filters of an `or` counts once.' type: string enum: - and - or x-speakeasy-unknown-values: allow filters: description: 'The filters to combine, each a predicate or a nested group.' type: array items: $ref: '#/components/schemas/AICostBudgetScopeFilter' minItems: 1 additionalProperties: false required: - op - filters AICostBudgetPosture: description: 'What a limit budget does when spend reaches its limit. `advisory` changes nothing at the limit. `enforce` belongs to budget blocking, which is in development. No request is refused because of `posture`.' type: string enum: - advisory - enforce x-speakeasy-unknown-values: allow AICostExemptBudget: description: 'An exemption declares that the usage in its scope is exempt from limits for a limited time. It sets no limit. The service stores and lists exemptions, but they change no balance or notification.' type: object properties: id: $ref: '#/components/schemas/UUID' name: description: A human-readable name for the budget. type: string labels: description: Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels. allOf: - $ref: '#/components/schemas/Labels' managed_by: description: 'Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it.' allOf: - $ref: '#/components/schemas/ManagedBy' scope: description: The usage the budget covers. type: object properties: filters: description: The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage. type: array items: $ref: '#/components/schemas/AICostBudgetScopeFilter' x-max-depth: 5 x-speakeasy-type-override: any each: description: |- The field that splits the budget. With `each`, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them. A fixed usage field or `tags.<key>`. `null` for a pooled budget, whose limit applies to all its usage together, and always `null` on an exemption. type: string default: null nullable: true pattern: '^(subject_type|subject|subject_id|group|team|model|provider|request_mode|tags\.[a-z0-9._-]{1,128})$' x-speakeasy-param-computed: false required: - filters - each priority: description: 'The budget''s priority, from 1 (highest) to 100 (lowest). You can filter and sort the budget list by it.' type: integer maximum: 100 minimum: 1 created_by: description: |- The `id` of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created. `null` for a budget created before the service recorded creators. type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' effect: description: 'Always `exempt` for an exemption, which carries the period it covers in `validity`.' type: string const: exempt limit: description: 'Always `null`, because an exemption sets no limit.' type: string enum: - null nullable: true window: description: 'Always `null`, because an exemption has no budget window.' type: string enum: - null nullable: true posture: description: 'Always `null`, because an exemption has no posture.' type: string default: null nullable: true x-speakeasy-param-computed: false validity: description: 'The period the exemption covers, from `starts_at` until `ends_at`.' type: object properties: starts_at: description: |- When the exemption starts, as an RFC 3339 timestamp in UTC or as a date-time with a UTC offset and an IANA time zone in brackets, such as `2026-08-16T00:00:00+02:00[Europe/Budapest]`. If the request omitted it, the budget's `created_at`. type: string ends_at: description: 'When the exemption ends, in the same formats as `starts_at`.' type: string required: - starts_at - ends_at required: - id - name - labels - managed_by - scope - priority - created_by - created_at - updated_at - effect - limit - window - posture - validity AICostBudgetReference: description: A reference to one of the organization's budgets by its `id`. type: object properties: id: description: 'The `id` of the budget, which the budget operations take as `budgetId`.' type: string format: uuid additionalProperties: false required: - id AICostNotificationRule: type: object properties: budget: description: The budget the rule belongs to. allOf: - $ref: '#/components/schemas/AICostBudgetReference' thresholds: description: |- The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again. Ordered by `percent`, lowest first. type: array items: $ref: '#/components/schemas/AICostNotificationThreshold' format: set channels: description: |- The channels that receive the rule's alerts. At most 10 channels, each listed once. Reads return them ordered by channel name. type: array items: type: object properties: id: description: The identifier of one of the organization's notification channels. type: string format: uuid required: - id additionalProperties: false format: set maxItems: 10 message: description: 'The wording of the rule''s alerts, or `null` when the rule uses the built-in wording.' type: object default: null additionalProperties: false nullable: true properties: subject: description: 'The subject line of the rule''s alerts, as plain text that can contain placeholders such as `{{budget.name}}`.' type: string body: description: 'The text of the rule''s alerts, as plain text that can contain placeholders such as `{{budget.name}}`. Blank lines separate paragraphs.' type: string required: - subject - body x-speakeasy-param-computed: false managed_by: description: 'Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it.' allOf: - $ref: '#/components/schemas/ManagedBy' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - budget - thresholds - channels - message - managed_by - created_at - updated_at AICostNotificationThreshold: description: A share of a budget's limit at which its notification rule fires. Spend reaches the threshold when it equals or exceeds that share of the limit. type: object properties: percent: description: |- The share of the limit, as a whole percent. A value above 100 fires on spend beyond the limit. 1 to 1000. type: integer maximum: 1000 minimum: 1 additionalProperties: false required: - percent AICostNotificationChannel: description: |- A notification channel is a destination for budget alerts: a list of email addresses or a Slack incoming webhook. A budget's notification rule sends its alerts to the channels it lists, and one channel can serve many rules. `type` tells the two kinds apart. An email channel carries its settings in `email`, and a Slack channel carries them in `slack`. discriminator: propertyName: type mapping: email: '#/components/schemas/AICostEmailNotificationChannel' slack: '#/components/schemas/AICostSlackNotificationChannel' oneOf: - $ref: '#/components/schemas/AICostEmailNotificationChannel' - $ref: '#/components/schemas/AICostSlackNotificationChannel' AICostEmailNotificationChannel: description: A notification channel that emails each message to its recipients through Konnect's email service. type: object properties: id: $ref: '#/components/schemas/UUID' name: description: A human-readable name for the channel. Several channels can share a name. type: string labels: description: Key-value metadata on the channel. The channel list can filter by label. allOf: - $ref: '#/components/schemas/Labels' managed_by: description: 'Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it.' allOf: - $ref: '#/components/schemas/ManagedBy' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' type: description: 'Always `email` for an email channel, which carries its settings in `email`.' type: string const: email recipients: description: |- The email addresses that receive the channel's messages. 1 to 10 addresses, each an RFC 5322 address of at most 254 characters. Each address can appear only once, ignoring case. type: array items: type: string maxLength: 254 format: email maxItems: 10 minItems: 1 uniqueItems: true additionalProperties: false required: - id - name - labels - created_at - updated_at - type - recipients x-speakeasy-transform-from-api: jq: '. + {recipients: .email.recipients} | del(.email)' AICostSlackNotificationChannel: description: A notification channel that posts each message to a Slack incoming webhook the organization created in its own workspace. type: object properties: id: $ref: '#/components/schemas/UUID' name: description: A human-readable name for the channel. Several channels can share a name. type: string labels: description: Key-value metadata on the channel. The channel list can filter by label. allOf: - $ref: '#/components/schemas/Labels' managed_by: description: 'Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it.' allOf: - $ref: '#/components/schemas/ManagedBy' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' type: description: 'Always `slack` for a Slack channel, which carries its settings in `slack`.' type: string const: slack additionalProperties: false required: - id - name - labels - created_at - updated_at - type AICostExportDataset: description: |- The data an export holds, which also decides how its files divide the range. `usage_events` has one row per stored usage event, with the fields that `GET /v1/ai-cost-management/events` returns for an event, and one file for each day of the range. `focus` holds the AI usage as FinOps FOCUS cost-and-usage data, with one file for each calendar month. Each `focus` row sums the events of one charge period that share a provider, model, region, subject, application, list of groups, list of teams, and values of the named tag keys. Schema version `2` adds the usage's Kong Identity cost center to each dataset: `usage_events` gains a `cost_center` column after `teams`, and `focus` gains an `x_CostCenter` column after `x_TeamIds` and splits its rows by cost center too. Both columns are `null` for usage without a cost center. type: string enum: - usage_events - focus x-speakeasy-unknown-values: allow AICostExportSchemaVersion: description: |- A version of an export's data files within its dataset: their columns and the values those columns hold. A change to either ships as a new schema version, so the files of a schema version never change. Each dataset counts its schema versions from `1` on its own. For `focus`, a schema version applies within the chosen FOCUS version. Each dataset offers these schema versions: - `usage_events`: `1`, `2`. - `focus`: `1`, `2`. type: integer enum: - 1 - 2 x-speakeasy-unknown-values: allow AICostFocusOptions: description: 'The FOCUS options of a `focus` export or schedule, with each option''s value or its default.' type: object properties: version: description: The FOCUS version that the files follow. allOf: - $ref: '#/components/schemas/AICostFocusVersion' charge_period: description: 'The length of each row''s charge period: a calendar day or an hour in `time_zone`, which `ChargePeriodStart` and `ChargePeriodEnd` bound. The range selects the events and doesn''t shorten the first or last period, so those periods can extend beyond `starts_at` and `ends_at`.' allOf: - $ref: '#/components/schemas/AICostFocusChargePeriod' tag_keys: description: |- The tag keys whose values split the rows. A row's `Tags` column holds the named keys that its events carry, with their values. `[]` when the request named none. type: array items: type: string minLength: 1 maxLength: 128 pattern: '^[a-z0-9._-]*$' default: null nullable: true required: - version - charge_period - tag_keys x-speakeasy-param-computed: false AICostFocusVersion: description: |- A version of the FinOps FOCUS standard, which decides what a file's cost columns hold. FOCUS reserves those columns for amounts that the invoice issuer bills. The service doesn't invoice model usage, and its only cost is the estimate that the gateway reports for each event. `1.4` sets `BilledCost`, `EffectiveCost`, `ListCost`, and `ContractedCost` to `0` and carries the estimate in `x_ReportedCost`, so a `1.4` file merges with the model provider's own FOCUS data without counting the spend twice. `1.3` carries the estimate in those cost columns as well as in `x_ReportedCost`, so a `1.3` file shows the estimate as spend. **A `1.3` file loaded beside the model provider's own FOCUS data counts the same spend twice.** type: string enum: - '1.3' - '1.4' x-enum-varnames: - V1_3 - V1_4 x-speakeasy-unknown-values: allow AICostFocusChargePeriod: description: 'The length of a FOCUS row''s charge period: `day` for a calendar day or `hour` for an hour, in the export''s `time_zone`. A day lasts 23 or 25 hours when the clocks change.' type: string enum: - day - hour x-speakeasy-unknown-values: allow AICostExportFormat: description: 'The file format of an export''s data files: `csv` for UTF-8 CSV text with a header row, or `parquet` for Apache Parquet with the same columns in typed form. Each format allows its own `compression` values.' type: string example: csv enum: - parquet - csv x-speakeasy-unknown-values: allow AICostExportCompression: description: |- How an export's data files are compressed. Each value is valid with one format only, and sets the files' extension and content type: - `none`: uncompressed CSV, for `csv`. The files end in `.csv` and have the content type `text/csv; charset=utf-8`. - `gzip`: gzip-compressed CSV, for `csv`. The files end in `.csv.gz` and have the content type `application/gzip`. - `zstd`: Parquet with Zstandard-compressed columns, the only value for `parquet`. The files end in `.parquet` and have the content type `application/vnd.apache.parquet`. A download carries no `Content-Encoding` header, so its bytes match the file's `size_bytes` and `sha256`. type: string example: gzip enum: - none - gzip - zstd x-speakeasy-unknown-values: allow AICostExportSchedule: allOf: - type: object properties: id: $ref: '#/components/schemas/UUID' name: description: |- A human-readable name for the schedule. 1 to 100 characters after the server removes leading and trailing whitespace. type: string cadence: description: |- The length of each period, which sets the range of each export. A replacement can't change it. allOf: - $ref: '#/components/schemas/AICostExportScheduleCadence' time_zone: description: |- The IANA time zone in which the periods start. Each export that the schedule creates has this `time_zone`. A replacement can't change it. type: string format: iana-time-zone status: description: Whether the schedule creates exports. allOf: - $ref: '#/components/schemas/AICostExportScheduleStatus' dataset: description: The data that each export holds. allOf: - $ref: '#/components/schemas/AICostExportDataset' schema_version: description: 'The schema version of each export''s data files within the dataset, which fixes their columns and values.' allOf: - $ref: '#/components/schemas/AICostExportSchemaVersion' focus: description: |- The FOCUS options of each export, with defaults applied. `null` unless `dataset` is `focus`. allOf: - $ref: '#/components/schemas/AICostFocusOptions' format: description: The file format of each export's data files. allOf: - $ref: '#/components/schemas/AICostExportFormat' compression: description: How each export's data files are compressed. allOf: - $ref: '#/components/schemas/AICostExportCompression' filters: description: 'The filters of each export. `{}` for none.' type: object additionalProperties: {} x-speakeasy-type-override: any labels: description: Key-value metadata on the schedule. The schedule list can filter by label. Each export that the schedule creates copies the labels as they are at that moment. allOf: - $ref: '#/components/schemas/Labels' managed_by: description: 'Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it.' allOf: - $ref: '#/components/schemas/ManagedBy' next_run_at: description: |- When the period in progress ends and the schedule creates its export, as an RFC 3339 timestamp in UTC. That export starts 6 hours later, so that events that arrive late can be stored first. `null` while the schedule is `paused`. It's in the past while a run is late. type: string format: date-time default: null nullable: true x-speakeasy-param-computed: false created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - name - cadence - time_zone - status - dataset - schema_version - focus - format - compression - filters - labels - managed_by - next_run_at - created_at - updated_at description: |- An export schedule exports the organization's usage period by period, such as month by month. An `active` schedule creates one export of each period as the period ends. Each export is an ordinary export whose `schedule` names the schedule: it's listed, downloaded, and expires like a one-time export. Its files follow the dataset's rule: one for each day for `usage_events`, and one for each calendar month for `focus`. Each export of a `daily` `usage_events` schedule or a `monthly` `focus` schedule therefore has one file. - The export of a period has the period's start as `starts_at` and its end as `ends_at`, and the schedule's other settings as they are when the export is created. - When a schedule becomes `active`, by creation or by resuming, its first period is the one in progress. That period's export covers the whole period, including the time before the schedule became `active`. - A schedule exports each period once and never refreshes it, even when events of the period arrive later. A scheduled export that fails stays `failed`, and the schedule doesn't create it again. To include later events or to fill a failed period, a client creates a one-time export of the same range. - When runs are late, for example after an outage, the schedule catches up on at most the 31 most recent periods that ended while it was `active`, and skips older ones. AICostExportScheduleCadence: description: |- The length of a schedule's periods, in the schedule's `time_zone`: - `daily`: a day, from the start of one day to the start of the next. - `weekly`: a week, from the start of a Monday to the start of the next Monday. - `monthly`: a calendar month, from the start of its first day to the start of the next month's first day. Each period ends where the next one starts, so the periods follow each other without a gap or an overlap. A day lasts 23 or 25 hours when the clocks change. type: string enum: - daily - weekly - monthly x-speakeasy-unknown-values: allow AICostExportScheduleStatus: description: 'Whether a schedule creates exports. An `active` schedule creates an export of each period as the period ends. A `paused` schedule skips every period that ends while it is paused, and resuming the schedule doesn''t export those periods.' type: string enum: - active - paused x-speakeasy-unknown-values: allow AICostBudgetScopeExistsPredicateInput: description: A predicate that matches usage with any value for a field. type: object properties: field: description: 'The usage field to compare: one of the fixed usage fields, or `tags.<key>` for the value of the tag `<key>`, such as `tags.project`.' anyOf: - $ref: '#/components/schemas/AICostBudgetScopeField' - type: string pattern: '^tags\.[a-z0-9._-]{1,128}$' op: description: 'Always `exists`: the predicate matches usage that has any value for the field.' type: string enum: - exists value: description: 'Omitted or `null`, because the operator takes no value.' type: string enum: - null nullable: true additionalProperties: false required: - field - op AICostBudgetScopeFilterGroupInput: description: A group of filters combined with `and` or `or`. A group's filters can include further groups. type: object properties: op: description: 'How the group combines its filters: `and` requires every filter to match, and `or` requires at least one. Usage that matches several filters of an `or` counts once.' type: string enum: - and - or x-speakeasy-unknown-values: allow filters: description: 'The filters to combine, each a predicate or a nested group.' type: array items: $ref: '#/components/schemas/AICostBudgetScopeFilterInput' maxItems: 15 minItems: 1 additionalProperties: false required: - op - filters AICostBudgetScopeFilterInput: description: 'One filter in a budget scope: a predicate on one usage field, or a group that combines filters with `and` or `or`.' discriminator: propertyName: op mapping: eq: '#/components/schemas/AICostBudgetScopePredicateInput' neq: '#/components/schemas/AICostBudgetScopePredicateInput' contains: '#/components/schemas/AICostBudgetScopePredicateInput' in: '#/components/schemas/AICostBudgetScopePredicateInput' nin: '#/components/schemas/AICostBudgetScopePredicateInput' ocontains: '#/components/schemas/AICostBudgetScopePredicateInput' exists: '#/components/schemas/AICostBudgetScopePredicateInput' nexists: '#/components/schemas/AICostBudgetScopePredicateInput' and: '#/components/schemas/AICostBudgetScopeFilterGroupInput' or: '#/components/schemas/AICostBudgetScopeFilterGroupInput' oneOf: - $ref: '#/components/schemas/AICostBudgetScopePredicateInput' - $ref: '#/components/schemas/AICostBudgetScopeFilterGroupInput' AICostBudgetScopeNExistsPredicateInput: description: A predicate that matches usage without a value for a field. type: object properties: field: description: 'The usage field to compare: one of the fixed usage fields, or `tags.<key>` for the value of the tag `<key>`, such as `tags.project`.' anyOf: - $ref: '#/components/schemas/AICostBudgetScopeField' - type: string pattern: '^tags\.[a-z0-9._-]{1,128}$' op: description: 'Always `nexists`: the predicate matches usage that has no value for the field.' type: string enum: - nexists value: description: 'Omitted or `null`, because the operator takes no value.' type: string enum: - null nullable: true additionalProperties: false required: - field - op AICostBudgetScopePredicateInput: description: |- A condition on one usage field. `op` selects the comparison and the shape of `value`. Usage without a value for the field matches only `nexists`. A `subject`, `group`, or `team` predicate takes only `eq`, `neq`, `in`, `nin`, `exists`, and `nexists`. Its values are complete references: a subject is `principal/{uuid}`, `consumer/{uuid}`, or `oidc/{sub}`, a group is `principal/{uuid}`, `consumer_group/{uuid}`, or `oidc/{group}`, and a team is `principal/{uuid}`. `subject_id` matches a subject's identifier without its type. A `tags.<key>` or `cost_center` predicate's values each have at most 256 characters, none of them a control character. discriminator: propertyName: op mapping: eq: '#/components/schemas/AICostBudgetScopeValuePredicateInput' neq: '#/components/schemas/AICostBudgetScopeValuePredicateInput' contains: '#/components/schemas/AICostBudgetScopeValuePredicateInput' in: '#/components/schemas/AICostBudgetScopeValueListPredicateInput' nin: '#/components/schemas/AICostBudgetScopeValueListPredicateInput' ocontains: '#/components/schemas/AICostBudgetScopeValueListPredicateInput' exists: '#/components/schemas/AICostBudgetScopeExistsPredicateInput' nexists: '#/components/schemas/AICostBudgetScopeNExistsPredicateInput' oneOf: - $ref: '#/components/schemas/AICostBudgetScopeValuePredicateInput' - $ref: '#/components/schemas/AICostBudgetScopeValueListPredicateInput' - $ref: '#/components/schemas/AICostBudgetScopeExistsPredicateInput' - $ref: '#/components/schemas/AICostBudgetScopeNExistsPredicateInput' AICostBudgetScopeValueListPredicateInput: description: 'A predicate that compares a usage field with a list of values, using `in`, `nin`, or `ocontains`.' type: object properties: field: description: 'The usage field to compare: one of the fixed usage fields, or `tags.<key>` for the value of the tag `<key>`, such as `tags.project`.' anyOf: - $ref: '#/components/schemas/AICostBudgetScopeField' - type: string pattern: '^tags\.[a-z0-9._-]{1,128}$' op: description: How the field is compared with the values in `value`. allOf: - $ref: '#/components/schemas/AICostBudgetScopeListOperator' value: description: |- The values to compare the field with. For `subject`, `group`, or `team`, complete subject, group, or team references, such as `principal/{uuid}`. 1 to 100 values, none of them empty. type: array items: type: string minLength: 1 maxItems: 100 minItems: 1 additionalProperties: false required: - field - op - value AICostBudgetScopeValuePredicateInput: description: 'A predicate that compares a usage field with one value, using `eq`, `neq`, or `contains`.' type: object properties: field: description: 'The usage field to compare: one of the fixed usage fields, or `tags.<key>` for the value of the tag `<key>`, such as `tags.project`.' anyOf: - $ref: '#/components/schemas/AICostBudgetScopeField' - type: string pattern: '^tags\.[a-z0-9._-]{1,128}$' op: description: How the field is compared with `value`. allOf: - $ref: '#/components/schemas/AICostBudgetScopeValueOperator' value: description: |- The value to compare the field with. For `subject`, `group`, or `team`, a complete subject, group, or team reference, such as `principal/{uuid}`. Must not be empty. type: string minLength: 1 additionalProperties: false required: - field - op - value AICostEmailNotificationChannelInput: description: The body of a request that creates or replaces an email channel. type: object properties: name: description: |- A human-readable name for the channel. 1 to 100 characters after the server removes leading and trailing whitespace. Several channels can share a name. type: string maxLength: 100 minLength: 1 labels: default: {} allOf: - $ref: '#/components/schemas/Labels' managed_by: description: 'Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it. An omitted value on replacement resets to `{}`.' default: {} allOf: - $ref: '#/components/schemas/ManagedBy' type: description: 'Always `email` for an email channel, which carries its settings in `email`.' type: string const: email recipients: description: |- The email addresses that receive the channel's messages. 1 to 10 addresses, each an RFC 5322 address of at most 254 characters. Each address can appear only once, ignoring case. type: array items: type: string maxLength: 254 format: email pattern: '^(?:[A-Za-z0-9_''+\-]+\.)*[A-Za-z0-9_''+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$' maxItems: 10 minItems: 1 uniqueItems: true additionalProperties: false required: - name - type - recipients x-speakeasy-transform-to-api: jq: '.email = {recipients: .recipients} | del(.recipients)' AICostExemptBudgetInput: description: The body of a request that creates or replaces an exemption. type: object properties: name: description: |- A human-readable name for the budget. 1 to 255 characters. type: string maxLength: 255 minLength: 1 labels: default: {} allOf: - $ref: '#/components/schemas/Labels' managed_by: description: 'Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it. An omitted value on replacement resets to `{}`.' default: {} allOf: - $ref: '#/components/schemas/ManagedBy' priority: description: |- The budget's priority, from 1 (highest) to 100 (lowest). You can filter and sort the budget list by it. Defaults to `100`. type: integer default: 100 maximum: 100 minimum: 1 scope: description: |- The usage the exemption covers. A replacement can change it. type: object additionalProperties: false properties: filters: description: |- The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage. At most 15 predicates in total across all groups, each inside at most 4 nested groups. type: array items: $ref: '#/components/schemas/AICostBudgetScopeFilterInput' maxItems: 15 x-max-depth: 5 x-max-total-filters: 15 x-speakeasy-type-override: any each: description: |- The field that splits the budget. With `each`, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them. A fixed usage field or `tags.<key>`, or `null` for a pooled budget, whose limit applies to all its usage together. An exemption can't use `each`. If the filters rule out every value of the field, or every branch fixes it to the same value with `eq`, the request fails with `400`, because the budget would have nothing to split. Defaults to `null`. type: string default: null nullable: true pattern: '^(subject_type|subject|subject_id|group|team|model|provider|request_mode|tags\.[a-z0-9._-]{1,128})$' x-speakeasy-param-computed: false required: - filters effect: description: |- Always `exempt` for an exemption, which carries the period it covers in `validity`. A replacement can't change it. A person can't exempt their own usage: when the caller has access to only some principals, and the scope lies within the caller's principals rather than within their groups alone, the request fails with `400`. An organization-wide caller can create any exemption, and a Team Manager can create one for their groups. type: string const: exempt validity: description: 'The period the exemption covers, from `starts_at` until `ends_at`.' type: object additionalProperties: false properties: starts_at: description: |- When the exemption starts, as an RFC 3339 timestamp or as a date-time with a UTC offset and an IANA time zone in brackets, such as `2026-08-16T00:00:00+02:00[Europe/Budapest]`. The service converts an RFC 3339 timestamp to UTC and keeps a date-time's IANA time zone. Defaults to the budget's `created_at`, also when a replacement omits it. type: string default: null nullable: true x-speakeasy-param-computed: false ends_at: description: |- When the exemption ends, in the same formats as `starts_at`, which the service normalizes the same way. Must be later than `starts_at`. type: string required: - ends_at additionalProperties: false required: - name - scope - effect - validity AICostExportScheduleInput: allOf: - type: object properties: name: description: |- A human-readable name for the schedule. 1 to 100 characters after the server removes leading and trailing whitespace. type: string maxLength: 100 minLength: 1 cadence: description: |- The length of each period, which sets the range of each export. A replacement can't change it. allOf: - $ref: '#/components/schemas/AICostExportScheduleCadence' x-speakeasy-param-force-new: true time_zone: description: |- The IANA time zone in which the periods start. Each export that the schedule creates has this `time_zone`. An IANA time zone name as the time zone database spells it, such as `Europe/Budapest`. Offsets such as `+02:00` aren't accepted. A replacement can't change it, so a replacement of a schedule whose `time_zone` isn't `UTC` must repeat it. Defaults to `UTC`. type: string format: iana-time-zone default: UTC x-speakeasy-param-force-new: true status: description: |- Whether the schedule creates exports. Defaults to `active`, so a replacement that omits `status` resumes a paused schedule. default: active allOf: - $ref: '#/components/schemas/AICostExportScheduleStatus' dataset: description: The data that each export holds. allOf: - $ref: '#/components/schemas/AICostExportDataset' schema_version: description: |- The schema version of each export's data files within the dataset, which fixes their columns and values. Each export that the schedule creates copies it, so a newer schema version doesn't change the schedule's exports. Defaults to `1`, also once newer schema versions exist, so a replacement that omits `schema_version` sets `1`. default: 1 allOf: - $ref: '#/components/schemas/AICostExportSchemaVersion' focus: description: |- The FOCUS options of each export. Required when `dataset` is `focus`, and isn't accepted for any other dataset. allOf: - $ref: '#/components/schemas/AICostFocusOptionsInput' format: description: The file format of each export's data files. allOf: - $ref: '#/components/schemas/AICostExportFormat' compression: description: |- How each export's data files are compressed. `none` or `gzip` for `csv`, and `zstd` for `parquet`. allOf: - $ref: '#/components/schemas/AICostExportCompression' filters: description: |- Filters that select the events to export, with the same fields, operators, shape, and nesting limit as the `filters` of `POST /v1/ai-cost-management/events/query`. Every filter must match. Defaults to `{}`. type: object default: {} additionalProperties: {} x-speakeasy-type-override: any labels: default: {} allOf: - $ref: '#/components/schemas/Labels' managed_by: description: 'Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it. An omitted value on replacement resets to `{}`.' default: {} allOf: - $ref: '#/components/schemas/ManagedBy' required: - name - cadence - dataset - format - compression additionalProperties: false description: 'The body of a request that creates or replaces an export schedule. It carries the full schedule without `id`, `next_run_at`, `created_at`, and `updated_at`, which the server sets.' AICostFocusOptionsInput: description: 'The options of a `focus` export or schedule: the FOCUS version, the length of a row''s charge period, and the tag keys whose values split the rows.' type: object properties: version: description: 'The FOCUS version of the files, which decides what their cost columns hold.' allOf: - $ref: '#/components/schemas/AICostFocusVersion' charge_period: description: |- The length of each row's charge period. Defaults to `day`. default: day allOf: - $ref: '#/components/schemas/AICostFocusChargePeriod' tag_keys: description: |- Tag keys whose values split the rows. Events with different values for a named key, or without the key, go into different rows. A row's `Tags` column holds the named keys that its events carry, with their values. A key with a different value for every agent session or CI run, such as `agent-session` or `ci-run`, makes about one row per session or run. At most 64 keys, each listed once and following the tag key rules: 1 to 128 characters, each a lowercase ASCII letter, a digit, `.`, `_`, or `-`. Defaults to `[]`. type: array items: type: string minLength: 1 maxLength: 128 pattern: '^[a-z0-9._-]*$' default: [] maxItems: 64 uniqueItems: true additionalProperties: false required: - version AICostLimitBudgetInput: description: The body of a request that creates or replaces a limit budget. type: object properties: name: description: |- A human-readable name for the budget. 1 to 255 characters. type: string maxLength: 255 minLength: 1 labels: default: {} allOf: - $ref: '#/components/schemas/Labels' managed_by: description: 'Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it. An omitted value on replacement resets to `{}`.' default: {} allOf: - $ref: '#/components/schemas/ManagedBy' priority: description: |- The budget's priority, from 1 (highest) to 100 (lowest). You can filter and sort the budget list by it. Defaults to `100`. type: integer default: 100 maximum: 100 minimum: 1 scope: description: |- The usage the budget covers. A replacement can change it, and the change applies to the whole current budget window. type: object additionalProperties: false properties: filters: description: |- The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage. At most 15 predicates in total across all groups, each inside at most 4 nested groups. type: array items: $ref: '#/components/schemas/AICostBudgetScopeFilterInput' maxItems: 15 x-max-depth: 5 x-max-total-filters: 15 x-speakeasy-type-override: any each: description: |- The field that splits the budget. With `each`, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them. A fixed usage field or `tags.<key>`, or `null` for a pooled budget, whose limit applies to all its usage together. An exemption can't use `each`. If the filters rule out every value of the field, or every branch fixes it to the same value with `eq`, the request fails with `400`, because the budget would have nothing to split. Defaults to `null`. type: string default: null nullable: true pattern: '^(subject_type|subject|subject_id|group|team|model|provider|request_mode|tags\.[a-z0-9._-]{1,128})$' x-speakeasy-param-computed: false required: - filters effect: description: |- Always `limit` for a limit budget, which carries its settings in `limit`, `window`, and `posture`. A replacement can't change it. type: string const: limit window: description: |- The budget window: the period the limit applies to, such as a calendar month. When one window ends, the next starts. A replacement can change it, which can move the current window's start and end. type: object additionalProperties: false properties: type: description: 'The kind of budget window. Always `fixed`: windows of length `interval` follow each other, aligned to `anchored_at`.' type: string const: fixed interval: description: |- The length of each budget window, as an ISO 8601 duration such as `P1M` for a month or `P1D` for a day. From 1 second to 100 years, in whole milliseconds. type: string anchored_at: description: |- A time when a budget window starts. Windows start a whole number of intervals before or after it. The intervals count in the local time of its time zone, so calendar units such as months stay aligned to the calendar. A window that would start on a day its month doesn't have, such as the 31st, starts on the month's last day. A date-time with a UTC offset and an IANA time zone in brackets, such as `2026-01-01T00:00:00+01:00[Europe/Budapest]`, in a year from 1970 to 2200. type: string pattern: '\[' required: - type - interval - anchored_at posture: description: 'What the budget does when spend reaches its limit. `advisory`, the default, changes nothing at the limit. `enforce` belongs to budget blocking, which is in development: a request that sets it fails with `400` unless the organization has budget blocking turned on or a replacement keeps a budget''s stored `enforce`. No request is refused because of `posture`.' type: string default: advisory enum: - advisory - enforce x-speakeasy-unknown-values: allow value: description: |- The amount of the limit in major units of `currency`, as a decimal string such as `5000` or `0.2`. At most 9 fractional digits, with no sign, exponent, or leading zeros. The service removes trailing fractional zeros, so `12.50` is stored and returned as `12.5`. type: string pattern: '^(0|[1-9]\d*)(\.\d{1,9})?$' currency: description: The currency of `value`. allOf: - $ref: '#/components/schemas/AICostCurrency' additionalProperties: false required: - name - scope - effect - value - currency - window x-speakeasy-transform-to-api: jq: '.limit = {value: .value, currency: .currency} | del(.value, .currency)' AICostSlackNotificationChannelInput: description: The body of a request that creates a Slack channel. type: object properties: name: description: |- A human-readable name for the channel. 1 to 100 characters after the server removes leading and trailing whitespace. Several channels can share a name. type: string maxLength: 100 minLength: 1 labels: default: {} allOf: - $ref: '#/components/schemas/Labels' managed_by: description: 'Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it. An omitted value on replacement resets to `{}`.' default: {} allOf: - $ref: '#/components/schemas/ManagedBy' type: description: 'Always `slack` for a Slack channel, which carries its settings in `slack`.' type: string const: slack webhook_url: description: |- The Slack incoming webhook URL that receives the channel's messages. The organization creates the webhook in its own Slack workspace. The URL has the form `https://hooks.slack.com/services/<workspace ID>/<webhook ID>/<token>`. Each of the 3 parts is nonempty and contains only ASCII letters, digits, `_`, or `-`. It has no credentials, port, query, or fragment and is at most 2048 characters long. Slack workflow trigger URLs, under `/workflows/` or `/triggers/`, aren't accepted. The service never logs the URL. Reads return it with `<token>` replaced by `…`. type: string format: uri example: 'https://hooks.slack.com/services/T0000000/B0000000/XXXXXXXXXXXXXXXXXXXXXXXX' maxLength: 2048 pattern: '^https://hooks\.slack\.com/services/[A-Za-z0-9_-]+/[A-Za-z0-9_-]+/[A-Za-z0-9_-]+$' writeOnly: true x-speakeasy-param-sensitive: true additionalProperties: false required: - name - type - webhook_url x-speakeasy-transform-to-api: jq: '.slack = ({webhook_url: .webhook_url} | with_entries(select(.value != null))) | del(.webhook_url)' AICostSlackNotificationChannelReplaceInput: description: The body of a request that replaces a Slack channel. type: object properties: name: description: |- A human-readable name for the channel. 1 to 100 characters after the server removes leading and trailing whitespace. Several channels can share a name. type: string maxLength: 100 minLength: 1 labels: default: {} allOf: - $ref: '#/components/schemas/Labels' managed_by: description: 'Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it. An omitted value on replacement resets to `{}`.' default: {} allOf: - $ref: '#/components/schemas/ManagedBy' type: description: 'Always `slack` for a Slack channel, which carries its settings in `slack`.' type: string const: slack webhook_url: description: |- The Slack incoming webhook URL that receives the channel's messages. Because reads never return the full URL, a replacement can omit it, and the channel then keeps its stored URL. The URL has the form `https://hooks.slack.com/services/<workspace ID>/<webhook ID>/<token>`. Each of the 3 parts is nonempty and contains only ASCII letters, digits, `_`, or `-`. It has no credentials, port, query, or fragment and is at most 2048 characters long. Slack workflow trigger URLs, under `/workflows/` or `/triggers/`, aren't accepted. The service never logs the URL. Reads return it with `<token>` replaced by `…`. type: string format: uri example: 'https://hooks.slack.com/services/T0000000/B0000000/XXXXXXXXXXXXXXXXXXXXXXXX' default: null maxLength: 2048 nullable: true pattern: '^https://hooks\.slack\.com/services/[A-Za-z0-9_-]+/[A-Za-z0-9_-]+/[A-Za-z0-9_-]+$' writeOnly: true x-speakeasy-param-computed: false x-speakeasy-param-sensitive: true additionalProperties: false required: - name - type x-speakeasy-transform-to-api: jq: '.slack = ({webhook_url: .webhook_url} | with_entries(select(.value != null))) | del(.webhook_url)' ExpiresAtNullable: description: An ISO-8601 timestamp representation of entity expiration date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' default: null nullable: true x-speakeasy-param-computed: false KongIdentityAllowedControlPlanes: description: | List of control plane IDs authorized to make authentication requests to this directory. Maximum of 32 control planes can be specified. Use allow_all_control_planes for unrestricted access. type: array items: type: string format: uuid default: [] maxItems: 32 minItems: 0 nullable: false uniqueItems: true KongIdentityAllowAllControlPlanes: description: | When set to true, all control planes within the organization can make authentication requests to this directory. This overrides the allowed_control_planes list. Defaults to false for security. type: boolean default: false nullable: false DirectoryName: description: | Human-readable name of the directory, used to identify the organizational boundary. A directory name is unique within the organization. type: string maxLength: 255 minLength: 1 pattern: '^[a-z0-9-_]+$' DirectoryDescription: description: | Optional description providing additional context about the directory's purpose or usage. type: string maxLength: 255 CreateDirectoryBody: type: object properties: name: $ref: '#/components/schemas/DirectoryName' description: $ref: '#/components/schemas/DirectoryDescription' allowed_control_planes: $ref: '#/components/schemas/KongIdentityAllowedControlPlanes' allow_all_control_planes: $ref: '#/components/schemas/KongIdentityAllowAllControlPlanes' ttl_secs: $ref: '#/components/schemas/DirectoryTTLSecs' negative_ttl_secs: $ref: '#/components/schemas/DirectoryNegativeTTLSecs' labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' vault_enabled: $ref: '#/components/schemas/DirectoryVaultEnabled' additionalProperties: false required: - name ReplaceDirectoryBody: type: object properties: name: $ref: '#/components/schemas/DirectoryName' description: $ref: '#/components/schemas/DirectoryDescription' allowed_control_planes: $ref: '#/components/schemas/KongIdentityAllowedControlPlanes' allow_all_control_planes: $ref: '#/components/schemas/KongIdentityAllowAllControlPlanes' ttl_secs: $ref: '#/components/schemas/DirectoryTTLSecs' negative_ttl_secs: $ref: '#/components/schemas/DirectoryNegativeTTLSecs' labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' vault_enabled: $ref: '#/components/schemas/DirectoryVaultEnabled' additionalProperties: false required: - name DirectoryVaultEnabled: description: | Set to enabled to enable the Token Vault for this directory. Defaults to disabled when omitted. type: boolean CreatePrincipalBody: type: object properties: display_name: $ref: '#/components/schemas/KongPrincipalDisplayName' description: $ref: '#/components/schemas/KongPrincipalDescription' type: $ref: '#/components/schemas/KongPrincipalType' metadata: $ref: '#/components/schemas/KongIdentityMetadata' labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' active: $ref: '#/components/schemas/KongPrincipalActive' ReplacePrincipalBody: type: object properties: display_name: $ref: '#/components/schemas/KongPrincipalDisplayName' description: $ref: '#/components/schemas/KongPrincipalDescription' type: $ref: '#/components/schemas/KongPrincipalType' metadata: $ref: '#/components/schemas/KongIdentityMetadata' labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' active: $ref: '#/components/schemas/KongPrincipalActive' CreateGroupType: description: |- Classifies the kind of group to create. There are three group types (`group`, `team`, `project`), but only `group` and `project` are mutable through this API; teams come from the organization import. When omitted or null, the group is a `group`. type: string enum: - group nullable: true x-enum-varnames: - CreateGroupTypeGroup - CreateGroupTypeProject CreateGroupBody: type: object properties: name: $ref: '#/components/schemas/KongGroupName' description: $ref: '#/components/schemas/KongGroupDescription' type: description: | Type of the group. Immutable after creation. allOf: - $ref: '#/components/schemas/CreateGroupType' x-speakeasy-param-force-new: true metadata: $ref: '#/components/schemas/KongIdentityMetadata' labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' required: - name ReplaceGroupBody: type: object properties: name: $ref: '#/components/schemas/KongGroupName' description: $ref: '#/components/schemas/KongGroupDescription' type: description: | Type of the group. Immutable after creation. Teams come from the organization import; only `group` and `project` are mutable through this API. allOf: - $ref: '#/components/schemas/KongGroupType' x-speakeasy-param-force-new: true metadata: $ref: '#/components/schemas/KongIdentityMetadata' labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' required: - name KongGroupMembershipType: description: | Classifies the kind of member referenced by a group membership entry. type: string enum: - principal - group x-speakeasy-unknown-values: allow KongGroupMember: description: | Identifies a single member (principal or group) of a group. type: object properties: id: $ref: '#/components/schemas/UUID_RW' type: $ref: '#/components/schemas/KongGroupMembershipType' display_name: description: 'Human-readable name of the member. For a principal, its `display_name`; for a group, its `name`.' type: string nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - id - type CreateGroupMembershipEntryBody: type: object properties: member: $ref: '#/components/schemas/KongGroupMember' required: - member CreatePrincipalKeyBody: type: object properties: type: type: string enum: - imported - v1 x-speakeasy-unknown-values: allow name: $ref: '#/components/schemas/KongPrincipalKeyName' secret: description: Required if `type` is `imported`. type: string maxLength: 255 minLength: 1 nullable: true writeOnly: true x-sensitive: true x-speakeasy-param-computed: false x-speakeasy-param-sensitive: true expires_at: $ref: '#/components/schemas/ExpiresAtWritable' managed_by: $ref: '#/components/schemas/ManagedBy' additionalProperties: false required: - type x-terraform-no-default-null: true UpdatePrincipalKeyBody: description: 'Request body for updating an API key. When updating `metadata`, a present map replaces the stored map, and an absent or explicit `null` field keeps the stored map.' type: object properties: name: $ref: '#/components/schemas/KongPrincipalKeyName' expires_at: $ref: '#/components/schemas/ExpiresAtWritable' managed_by: $ref: '#/components/schemas/ManagedByUpdate' CreateBasicAuthBody: type: object properties: username: description: The username for basic authentication. type: string maxLength: 255 minLength: 1 managed_by: $ref: '#/components/schemas/ManagedBy' required: - username ReplaceBasicAuthBody: type: object properties: username: description: The username for basic authentication. type: string maxLength: 255 minLength: 1 managed_by: $ref: '#/components/schemas/ManagedBy' required: - username CreatePasswordBody: type: object properties: secret: type: string maxLength: 255 minLength: 1 writeOnly: true x-sensitive: true x-speakeasy-param-computed: true x-speakeasy-param-sensitive: true expires_at: $ref: '#/components/schemas/ExpiresAtWritable' managed_by: $ref: '#/components/schemas/ManagedBy' ReplacePasswordBody: description: Request body for replacing a password type: object properties: secret: type: string maxLength: 255 minLength: 1 writeOnly: true x-sensitive: true x-speakeasy-param-sensitive: true expires_at: $ref: '#/components/schemas/ExpiresAtWritable' managed_by: $ref: '#/components/schemas/ManagedBy' required: - secret - expires_at KongBasicAuth: description: | A basic auth credential associated with a principal, enabling username/password authentication. type: object properties: id: $ref: '#/components/schemas/UUID' username: description: The username for basic authentication. type: string maxLength: 255 minLength: 1 created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' managed_by: $ref: '#/components/schemas/ManagedBy' required: - id - username - created_at - updated_at - managed_by KongPassword: description: | A password credential associated with a basic auth entry. The password value is not returned after creation. type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' expires_at: $ref: '#/components/schemas/ExpiresAtNullable' managed_by: $ref: '#/components/schemas/ManagedBy' required: - id - created_at - updated_at - expires_at - managed_by KongPasswordWithSecret: description: | A password credential with the secret value. The secret is only returned when the password is first created and cannot be retrieved again later. type: object properties: id: $ref: '#/components/schemas/UUID' secret: description: | The password secret value. This is only returned when the password is first created and cannot be retrieved again later. type: string x-sensitive: true x-speakeasy-param-sensitive: true created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' expires_at: $ref: '#/components/schemas/ExpiresAtNullable' managed_by: $ref: '#/components/schemas/ManagedBy' required: - id - secret - created_at - updated_at - expires_at - managed_by KongGroupMembershipEntry: description: | A single group membership entry, referencing either a principal or another group. type: object properties: id: $ref: '#/components/schemas/UUID' member: $ref: '#/components/schemas/KongGroupMember' created_at: $ref: '#/components/schemas/CreatedAt' required: - id - member - created_at KongPrincipalKey: description: | An API key associated with a principal. `metadata` is always returned in key responses; it is never required on requests. type: object properties: id: $ref: '#/components/schemas/UUID' name: $ref: '#/components/schemas/KongPrincipalKeyName' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' expires_at: $ref: '#/components/schemas/ExpiresAtNullable' managed_by: $ref: '#/components/schemas/ManagedBy' required: - id - name - created_at - updated_at - expires_at - managed_by KongPrincipalKeyWithSecret: description: | An API key associated with a principal, returned at creation with its secret. `metadata` is always returned in key responses; it is never required on requests. type: object properties: id: $ref: '#/components/schemas/UUID' name: $ref: '#/components/schemas/KongPrincipalKeyName' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' expires_at: $ref: '#/components/schemas/ExpiresAtNullable' managed_by: $ref: '#/components/schemas/ManagedBy' secret: description: | The API key secret value. This is only returned when the key is first created and cannot be retrieved again later. type: string x-sensitive: true x-speakeasy-param-sensitive: true required: - id - name - secret - created_at - updated_at - expires_at - managed_by KongPrincipalKeyName: description: | Human-readable name of the API key. `null` if the key has no name. type: string default: null maxLength: 255 nullable: true x-speakeasy-param-computed: false DirectoryTTLSecs: description: | The time in seconds that a principal will be cached in memory on a running Gateway if it is successfully authenticated from this directory. Maximum is 86400 seconds (24 hours). type: integer default: 600 maximum: 86400 minimum: 300 DirectoryNegativeTTLSecs: description: | If a running Gateway triggers a lookup for a principal that cannot be authenticated in this directory, a `negative_ttl_secs` is set. The Gateway will not try to look up the principal in Konnect for `negative_ttl_secs` seconds. A principal will be cached for `negative_ttl_secs` if it does not exist in the directory, or if the provided credentials are invalid. Maximum is 86400 seconds (24 hours). type: integer default: 600 maximum: 86400 minimum: 300 KongDirectory: description: | A directory represents an organizational boundary for grouping principals and managing their identities. Directories are region-specific and can control which control planes have authentication access. type: object properties: id: $ref: '#/components/schemas/UUID' name: $ref: '#/components/schemas/DirectoryName' description: $ref: '#/components/schemas/DirectoryDescription' allowed_control_planes: $ref: '#/components/schemas/KongIdentityAllowedControlPlanes' allow_all_control_planes: $ref: '#/components/schemas/KongIdentityAllowAllControlPlanes' ttl_secs: $ref: '#/components/schemas/DirectoryTTLSecs' negative_ttl_secs: $ref: '#/components/schemas/DirectoryNegativeTTLSecs' labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' vault_enabled: $ref: '#/components/schemas/DirectoryVaultEnabled' required: - id - name - description - labels - allowed_control_planes - allow_all_control_planes - ttl_secs - negative_ttl_secs - managed_by - created_at - updated_at KongPrincipalDisplayName: description: | Human-readable name of the principal. type: string maxLength: 255 KongPrincipalDescription: description: | Optional description providing additional context about the principal's purpose or role. type: string maxLength: 255 KongPrincipalType: description: | Classifies the kind of principal. `agent` is a deployed AI agent, `user` is a human in the organization, and null means not classified. Immutable after creation: on update or replace, omit it or send the current value. type: string enum: - agent - user nullable: true x-speakeasy-unknown-values: allow KongPrincipal: description: | A principal represents an authenticated identity within a directory. Principals can be associated with API keys and inherit metadata from their parent directory. type: object properties: id: $ref: '#/components/schemas/UUID' display_name: $ref: '#/components/schemas/KongPrincipalDisplayName' description: $ref: '#/components/schemas/KongPrincipalDescription' type: $ref: '#/components/schemas/KongPrincipalType' metadata: $ref: '#/components/schemas/KongIdentityMetadata' labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' managed_by: $ref: '#/components/schemas/ManagedBy' provisioned_by: $ref: '#/components/schemas/ProvisionedBy' active: $ref: '#/components/schemas/KongPrincipalActive' groups: $ref: '#/components/schemas/KongGroups' required: - id - description - metadata - labels - created_at - updated_at - managed_by - provisioned_by - active KongPrincipalActive: description: | Whether the principal is active. Inactive principals are treated as nonexistent when authenticating. Defaults to `true` on create; omitting it on update or replace keeps the current value. Setting it to `false` sets `provisioned_by` to `konnect_user`. Principals provisioned by the developer portal cannot be deactivated. type: boolean example: true KongTeamManager: description: | The manager of a team, set through the team's `team_manager` custom identity. Always null for plain groups, and for teams without a manager. type: object properties: id: $ref: '#/components/schemas/UUID' display_name: description: Display name of the manager. type: string example: josh email: description: | Value of the manager's `email` custom identity, or null when the manager has none. type: string example: josh@acme.com default: null nullable: true x-speakeasy-param-computed: false default: null nullable: true required: - id - display_name - email x-speakeasy-param-computed: false KongGroupName: description: | Human-readable name of the group. Must start and end with a letter or a digit. Letters, digits, and hyphens are allowed in between. type: string maxLength: 255 pattern: '^[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?$' KongGroupDescription: description: | Optional description providing additional context about the group's purpose. type: string maxLength: 255 KongGroups: description: | List of IDs of the groups this principal is a member of. type: array items: type: string format: uuid nullable: false readOnly: true x-speakeasy-param-suppress-computed-diff: true KongGroup: description: | A group organizes principals, or other groups, within a directory for authorization purposes. Plain groups (`group`) accept members of any principal type. Teams (`team`) are nodes of the organization chart whose members are principals of type `user` and other `team` groups; they may carry an `team_manager` custom identity referencing a principal of type `user`. Projects (`project`) group `user` and `agent` principals; projects cannot contain groups or be members of groups. type: object properties: id: $ref: '#/components/schemas/UUID' name: $ref: '#/components/schemas/KongGroupName' description: $ref: '#/components/schemas/KongGroupDescription' type: $ref: '#/components/schemas/KongGroupType' metadata: $ref: '#/components/schemas/KongIdentityMetadata' labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' managed_by: $ref: '#/components/schemas/ManagedBy' provisioned_by: $ref: '#/components/schemas/ProvisionedBy' team_manager: $ref: '#/components/schemas/KongTeamManager' required: - id - name - description - metadata - labels - created_at - updated_at - managed_by - provisioned_by - team_manager KongPrincipalIdentityBody: discriminator: propertyName: type mapping: oidc: '#/components/schemas/KongPrincipalIdentityOIDC' auth_server_client: '#/components/schemas/KongPrincipalIdentityAuthServerClient' control_plane_consumer: '#/components/schemas/KongPrincipalIdentityCPConsumer' custom: '#/components/schemas/KongPrincipalIdentityCustom' oneOf: - $ref: '#/components/schemas/KongPrincipalIdentityOIDC' - $ref: '#/components/schemas/KongPrincipalIdentityAuthServerClient' - $ref: '#/components/schemas/KongPrincipalIdentityCPConsumer' - $ref: '#/components/schemas/KongPrincipalIdentityCustom' KongPrincipalIdentityOIDC: type: object properties: id: $ref: '#/components/schemas/UUID' labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' type: type: string const: oidc issuer: type: string claim: type: object properties: name: type: string value: type: string required: - name - value required: - type - issuer - claim KongPrincipalIdentityAuthServerClient: type: object properties: id: $ref: '#/components/schemas/UUID' labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' type: type: string const: auth_server_client auth_server_id: type: string format: uuid client_id: type: string required: - type - auth_server_id - client_id KongPrincipalIdentityCPConsumer: type: object properties: id: $ref: '#/components/schemas/UUID' labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' type: type: string const: control_plane_consumer control_plane_id: type: string consumer_id: type: string workspace_id: type: string default: null nullable: true x-speakeasy-param-computed: false required: - type - control_plane_id - consumer_id KongPrincipalIdentityCustom: type: object properties: id: $ref: '#/components/schemas/UUID' labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' type: type: string const: custom key: type: string value: type: string required: - type - key - value KongPrincipalIdentityOIDCResponse: type: object properties: id: $ref: '#/components/schemas/UUID' labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' type: type: string const: oidc issuer: type: string claim: type: object properties: name: type: string value: type: string required: - name - value required: - id - created_at - updated_at - labels - managed_by - type - issuer - claim KongPrincipalIdentityAuthServerClientResponse: type: object properties: id: $ref: '#/components/schemas/UUID' labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' type: type: string const: auth_server_client auth_server_id: type: string format: uuid client_id: type: string required: - id - created_at - updated_at - labels - managed_by - type - auth_server_id - client_id KongPrincipalIdentityCPConsumerResponse: type: object properties: id: $ref: '#/components/schemas/UUID' labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' type: type: string const: control_plane_consumer control_plane_id: type: string consumer_id: type: string workspace_id: type: string default: null nullable: true x-speakeasy-param-computed: false control_plane_type: description: The kind of control plane the linked consumer was found in. type: string enum: - api_gateway - ai_gateway readOnly: true x-speakeasy-param-suppress-computed-diff: true x-speakeasy-unknown-values: allow required: - id - created_at - updated_at - labels - managed_by - type - control_plane_id - consumer_id - control_plane_type KongPrincipalIdentityCustomResponse: type: object properties: id: $ref: '#/components/schemas/UUID' labels: $ref: '#/components/schemas/Labels' managed_by: $ref: '#/components/schemas/ManagedBy' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' type: type: string const: custom key: type: string value: type: string required: - id - created_at - updated_at - labels - managed_by - type - key - value KongPrincipalIdentity: discriminator: propertyName: type mapping: oidc: '#/components/schemas/KongPrincipalIdentityOIDCResponse' auth_server_client: '#/components/schemas/KongPrincipalIdentityAuthServerClientResponse' control_plane_consumer: '#/components/schemas/KongPrincipalIdentityCPConsumerResponse' custom: '#/components/schemas/KongPrincipalIdentityCustomResponse' oneOf: - $ref: '#/components/schemas/KongPrincipalIdentityOIDCResponse' - $ref: '#/components/schemas/KongPrincipalIdentityAuthServerClientResponse' - $ref: '#/components/schemas/KongPrincipalIdentityCPConsumerResponse' - $ref: '#/components/schemas/KongPrincipalIdentityCustomResponse' VaultProviderEnabled: description: Defines if the provider is enabled or not type: boolean VaultProvider: description: | An credential provider configuration for a token-vault enabled directory. type: object properties: id: $ref: '#/components/schemas/UUID' directory_id: $ref: '#/components/schemas/UUID' name: type: string pattern: '^[a-zA-Z0-9_-]+$' template_name: $ref: '#/components/schemas/ProviderTemplateName' bearer_methods_supported: type: array items: type: string example: - header enabled: $ref: '#/components/schemas/VaultProviderEnabled' client_id: type: string default: null nullable: true x-speakeasy-param-computed: false scopes: type: array items: type: string token_endpoint_effective: description: Resolved token endpoint (provider override or template default). type: string default: null nullable: true x-speakeasy-param-computed: false authorization_endpoint_effective: description: Resolved authorization endpoint (provider override or template default). type: string default: null nullable: true x-speakeasy-param-computed: false registration_endpoint_effective: description: Resolved DCR registration endpoint (provider override or template default). type: string default: null nullable: true x-speakeasy-param-computed: false dcr_enabled: description: | True if this provider's OAuth client is obtained via Dynamic Client Registration (RFC 7591) rather than a statically-supplied client_id. When true, client_id is null on this provider -- each principal gets its own dynamically-registered client on first use. type: boolean credential_type: type: string example: user pkce_enabled: type: boolean refresh_buffer_seconds: type: integer minimum: 0 created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - directory_id - name - template_name - bearer_methods_supported - enabled - scopes - credential_type - pkce_enabled - dcr_enabled - refresh_buffer_seconds - created_at - updated_at VaultKeyAlgorithm: description: The asymmetric algorithm of the vault key. type: string enum: - RSA - EC x-speakeasy-unknown-values: allow VaultKey: description: | A PEM-encoded RSA or EC public key registered to encrypt token vault data for a token-vault enabled directory. type: object properties: id: $ref: '#/components/schemas/UUID' directory_id: $ref: '#/components/schemas/UUID' name: type: string pattern: '^[a-zA-Z0-9_-]+$' public_key: description: The PEM-encoded public key. type: string example: |- -----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA... -----END PUBLIC KEY----- kid: description: RFC 7638 JWK thumbprint (base64url-encoded SHA-256 digest) of the public key. type: string example: NzbLsXh8uDCcd-6MNwXF4W_7noWXFZAfHkxZsRGC9Xs readOnly: true x-speakeasy-param-suppress-computed-diff: true algorithm: $ref: '#/components/schemas/VaultKeyAlgorithm' key_size: description: 'Size of the key in bits (for example 2048 for RSA, 256 for EC P-256).' type: integer example: 2048 created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - directory_id - name - public_key - kid - algorithm - key_size - created_at - updated_at CreateVaultKeyBody: type: object properties: name: type: string maxLength: 255 pattern: '^[a-zA-Z0-9_-]+$' public_key: description: PEM-encoded RSA or EC public key used to encrypt token vault data. Keys must be at least 2048 bits (RSA) or 256 bits (EC). type: string example: |- -----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA... -----END PUBLIC KEY----- maxLength: 8192 required: - name - public_key PatchVaultKeyBody: type: object properties: name: type: string default: null maxLength: 255 nullable: true pattern: '^[a-zA-Z0-9_-]+$' x-speakeasy-param-computed: false SetVaultProviderCredentialBody: description: 'The secret to store. Required and used verbatim for a static_secret provider. Must be omitted for a shared authorization_code provider, where the response instead carries an enrollment_url for an admin to complete OAuth consent.' type: object properties: secret: description: 'Pre-issued static credential (API key, PAT, etc.). Stored encrypted, never returned in read APIs.' type: string nullable: false writeOnly: true x-sensitive: true x-speakeasy-param-sensitive: true selector: $ref: '#/components/schemas/VaultCredentialSelector' priority: $ref: '#/components/schemas/VaultCredentialPriority' nullable: false x-terraform-no-default-null: true VaultCredentialSelector: description: 'CEL expression deciding which callers this credential applies to. Omit to make it the provider''s default, which applies to every caller and is considered after all the others.' type: string VaultCredentialPriority: description: 'Order in which this credential is considered, lowest first. Required with a selector, and must be omitted without one.' type: integer minimum: 0 VaultProviderCredentialShared: type: object properties: id: $ref: '#/components/schemas/UUID' created_at: type: string format: date-time updated_at: type: string format: date-time credential_type: type: string const: shared selector: allOf: - $ref: '#/components/schemas/VaultCredentialSelector' nullable: true priority: allOf: - $ref: '#/components/schemas/VaultCredentialPriority' nullable: true status: description: '"pending" until admin enrollment completes; "active" once the secret exists.' type: string enum: - pending - active x-speakeasy-unknown-values: allow enrollment_url: description: URL to complete OAuth consent. Fresh on every get-by-id call; set on create for a shared authorization_code provider. Omitted from list responses. type: string default: null nullable: true x-speakeasy-param-computed: false required: - credential_type - status VaultProviderCredential: $ref: '#/components/schemas/VaultProviderCredentialShared' CreateVaultProviderBody: type: object properties: template_name: $ref: '#/components/schemas/ProviderTemplateName' name: type: string pattern: '^[a-zA-Z0-9_-]+$' client_id: description: | OAuth client identifier. Applies only to OAuth templates (authorization_code). Rejected with 400 for static_secret templates. type: string nullable: true x-speakeasy-param-computed: false client_secret: description: | OAuth client secret. Applies only to OAuth templates. Rejected with 400 for static_secret templates. Write-only; never returned in read APIs. type: string nullable: true writeOnly: true x-sensitive: true x-speakeasy-param-computed: false x-speakeasy-param-sensitive: true token_endpoint: description: Overrides the template token endpoint. type: string nullable: true x-speakeasy-param-computed: false authorization_endpoint: description: Overrides the template authorization endpoint. type: string nullable: true x-speakeasy-param-computed: false registration_endpoint: description: Overrides the template DCR registration endpoint. type: string nullable: true x-speakeasy-param-computed: false dcr_enabled: description: | When true, requests Dynamic Client Registration (RFC 7591) instead of a static client_id. Requires a resolvable registration_endpoint (provider override or template default) and that client_id is omitted. Each principal using this provider is registered its own upstream OAuth client lazily, on first use. Templates that ship their own registration endpoint (e.g. datadog) are DCR-based: dcr_enabled defaults to true when neither dcr_enabled nor client_id is supplied, and supplying a client_id selects a static client. type: boolean x-speakeasy-param-computed: true scopes: description: Requested OAuth scopes. Defaults to the full set of template default scopes when omitted. Each scope must be a valid RFC 6749 §3.3 scope-token. type: array items: type: string x-speakeasy-param-computed: true credential_type: description: | Credential scope. Defaults to "user" for authorization_code templates when omitted; static_secret templates require "shared". type: string x-speakeasy-param-computed: true pkce_enabled: description: | Use PKCE (S256) on the authorization-code flow. Templates whose authorization server mandates PKCE (pkce_required, e.g. datadog) imply true when this field is omitted; setting it explicitly to false is rejected with 400. type: boolean x-speakeasy-param-computed: true refresh_buffer_seconds: type: integer default: 0 minimum: 0 required: - template_name - name x-terraform-no-default-null: true ProviderTemplateName: description: | The static name of the vault provider template to base this provider on (e.g. "github"). For static_secret, provide only name and credential_type ("shared"); the credential is provisioned separately via the vault provider credentials API, and client_id/client_secret are rejected. type: string example: github enum: - github - slack - static_secret - google - atlassian-rovo - datadog - custom-oauth - miro x-speakeasy-unknown-values: allow ReplaceVaultProviderBody: type: object properties: template_name: $ref: '#/components/schemas/ProviderTemplateName' name: type: string pattern: '^[a-zA-Z0-9_-]+$' client_id: type: string nullable: true x-speakeasy-param-computed: false client_secret: description: OAuth client secret. Write-only; never returned in read APIs. type: string nullable: true writeOnly: true x-sensitive: true x-speakeasy-param-computed: false x-speakeasy-param-sensitive: true enabled: $ref: '#/components/schemas/VaultProviderEnabled' token_endpoint: description: Overrides the template token endpoint. type: string nullable: true x-speakeasy-param-computed: false authorization_endpoint: description: Overrides the template authorization endpoint. type: string nullable: true x-speakeasy-param-computed: false scopes: description: Requested OAuth scopes. Defaults to the full set of template default scopes when omitted. Each scope must be a valid RFC 6749 §3.3 scope-token. type: array items: type: string x-speakeasy-param-computed: true credential_type: type: string default: user x-speakeasy-param-computed: true pkce_enabled: description: | Use PKCE (S256) on the authorization-code flow. Templates whose authorization server mandates PKCE (pkce_required, e.g. datadog) imply true when this field is omitted; setting it explicitly to false is rejected with 400. type: boolean x-speakeasy-param-computed: true refresh_buffer_seconds: type: integer default: 0 minimum: 0 required: - template_name - name x-terraform-no-default-null: true CreateTrustedIdpPayload: description: Fields required to create a trusted IdP for a vault. type: object properties: issuer_url: $ref: '#/components/schemas/TrustedIdpIssuerUrl' display_name: $ref: '#/components/schemas/TrustedIdpDisplayName' jwks_uri: $ref: '#/components/schemas/TrustedIdpJwksUri' jit_provisioning_enabled: $ref: '#/components/schemas/TrustedIdpJitProvisioningEnabled' vault_access_enabled: $ref: '#/components/schemas/TrustedIdpVaultAccessEnabled' jit: $ref: '#/components/schemas/TrustedIdpJit' required: - issuer_url ReplaceTrustedIdpBody: description: | Replacement representation of a trusted IdP. This operation replaces the stored configuration: `display_name`, `jwks_uri` and the `jit` mapping are cleared when omitted, and `jit_provisioning_enabled` and `vault_access_enabled` reset to their defaults (`true` and `false`) when omitted. To change only some fields, use the patch operation instead. type: object properties: issuer_url: $ref: '#/components/schemas/TrustedIdpIssuerUrl' display_name: $ref: '#/components/schemas/TrustedIdpDisplayName' jwks_uri: $ref: '#/components/schemas/TrustedIdpJwksUri' jit_provisioning_enabled: $ref: '#/components/schemas/TrustedIdpJitProvisioningEnabled' vault_access_enabled: $ref: '#/components/schemas/TrustedIdpVaultAccessEnabled' jit: $ref: '#/components/schemas/TrustedIdpJit' required: - issuer_url TrustedIdpIssuerUrl: description: The issuer URL of the trusted IdP. Unique per vault. type: string format: uri example: 'https://acme.okta.com/oauth2/default' TrustedIdpJwksUri: description: JWKS URI of the trusted IdP. Overrides OIDC discovery when set. type: string format: uri example: 'https://acme.okta.com/oauth2/default/v1/keys' default: null nullable: true x-speakeasy-param-computed: false TrustedIdpJitProvisioningEnabled: description: | Whether a principal is provisioned just-in-time on first exchange when no principal matches the subject_token's issuer and its identifier claim — `sub` by default, or the claim `jit.mapping.identifier` names. type: boolean default: true TrustedIdpVaultAccessEnabled: description: | Whether vault token exchange is enabled for principals provisioned by this trusted IdP. Defaults to false; it can be set on create, is reset to false when omitted in the replace operation, and can be changed via the patch operation. type: boolean default: false TrustedIdpDisplayName: description: 'A human-friendly display name for the trusted IdP, distinct from its unique `issuer_url`.' type: string default: null maxLength: 255 nullable: true x-speakeasy-param-computed: false TrustedIdpJit: description: | Just-in-time provisioning configuration for this trusted IdP. The `mapping` decides how the OIDC claims a client presents to fetch-principal shape a principal provisioned just in time. type: object properties: mapping: $ref: '#/components/schemas/TrustedIdpJitMapping' TrustedIdpJitMapping: description: | How the OIDC claims a client presents to fetch-principal map onto a principal provisioned just in time for this trusted IdP. Every field names one of those claims and is optional; a claim the mapping names but the lookup does not carry contributes nothing — except `identifier`, which the vault token exchange uses to look up the principal, and whose absence from the subject_token fails the exchange. An absent `mapping` — or an absent `jit` — means no claim mapping: provisioned principals get empty metadata and the lookup's claim value as display name. type: object properties: metadata: description: | Maps a principal metadata key to the name of the claim whose value populates it: `metadata[key] = claims[claim]`, values narrowed to the shapes the metadata render paths accept. At most 64 entries. type: object example: department: department additionalProperties: type: string nullable: true x-speakeasy-param-computed: false email: description: | Name of the claim whose string value is attached to the provisioned principal as a custom identity keyed `email`. When a principal already carries it, that principal adopts the looked-up identity instead of a new one being provisioned. type: string example: email nullable: true x-speakeasy-param-computed: false groups: description: | Name of the claim carrying the names of the groups the provisioned principal joins — a string is one group, an array is many. Groups that do not exist yet are created. At most 100 groups per token. type: string example: groups nullable: true x-speakeasy-param-computed: false display_name: description: | Name of the claim whose string value becomes the provisioned principal's display name. When absent from the token, the lookup's claim value is used instead. type: string example: name nullable: true x-speakeasy-param-computed: false identifier: description: | Name of the claim whose string value identifies the principal: the principal's OIDC identity keys on it, and an exchange looks the principal up by it. Defaults to `sub`. Set it when the IdP keys principals on another claim — Entra ID tokens, for example, carry the immutable object id in `oid`. The claim's value must identify one principal. When the claim is absent from the token, the lookup fails. Changing `identifier` re-keys existing principals' OIDC identities: they stop resolving, and the next exchange provisions anew or fails. type: string example: oid default: sub x-terraform-no-default-null: true TrustedIdp: description: | A trusted external IdP for a token-vault enabled directory. type: object properties: id: description: The ID of the trusted IdP. type: string format: uuid issuer_url: $ref: '#/components/schemas/TrustedIdpIssuerUrl' display_name: $ref: '#/components/schemas/TrustedIdpDisplayName' jwks_uri: $ref: '#/components/schemas/TrustedIdpJwksUri' jit_provisioning_enabled: $ref: '#/components/schemas/TrustedIdpJitProvisioningEnabled' vault_access_enabled: $ref: '#/components/schemas/TrustedIdpVaultAccessEnabled' jit: $ref: '#/components/schemas/TrustedIdpJit' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - issuer_url - jwks_uri - jit_provisioning_enabled - vault_access_enabled - created_at - updated_at KongIdentityMetadata: description: 'A map of metadata key-value pairs associated with this entity. This metadata is passed to the data plane to enrich the execution context. During authentication, metadata is inherited and overridden in a hierarchical manner: Directory metadata is inherited by Principals, which is then inherited and overridden by Credentials.' type: object additionalProperties: oneOf: - type: boolean - type: string - type: integer - type: array items: type: string minItems: 0 maxItems: 255 uniqueItems: true - type: array items: type: integer minItems: 0 maxItems: 255 uniqueItems: true maxProperties: 50 minProperties: 0 nullable: true x-speakeasy-param-computed: true x-speakeasy-type-override: any ProvisionedBy: description: 'Identifies the actor that provisioned this principal. Defaults to `konnect_user` for principals created directly by a user; other values identify a service that provisioned the principal on a user''s behalf (for example, `developer_portal` or `trusted_idp`).' type: string enum: - konnect_user - developer_portal - trusted_idp readOnly: true x-speakeasy-param-suppress-computed-diff: true x-speakeasy-unknown-values: allow KongGroupType: description: |- Classifies the kind of group. There are three group types: `group`, `team`, and `project`. `group` is the default policy-attachment point for access across principals. `team` is a node of the organization chart: its members are principals of type `user` and other `team` groups, and it may carry an `owner` custom identity referencing a principal of type `user`. `project` groups `user` and `agent` principals; projects cannot contain groups or be members of groups. When omitted or null, the group is a `group`. Teams come from the organization import; of the three group types, only `group` and `project` are mutable through this API. type: string enum: - group - team nullable: true x-speakeasy-unknown-values: allow ExpiresAtWritable: description: An ISO-8601 timestamp representation of entity expiration date. type: string format: date-time example: '2022-11-04T20:10:06.927Z' default: null nullable: true title: ExpiresAt x-speakeasy-param-computed: false DestinationState: description: Destination status. pending_verification means the destination is waiting for verification; enabled means it can receive notifications; disabled means it is paused; disabled_system means it was disabled automatically. type: string enum: - pending_verification - enabled - disabled - disabled_system x-speakeasy-unknown-values: allow DestinationSigningAlgo: description: Signing algorithm of the signing key. type: string enum: - hmac-sha256 - ed25519 x-speakeasy-unknown-values: allow DestinationCreatePayload: discriminator: propertyName: type mapping: http: '#/components/schemas/HttpDestinationCreatePayload' oneOf: - $ref: '#/components/schemas/HttpDestinationCreatePayload' HttpDestinationCreatePayload: type: object properties: name: description: Destination name. The name must contain 1 to 255 characters after leading and trailing spaces are removed. type: string type: type: string enum: - http url: description: |- Full URL of the endpoint that receives notifications. Must be a publicly resolvable address. type: string maxLength: 2048 x-go-type-skip-optional-pointer: true custom_headers: description: |- Custom headers to include in notification requests. You can set up to 10 headers. The Standard Webhooks headers and the transport headers are reserved. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false example: name: Production webhooks type: http url: 'https://example.com/webhooks' custom_headers: X-Environment: production additionalProperties: false required: - name - type - url DestinationUpdatePayload: discriminator: propertyName: type mapping: http: '#/components/schemas/HttpDestinationUpdatePayload' oneOf: - $ref: '#/components/schemas/HttpDestinationUpdatePayload' HttpDestinationUpdatePayload: type: object properties: type: description: Destination type. This value must match the type set when the destination was created. You cannot change the destination type. type: string enum: - http name: description: Name of the destination. type: string default: null nullable: true x-speakeasy-param-computed: false url: description: Full URL of the endpoint that receives notifications. type: string default: null nullable: true x-speakeasy-param-computed: false custom_headers: description: Custom headers to add or change. Headers that you do not include keep their current values. Set a header to `null` to remove it. An empty object changes nothing. type: object default: null additionalProperties: type: string nullable: true nullable: true x-speakeasy-param-computed: false state: description: 'Set to enabled to allow notifications to be sent, or disabled to pause them. Setting a destination that was automatically disabled back to enabled restarts delivery attempts.' type: string enum: - enabled - disabled x-speakeasy-unknown-values: allow example: type: http name: Production webhooks custom_headers: X-Environment: staging state: enabled additionalProperties: false Destination: discriminator: propertyName: type mapping: http: '#/components/schemas/HttpDestination' oneOf: - $ref: '#/components/schemas/HttpDestination' HttpDestination: type: object properties: id: description: UUID v7 identifier of the destination. type: string name: description: Name of the destination. type: string type: type: string enum: - http state: $ref: '#/components/schemas/DestinationState' url: description: Endpoint URL of the destination. type: string default: null nullable: true x-speakeasy-param-computed: false url_host: description: Host part of the target URL. type: string default: null nullable: true x-speakeasy-param-computed: false custom_header_names: description: Names of the configured custom headers. Header values are not returned. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false last_success_at: description: 'Time of the most recent successful notification delivery, if any.' type: string format: date-time default: null nullable: true x-speakeasy-param-computed: false last_failure_at: description: 'Time of the most recent failed notification delivery, if any.' type: string format: date-time default: null nullable: true x-speakeasy-param-computed: false last_failure_reason: description: 'Reason for the most recent failed notification delivery, if any.' type: string default: null nullable: true x-speakeasy-param-computed: false created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' required: - id - name - type - state - created_at - updated_at DestinationWithSecret: discriminator: propertyName: type mapping: http: '#/components/schemas/HttpDestinationWithSecret' oneOf: - $ref: '#/components/schemas/HttpDestinationWithSecret' HttpDestinationWithSecret: description: An HTTP destination with its new plaintext signing secret. The signing secret is returned only when a destination is created. type: object properties: id: description: UUID v7 identifier of the destination. type: string name: description: Name of the destination. type: string type: type: string enum: - http state: $ref: '#/components/schemas/DestinationState' url: description: Endpoint URL of the destination. type: string default: null nullable: true x-speakeasy-param-computed: false url_host: description: Host part of the target URL. type: string default: null nullable: true x-speakeasy-param-computed: false custom_header_names: description: Names of the configured custom headers. Header values are not returned. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false last_success_at: description: 'Time of the most recent successful notification delivery, if any.' type: string format: date-time default: null nullable: true x-speakeasy-param-computed: false last_failure_at: description: 'Time of the most recent failed notification delivery, if any.' type: string format: date-time default: null nullable: true x-speakeasy-param-computed: false last_failure_reason: description: 'Reason for the most recent failed notification delivery, if any.' type: string default: null nullable: true x-speakeasy-param-computed: false created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' signing_algo: $ref: '#/components/schemas/DestinationSigningAlgo' verified_at: description: 'Time when the destination was verified, if verification is complete.' type: string format: date-time default: null nullable: true x-speakeasy-param-computed: false signing_secret: description: Secret used to verify that an HTTP notification was sent by Kong. type: string default: null nullable: true x-sensitive: true x-speakeasy-param-computed: false x-speakeasy-param-sensitive: true required: - id - name - type - state - created_at - updated_at NotificationRegion: description: Region associated to a notification. type: string enum: - US - EU - AU - ME - IN - '*' x-speakeasy-unknown-values: allow OrgSubscriptionCreatePayload: description: Defines which destinations receive an event and the regions and entities for which notifications are sent. type: object properties: destination_ids: description: IDs of 1 to 50 destinations that receive this event. Each ID must be unique. type: array items: type: string format: uuid maxItems: 50 minItems: 1 uniqueItems: true regions: description: Regions for which notifications are sent. Use `*` for all regions. type: array items: $ref: '#/components/schemas/NotificationRegion' entities: description: Entity IDs for which notifications are sent. Use `*` for all entities. type: array items: type: string description: ID of the entity. Use '*' to represent all entities of this type. enabled: description: Set to false to create the subscription in a paused state. type: boolean name: description: Name that identifies the subscription. type: string additionalProperties: false required: - destination_ids - regions - entities - enabled - name OrgSubscriptionUpdatePayload: description: Properties of an org subscription to update. Include only the properties that you want to change. A property that you do not include keeps its current value. A property that you include replaces the current value. type: object properties: destination_ids: description: IDs of 1 to 50 destinations that receive this event. Each ID must be unique. This list replaces the current destinations. type: array items: type: string format: uuid default: null maxItems: 50 minItems: 1 nullable: true uniqueItems: true x-speakeasy-param-computed: false regions: description: Regions for which notifications are sent. Use `*` for all regions. This replaces the current regions. type: array items: $ref: '#/components/schemas/NotificationRegion' default: null nullable: true x-speakeasy-param-computed: false entities: description: Entity IDs for which notifications are sent. Use `*` for all entities. This replaces the current entities. type: array items: type: string description: ID of the entity. Use '*' to represent all entities of this type. default: null nullable: true x-speakeasy-param-computed: false enabled: description: Set to false to pause the subscription without deleting it. type: boolean default: null nullable: true x-speakeasy-param-computed: false name: description: Name that identifies the subscription. type: string default: null nullable: true x-speakeasy-param-computed: false additionalProperties: false OrgSubscription: description: Subscription that sends an organization event to one or more destinations for the selected regions and entities. type: object properties: id: description: UUID v7 identifier of the subscription. type: string format: uuid name: description: Name that identifies the subscription. type: string event_type: description: Event type sent by this subscription. type: string x-speakeasy-param-computed: false destination_ids: description: IDs of the destinations that receive this event. Deleting a destination removes its ID from this list. The subscription is deleted if no destinations remain. type: array items: type: string format: uuid maxItems: 50 minItems: 1 uniqueItems: true regions: description: Regions for which this subscription sends notifications. `*` represents all regions. type: array items: $ref: '#/components/schemas/NotificationRegion' entities: description: Entity IDs for which this subscription sends notifications. `*` represents all entities. type: array items: type: string description: ID of the entity. Use '*' to represent all entities of this type. enabled: description: Indicates whether this subscription sends notifications. type: boolean created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - id - name - event_type - destination_ids - regions - entities - enabled - created_at - updated_at DataPlaneClientCertificate: x-speakeasy-entity: GatewayDataPlaneClientCertificate type: object properties: id: description: Unique ID of the certificate entity. type: string created_at: description: Date certificate was created. type: integer updated_at: description: Date certificate was last updated. type: integer cert: description: JSON escaped string of the certificate. type: string default: null nullable: true x-speakeasy-param-computed: false title: description: Title of the certificate. type: string default: null nullable: true x-speakeasy-param-computed: false ConfigStore: type: object properties: id: description: The Config Store ID. type: string format: uuid example: b9e81174-b5bb-4638-a3c3-8afe61a0abf8 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: description: The name of the Config Store type: string example: My Name default: null nullable: true x-speakeasy-param-computed: false created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' CreateConfigStore: description: The request schema to create a Config Store. type: object properties: name: type: string example: Config Store default: null maxLength: 100 minLength: 1 nullable: true x-speakeasy-param-computed: false additionalProperties: false title: Create Config Store Request UpdateConfigStore: description: The request schema to update a Config Store. type: object properties: name: type: string example: Config Store default: null maxLength: 100 minLength: 1 nullable: true x-speakeasy-param-computed: false additionalProperties: false title: Update Config Store Request ConfigStoreSecret: type: object properties: key: type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-force-new: true created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' CreateConfigStoreSecret: type: object properties: key: type: string maxLength: 512 minLength: 1 x-speakeasy-param-force-new: true value: type: string maxLength: 8192 minLength: 1 writeOnly: true x-sensitive: true x-speakeasy-param-sensitive: true required: - key - value UpdateConfigStoreSecret: type: object properties: value: type: string maxLength: 8192 minLength: 1 writeOnly: true x-sensitive: true x-speakeasy-param-sensitive: true required: - value ACL: x-speakeasy-entity: GatewayACL type: object properties: consumer: type: object nullable: true properties: id: type: string x-foreign: true x-speakeasy-terraform-ignore: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true group: type: string id: description: A string representing a UUID (universally unique identifier). type: string nullable: true tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false example: consumer: id: 84a73fb8-50fc-44a7-a4d5-aa17728ee83f group: foo id: b1f34145-0343-41a4-9602-4c69dec2f269 additionalProperties: false required: - group ACLPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/ACLPluginConfig' ACLPluginConfig: x-speakeasy-entity: GatewayPluginACL properties: config: type: object default: null nullable: true properties: allow: description: 'Arbitrary group names that are allowed to consume the service or route. Exactly one of `config.allow`, `config.deny`, `config.allow_when`, or `config.deny_when` must be specified.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false allow_when: description: 'Allow the request if it matches any of these CEL boolean expressions evaluated against the request context (consumer, principal, HTTP attributes, consumer groups, etc.). Exactly one of `config.allow`, `config.deny`, `config.allow_when`, or `config.deny_when` must be specified.' type: array items: maxLength: 1024 minLength: 1 type: string default: null nullable: true x-speakeasy-param-computed: false always_use_authenticated_groups: description: 'If enabled (`true`), the authenticated groups will always be used even when an authenticated consumer already exists. If the authenticated groups don''t exist, it will fallback to use the groups associated with the consumer. By default the authenticated groups will only be used when there is no consumer or the consumer is anonymous. This option is ignored when `allow_when` or `deny_when` is effective.' type: boolean default: false deny: description: 'Arbitrary group names that are not allowed to consume the service or route. Exactly one of `config.allow`, `config.deny`, `config.allow_when`, or `config.deny_when` must be specified.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false deny_when: description: 'Deny the request if it matches any of these CEL boolean expressions evaluated against the request context (consumer, principal, HTTP attributes, consumer groups, etc.). Exactly one of `config.allow`, `config.deny`, `config.allow_when`, or `config.deny_when` must be specified.' type: array items: maxLength: 1024 minLength: 1 type: string default: null nullable: true x-speakeasy-param-computed: false hide_groups_header: description: 'If enabled (`true`), prevents the `X-Consumer-Groups` header from being sent in the request to the upstream service. This header is not set when allow_when or deny_when is used.' type: boolean default: false include_consumer_groups: description: 'If enabled (`true`), allows the consumer-groups to be used in the `allow|deny` fields. This option is ignored when `allow_when` or `deny_when` is used.' type: boolean default: false x-speakeasy-param-computed: false name: const: acl protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpc - grpcs - http - https - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 ACLWithoutParents: x-speakeasy-entity: GatewayACL type: object properties: consumer: type: object nullable: true properties: id: type: string x-foreign: true x-speakeasy-terraform-ignore: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true group: type: string id: description: A string representing a UUID (universally unique identifier). type: string nullable: true tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false example: group: foo id: b1f34145-0343-41a4-9602-4c69dec2f269 additionalProperties: false required: - group x-speakeasy-entity-version: 1 AcePlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AcePluginConfig' AcePluginConfig: x-speakeasy-entity: GatewayPluginAce properties: config: type: object default: null nullable: true properties: anonymous: description: 'An optional string (consumer UUID or username) value to use as an `anonymous` consumer if authentication fails. If empty (default null), the request will fail with an authentication failure `4xx`. When set, the plugin will skip ACE processing for requests that are already authenticated by other plugins with higher priority.' type: string default: null nullable: true x-speakeasy-param-computed: false match_policy: description: 'Determines how the ACE plugin will behave when a request doesn''t match an existing operation from an API or API package in Dev Portal. The `required` setting requires every incoming request to match a defined operation. If a request doesn''t match, ACE rejects the request outright with a 404. The `if_present` setting makes the ACE plugin only engage with a request when it matches an operation, allowing a request to still be processed by other plugins with a lower priority than ACE.' type: string default: if_present enum: - if_present - required x-speakeasy-unknown-values: allow rate_limiting: type: object default: null nullable: true properties: redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end sync_rate: description: 'How often to sync counter data to the central data store. A value of 0 results in synchronous behavior (counter synchronization happens in each request''s context and contributes directly to the latency of the request). A value greater than 0 results in asynchronous behavior and specifies the interval (in seconds) for synchronizing counters. The minimum allowed interval is 0.02 seconds (20ms). If omitted, the plugin ignores sync behavior entirely and only stores counters in node memory.' type: number default: null maximum: 3600 minimum: 0 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false name: const: ace protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ee paths: - config.rate_limiting.redis AcmePlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AcmePluginConfig' AcmePluginConfig: x-speakeasy-entity: GatewayPluginAcme properties: config: type: object properties: account_email: description: The account identifier. Can be reused in a different plugin instance. type: string x-encrypted: true x-referenceable: true account_key: description: The private key associated with the account. type: object default: null nullable: true properties: key_id: description: The Key ID. type: string x-encrypted: true key_set: description: The name of the key set to associate the Key ID with. type: string default: null nullable: true x-encrypted: true x-speakeasy-param-computed: false required: - key_id x-speakeasy-param-computed: false allow_any_domain: description: 'If set to `true`, the plugin allows all domains and ignores any values in the `domains` list.' type: boolean default: false api_uri: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string default: 'https://acme-v02.api.letsencrypt.org/directory' cert_type: description: The certificate type to create. The possible values are `rsa` for RSA certificate or `ecc` for EC certificate. type: string default: rsa enum: - ecc - rsa x-speakeasy-unknown-values: allow domains: description: 'An array of strings representing hosts. A valid host is a string containing one or more labels separated by periods, with at most one wildcard label (''*'')' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false eab_hmac_key: description: External account binding (EAB) base64-encoded URL string of the HMAC key. You usually don't need to set this unless it is explicitly required by the CA. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false eab_kid: description: External account binding (EAB) key id. You usually don't need to set this unless it is explicitly required by the CA. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false enable_ipv4_common_name: description: A boolean value that controls whether to include the IPv4 address in the common name field of generated certificates. type: boolean default: true fail_backoff_minutes: description: |- Minutes to wait for each domain that fails to create a certificate. This applies to both a new certificate and a renewal certificate. type: number default: 5 preferred_chain: description: A string value that specifies the preferred certificate chain to use when generating certificates. type: string default: null nullable: true x-speakeasy-param-computed: false renew_threshold_days: description: Days remaining to renew the certificate before it expires. type: number default: 14 rsa_key_size: description: 'RSA private key size for the certificate. The possible values are 2048, 3072, or 4096.' type: integer default: 4096 enum: - 2048 - 3072 - 4096 x-speakeasy-unknown-values: allow storage: description: 'The backend storage type to use. In DB-less mode and Konnect, `kong` storage is unavailable. In hybrid mode and Konnect, `shm` storage is unavailable. `shm` storage does not persist during Kong restarts and does not work for Kong running on different machines, so consider using one of `kong`, `redis`, `consul`, or `vault` in production.' type: string default: shm enum: - consul - kong - redis - shm - vault x-speakeasy-unknown-values: allow storage_config: type: object default: null nullable: true properties: consul: type: object default: null nullable: true properties: host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false https: description: Boolean representation of https. type: boolean default: false kv_path: description: KV prefix path. type: string default: null nullable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false timeout: description: Timeout in milliseconds. type: number default: null nullable: true x-speakeasy-param-computed: false token: description: Consul ACL token. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false kong: type: object default: null additionalProperties: true nullable: true x-speakeasy-param-computed: false redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: number default: 10000 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 extra_options: description: Custom ACME Redis options type: object default: null nullable: true properties: namespace: description: A namespace to prepend to all keys stored in Redis. type: string default: '' scan_count: description: The number of keys to return in Redis SCAN calls. type: number default: 10 x-speakeasy-param-computed: false host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end shm: type: object default: null nullable: true properties: shm_name: description: Name of shared memory zone used for Kong API gateway storage type: string default: kong x-speakeasy-param-computed: false vault: type: object default: null nullable: true properties: auth_method: description: 'Auth Method, default to token, can be ''token'' or ''kubernetes''.' type: string default: token enum: - kubernetes - token x-speakeasy-unknown-values: allow auth_path: description: Vault's authentication path to use. type: string default: null nullable: true x-speakeasy-param-computed: false auth_role: description: The role to try and assign. type: string default: null nullable: true x-speakeasy-param-computed: false host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false https: description: Boolean representation of https. type: boolean default: false jwt_path: description: The path to the JWT. type: string default: null nullable: true x-speakeasy-param-computed: false kv_path: description: KV prefix path. type: string default: null nullable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false timeout: description: Timeout in milliseconds. type: number default: null nullable: true x-speakeasy-param-computed: false tls_server_name: description: 'SNI used in request, default to host if omitted.' type: string default: null nullable: true x-speakeasy-param-computed: false tls_verify: description: Turn on TLS verification. type: boolean default: true token: description: Consul ACL token. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false tos_accepted: description: 'If you are using Let''s Encrypt, you must set this to `true` to agree the terms of service.' type: boolean default: false required: - account_email name: const: acme protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ce paths: - config.storage_config.redis AiA2aProxyPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiA2aProxyPluginConfig' AiA2aProxyPluginConfig: x-speakeasy-entity: GatewayPluginAiA2aProxy properties: config: type: object default: null nullable: true properties: logging: type: object properties: log_payloads: description: 'If enabled, logs request/response bodies to Kong log plugin(s) output. Requires log_statistics to be enabled.' type: boolean default: false log_statistics: description: 'If enabled, adds A2A metrics to Kong log plugin(s) output.' type: boolean default: false max_payload_size: description: Maximum size in bytes for logged request/response payloads. Payloads exceeding this size will be truncated. type: integer default: 1048576 x-speakeasy-param-computed: true max_request_body_size: description: Maximum size of request body to parse for A2A metadata. Set to 0 for unlimited. type: integer default: 1048576 x-speakeasy-param-computed: false name: const: ai-a2a-proxy protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 AiAwsGuardrailsPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiAwsGuardrailsPluginConfig' AiAwsGuardrailsPluginConfig: x-speakeasy-entity: GatewayPluginAiAwsGuardrails properties: config: type: object properties: allow_masking: description: Allow to masking the request/response instead of blocking it. Streaming will be disabled if this is enabled. type: boolean default: false aws_access_key_id: description: The AWS access key ID to use for authentication type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The target AWS IAM role ARN used to access the guardrails service type: string default: null nullable: true x-speakeasy-param-computed: false aws_region: description: The AWS region to use for the Bedrock API type: string aws_role_session_name: description: The identifier of the assumed role session type: string default: null nullable: true x-speakeasy-param-computed: false aws_secret_access_key: description: The AWS secret access key to use for authentication type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_sts_endpoint_url: description: Override the STS endpoint URL when assuming a different role type: string default: null nullable: true x-speakeasy-param-computed: false guarding_mode: description: The guardrail mode to use for the request type: string default: INPUT enum: - BOTH - INPUT - OUTPUT x-speakeasy-unknown-values: allow guardrails_id: description: The guardrail identifier used in the request to apply the guardrail. type: string guardrails_version: description: 'The guardrail version used in the request to apply the guardrail. Note that the value of this field must match the pattern `(([1-9][0-9]{0,7})|(DRAFT))` according to the AWS documentation https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ApplyGuardrail.html#API_runtime_ApplyGuardrail_RequestSyntax.' type: string log_blocked_content: description: Whether to log prompts and responses that are blocked by the guardrail. type: boolean default: false response_buffer_size: description: The amount of bytes receiving from upstream to be buffered before sending to the guardrails service. This only applies to the response content guard. type: number default: 100 ssl_verify: description: Verify TLS certificate when connecting to the bedrock service. type: boolean default: false stop_on_error: description: Stop processing if an error occurs type: boolean default: true text_source: description: Select where to pick the 'text' for the Content Guard Services request. type: string default: concatenate_all_content enum: - concatenate_all_content - concatenate_user_content - last_message x-speakeasy-unknown-values: allow timeout: description: Connection timeout with the bedrock service type: number default: 10000 required: - aws_region - guardrails_id - guardrails_version consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-aws-guardrails protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 AiAzureContentSafetyPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiAzureContentSafetyPluginConfig' AiAzureContentSafetyPluginConfig: x-speakeasy-entity: GatewayPluginAiAzureContentSafety properties: config: type: object properties: azure_api_version: description: 'Sets the ?api-version URL parameter, used for defining the Azure Content Services interchange format.' type: string default: '2023-10-01' minLength: 1 azure_client_id: description: 'If `azure_use_managed_identity` is true, set the client ID if required.' type: string default: null nullable: true x-speakeasy-param-computed: false azure_client_secret: description: 'If `azure_use_managed_identity` is true, set the client secret if required.' type: string default: null nullable: true x-encrypted: true x-speakeasy-param-computed: false azure_tenant_id: description: 'If `azure_use_managed_identity` is true, set the tenant ID if required.' type: string default: null nullable: true x-speakeasy-param-computed: false azure_use_managed_identity: description: 'If checked, uses (if set) `azure_client_id`, `azure_client_secret`, and/or `azure_tenant_id` for Azure authentication, via Managed or User-assigned identity' type: boolean default: false blocklist_names: description: Use these configured blocklists (in Azure Content Services) when inspecting content. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false categories: description: 'Array of categories, and their thresholds, to measure on.' type: array items: properties: name: type: string rejection_level: type: integer required: - name - rejection_level type: object default: null nullable: true x-speakeasy-param-computed: false content_safety_key: description: 'If `azure_use_managed_identity` is true, set the API key to call Content Safety.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false content_safety_url: description: 'Full URL, inc protocol, of the Azure Content Safety instance.' type: string x-referenceable: true guarding_mode: description: The guard mode to use for the request type: string default: INPUT enum: - BOTH - INPUT - OUTPUT x-speakeasy-unknown-values: allow halt_on_blocklist_hit: description: Tells Azure to reject the request if any blocklist filter is hit. type: boolean default: true log_blocked_content: description: Whether to log prompts and responses that are blocked by the guardrail. type: boolean default: false output_type: description: 'See https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/content-filter#content-filtering-categories' type: string default: FourSeverityLevels enum: - EightSeverityLevels - FourSeverityLevels x-speakeasy-unknown-values: allow response_buffer_size: description: The amount of bytes receiving from upstream to be buffered before sending to the guardrails service. This only applies to the response content guard. type: number default: 100 reveal_failure_reason: description: 'Set true to tell the caller why their request was rejected, if so.' type: boolean default: true ssl_verify: description: Whether to verify the certificate presented by the Azure Content Safety service when using HTTPS. type: boolean default: false stop_on_error: description: Stop processing if an error occurs type: boolean default: true text_source: description: Select where to pick the 'text' for the Azure Content Services request. type: string default: concatenate_all_content enum: - concatenate_all_content - concatenate_user_content - last_message x-speakeasy-unknown-values: allow required: - content_safety_url name: const: ai-azure-content-safety protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 AiCustomGuardrailPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiCustomGuardrailPluginConfig' AiCustomGuardrailPluginConfig: x-speakeasy-entity: GatewayPluginAiCustomGuardrail properties: config: type: object properties: allow_masking: description: Allow to masking the request/response instead of blocking it. Streaming will be disabled if this is enabled. type: boolean default: false custom_metrics: description: A list of custom metrics to be recorded. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false functions: description: Custom functions to be used in expression templates. type: object default: null additionalProperties: type: string x-lua-required: true nullable: true x-speakeasy-param-computed: false guarding_mode: description: The guardrail mode to use for the request type: string default: INPUT enum: - BOTH - INPUT - OUTPUT x-speakeasy-unknown-values: allow metrics: type: object properties: block_detail: description: Metric to indicate the detail for blocking the input. type: string default: null nullable: true x-speakeasy-param-computed: false block_reason: description: Metric to indicate the reason for blocking the input. type: string default: null nullable: true x-speakeasy-param-computed: false masked: description: Metric to indicate whether the input was masked. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true params: description: 'Parameters to be used in the guardrail service request. Keys are the parameter name and values can be either Lua expressions in the form `$(some_lua_expression)`or string. For expression, it will be evaluated as the value for the corresponding key. For string, it will be attempted to be parsed as string in JSON format, otherwise it will be used as is.' type: object default: null additionalProperties: type: string x-lua-required: true x-referenceable: true nullable: true x-speakeasy-param-computed: false request: description: Configuration specific to guardrail request. type: object properties: auth: description: Authentication configuration for HTTP request. type: object properties: location: description: 'Specify whether the ''param_name'' and ''param_value'' options go in a query string, or the POST form/JSON body.' type: string default: header enum: - body - header - query x-speakeasy-unknown-values: allow name: description: Specify name here. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false value: description: Specify the full token value for 'name'. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true body: description: 'A map used to evaluate a JSON object. Keys are the field names in the new object, and values can be either Lua expressions in the form `$(some_lua_expression)`or string. For expression, it will be evaluated as the value for the corresponding key. For string, it will be decoded as string in JSON format or be used as is.' type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false headers: description: 'A map used to evaluate a JSON object. Keys are the field names in the new object, and values can be either Lua expressions in the form `$(some_lua_expression)`or string. For expression, it will be evaluated as the value for the corresponding key. For string, it will be decoded as string in JSON format or be used as is.' type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false queries: description: 'A map used to evaluate a JSON object. Keys are the field names in the new object, and values can be either Lua expressions in the form `$(some_lua_expression)`or string. For expression, it will be evaluated as the value for the corresponding key. For string, it will be decoded as string in JSON format or be used as is.' type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false url: description: the url string or a template to generate one type: string required: - url response: description: Configuration specific to parse guardrail response. type: object properties: block: description: template or string to evaluate block field type: string block_message: description: template or string to evaluate block_message field type: string required: - block - block_message response_buffer_size: description: The amount of bytes receiving from upstream to be buffered before sending to the guardrail service. This only applies to the response content guard. type: number default: 100 ssl_verify: description: Whether to verify SSL certificate when Kong makes request to guardrail service. type: boolean default: false stop_on_error: description: Stop processing if an error occurs. type: boolean default: true text_source: description: Select where to pick the 'text' for the guardrail service request. type: string default: last_message enum: - concatenate_all_content - concatenate_user_content - last_message x-speakeasy-unknown-values: allow timeout: description: Connection timeout with the guardrail service type: number default: 10000 required: - request - response consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-custom-guardrail protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 AiGcpModelArmorPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiGcpModelArmorPluginConfig' AiGcpModelArmorPluginConfig: x-speakeasy-entity: GatewayPluginAiGcpModelArmor properties: config: type: object properties: enable_multi_language_detection: description: Enables multi-language detection mode. Must be used with 'source_language'. type: boolean default: false gcp_metadata_url: description: 'Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_oauth_token_url: description: 'Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: 'Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcp_use_service_account is true), Kong will attempt to read from environment variable `GCP_SERVICE_ACCOUNT` or from the instance/container metadata service.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_use_service_account: description: Use service account auth for GCP-based providers and models. type: boolean default: false guarding_mode: description: The guardrail mode to use for the request type: string default: INPUT enum: - BOTH - INPUT - OUTPUT x-speakeasy-unknown-values: allow location_id: description: GCP Location ID for the GCP Model Armor subscription. type: string log_blocked_content: description: Whether to log prompts and responses that are blocked by the guardrail. type: boolean default: false project_id: description: GCP Project ID for the GCP Model Armor subscription. type: string request_failure_message: description: The message to return when a failure occurs on the request phase. type: string default: Request was filtered by GCP Model Armor response_buffer_size: description: The amount of bytes receiving from upstream to be buffered before sending to the model armor service. This only applies to the response content guard. type: number default: 100 response_failure_message: description: The message to return when a failure occurs on the response phase. type: string default: Response was filtered by GCP Model Armor reveal_failure_categories: description: Whether to reveal failure categories in the response to the caller. type: boolean default: false source_language: description: Source language (ISO code) to use when 'enable_multi_language_detection' is enabled. type: string default: null nullable: true x-speakeasy-param-computed: false stop_on_error: description: Stop processing if an error occurs. type: boolean default: true template_id: description: GCP Model Armor Template ID to enforce. type: string text_source: description: Select where to pick the 'text' for the GCP Model Armor Services request. type: string default: last_message enum: - concatenate_all_content - concatenate_user_content - last_message x-speakeasy-unknown-values: allow timeout: description: Connection timeout with the GCP Model Armor service type: number default: 10000 required: - location_id - project_id - template_id consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-gcp-model-armor protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 AiLakeraGuardPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiLakeraGuardPluginConfig' AiLakeraGuardPluginConfig: x-speakeasy-entity: GatewayPluginAiLakeraGuard properties: config: type: object default: null nullable: true properties: api_key: description: API key for the Lakera Guard subscription. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false guarding_mode: description: The guardrail mode to use for the request type: string default: INPUT enum: - BOTH - INPUT - OUTPUT x-speakeasy-unknown-values: allow lakera_service_url: description: The guard-operation URL of the Lakera Guard service. Defaults to the SaaS /v2/guard endpoint. It can be set to a locally hosted instance of Lakera Guard. type: string default: 'https://api.lakera.ai/v2/guard' x-referenceable: true log_blocked_content: description: Whether to log prompts and responses that are blocked by the guardrail. type: boolean default: false project_id: description: 'Project ID to apply filters from. If null, it will use the subscription''s default project.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false request_failure_message: description: The message to return when a failure occurs on the request phase. type: string default: Request was filtered by Lakera Guard response_buffer_size: description: The amount of bytes receiving from upstream to be buffered before sending to the Lakera Guard service. This only applies to the response content guard. type: number default: 100 response_failure_message: description: The message to return when a failure occurs on the response phase. type: string default: Response was filtered by Lakera Guard reveal_failure_categories: description: 'Whether to reveal failure categories in the response to the caller. They will always be written to the gateway logs, even if set to false.' type: boolean default: false stop_on_error: description: Stop processing if an error occurs. type: boolean default: true text_source: description: Select where to pick the 'text' for the Lakera Guard request (when text/generation is selected). type: string default: concatenate_all_content enum: - concatenate_all_content - concatenate_user_content - last_message x-speakeasy-unknown-values: allow timeout: description: Connection timeout with the Lakera Guard service type: number default: 10000 verify_ssl: description: Whether to verify the SSL certificate of the configured Lakera Guard endpoint. type: boolean default: true x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-lakera-guard protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 AiLlmAsJudgePlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiLlmAsJudgePluginConfig' AiLlmAsJudgePluginConfig: x-speakeasy-entity: GatewayPluginAiLlmAsJudge properties: config: type: object properties: http_proxy_host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false http_timeout: description: Timeout in milliseconds for the AI upstream service. type: integer default: 60000 https_proxy_host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false https_verify: description: Verify the TLS certificate of the AI upstream service. type: boolean default: true ignore_assistant_prompts: description: Ignore and discard any assistant prompts when evaluating the request type: boolean default: true ignore_system_prompts: description: Ignore and discard any system prompts when evaluating the request type: boolean default: true ignore_tool_prompts: description: Ignore and discard any tool prompts when evaluating the request type: boolean default: true llm: type: object properties: auth: type: object default: null nullable: true properties: allow_override: description: 'If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin.' type: boolean default: false aws_access_key_id: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_ACCESS_KEY_ID environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_SECRET_ACCESS_KEY environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_use_managed_identity: description: Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. type: boolean default: false gcp_metadata_url: description: 'Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_oauth_token_url: description: 'Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: 'Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcp_use_service_account is true), Kong will attempt to read from environment variable `GCP_SERVICE_ACCOUNT`.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_use_service_account: description: Use service account auth for GCP-based providers and models. type: boolean default: false header_name: description: 'If AI model requires authentication via Authorization or API key header, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false header_value: description: 'Specify the full auth header value for ''header_name'', for example ''Bearer key'' or just ''key''.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false param_location: description: 'Specify whether the ''param_name'' and ''param_value'' options go in a query string, or the POST form/JSON body.' type: string enum: - body - query x-speakeasy-unknown-values: allow param_name: description: 'If AI model requires authentication via query parameter, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false param_value: description: Specify the full parameter value for 'param_name'. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false description: description: 'The semantic description of the target, required if using semantic load balancing. Specially, setting this to ''CATCHALL'' will indicate such target to be used when no other targets match the semantic threshold. Only used by ai-proxy-advanced.' type: string default: null nullable: true x-speakeasy-param-computed: false logging: type: object properties: log_payloads: description: 'If enabled, will log the request and response body into the Kong log plugin(s) output.Furthermore if Opentelemetry instrumentation is enabled the traces will contain this data as well.' type: boolean default: false log_statistics: description: 'If enabled and supported by the driver, will add model usage and token metrics into the Kong log plugin(s) output.' type: boolean default: false x-speakeasy-param-computed: true metadata: description: 'For internal use only. ' type: object additionalProperties: true nullable: true x-speakeasy-terraform-ignore: true x-speakeasy-type-override: any model: type: object properties: model_alias: description: The model name parameter from the request that this model should map to. type: string default: null nullable: true x-speakeasy-param-computed: false name: description: Model name to execute. type: string default: null nullable: true x-speakeasy-param-computed: false options: description: Key/value settings for the model type: object default: null nullable: true properties: anthropic_version: description: 'Defines the schema/API version, if using Anthropic provider.' type: string default: null nullable: true x-speakeasy-param-computed: false azure_api_version: description: '''api-version'' for Azure OpenAI instances.' type: string default: '2023-05-15' azure_deployment_id: description: Deployment ID for Azure OpenAI instances. type: string default: null nullable: true x-speakeasy-param-computed: false azure_instance: description: Instance name for Azure OpenAI hosted models. type: string default: null nullable: true x-speakeasy-param-computed: false bedrock: type: object default: null nullable: true properties: aws_assume_role_arn: description: If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful. type: string default: null nullable: true x-speakeasy-param-computed: false aws_region: description: If using AWS providers (Bedrock) you can override the `AWS_REGION` environment variable by setting this option. type: string default: null nullable: true x-speakeasy-param-computed: false aws_role_session_name: description: 'If using AWS providers (Bedrock), set the identifier of the assumed role session.' type: string default: null nullable: true x-speakeasy-param-computed: false aws_sts_endpoint_url: description: 'If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_bucket_prefix: description: 'S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_role_arn: description: AWS role arn used for calling batch API. Try to get the value from request if ommited. type: string default: null nullable: true x-speakeasy-param-computed: false embeddings_normalize: description: 'If using AWS providers (Bedrock), set to true to normalize the embeddings.' type: boolean default: false performance_config_latency: description: Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration. type: string default: null nullable: true x-speakeasy-param-computed: false video_output_s3_uri: description: 'S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false cache_read_cost: description: Defines the cost per 1M cache-read (cached) prompt tokens. type: number default: null nullable: true x-speakeasy-param-computed: false cache_write_cost: description: Defines the cost per 1M cache-write prompt tokens. type: number default: null nullable: true x-speakeasy-param-computed: false cache_write_cost_list: description: 'Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this if the upstream provider charges differently for different cache TTLs, as Anthropic does for 5m and 1h TTLs.' type: array items: properties: cost: type: number ttl: type: string required: - cost - ttl type: object default: null nullable: true x-speakeasy-param-computed: false cohere: type: object default: null nullable: true properties: embedding_input_type: description: The purpose of the input text to calculate embedding vectors. type: string default: classification enum: - classification - clustering - image - search_document - search_query x-speakeasy-unknown-values: allow wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false context_window_factor: description: 'Above an input-token threshold, scale input/output pricing with the corresponding factor.' type: array items: properties: above: type: string input_factor: type: number output_factor: type: number required: - above - input_factor - output_factor type: object default: null nullable: true x-speakeasy-param-computed: false dashscope: type: object default: null nullable: true properties: international: description: | Two Dashscope endpoints are available, and the international endpoint will be used when this is set to `true`. It is recommended to set this to `true` when using international version of dashscope. type: boolean default: true x-speakeasy-param-computed: false databricks: type: object default: null nullable: true properties: workspace_instance_id: description: Workspace Instance ID ('dbc-xxx-yyy') for Databricks model serving. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false embeddings_dimensions: description: 'If using embeddings models, set the number of dimensions to generate.' type: integer default: null nullable: true x-speakeasy-param-computed: false gemini: type: object default: null nullable: true properties: api_endpoint: description: 'If running Gemini on Vertex, specify the regional API endpoint (hostname only).' type: string default: null nullable: true x-speakeasy-param-computed: false endpoint_id: description: 'If running Gemini on Vertex Model Garden, specify the endpoint ID.' type: string default: null nullable: true x-speakeasy-param-computed: false location_id: description: 'If running Gemini on Vertex, specify the location ID.' type: string default: null nullable: true x-speakeasy-param-computed: false project_id: description: 'If running Gemini on Vertex, specify the project ID.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false huggingface: type: object default: null nullable: true properties: use_cache: description: Use the cache layer on the inference API type: boolean default: null nullable: true x-speakeasy-param-computed: false wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false input_cost: description: Defines the cost per 1M tokens in your prompt. type: number default: null nullable: true x-speakeasy-param-computed: false llama2_format: description: 'If using llama2 provider, select the upstream message format.' type: string enum: - ollama - openai - raw x-speakeasy-unknown-values: allow max_tokens: description: 'Defines the max_tokens, if using chat or completion models.' type: integer default: null nullable: true x-speakeasy-param-computed: false mistral_format: description: 'If using mistral provider, select the upstream message format.' type: string enum: - ollama - openai x-speakeasy-unknown-values: allow output_cost: description: Defines the cost per 1M tokens in the output of the AI. type: number default: null nullable: true x-speakeasy-param-computed: false service_tier_factor: description: 'Multiplier applied to the whole request for a service tier. No need to configure a standard/default tier, as the default factor is 1.0 if none of the tier is matched.' type: array items: properties: factor: type: number tier: description: 'A word matched case-insensitively as a substring of the vendor''s reported service tier (e.g. ''priority'', ''flex'', or ''throughput'' for Gemini/Vertex''s PROVISIONED_THROUGHPUT). If several entries match, the longest (most specific) wins; array order doesn''t matter. Configure ''priority'' will also match ''fast'' (whole word) as OpenAI returns either ''priority'' or ''fast'' for priority service tier.' type: string minLength: 1 required: - factor - tier type: object default: null nullable: true x-speakeasy-param-computed: false temperature: description: 'Defines the matching temperature, if using chat or completion models.' type: number default: null maximum: 5 minimum: 0 nullable: true x-speakeasy-param-computed: false top_k: description: 'Defines the top-k most likely tokens, if supported.' type: integer default: null maximum: 500 minimum: 0 nullable: true x-speakeasy-param-computed: false top_p: description: 'Defines the top-p probability mass, if supported.' type: number default: null maximum: 1 minimum: 0 nullable: true x-speakeasy-param-computed: false upstream_path: description: 'Manually specify or override the AI operation path, used when e.g. using the ''preserve'' route_type.' type: string default: null nullable: true x-speakeasy-param-computed: false upstream_url: description: 'Manually specify or override the full URL to the AI operation endpoints, when calling (self-)hosted models, or for running via a private endpoint.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false provider: description: AI provider request format - Kong translates requests to and from the specified backend compatible formats. type: string enum: - anthropic - azure - bedrock - cerebras - cohere - dashscope - databricks - deepseek - gemini - huggingface - llama2 - mistral - ollama - openai - vllm - xai x-speakeasy-unknown-values: allow required: - provider route_type: description: 'The model''s operation implementation, for this provider. ' type: string enum: - audio/v1/audio/speech - audio/v1/audio/transcriptions - audio/v1/audio/translations - image/v1/images/edits - image/v1/images/generations - llm/v1/assistants - llm/v1/batches - llm/v1/chat - llm/v1/completions - llm/v1/embeddings - llm/v1/files - llm/v1/responses - preserve - realtime/v1/realtime - video/v1/videos/generations x-speakeasy-unknown-values: allow weight: description: The weight this target gets within the upstream loadbalancer (1-65535). Only used by ai-proxy-advanced. type: integer default: 100 maximum: 65535 minimum: 1 required: - model - route_type message_countback: description: Number of messages in the chat history to use for evaluating the request type: number default: 1 maximum: 1000 minimum: 1 prompt: description: Use this prompt to tune the LLM system/assistant message for the llm as a judge prompt. type: string default: 'You are a strict evaluator. You will be given a prompt and a response. Your task is to judge whether the response is correct or incorrect. You must assign a score between 1 and 100, where: 100 represents a completely correct and ideal response, 1 represents a completely incorrect or irrelevant response. Your score must be a single number only — no text, labels, or explanations. Use the full range of values (e.g., 13, 47, 86), not just round numbers like 10, 50, or 100. Be accurate and consistent, as this score will be used by another model for learning and evaluation.' sampling_rate: description: Judging request sampling rate for configuring the probability-based sampler. type: number default: 1 maximum: 1 minimum: 0 consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-llm-as-judge protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: model paths: - config.llm AiMcpOauth2Plugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiMcpOauth2PluginConfig' AiMcpOauth2PluginConfig: x-speakeasy-entity: GatewayPluginAiMcpOauth2 properties: config: description: 'The configuration for MCP authorization in OAuth2. If this is enabled, make sure the configured metadata_endpoint is also covered by the same route so the authorization can be applied correctly.' type: object properties: args: description: Additional arguments to send in the POST body. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false authorization_servers: type: array items: description: The authorization server identifier. type: string minItems: 1 cache_introspection: description: 'If enabled, the plugin will cache the introspection response for the access token. This can improve performance by reducing the number of introspection requests to the authorization server.' type: boolean default: true claim_to_header: description: Map top-level token claims to upstream headers. Mutually exclusive with upstream_headers. type: array items: properties: claim: description: The claim name to be used in the access token. type: string header: description: The HTTP header name to be used for forwarding the claim value to the upstream. type: string required: - claim - header type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false client_alg: description: The client JWT signing algorithm. type: string enum: - ES256 - ES384 - ES512 - EdDSA - HS256 - HS384 - HS512 - PS256 - PS384 - PS512 - RS256 - RS384 - RS512 x-speakeasy-unknown-values: allow client_auth: description: The client authentication method. type: string enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth x-speakeasy-unknown-values: allow client_id: description: The client ID for authentication. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_jwk: description: The client JWK for private_key_jwt authentication. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: The client secret for authentication. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false consumer_by: description: 'Consumer fields used for mapping: - `id`: try to find the matching Consumer by `id` - `username`: try to find the matching Consumer by `username` - `custom_id`: try to find the matching Consumer by `custom_id`.' type: array items: enum: - custom_id - id - username type: string x-speakeasy-unknown-values: allow default: - custom_id - username minItems: 1 consumer_claim: description: 'The claim used for consumer mapping. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: null minItems: 1 nullable: true x-speakeasy-param-computed: false consumer_groups_claim: description: 'The claim used for consumer groups mapping. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: null minItems: 1 nullable: true x-speakeasy-param-computed: false consumer_groups_optional: description: Do not terminate the request if consumer groups mapping fails. type: boolean default: false consumer_optional: description: Do not terminate the request if consumer mapping fails. type: boolean default: false credential_claim: description: 'The claim used to derive virtual credentials (e.g. to be consumed by the rate-limiting plugin), in case the consumer mapping is not used. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: - sub headers: description: Additional headers for the introspection request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false http_proxy: description: HTTP proxy to use. type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_authorization: description: HTTP proxy authorization header. type: string default: null nullable: true x-speakeasy-param-computed: false http_version: description: The HTTP version used for requests. type: number x-speakeasy-param-computed: true https_proxy: description: HTTPS proxy to use. type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_authorization: description: HTTPS proxy authorization header. type: string default: null nullable: true x-speakeasy-param-computed: false insecure_relaxed_audience_validation: description: 'If enabled, the plugin will not validate the audience of the access token. Disable it if the authorization server does not correctly set the audience claim according to RFC 8707 and MCP specification.' type: boolean default: false introspection_endpoint: description: 'The Token Introspection Endpoint. If not provided, the plugin will attempt to use JWKS to verify the token. If the token is opaque, this field must be provided.' type: string default: null nullable: true x-speakeasy-param-computed: false introspection_format: description: Controls introspection response format. type: string enum: - base64 - base64url - string x-speakeasy-unknown-values: allow jwks_cache_ttl: description: The cache TTL in seconds for JWKS. type: integer default: 3600 jwks_endpoint: description: 'The JWKS endpoint URL for fetching the authorization server''s public keys. If not provided, the plugin will attempt to discover it from the authorization server metadata.' type: string default: null nullable: true x-speakeasy-param-computed: false jwt_claims_leeway: description: 'The leeway in seconds for JWT claims validation (exp, nbf). This allows tokens that are slightly expired or not yet valid due to clock skew.' type: integer default: 0 keepalive: description: Enable HTTP keepalive for requests. type: boolean default: true max_request_body_size: description: 'max allowed body size allowed to be handled as MCP request. 0 means unlimited, but the size of this body will still be limited by Nginx''s client_max_body_size.' type: integer default: 1048576 metadata_cache_ttl: description: The cache TTL in seconds for discovered authorization server metadata. type: integer default: 3600 metadata_discovery_endpoint: description: 'Custom OAuth 2.0 authorization server metadata discovery URL. If provided, the plugin will use this URL directly instead of trying standard well-known discovery paths. The custom endpoint URL should end with either ''/.well-known/openid-configuration'' or ''/.well-known/oauth-authorization-server''.' type: string default: null nullable: true x-speakeasy-param-computed: false metadata_discovery_retry: description: The number of retry attempts for metadata discovery requests per URL. type: integer default: 3 metadata_endpoint: description: 'The path for OAuth 2.0 Protected Resource Metadata. Default to $resource/.well-known/oauth-protected-resource. For example, if the configured resource is https://api.example.com/mcp, the metadata endpoint is /mcp/.well-known/oauth-protected-resource.' type: string default: null nullable: true x-speakeasy-param-computed: false mtls_introspection_endpoint: description: The mTLS alias for the introspection endpoint. type: string default: null nullable: true x-speakeasy-param-computed: false no_proxy: description: Comma-separated list of hosts to exclude from proxy. type: string default: null nullable: true x-speakeasy-param-computed: false passthrough_credentials: description: 'Keep the credentials used for authentication in the request. If multiple credentials are sent with the same request, the plugin will keep those that were used for successful authentication.' type: boolean default: false resource: description: The resource identifier. type: string scopes_supported: type: array items: description: Recommended scopes that are used in authorization requests to request access to this protected resource. type: string default: null minItems: 1 nullable: true x-speakeasy-param-computed: false ssl_verify: description: Verify the SSL certificate. type: boolean default: true timeout: description: Network I/O timeout in milliseconds. type: number default: 10000 tls_client_auth_cert: description: PEM-encoded client certificate for mTLS. type: string default: null nullable: true x-speakeasy-param-computed: false tls_client_auth_key: description: PEM-encoded private key for mTLS. type: string default: null nullable: true x-speakeasy-param-computed: false tls_client_auth_ssl_verify: description: Verify server certificate in mTLS. type: boolean default: true token_exchange: description: Configuration details about token exchange that should happen before reaching upstream MCP server type: object default: null nullable: true properties: cache: type: object default: null nullable: true properties: enabled: description: Whether to cache exchanged token type: boolean default: true ttl: description: The default cache TTL to store exchanged token. If the exchange endpoint does not provide 'expires_in' data when token is exchanged this TTL value will be used to cache it. type: integer default: 3600 x-speakeasy-param-computed: false client_auth: description: 'The type of authentication method to use with the exchange endpoint. Use ''inherit'' to use the same client_id, and secret as in introspection_endpoint.' type: string default: client_secret_basic enum: - client_secret_basic - client_secret_post - inherit - none x-speakeasy-unknown-values: allow client_id: description: The client ID for authentication. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: The client secret for authentication. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false enabled: description: Whether Token Exchange should be enabled type: boolean default: false request: type: object default: null nullable: true properties: actor_token: description: Static actor token value (when source is config). type: string default: null nullable: true x-speakeasy-param-computed: false actor_token_header: description: Header name containing actor token (when source is header). type: string default: null nullable: true x-speakeasy-param-computed: false actor_token_source: description: Where to obtain actor token. type: string default: none enum: - config - header - none x-speakeasy-unknown-values: allow actor_token_type: description: The token type identifier of actor token. type: string default: 'urn:ietf:params:oauth:token-type:access_token' audience: description: Audiences used in the token exchange request. type: array items: type: string default: null minItems: 1 nullable: true x-speakeasy-param-computed: false requested_token_type: description: The desired output token type. type: string default: 'urn:ietf:params:oauth:token-type:access_token' resource: description: The absolute URI of target MCP service where token will be used. type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: Scopes used in the token exchange request. type: array items: type: string default: null minItems: 1 nullable: true x-speakeasy-param-computed: false subject_token_type: description: The type of token to be exchanged. type: string default: 'urn:ietf:params:oauth:token-type:access_token' x-speakeasy-param-computed: false token_endpoint: description: The token exchange endopint. type: string required: - token_endpoint x-speakeasy-param-computed: false upstream_headers: description: Map token claims to upstream headers using path-based access. Each entry specifies a header name and a path (array of strings) to traverse the token claims. Mutually exclusive with claim_to_header. type: array items: properties: header: description: The name of the header. type: string path: description: The path of the header value. type: array items: type: string minItems: 1 required: - header - path type: object default: null nullable: true x-speakeasy-param-computed: false required: - authorization_servers - resource name: const: ai-mcp-oauth2 protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 AiMcpProxyPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiMcpProxyPluginConfig' AiMcpProxyPluginConfig: x-speakeasy-entity: GatewayPluginAiMcpProxy properties: config: type: object properties: access_token_claim_field: description: 'The claim in the OAuth2 access token to use as the subject for ACL evaluation when ''acl_attribute_type'' is set to ''oauth_access_token''. Nested claim can be fetched by using a jq filter starts with dot, e.g., ".user.email": https://jqlang.org/manual/#object-identifier-index.' type: string default: null minLength: 1 nullable: true x-speakeasy-param-computed: false acl_attribute_type: description: 'The type of attributes that ACL is evaluated with. Should only be configured on listener modes, not conversion-only.' type: string default: consumer enum: - consumer - oauth_access_token x-speakeasy-unknown-values: allow consumer_identifier: description: 'Which subject type entries in ACL lists refer to for per-consumer matching. Should only be configured on listener modes, not conversion-only.' type: string default: username enum: - consumer_id - custom_id - username x-speakeasy-unknown-values: allow default_acl: description: 'Optional list of default ACL rules keyed by scope (for example: tools).' type: array items: description: Default ACL entry for the given scope. `deny` has higher precedence than `allow`. properties: allow: description: 'Subjects (e.g. Consumer name, Consumer Groups, or Claim values depending on configuration) explicitly allowed to access this scope.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false deny: description: 'Subjects (e.g. Consumer name, Consumer Groups, or Claim values depending on configuration) explicitly denied from this scope. `deny` takes precedence over `allow`.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false scope: description: 'Scope for this default ACL entry (for example: ''tools''). Defaults to ''tools''.' type: string default: tools type: object default: null nullable: true x-speakeasy-param-computed: false include_consumer_groups: description: 'If enabled (true), allows Consumer Group names to be used in default and per-primitive ACL. Should only be configured on listener modes, not conversion-only.' type: boolean default: false logging: type: object properties: log_audits: description: 'If true, emit audit logs for ACL evaluations.' type: boolean default: false log_payloads: description: 'If enabled, will log the request and response body into the Kong log plugin(s) output.' type: boolean default: false log_statistics: description: 'If enabled, will add mcp metrics into the Kong log plugin(s) output.' type: boolean default: false x-speakeasy-param-computed: true max_request_body_size: description: 'max allowed body size allowed to be handled as MCP request. 0 means unlimited, but the size of this body will still be limited by Nginx''s client_max_body_size.' type: integer default: 1048576 mode: description: 'The mode of the MCP proxy. Possible values are: ''passthrough-listener'', ''conversion-listener'', ''conversion-only'', ''listener''.' type: string enum: - conversion-listener - conversion-only - listener - passthrough-listener x-speakeasy-unknown-values: allow server: type: object default: null nullable: true properties: forward_client_headers: description: Whether to forward the client request headers to the upstream server when calling the tools. type: boolean default: true session: description: Enable managed session when Kong responds as MCP server in listener or conversion-listener modes. This doesn't affect the passthrough-listener mode as the state in that mode is maintained by the upstream MCP servers. type: object default: null nullable: true properties: client: description: The configuration for client-side session storage. type: object default: null nullable: true properties: secrets: description: 'The secrets that are used in session encryption. Required when the strategy is ''client''. The first secret is used for encryption, while all secrets are used for decryption to support key rotation.' type: array items: minLength: 8 type: string x-encrypted: true x-referenceable: true default: null minItems: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false managed: description: 'If enabled, Kong will maintain managed sessions with the MCP server.' type: boolean default: true redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end session_ttl: description: The time-to-live (TTL) for each session in seconds. type: number default: 86400 strategy: description: 'The strategy for the session. If the value is ''client'', the session is encrypted into MCP session id assigned to the client. If the value is not ''client'', the session is stored in the configured database.' type: string enum: - client - redis x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false tag: description: 'The tag of the MCP server. This is used to filter the exported MCP tools. The field should contain exactly one tag. ' type: string default: null nullable: true x-speakeasy-param-computed: false timeout: description: The timeout for calling the tools in milliseconds. type: number default: 10000 x-speakeasy-param-computed: false tools: type: array items: properties: acl: description: Optional per-primitive ACL. `deny` has higher precedence than `allow`. type: object default: null nullable: true properties: allow: description: 'Subjects (e.g. Consumer name, Consumer Groups, or Claim values depending on configuration) explicitly allowed to use this primitive.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false deny: description: 'Subjects (e.g. Consumer name, Consumer Groups, or Claim values depending on configuration) explicitly denied from using this primitive. `deny` takes precedence over `allow`.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false annotations: type: object default: null nullable: true properties: destructive_hint: description: 'If true, the tool may perform destructive updates' type: boolean default: null nullable: true x-speakeasy-param-computed: false idempotent_hint: description: 'If true, repeated calls with same args have no additional effect' type: boolean default: null nullable: true x-speakeasy-param-computed: false open_world_hint: description: 'If true, tool interacts with external entities' type: boolean default: null nullable: true x-speakeasy-param-computed: false read_only_hint: description: 'If true, the tool does not modify its environment' type: boolean default: null nullable: true x-speakeasy-param-computed: false title: description: Human-readable title for the tool type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false description: description: The description of the MCP tool. This is used to provide information about the tool's functionality and usage. type: string headers: description: 'The headers of the exported API. By default, Kong will extract the headers from API configuration. If the configured headers are not exactly matched, this field is required.' type: object default: null additionalProperties: items: type: string type: array nullable: true x-speakeasy-param-computed: false host: description: 'The host of the exported API, which must match the route''s hosts. It should be the route''s host. By default, Kong will extract the host from API configuration. If the configured host is wildcard, this field is required.' type: string default: null nullable: true x-speakeasy-param-computed: false method: description: 'The method of the exported API, which must be one of the route''s method. By default, Kong will extract the method from API configuration. If the configured method is not exactly matched, this field is required.' type: string enum: - DELETE - GET - PATCH - POST - PUT x-speakeasy-unknown-values: allow name: description: 'Tool identifier. In passthrough-listener mode, used to match remote MCP Server tools for ACL enforcement. In other modes, it is also used as the tool name (overrides tools.annotations.title if present).' type: string default: null nullable: true x-speakeasy-param-computed: false parameters: description: 'The API parameters specification defined in OpenAPI JSON format. For example, ''[{"name": "city", "in": "query", "description": "Name of the city to get the weather for", "required": true, "schema": {"type": "string"}}]''.See https://swagger.io/docs/specification/v3_0/describing-parameters/ for more details.' items: type: object properties: name: type: string in: type: string required: type: boolean schema: type: object properties: type: type: string description: type: string nullable: true type: array path: description: 'The path of the exported API, which must match the route''s paths. Path not starting with ''/'' are treated as relative path and the route path will be added as the prefix. If the upstream path is different from the route one, to match the route''s path, use relative path and strip_path to strip the added prefix. Relative path is unsupported when the route path is regex. By default, Kong will extract the path from API configuration.' type: string default: null nullable: true x-speakeasy-param-computed: false query: description: 'The query arguments of the exported API. If the generated query arguments are not exactly matched, this field is required.' type: object default: null additionalProperties: items: type: string type: array nullable: true x-speakeasy-param-computed: false request_body: description: 'The API requestBody specification defined in OpenAPI JSON format. For example, ''{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"color":{"type":"array","items":{"type":"string"}}}}}}''.See https://swagger.io/docs/specification/v3_0/describing-request-body/describing-request-body/ for more details. Note that `$ref` is not supported so we need to inline the schema.' type: object default: null additionalProperties: true nullable: true x-speakeasy-param-computed: false x-speakeasy-type-override: any responses: description: 'The API responses specification defined in OpenAPI JSON format. This specification will be used to validate the upstream response and map it back to the structuredOutput. For example, ''{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"string"}}}}}}}''.See https://swagger.io/docs/specification/v3_0/describing-responses/ for more details.Only one non-error (status code < 400) response is supported. Note that `$ref` is not supported.' additionalProperties: true default: null nullable: true type: object x-speakeasy-param-computed: false x-speakeasy-type-override: any scheme: description: 'The scheme of the exported API, which must be one of the route''s scheme. By default, Kong will extract the scheme from API configuration. If the configured scheme is not expected, this field can be used to override it.' type: string enum: - http - https x-speakeasy-unknown-values: allow required: - description type: object default: null nullable: true x-speakeasy-param-computed: false required: - mode name: const: ai-mcp-proxy protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 AiPromptCompressorPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiPromptCompressorPluginConfig' AiPromptCompressorPluginConfig: x-speakeasy-entity: GatewayPluginAiPromptCompressor properties: config: type: object properties: compression_ranges: description: What value to be used to compress with. The 'value' is interpreted as rate or target_token depending on compressor_type. type: array items: properties: max_tokens: type: integer min_tokens: type: integer value: type: number required: - max_tokens - min_tokens - value type: object compressor_type: description: What compression type to use to compress with type: string default: rate enum: - rate - target_token x-speakeasy-unknown-values: allow compressor_url: description: The url of the compressor type: string default: 'http://localhost:8080' keepalive_timeout: description: The keepalive timeout for the established http connnection type: number default: 60000 log_text_data: description: Log the text data type: boolean default: false message_type: type: array items: enum: - assistant - system - user type: string x-speakeasy-unknown-values: allow default: - user stop_on_error: description: Stop processing if an error occurs type: boolean default: true timeout: description: Connection timeout with the compressor type: number default: 10000 required: - compression_ranges consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-prompt-compressor protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 AiPromptDecoratorPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiPromptDecoratorPluginConfig' AiPromptDecoratorPluginConfig: x-speakeasy-entity: GatewayPluginAiPromptDecorator properties: config: type: object default: null nullable: true properties: llm_format: description: LLM input and output format and schema to use type: string default: openai enum: - anthropic - bedrock - cohere - gemini - huggingface - openai x-speakeasy-unknown-values: allow max_request_body_size: description: 'max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx''s client_max_body_size.' type: integer default: 1048576 prompts: type: object default: null nullable: true properties: append: description: Insert chat messages at the end of the chat message array. This array preserves exact order when adding messages. type: array items: properties: content: maxLength: 100000 minLength: 1 type: string role: type: string default: system enum: - assistant - system - user x-speakeasy-unknown-values: allow required: - content type: object default: null maxItems: 15 nullable: true x-speakeasy-param-computed: false prepend: description: Insert chat messages at the beginning of the chat message array. This array preserves exact order when adding messages. type: array items: properties: content: maxLength: 100000 minLength: 1 type: string role: type: string default: system enum: - assistant - system - user x-speakeasy-unknown-values: allow required: - content type: object default: null maxItems: 15 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-prompt-decorator protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 AiPromptGuardPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiPromptGuardPluginConfig' AiPromptGuardPluginConfig: x-speakeasy-entity: GatewayPluginAiPromptGuard properties: config: type: object default: null nullable: true properties: allow_all_conversation_history: description: 'If true, will ignore all previous chat prompts from the conversation history.' type: boolean default: false allow_patterns: description: 'Array of valid regex patterns, or valid questions from the ''user'' role in chat.' type: array items: maxLength: 500 minLength: 1 type: string default: null maxItems: 10 nullable: true x-speakeasy-param-computed: false deny_patterns: description: 'Array of invalid regex patterns, or invalid questions from the ''user'' role in chat.' type: array items: maxLength: 500 minLength: 1 type: string default: null maxItems: 10 nullable: true x-speakeasy-param-computed: false genai_category: description: Generative AI category of the request type: string default: text/generation enum: - audio/speech - audio/transcription - image/generation - realtime/generation - text/embeddings - text/generation - video/generation x-speakeasy-unknown-values: allow llm_format: description: LLM input and output format and schema to use type: string default: openai enum: - anthropic - bedrock - cohere - gemini - huggingface - openai x-speakeasy-unknown-values: allow match_all_roles: description: 'If true, will match all roles in addition to ''user'' role in conversation history.' type: boolean default: false max_request_body_size: description: 'max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx''s client_max_body_size.' type: integer default: 1048576 x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-prompt-guard protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 AiPromptTemplatePlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiPromptTemplatePluginConfig' AiPromptTemplatePluginConfig: x-speakeasy-entity: GatewayPluginAiPromptTemplate properties: config: type: object properties: allow_untemplated_requests: description: Set true to allow requests that don't call or match any template. type: boolean default: true log_original_request: description: Set true to add the original request to the Kong log plugin(s) output. type: boolean default: false max_request_body_size: description: 'max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx''s client_max_body_size.' type: integer default: 1048576 templates: description: Array of templates available to the request context. type: array items: properties: name: description: 'Unique name for the template, can be called with `{template://NAME}`' type: string template: description: 'Template string for this request, supports mustache-style `{{placeholders}}`' type: string required: - name - template type: object required: - templates consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-prompt-template protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 AiProxyAdvancedPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiProxyAdvancedPluginConfig' AiProxyAdvancedPluginConfig: x-speakeasy-entity: GatewayPluginAiProxyAdvanced properties: config: type: object properties: acls: description: Optional ACL rules. Deny rules take precedence over allow rules. type: object default: null nullable: true properties: allow: description: Requests matching any allow rule are permitted unless also matched by a deny rule. type: array items: description: ACL rule composed of one or more match conditions. properties: match: description: All conditions must match for the rule to apply (logical AND). type: array items: description: Single match condition (e.g. user or model value). properties: key: description: 'Helper key used by some types: consumer (id|username), consumer_group (id|name), header (header name).' type: string default: null nullable: true x-speakeasy-param-computed: false type: description: The attribute to match against. type: string enum: - consumer - consumer_group - header - ip - model - path - provider x-speakeasy-unknown-values: allow values: description: Allowed values for the selected type. type: array items: type: string minItems: 1 required: - type - values type: object minItems: 1 required: - match type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false deny: description: Requests matching any deny rule are blocked. Deny rules take precedence over allow rules. type: array items: description: ACL rule composed of one or more match conditions. properties: match: description: All conditions must match for the rule to apply (logical AND). type: array items: description: Single match condition (e.g. user or model value). properties: key: description: 'Helper key used by some types: consumer (id|username), consumer_group (id|name), header (header name).' type: string default: null nullable: true x-speakeasy-param-computed: false type: description: The attribute to match against. type: string enum: - consumer - consumer_group - header - ip - model - path - provider x-speakeasy-unknown-values: allow values: description: Allowed values for the selected type. type: array items: type: string minItems: 1 required: - type - values type: object minItems: 1 required: - match type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false balancer: type: object properties: algorithm: description: Which load balancing algorithm to use. type: string default: round-robin enum: - consistent-hashing - least-connections - lowest-latency - lowest-usage - priority - round-robin - semantic x-speakeasy-unknown-values: allow connect_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 fail_timeout: description: The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches `max_fails`. type: integer default: 10000 maximum: 2147483646 minimum: 1 failover_criteria: description: 'Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream' type: array items: enum: - error - http_403 - http_404 - http_429 - http_500 - http_502 - http_503 - http_504 - invalid_header - non_idempotent - timeout type: string x-speakeasy-unknown-values: allow default: - error - timeout hash_on_header: description: The header to use for consistent-hashing. type: string default: X-Kong-LLM-Request-ID latency_strategy: description: 'What metrics to use for latency. Available values are: `tpot` (time-per-output-token) and `e2e`.' type: string default: tpot enum: - e2e - tpot x-speakeasy-unknown-values: allow max_fails: description: 'Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by `fail_timeout` before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by `failover_criteria`. Note the cases of `error`, `timeout` and `invalid_header` are always considered unsuccessful attempts, while the cases of `http_403` and `http_404` are never considered unsuccessful attempts.' type: integer default: 0 maximum: 32767 minimum: 0 read_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 retries: description: The number of retries to execute upon failure to proxy. type: integer default: 5 maximum: 32767 minimum: 0 slots: description: The number of slots in the load balancer algorithm. type: integer default: 10000 maximum: 65536 minimum: 10 tokens_count_strategy: description: 'What tokens to use for usage calculation. Available values are: `total_tokens` `prompt_tokens`, `completion_tokens` and `cost`.' type: string default: total-tokens enum: - completion-tokens - cost - llm-accuracy - prompt-tokens - total-tokens x-speakeasy-unknown-values: allow write_timeout: type: integer default: 60000 maximum: 2147483646 minimum: 1 x-speakeasy-param-computed: true embeddings: type: object default: null nullable: true properties: auth: type: object default: null nullable: true properties: allow_override: description: 'If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin.' type: boolean default: false aws_access_key_id: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_ACCESS_KEY_ID environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_SECRET_ACCESS_KEY environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_use_managed_identity: description: Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. type: boolean default: false gcp_metadata_url: description: 'Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_oauth_token_url: description: 'Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: 'Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcp_use_service_account is true), Kong will attempt to read from environment variable `GCP_SERVICE_ACCOUNT`.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_use_service_account: description: Use service account auth for GCP-based providers and models. type: boolean default: false header_name: description: 'If AI model requires authentication via Authorization or API key header, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false header_value: description: 'Specify the full auth header value for ''header_name'', for example ''Bearer key'' or just ''key''.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false param_location: description: 'Specify whether the ''param_name'' and ''param_value'' options go in a query string, or the POST form/JSON body.' type: string enum: - body - query x-speakeasy-unknown-values: allow param_name: description: 'If AI model requires authentication via query parameter, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false param_value: description: Specify the full parameter value for 'param_name'. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false model: type: object properties: name: description: Model name to execute. type: string options: description: Key/value settings for the model type: object default: null nullable: true properties: azure: type: object default: null nullable: true properties: api_version: description: '''api-version'' for Azure OpenAI instances.' type: string default: '2023-05-15' deployment_id: description: Deployment ID for Azure OpenAI instances. type: string default: null nullable: true x-speakeasy-param-computed: false instance: description: Instance name for Azure OpenAI hosted models. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false bedrock: type: object default: null nullable: true properties: aws_assume_role_arn: description: If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful. type: string default: null nullable: true x-speakeasy-param-computed: false aws_region: description: If using AWS providers (Bedrock) you can override the `AWS_REGION` environment variable by setting this option. type: string default: null nullable: true x-speakeasy-param-computed: false aws_role_session_name: description: 'If using AWS providers (Bedrock), set the identifier of the assumed role session.' type: string default: null nullable: true x-speakeasy-param-computed: false aws_sts_endpoint_url: description: 'If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_bucket_prefix: description: 'S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_role_arn: description: AWS role arn used for calling batch API. Try to get the value from request if ommited. type: string default: null nullable: true x-speakeasy-param-computed: false embeddings_normalize: description: 'If using AWS providers (Bedrock), set to true to normalize the embeddings.' type: boolean default: false performance_config_latency: description: Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration. type: string default: null nullable: true x-speakeasy-param-computed: false video_output_s3_uri: description: 'S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false gemini: type: object default: null nullable: true properties: api_endpoint: description: 'If running Gemini on Vertex, specify the regional API endpoint (hostname only).' type: string default: null nullable: true x-speakeasy-param-computed: false location_id: description: 'If running Gemini on Vertex, specify the location ID.' type: string default: null nullable: true x-speakeasy-param-computed: false project_id: description: 'If running Gemini on Vertex, specify the project ID.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false huggingface: type: object default: null nullable: true properties: use_cache: description: Use the cache layer on the inference API type: boolean default: null nullable: true x-speakeasy-param-computed: false wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false upstream_url: description: upstream url for the embeddings type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false provider: description: AI provider format to use for embeddings API type: string enum: - azure - bedrock - gemini - huggingface - mistral - ollama - openai x-speakeasy-unknown-values: allow required: - name - provider required: - model x-speakeasy-param-computed: false genai_category: description: Generative AI category of the request type: string default: text/generation enum: - audio/speech - audio/transcription - image/generation - realtime/generation - text/embeddings - text/generation - video/generation x-speakeasy-unknown-values: allow llm_format: description: LLM input and output format and schema to use type: string default: openai enum: - anthropic - bedrock - cohere - gemini - huggingface - openai x-speakeasy-unknown-values: allow max_request_body_size: description: 'max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx''s client_max_body_size.' type: integer default: 1048576 model_name_header: description: Display the model name selected in the X-Kong-LLM-Model response header type: boolean default: true response_streaming: description: 'Whether to ''optionally allow'', ''deny'', or ''always'' (force) the streaming of answers via server sent events.' type: string default: allow enum: - allow - always - deny x-speakeasy-unknown-values: allow targets: type: array items: properties: auth: type: object default: null nullable: true properties: allow_override: description: 'If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin.' type: boolean default: false aws_access_key_id: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_ACCESS_KEY_ID environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_SECRET_ACCESS_KEY environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_use_managed_identity: description: Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. type: boolean default: false gcp_metadata_url: description: 'Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_oauth_token_url: description: 'Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: 'Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcp_use_service_account is true), Kong will attempt to read from environment variable `GCP_SERVICE_ACCOUNT`.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_use_service_account: description: Use service account auth for GCP-based providers and models. type: boolean default: false header_name: description: 'If AI model requires authentication via Authorization or API key header, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false header_value: description: 'Specify the full auth header value for ''header_name'', for example ''Bearer key'' or just ''key''.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false param_location: description: 'Specify whether the ''param_name'' and ''param_value'' options go in a query string, or the POST form/JSON body.' type: string enum: - body - query x-speakeasy-unknown-values: allow param_name: description: 'If AI model requires authentication via query parameter, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false param_value: description: Specify the full parameter value for 'param_name'. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false description: description: 'The semantic description of the target, required if using semantic load balancing. Specially, setting this to ''CATCHALL'' will indicate such target to be used when no other targets match the semantic threshold. Only used by ai-proxy-advanced.' type: string default: null nullable: true x-speakeasy-param-computed: false logging: type: object properties: log_payloads: description: 'If enabled, will log the request and response body into the Kong log plugin(s) output.Furthermore if Opentelemetry instrumentation is enabled the traces will contain this data as well.' type: boolean default: false log_statistics: description: 'If enabled and supported by the driver, will add model usage and token metrics into the Kong log plugin(s) output.' type: boolean default: false x-speakeasy-param-computed: true metadata: description: 'For internal use only. ' type: object additionalProperties: true nullable: true x-speakeasy-terraform-ignore: true x-speakeasy-type-override: any model: type: object properties: model_alias: description: The model name parameter from the request that this model should map to. type: string default: null nullable: true x-speakeasy-param-computed: false name: description: Model name to execute. type: string default: null nullable: true x-speakeasy-param-computed: false options: description: Key/value settings for the model type: object default: null nullable: true properties: anthropic_version: description: 'Defines the schema/API version, if using Anthropic provider.' type: string default: null nullable: true x-speakeasy-param-computed: false azure_api_version: description: '''api-version'' for Azure OpenAI instances.' type: string default: '2023-05-15' azure_deployment_id: description: Deployment ID for Azure OpenAI instances. type: string default: null nullable: true x-speakeasy-param-computed: false azure_instance: description: Instance name for Azure OpenAI hosted models. type: string default: null nullable: true x-speakeasy-param-computed: false bedrock: type: object default: null nullable: true properties: aws_assume_role_arn: description: If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful. type: string default: null nullable: true x-speakeasy-param-computed: false aws_region: description: If using AWS providers (Bedrock) you can override the `AWS_REGION` environment variable by setting this option. type: string default: null nullable: true x-speakeasy-param-computed: false aws_role_session_name: description: 'If using AWS providers (Bedrock), set the identifier of the assumed role session.' type: string default: null nullable: true x-speakeasy-param-computed: false aws_sts_endpoint_url: description: 'If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_bucket_prefix: description: 'S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_role_arn: description: AWS role arn used for calling batch API. Try to get the value from request if ommited. type: string default: null nullable: true x-speakeasy-param-computed: false embeddings_normalize: description: 'If using AWS providers (Bedrock), set to true to normalize the embeddings.' type: boolean default: false performance_config_latency: description: Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration. type: string default: null nullable: true x-speakeasy-param-computed: false video_output_s3_uri: description: 'S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false cache_read_cost: description: Defines the cost per 1M cache-read (cached) prompt tokens. type: number default: null nullable: true x-speakeasy-param-computed: false cache_write_cost: description: Defines the cost per 1M cache-write prompt tokens. type: number default: null nullable: true x-speakeasy-param-computed: false cache_write_cost_list: description: 'Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this if the upstream provider charges differently for different cache TTLs, as Anthropic does for 5m and 1h TTLs.' type: array items: properties: cost: type: number ttl: type: string required: - cost - ttl type: object default: null nullable: true x-speakeasy-param-computed: false cohere: type: object default: null nullable: true properties: embedding_input_type: description: The purpose of the input text to calculate embedding vectors. type: string default: classification enum: - classification - clustering - image - search_document - search_query x-speakeasy-unknown-values: allow wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false context_window_factor: description: 'Above an input-token threshold, scale input/output pricing with the corresponding factor.' type: array items: properties: above: type: string input_factor: type: number output_factor: type: number required: - above - input_factor - output_factor type: object default: null nullable: true x-speakeasy-param-computed: false dashscope: type: object default: null nullable: true properties: international: description: | Two Dashscope endpoints are available, and the international endpoint will be used when this is set to `true`. It is recommended to set this to `true` when using international version of dashscope. type: boolean default: true x-speakeasy-param-computed: false databricks: type: object default: null nullable: true properties: workspace_instance_id: description: Workspace Instance ID ('dbc-xxx-yyy') for Databricks model serving. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false embeddings_dimensions: description: 'If using embeddings models, set the number of dimensions to generate.' type: integer default: null nullable: true x-speakeasy-param-computed: false gemini: type: object default: null nullable: true properties: api_endpoint: description: 'If running Gemini on Vertex, specify the regional API endpoint (hostname only).' type: string default: null nullable: true x-speakeasy-param-computed: false endpoint_id: description: 'If running Gemini on Vertex Model Garden, specify the endpoint ID.' type: string default: null nullable: true x-speakeasy-param-computed: false location_id: description: 'If running Gemini on Vertex, specify the location ID.' type: string default: null nullable: true x-speakeasy-param-computed: false project_id: description: 'If running Gemini on Vertex, specify the project ID.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false huggingface: type: object default: null nullable: true properties: use_cache: description: Use the cache layer on the inference API type: boolean default: null nullable: true x-speakeasy-param-computed: false wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false input_cost: description: Defines the cost per 1M tokens in your prompt. type: number default: null nullable: true x-speakeasy-param-computed: false llama2_format: description: 'If using llama2 provider, select the upstream message format.' type: string enum: - ollama - openai - raw x-speakeasy-unknown-values: allow max_tokens: description: 'Defines the max_tokens, if using chat or completion models.' type: integer default: null nullable: true x-speakeasy-param-computed: false mistral_format: description: 'If using mistral provider, select the upstream message format.' type: string enum: - ollama - openai x-speakeasy-unknown-values: allow output_cost: description: Defines the cost per 1M tokens in the output of the AI. type: number default: null nullable: true x-speakeasy-param-computed: false service_tier_factor: description: 'Multiplier applied to the whole request for a service tier. No need to configure a standard/default tier, as the default factor is 1.0 if none of the tier is matched.' type: array items: properties: factor: type: number tier: description: 'A word matched case-insensitively as a substring of the vendor''s reported service tier (e.g. ''priority'', ''flex'', or ''throughput'' for Gemini/Vertex''s PROVISIONED_THROUGHPUT). If several entries match, the longest (most specific) wins; array order doesn''t matter. Configure ''priority'' will also match ''fast'' (whole word) as OpenAI returns either ''priority'' or ''fast'' for priority service tier.' type: string minLength: 1 required: - factor - tier type: object default: null nullable: true x-speakeasy-param-computed: false temperature: description: 'Defines the matching temperature, if using chat or completion models.' type: number default: null maximum: 5 minimum: 0 nullable: true x-speakeasy-param-computed: false top_k: description: 'Defines the top-k most likely tokens, if supported.' type: integer default: null maximum: 500 minimum: 0 nullable: true x-speakeasy-param-computed: false top_p: description: 'Defines the top-p probability mass, if supported.' type: number default: null maximum: 1 minimum: 0 nullable: true x-speakeasy-param-computed: false upstream_path: description: 'Manually specify or override the AI operation path, used when e.g. using the ''preserve'' route_type.' type: string default: null nullable: true x-speakeasy-param-computed: false upstream_url: description: 'Manually specify or override the full URL to the AI operation endpoints, when calling (self-)hosted models, or for running via a private endpoint.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false provider: description: AI provider request format - Kong translates requests to and from the specified backend compatible formats. type: string enum: - anthropic - azure - bedrock - cerebras - cohere - dashscope - databricks - deepseek - gemini - huggingface - llama2 - mistral - ollama - openai - vllm - xai x-speakeasy-unknown-values: allow required: - provider route_type: description: 'The model''s operation implementation, for this provider. ' type: string enum: - audio/v1/audio/speech - audio/v1/audio/transcriptions - audio/v1/audio/translations - image/v1/images/edits - image/v1/images/generations - llm/v1/assistants - llm/v1/batches - llm/v1/chat - llm/v1/completions - llm/v1/embeddings - llm/v1/files - llm/v1/responses - preserve - realtime/v1/realtime - video/v1/videos/generations x-speakeasy-unknown-values: allow weight: description: The weight this target gets within the upstream loadbalancer (1-65535). Only used by ai-proxy-advanced. type: integer default: 100 maximum: 65535 minimum: 1 required: - model - route_type type: object vectordb: type: object default: null nullable: true properties: dimensions: description: the desired dimensionality for the vectors type: integer distance_metric: description: the distance metric to use for vector searches type: string enum: - cosine - euclidean x-speakeasy-unknown-values: allow pgvector: type: object default: null nullable: true properties: database: description: the database of the pgvector database type: string default: kong-pgvector host: description: the host of the pgvector database type: string default: 127.0.0.1 password: description: the password of the pgvector database type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: the port of the pgvector database type: integer default: 5432 ssl: description: whether to use ssl for the pgvector database type: boolean default: false ssl_cert: description: the path of ssl cert to use for the pgvector database type: string default: null nullable: true x-speakeasy-param-computed: false ssl_cert_key: description: the path of ssl cert key to use for the pgvector database type: string default: null nullable: true x-speakeasy-param-computed: false ssl_required: description: whether ssl is required for the pgvector database type: boolean default: false ssl_verify: description: whether to verify ssl for the pgvector database type: boolean default: false ssl_version: description: the ssl version to use for the pgvector database type: string default: tlsv1_2 enum: - any - tlsv1_2 - tlsv1_3 x-speakeasy-unknown-values: allow timeout: description: the timeout of the pgvector database type: number default: 5000 user: description: the user of the pgvector database type: string default: postgres x-referenceable: true x-speakeasy-param-computed: false redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end strategy: description: which vector database driver to use type: string enum: - pgvector - redis x-speakeasy-unknown-values: allow threshold: description: the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar. type: number default: null nullable: true x-speakeasy-param-computed: false required: - dimensions - distance_metric - strategy x-speakeasy-param-computed: false required: - targets consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-proxy-advanced protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpc - grpcs - http - https - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https - ws - wss route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: embeddings paths: - config.embeddings - name: model paths: - 'config.targets[]' - name: vectordb paths: - config.vectordb AiProxyPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiProxyPluginConfig' AiProxyPluginConfig: x-speakeasy-entity: GatewayPluginAiProxy properties: config: type: object properties: auth: type: object default: null nullable: true properties: allow_override: description: 'If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin.' type: boolean default: false aws_access_key_id: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_ACCESS_KEY_ID environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_SECRET_ACCESS_KEY environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_use_managed_identity: description: Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. type: boolean default: false gcp_metadata_url: description: 'Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_oauth_token_url: description: 'Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: 'Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcp_use_service_account is true), Kong will attempt to read from environment variable `GCP_SERVICE_ACCOUNT`.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_use_service_account: description: Use service account auth for GCP-based providers and models. type: boolean default: false header_name: description: 'If AI model requires authentication via Authorization or API key header, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false header_value: description: 'Specify the full auth header value for ''header_name'', for example ''Bearer key'' or just ''key''.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false param_location: description: 'Specify whether the ''param_name'' and ''param_value'' options go in a query string, or the POST form/JSON body.' type: string enum: - body - query x-speakeasy-unknown-values: allow param_name: description: 'If AI model requires authentication via query parameter, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false param_value: description: Specify the full parameter value for 'param_name'. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false genai_category: description: Generative AI category of the request type: string default: text/generation enum: - audio/speech - audio/transcription - image/generation - text/embeddings - text/generation - video/generation x-speakeasy-unknown-values: allow llm_format: description: LLM input and output format and schema to use type: string default: openai enum: - anthropic - bedrock - cohere - gemini - huggingface - openai x-speakeasy-unknown-values: allow logging: type: object properties: log_payloads: description: 'If enabled, will log the request and response body into the Kong log plugin(s) output.Furthermore if Opentelemetry instrumentation is enabled the traces will contain this data as well.' type: boolean default: false log_statistics: description: 'If enabled and supported by the driver, will add model usage and token metrics into the Kong log plugin(s) output.' type: boolean default: false x-speakeasy-param-computed: true max_request_body_size: description: 'max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx''s client_max_body_size.' type: integer default: 1048576 model: type: object properties: model_alias: description: The model name parameter from the request that this model should map to. type: string default: null nullable: true x-speakeasy-param-computed: false name: description: Model name to execute. type: string default: null nullable: true x-speakeasy-param-computed: false options: description: Key/value settings for the model type: object default: null nullable: true properties: anthropic_version: description: 'Defines the schema/API version, if using Anthropic provider.' type: string default: null nullable: true x-speakeasy-param-computed: false azure_api_version: description: '''api-version'' for Azure OpenAI instances.' type: string default: '2023-05-15' azure_deployment_id: description: Deployment ID for Azure OpenAI instances. type: string default: null nullable: true x-speakeasy-param-computed: false azure_instance: description: Instance name for Azure OpenAI hosted models. type: string default: null nullable: true x-speakeasy-param-computed: false bedrock: type: object default: null nullable: true properties: aws_assume_role_arn: description: If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful. type: string default: null nullable: true x-speakeasy-param-computed: false aws_region: description: If using AWS providers (Bedrock) you can override the `AWS_REGION` environment variable by setting this option. type: string default: null nullable: true x-speakeasy-param-computed: false aws_role_session_name: description: 'If using AWS providers (Bedrock), set the identifier of the assumed role session.' type: string default: null nullable: true x-speakeasy-param-computed: false aws_sts_endpoint_url: description: 'If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_bucket_prefix: description: 'S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_role_arn: description: AWS role arn used for calling batch API. Try to get the value from request if ommited. type: string default: null nullable: true x-speakeasy-param-computed: false embeddings_normalize: description: 'If using AWS providers (Bedrock), set to true to normalize the embeddings.' type: boolean default: false performance_config_latency: description: Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration. type: string default: null nullable: true x-speakeasy-param-computed: false video_output_s3_uri: description: 'S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false cache_read_cost: description: Defines the cost per 1M cache-read (cached) prompt tokens. type: number default: null nullable: true x-speakeasy-param-computed: false cache_write_cost: description: Defines the cost per 1M cache-write prompt tokens. type: number default: null nullable: true x-speakeasy-param-computed: false cache_write_cost_list: description: 'Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this if the upstream provider charges differently for different cache TTLs, as Anthropic does for 5m and 1h TTLs.' type: array items: properties: cost: type: number ttl: type: string required: - cost - ttl type: object default: null nullable: true x-speakeasy-param-computed: false cohere: type: object default: null nullable: true properties: embedding_input_type: description: The purpose of the input text to calculate embedding vectors. type: string default: classification enum: - classification - clustering - image - search_document - search_query x-speakeasy-unknown-values: allow wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false context_window_factor: description: 'Above an input-token threshold, scale input/output pricing with the corresponding factor.' type: array items: properties: above: type: string input_factor: type: number output_factor: type: number required: - above - input_factor - output_factor type: object default: null nullable: true x-speakeasy-param-computed: false dashscope: type: object default: null nullable: true properties: international: description: | Two Dashscope endpoints are available, and the international endpoint will be used when this is set to `true`. It is recommended to set this to `true` when using international version of dashscope. type: boolean default: true x-speakeasy-param-computed: false databricks: type: object default: null nullable: true properties: workspace_instance_id: description: Workspace Instance ID ('dbc-xxx-yyy') for Databricks model serving. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false embeddings_dimensions: description: 'If using embeddings models, set the number of dimensions to generate.' type: integer default: null nullable: true x-speakeasy-param-computed: false gemini: type: object default: null nullable: true properties: api_endpoint: description: 'If running Gemini on Vertex, specify the regional API endpoint (hostname only).' type: string default: null nullable: true x-speakeasy-param-computed: false endpoint_id: description: 'If running Gemini on Vertex Model Garden, specify the endpoint ID.' type: string default: null nullable: true x-speakeasy-param-computed: false location_id: description: 'If running Gemini on Vertex, specify the location ID.' type: string default: null nullable: true x-speakeasy-param-computed: false project_id: description: 'If running Gemini on Vertex, specify the project ID.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false huggingface: type: object default: null nullable: true properties: use_cache: description: Use the cache layer on the inference API type: boolean default: null nullable: true x-speakeasy-param-computed: false wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false input_cost: description: Defines the cost per 1M tokens in your prompt. type: number default: null nullable: true x-speakeasy-param-computed: false llama2_format: description: 'If using llama2 provider, select the upstream message format.' type: string enum: - ollama - openai - raw x-speakeasy-unknown-values: allow max_tokens: description: 'Defines the max_tokens, if using chat or completion models.' type: integer default: null nullable: true x-speakeasy-param-computed: false mistral_format: description: 'If using mistral provider, select the upstream message format.' type: string enum: - ollama - openai x-speakeasy-unknown-values: allow output_cost: description: Defines the cost per 1M tokens in the output of the AI. type: number default: null nullable: true x-speakeasy-param-computed: false service_tier_factor: description: 'Multiplier applied to the whole request for a service tier. No need to configure a standard/default tier, as the default factor is 1.0 if none of the tier is matched.' type: array items: properties: factor: type: number tier: description: 'A word matched case-insensitively as a substring of the vendor''s reported service tier (e.g. ''priority'', ''flex'', or ''throughput'' for Gemini/Vertex''s PROVISIONED_THROUGHPUT). If several entries match, the longest (most specific) wins; array order doesn''t matter. Configure ''priority'' will also match ''fast'' (whole word) as OpenAI returns either ''priority'' or ''fast'' for priority service tier.' type: string minLength: 1 required: - factor - tier type: object default: null nullable: true x-speakeasy-param-computed: false temperature: description: 'Defines the matching temperature, if using chat or completion models.' type: number default: null maximum: 5 minimum: 0 nullable: true x-speakeasy-param-computed: false top_k: description: 'Defines the top-k most likely tokens, if supported.' type: integer default: null maximum: 500 minimum: 0 nullable: true x-speakeasy-param-computed: false top_p: description: 'Defines the top-p probability mass, if supported.' type: number default: null maximum: 1 minimum: 0 nullable: true x-speakeasy-param-computed: false upstream_path: description: 'Manually specify or override the AI operation path, used when e.g. using the ''preserve'' route_type.' type: string default: null nullable: true x-speakeasy-param-computed: false upstream_url: description: 'Manually specify or override the full URL to the AI operation endpoints, when calling (self-)hosted models, or for running via a private endpoint.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false provider: description: AI provider request format - Kong translates requests to and from the specified backend compatible formats. type: string enum: - anthropic - azure - bedrock - cerebras - cohere - dashscope - databricks - deepseek - gemini - huggingface - llama2 - mistral - ollama - openai - vllm - xai x-speakeasy-unknown-values: allow required: - provider model_name_header: description: Display the model name selected in the X-Kong-LLM-Model response header type: boolean default: true response_streaming: description: 'Whether to ''optionally allow'', ''deny'', or ''always'' (force) the streaming of answers via server sent events.' type: string default: allow enum: - allow - always - deny x-speakeasy-unknown-values: allow route_type: description: 'The model''s operation implementation, for this provider. ' type: string enum: - audio/v1/audio/speech - audio/v1/audio/transcriptions - audio/v1/audio/translations - image/v1/images/edits - image/v1/images/generations - llm/v1/assistants - llm/v1/batches - llm/v1/chat - llm/v1/completions - llm/v1/embeddings - llm/v1/files - llm/v1/responses - preserve - realtime/v1/realtime - video/v1/videos/generations x-speakeasy-unknown-values: allow required: - model - route_type consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-proxy protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpc - grpcs - http - https - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https - ws - wss route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 AiRagInjectorPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiRagInjectorPluginConfig' AiRagInjectorPluginConfig: x-speakeasy-entity: GatewayPluginAiRagInjector properties: config: type: object properties: collection_acl_config: description: Per-collection ACL overrides type: object default: null additionalProperties: properties: allow: description: Consumer identifiers allowed access to this collection type: array items: type: string default: [] deny: description: Consumer identifiers denied access to this collection type: array items: type: string default: [] type: object nullable: true x-speakeasy-param-computed: false consumer_identifier: description: The type of consumer identifier used for ACL checks type: string default: consumer_group enum: - consumer_group - consumer_id - custom_id - username x-speakeasy-unknown-values: allow embeddings: type: object properties: auth: type: object default: null nullable: true properties: allow_override: description: 'If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin.' type: boolean default: false aws_access_key_id: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_ACCESS_KEY_ID environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_SECRET_ACCESS_KEY environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_use_managed_identity: description: Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. type: boolean default: false gcp_metadata_url: description: 'Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_oauth_token_url: description: 'Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: 'Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcp_use_service_account is true), Kong will attempt to read from environment variable `GCP_SERVICE_ACCOUNT`.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_use_service_account: description: Use service account auth for GCP-based providers and models. type: boolean default: false header_name: description: 'If AI model requires authentication via Authorization or API key header, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false header_value: description: 'Specify the full auth header value for ''header_name'', for example ''Bearer key'' or just ''key''.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false param_location: description: 'Specify whether the ''param_name'' and ''param_value'' options go in a query string, or the POST form/JSON body.' type: string enum: - body - query x-speakeasy-unknown-values: allow param_name: description: 'If AI model requires authentication via query parameter, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false param_value: description: Specify the full parameter value for 'param_name'. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false model: type: object properties: name: description: Model name to execute. type: string options: description: Key/value settings for the model type: object default: null nullable: true properties: azure: type: object default: null nullable: true properties: api_version: description: '''api-version'' for Azure OpenAI instances.' type: string default: '2023-05-15' deployment_id: description: Deployment ID for Azure OpenAI instances. type: string default: null nullable: true x-speakeasy-param-computed: false instance: description: Instance name for Azure OpenAI hosted models. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false bedrock: type: object default: null nullable: true properties: aws_assume_role_arn: description: If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful. type: string default: null nullable: true x-speakeasy-param-computed: false aws_region: description: If using AWS providers (Bedrock) you can override the `AWS_REGION` environment variable by setting this option. type: string default: null nullable: true x-speakeasy-param-computed: false aws_role_session_name: description: 'If using AWS providers (Bedrock), set the identifier of the assumed role session.' type: string default: null nullable: true x-speakeasy-param-computed: false aws_sts_endpoint_url: description: 'If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_bucket_prefix: description: 'S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_role_arn: description: AWS role arn used for calling batch API. Try to get the value from request if ommited. type: string default: null nullable: true x-speakeasy-param-computed: false embeddings_normalize: description: 'If using AWS providers (Bedrock), set to true to normalize the embeddings.' type: boolean default: false performance_config_latency: description: Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration. type: string default: null nullable: true x-speakeasy-param-computed: false video_output_s3_uri: description: 'S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false gemini: type: object default: null nullable: true properties: api_endpoint: description: 'If running Gemini on Vertex, specify the regional API endpoint (hostname only).' type: string default: null nullable: true x-speakeasy-param-computed: false location_id: description: 'If running Gemini on Vertex, specify the location ID.' type: string default: null nullable: true x-speakeasy-param-computed: false project_id: description: 'If running Gemini on Vertex, specify the project ID.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false huggingface: type: object default: null nullable: true properties: use_cache: description: Use the cache layer on the inference API type: boolean default: null nullable: true x-speakeasy-param-computed: false wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false upstream_url: description: upstream url for the embeddings type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false provider: description: AI provider format to use for embeddings API type: string enum: - azure - bedrock - gemini - huggingface - mistral - ollama - openai x-speakeasy-unknown-values: allow required: - name - provider required: - model fetch_chunks_count: description: The maximum number of chunks to fetch from vectordb type: number default: 5 filter_mode: description: 'Defines how the plugin behaves when a filter is invalid. Set to `compatible` to ignore invalid filters, or `strict` to raise an error. This can be overridden per request.' type: string default: compatible enum: - compatible - strict x-speakeasy-unknown-values: allow global_acl_config: description: Global ACL configuration for all RAG operations type: object default: null nullable: true properties: allow: description: 'Consumer identifiers allowed access (groups, IDs, usernames, or custom IDs based on consumer_identifier setting)' type: array items: type: string default: [] deny: description: 'Consumer identifiers denied access (groups, IDs, usernames, or custom IDs based on consumer_identifier setting)' type: array items: type: string default: [] x-speakeasy-param-computed: false inject_as_role: type: string default: user enum: - assistant - system - user x-speakeasy-unknown-values: allow inject_template: type: string default: |- <CONTEXT> <PROMPT> max_filter_clauses: description: Maximum number of filter clauses allowed type: integer default: 100 maximum: 1000 minimum: 1 stop_on_failure: description: Halt the LLM request process in case of a vectordb or embeddings service failure type: boolean default: false stop_on_filter_error: description: Default behavior when filter parsing fails (can be overridden per-request) type: boolean default: false vectordb: type: object properties: dimensions: description: the desired dimensionality for the vectors type: integer distance_metric: description: the distance metric to use for vector searches type: string enum: - cosine - euclidean x-speakeasy-unknown-values: allow pgvector: type: object default: null nullable: true properties: database: description: the database of the pgvector database type: string default: kong-pgvector host: description: the host of the pgvector database type: string default: 127.0.0.1 password: description: the password of the pgvector database type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: the port of the pgvector database type: integer default: 5432 ssl: description: whether to use ssl for the pgvector database type: boolean default: false ssl_cert: description: the path of ssl cert to use for the pgvector database type: string default: null nullable: true x-speakeasy-param-computed: false ssl_cert_key: description: the path of ssl cert key to use for the pgvector database type: string default: null nullable: true x-speakeasy-param-computed: false ssl_required: description: whether ssl is required for the pgvector database type: boolean default: false ssl_verify: description: whether to verify ssl for the pgvector database type: boolean default: false ssl_version: description: the ssl version to use for the pgvector database type: string default: tlsv1_2 enum: - any - tlsv1_2 - tlsv1_3 x-speakeasy-unknown-values: allow timeout: description: the timeout of the pgvector database type: number default: 5000 user: description: the user of the pgvector database type: string default: postgres x-referenceable: true x-speakeasy-param-computed: false redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end strategy: description: which vector database driver to use type: string enum: - pgvector - redis x-speakeasy-unknown-values: allow threshold: description: the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar. type: number default: null nullable: true x-speakeasy-param-computed: false required: - dimensions - distance_metric - strategy vectordb_namespace: description: The namespace of the vectordb to use for embeddings lookup type: string default: kong_rag_injector consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-rag-injector protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: embeddings paths: - config.embeddings - name: vectordb paths: - config.vectordb AiRateLimitingAdvancedPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiRateLimitingAdvancedPluginConfig' AiRateLimitingAdvancedPluginConfig: x-speakeasy-entity: GatewayPluginAiRateLimitingAdvanced properties: config: type: object default: null nullable: true properties: custom_cost_count_function: description: 'If defined, it uses custom function to generate cost for the inference request' type: string default: null nullable: true x-speakeasy-param-computed: false decrease_by_fractions_in_redis: description: 'By default, Kong decreates the AI rate limiting counters by whole number in Redis. This setting allows to decrease the counters by float number.' type: boolean default: false dictionary_name: description: 'The shared dictionary where counters are stored. When the plugin is configured to synchronize counter data externally (that is `config.strategy` is `cluster` or `redis` and `config.sync_rate` isn''t `-1`), this dictionary serves as a buffer to populate counters in the data store on each synchronization cycle. The dictionary must be defined in the nginx configuration using `lua_shared_dict` directive (e.g., `lua_shared_dict kong_rate_limiting_counters 12m`).' type: string default: kong_rate_limiting_counters disable_penalty: description: 'If set to `true`, this doesn''t count denied requests (status = `429`). If set to `false`, all requests, including denied ones, are counted. This parameter only affects the `sliding` window_type and the request prompt provider.' type: boolean default: false error_code: description: Set a custom error code to return when the rate limit is exceeded. type: number default: 429 error_hide_providers: description: Optionally hide informative response that would otherwise provide information about the provider in the error message. type: boolean default: false error_message: description: Set a custom error message to return when the rate limit is exceeded. type: string default: 'AI token rate limit exceeded for provider(s): ' header_name: description: A string representing an HTTP header name. type: string default: null nullable: true x-speakeasy-param-computed: false hide_client_headers: description: Optionally hide informative response headers that would otherwise provide information about the current status of limits and counters. type: boolean default: false identifier: description: 'The type of identifier used to generate the rate limit key. Defines the scope used to increment the rate limiting counters. Can be `ip`, `credential`, `consumer`, `service`, `header`, `path` or `consumer-group`. Note if `identifier` is `consumer-group`, the plugin must be applied on a consumer group entity. Because a consumer may belong to multiple consumer groups, the plugin needs to know explicitly which consumer group to limit the rate.' type: string default: consumer enum: - consumer - consumer-group - credential - header - ip - path - service x-speakeasy-unknown-values: allow llm_format: description: LLM input and output format and schema to use type: string enum: - anthropic - bedrock - cohere - gemini - huggingface - openai x-speakeasy-unknown-values: allow llm_providers: description: 'The provider config. Takes an array of `name`, `limit` and `window size` values. Mutually exclusive with `policies`.' type: array items: properties: limit: description: One or more requests-per-window limits to apply. There must be a matching number of window limits and sizes specified. type: array items: type: number name: description: The LLM provider to which the rate limit applies. type: string enum: - anthropic - azure - bedrock - cohere - customCost - gemini - huggingface - llama2 - mistral - openai - requestPrompt x-speakeasy-unknown-values: allow window_size: description: One or more window sizes to apply a limit to (defined in seconds). There must be a matching number of window limits and sizes specified. type: array items: type: number required: - limit - name - window_size type: object default: null nullable: true x-speakeasy-param-computed: false namespace: description: 'The rate limiting library namespace to use for this plugin instance. Counter data and sync configuration is isolated in each namespace. NOTE: For the plugin instances sharing the same namespace, all the configurations that are required for synchronizing counters, e.g. `strategy`, `redis`, `sync_rate`, `dictionary_name`, need to be the same.' type: string default: null nullable: true x-speakeasy-param-computed: false path: description: 'A string representing a URL path, such as /path/to/resource. Must start with a forward slash (/) and must not contain empty segments (i.e., two consecutive forward slashes).' type: string default: null nullable: true x-speakeasy-param-computed: false policies: description: Policy-based rate limiting. Each policy defines match conditions and limits. Mutually exclusive with `llm_providers`. type: array items: properties: id: description: UUID reference to a reusable ai_rate_limiting_policies DAO entity. Mutually exclusive with inline limits. type: string limits: description: Rate limits to enforce when this policy matches. type: array items: properties: limit: description: The rate limit threshold for this window. type: number tokens_count_strategy: description: 'What to count for this limit. Supported strategies: total_tokens, prompt_tokens, completion_tokens, cost.' type: string default: total_tokens enum: - completion_tokens - cost - prompt_tokens - total_tokens x-speakeasy-unknown-values: allow window_size: description: The window size in seconds. type: integer required: - limit - window_size type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false match: description: 'Array of match conditions (AND logic). If omitted, this policy acts as a fallback for unmatched requests.' type: array items: properties: key: description: 'Sub-key for consumer (id|username|custom_id), consumer_group (id|name), or header (header name).' type: string default: null nullable: true x-speakeasy-param-computed: false partition_by: description: 'If true, the matched value contributes to the composite rate limit counter key.' type: boolean default: false type: description: The attribute to match against. type: string enum: - consumer - consumer_group - header - ip - model - path - provider x-speakeasy-unknown-values: allow values: description: 'Values to match. If omitted, matches any value of this type.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false required: - type type: object default: null nullable: true x-speakeasy-param-computed: false window_type: description: The time window type for this policy. type: string default: sliding enum: - fixed - sliding x-speakeasy-unknown-values: allow type: object default: null nullable: true x-speakeasy-param-computed: false redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end request_prompt_count_function: description: 'If defined, it use custom function to count requests for the request prompt provider' type: string default: null nullable: true x-speakeasy-param-computed: false retry_after_jitter_max: description: 'The upper bound of a jitter (random delay) in seconds to be added to the `Retry-After` header of denied requests (status = `429`) in order to prevent all the clients from coming back at the same time. The lower bound of the jitter is `0`; in this case, the `Retry-After` header is equal to the `RateLimit-Reset` header.' type: number default: 0 strategy: description: 'The rate-limiting strategy to use for retrieving and incrementing the limits. Available values are: `local`, `redis` and `cluster`.' type: string default: local enum: - cluster - local - redis x-speakeasy-unknown-values: allow sync_rate: description: How often to sync counter data to the central data store. A value of 0 results in synchronous behavior; a value of -1 ignores sync behavior entirely and only stores counters in node memory. A value greater than 0 will sync the counters in the specified number of seconds. The minimum allowed interval is 0.02 seconds (20ms). type: number default: null nullable: true x-speakeasy-param-computed: false tokens_count_strategy: description: 'What tokens to use for cost calculation. Available values are: `total_tokens` `prompt_tokens`, `completion_tokens` or `cost`.' type: string default: total_tokens enum: - completion_tokens - cost - prompt_tokens - total_tokens x-speakeasy-unknown-values: allow window_type: description: 'Sets the time window type to either `sliding` (default) or `fixed`. Sliding windows apply the rate limiting logic while taking into account previous hit rates (from the window that immediately precedes the current) using a dynamic weight. Fixed windows consist of buckets that are statically assigned to a definitive time range, each request is mapped to only one fixed window based on its timestamp and will affect only that window''s counters.' type: string default: sliding enum: - fixed - sliding x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-rate-limiting-advanced protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ee paths: - config.redis AiRequestTransformerPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiRequestTransformerPluginConfig' AiRequestTransformerPluginConfig: x-speakeasy-entity: GatewayPluginAiRequestTransformer properties: config: type: object properties: http_proxy_host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false http_timeout: description: Timeout in milliseconds for the AI upstream service. type: integer default: 60000 https_proxy_host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false https_verify: description: Verify the TLS certificate of the AI upstream service. type: boolean default: true llm: type: object properties: auth: type: object default: null nullable: true properties: allow_override: description: 'If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin.' type: boolean default: false aws_access_key_id: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_ACCESS_KEY_ID environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_SECRET_ACCESS_KEY environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_use_managed_identity: description: Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. type: boolean default: false gcp_metadata_url: description: 'Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_oauth_token_url: description: 'Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: 'Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcp_use_service_account is true), Kong will attempt to read from environment variable `GCP_SERVICE_ACCOUNT`.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_use_service_account: description: Use service account auth for GCP-based providers and models. type: boolean default: false header_name: description: 'If AI model requires authentication via Authorization or API key header, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false header_value: description: 'Specify the full auth header value for ''header_name'', for example ''Bearer key'' or just ''key''.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false param_location: description: 'Specify whether the ''param_name'' and ''param_value'' options go in a query string, or the POST form/JSON body.' type: string enum: - body - query x-speakeasy-unknown-values: allow param_name: description: 'If AI model requires authentication via query parameter, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false param_value: description: Specify the full parameter value for 'param_name'. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false description: description: 'The semantic description of the target, required if using semantic load balancing. Specially, setting this to ''CATCHALL'' will indicate such target to be used when no other targets match the semantic threshold. Only used by ai-proxy-advanced.' type: string default: null nullable: true x-speakeasy-param-computed: false logging: type: object properties: log_payloads: description: 'If enabled, will log the request and response body into the Kong log plugin(s) output.Furthermore if Opentelemetry instrumentation is enabled the traces will contain this data as well.' type: boolean default: false log_statistics: description: 'If enabled and supported by the driver, will add model usage and token metrics into the Kong log plugin(s) output.' type: boolean default: false x-speakeasy-param-computed: true metadata: description: 'For internal use only. ' type: object additionalProperties: true nullable: true x-speakeasy-terraform-ignore: true x-speakeasy-type-override: any model: type: object properties: model_alias: description: The model name parameter from the request that this model should map to. type: string default: null nullable: true x-speakeasy-param-computed: false name: description: Model name to execute. type: string default: null nullable: true x-speakeasy-param-computed: false options: description: Key/value settings for the model type: object default: null nullable: true properties: anthropic_version: description: 'Defines the schema/API version, if using Anthropic provider.' type: string default: null nullable: true x-speakeasy-param-computed: false azure_api_version: description: '''api-version'' for Azure OpenAI instances.' type: string default: '2023-05-15' azure_deployment_id: description: Deployment ID for Azure OpenAI instances. type: string default: null nullable: true x-speakeasy-param-computed: false azure_instance: description: Instance name for Azure OpenAI hosted models. type: string default: null nullable: true x-speakeasy-param-computed: false bedrock: type: object default: null nullable: true properties: aws_assume_role_arn: description: If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful. type: string default: null nullable: true x-speakeasy-param-computed: false aws_region: description: If using AWS providers (Bedrock) you can override the `AWS_REGION` environment variable by setting this option. type: string default: null nullable: true x-speakeasy-param-computed: false aws_role_session_name: description: 'If using AWS providers (Bedrock), set the identifier of the assumed role session.' type: string default: null nullable: true x-speakeasy-param-computed: false aws_sts_endpoint_url: description: 'If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_bucket_prefix: description: 'S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_role_arn: description: AWS role arn used for calling batch API. Try to get the value from request if ommited. type: string default: null nullable: true x-speakeasy-param-computed: false embeddings_normalize: description: 'If using AWS providers (Bedrock), set to true to normalize the embeddings.' type: boolean default: false performance_config_latency: description: Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration. type: string default: null nullable: true x-speakeasy-param-computed: false video_output_s3_uri: description: 'S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false cache_read_cost: description: Defines the cost per 1M cache-read (cached) prompt tokens. type: number default: null nullable: true x-speakeasy-param-computed: false cache_write_cost: description: Defines the cost per 1M cache-write prompt tokens. type: number default: null nullable: true x-speakeasy-param-computed: false cache_write_cost_list: description: 'Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this if the upstream provider charges differently for different cache TTLs, as Anthropic does for 5m and 1h TTLs.' type: array items: properties: cost: type: number ttl: type: string required: - cost - ttl type: object default: null nullable: true x-speakeasy-param-computed: false cohere: type: object default: null nullable: true properties: embedding_input_type: description: The purpose of the input text to calculate embedding vectors. type: string default: classification enum: - classification - clustering - image - search_document - search_query x-speakeasy-unknown-values: allow wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false context_window_factor: description: 'Above an input-token threshold, scale input/output pricing with the corresponding factor.' type: array items: properties: above: type: string input_factor: type: number output_factor: type: number required: - above - input_factor - output_factor type: object default: null nullable: true x-speakeasy-param-computed: false dashscope: type: object default: null nullable: true properties: international: description: | Two Dashscope endpoints are available, and the international endpoint will be used when this is set to `true`. It is recommended to set this to `true` when using international version of dashscope. type: boolean default: true x-speakeasy-param-computed: false databricks: type: object default: null nullable: true properties: workspace_instance_id: description: Workspace Instance ID ('dbc-xxx-yyy') for Databricks model serving. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false embeddings_dimensions: description: 'If using embeddings models, set the number of dimensions to generate.' type: integer default: null nullable: true x-speakeasy-param-computed: false gemini: type: object default: null nullable: true properties: api_endpoint: description: 'If running Gemini on Vertex, specify the regional API endpoint (hostname only).' type: string default: null nullable: true x-speakeasy-param-computed: false endpoint_id: description: 'If running Gemini on Vertex Model Garden, specify the endpoint ID.' type: string default: null nullable: true x-speakeasy-param-computed: false location_id: description: 'If running Gemini on Vertex, specify the location ID.' type: string default: null nullable: true x-speakeasy-param-computed: false project_id: description: 'If running Gemini on Vertex, specify the project ID.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false huggingface: type: object default: null nullable: true properties: use_cache: description: Use the cache layer on the inference API type: boolean default: null nullable: true x-speakeasy-param-computed: false wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false input_cost: description: Defines the cost per 1M tokens in your prompt. type: number default: null nullable: true x-speakeasy-param-computed: false llama2_format: description: 'If using llama2 provider, select the upstream message format.' type: string enum: - ollama - openai - raw x-speakeasy-unknown-values: allow max_tokens: description: 'Defines the max_tokens, if using chat or completion models.' type: integer default: null nullable: true x-speakeasy-param-computed: false mistral_format: description: 'If using mistral provider, select the upstream message format.' type: string enum: - ollama - openai x-speakeasy-unknown-values: allow output_cost: description: Defines the cost per 1M tokens in the output of the AI. type: number default: null nullable: true x-speakeasy-param-computed: false service_tier_factor: description: 'Multiplier applied to the whole request for a service tier. No need to configure a standard/default tier, as the default factor is 1.0 if none of the tier is matched.' type: array items: properties: factor: type: number tier: description: 'A word matched case-insensitively as a substring of the vendor''s reported service tier (e.g. ''priority'', ''flex'', or ''throughput'' for Gemini/Vertex''s PROVISIONED_THROUGHPUT). If several entries match, the longest (most specific) wins; array order doesn''t matter. Configure ''priority'' will also match ''fast'' (whole word) as OpenAI returns either ''priority'' or ''fast'' for priority service tier.' type: string minLength: 1 required: - factor - tier type: object default: null nullable: true x-speakeasy-param-computed: false temperature: description: 'Defines the matching temperature, if using chat or completion models.' type: number default: null maximum: 5 minimum: 0 nullable: true x-speakeasy-param-computed: false top_k: description: 'Defines the top-k most likely tokens, if supported.' type: integer default: null maximum: 500 minimum: 0 nullable: true x-speakeasy-param-computed: false top_p: description: 'Defines the top-p probability mass, if supported.' type: number default: null maximum: 1 minimum: 0 nullable: true x-speakeasy-param-computed: false upstream_path: description: 'Manually specify or override the AI operation path, used when e.g. using the ''preserve'' route_type.' type: string default: null nullable: true x-speakeasy-param-computed: false upstream_url: description: 'Manually specify or override the full URL to the AI operation endpoints, when calling (self-)hosted models, or for running via a private endpoint.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false provider: description: AI provider request format - Kong translates requests to and from the specified backend compatible formats. type: string enum: - anthropic - azure - bedrock - cerebras - cohere - dashscope - databricks - deepseek - gemini - huggingface - llama2 - mistral - ollama - openai - vllm - xai x-speakeasy-unknown-values: allow required: - provider route_type: description: 'The model''s operation implementation, for this provider. ' type: string enum: - audio/v1/audio/speech - audio/v1/audio/transcriptions - audio/v1/audio/translations - image/v1/images/edits - image/v1/images/generations - llm/v1/assistants - llm/v1/batches - llm/v1/chat - llm/v1/completions - llm/v1/embeddings - llm/v1/files - llm/v1/responses - preserve - realtime/v1/realtime - video/v1/videos/generations x-speakeasy-unknown-values: allow weight: description: The weight this target gets within the upstream loadbalancer (1-65535). Only used by ai-proxy-advanced. type: integer default: 100 maximum: 65535 minimum: 1 required: - model - route_type max_request_body_size: description: 'max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx''s client_max_body_size.' type: integer default: 1048576 prompt: description: 'Use this prompt to tune the LLM system/assistant message for the incoming proxy request (from the client), and what you are expecting in return.' type: string transformation_extract_pattern: description: 'Defines the regular expression that must match to indicate a successful AI transformation at the request phase. The first match will be set as the outgoing body. If the AI service''s response doesn''t match this pattern, it is marked as a failure.' type: string default: null nullable: true x-speakeasy-param-computed: false required: - prompt consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-request-transformer protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: model paths: - config.llm AiResponseTransformerPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiResponseTransformerPluginConfig' AiResponseTransformerPluginConfig: x-speakeasy-entity: GatewayPluginAiResponseTransformer properties: config: type: object properties: http_proxy_host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false http_timeout: description: Timeout in milliseconds for the AI upstream service. type: integer default: 60000 https_proxy_host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false https_verify: description: Verify the TLS certificate of the AI upstream service. type: boolean default: true llm: type: object properties: auth: type: object default: null nullable: true properties: allow_override: description: 'If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin.' type: boolean default: false aws_access_key_id: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_ACCESS_KEY_ID environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_SECRET_ACCESS_KEY environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_use_managed_identity: description: Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. type: boolean default: false gcp_metadata_url: description: 'Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_oauth_token_url: description: 'Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: 'Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcp_use_service_account is true), Kong will attempt to read from environment variable `GCP_SERVICE_ACCOUNT`.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_use_service_account: description: Use service account auth for GCP-based providers and models. type: boolean default: false header_name: description: 'If AI model requires authentication via Authorization or API key header, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false header_value: description: 'Specify the full auth header value for ''header_name'', for example ''Bearer key'' or just ''key''.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false param_location: description: 'Specify whether the ''param_name'' and ''param_value'' options go in a query string, or the POST form/JSON body.' type: string enum: - body - query x-speakeasy-unknown-values: allow param_name: description: 'If AI model requires authentication via query parameter, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false param_value: description: Specify the full parameter value for 'param_name'. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false description: description: 'The semantic description of the target, required if using semantic load balancing. Specially, setting this to ''CATCHALL'' will indicate such target to be used when no other targets match the semantic threshold. Only used by ai-proxy-advanced.' type: string default: null nullable: true x-speakeasy-param-computed: false logging: type: object properties: log_payloads: description: 'If enabled, will log the request and response body into the Kong log plugin(s) output.Furthermore if Opentelemetry instrumentation is enabled the traces will contain this data as well.' type: boolean default: false log_statistics: description: 'If enabled and supported by the driver, will add model usage and token metrics into the Kong log plugin(s) output.' type: boolean default: false x-speakeasy-param-computed: true metadata: description: 'For internal use only. ' type: object additionalProperties: true nullable: true x-speakeasy-terraform-ignore: true x-speakeasy-type-override: any model: type: object properties: model_alias: description: The model name parameter from the request that this model should map to. type: string default: null nullable: true x-speakeasy-param-computed: false name: description: Model name to execute. type: string default: null nullable: true x-speakeasy-param-computed: false options: description: Key/value settings for the model type: object default: null nullable: true properties: anthropic_version: description: 'Defines the schema/API version, if using Anthropic provider.' type: string default: null nullable: true x-speakeasy-param-computed: false azure_api_version: description: '''api-version'' for Azure OpenAI instances.' type: string default: '2023-05-15' azure_deployment_id: description: Deployment ID for Azure OpenAI instances. type: string default: null nullable: true x-speakeasy-param-computed: false azure_instance: description: Instance name for Azure OpenAI hosted models. type: string default: null nullable: true x-speakeasy-param-computed: false bedrock: type: object default: null nullable: true properties: aws_assume_role_arn: description: If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful. type: string default: null nullable: true x-speakeasy-param-computed: false aws_region: description: If using AWS providers (Bedrock) you can override the `AWS_REGION` environment variable by setting this option. type: string default: null nullable: true x-speakeasy-param-computed: false aws_role_session_name: description: 'If using AWS providers (Bedrock), set the identifier of the assumed role session.' type: string default: null nullable: true x-speakeasy-param-computed: false aws_sts_endpoint_url: description: 'If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_bucket_prefix: description: 'S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_role_arn: description: AWS role arn used for calling batch API. Try to get the value from request if ommited. type: string default: null nullable: true x-speakeasy-param-computed: false embeddings_normalize: description: 'If using AWS providers (Bedrock), set to true to normalize the embeddings.' type: boolean default: false performance_config_latency: description: Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration. type: string default: null nullable: true x-speakeasy-param-computed: false video_output_s3_uri: description: 'S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false cache_read_cost: description: Defines the cost per 1M cache-read (cached) prompt tokens. type: number default: null nullable: true x-speakeasy-param-computed: false cache_write_cost: description: Defines the cost per 1M cache-write prompt tokens. type: number default: null nullable: true x-speakeasy-param-computed: false cache_write_cost_list: description: 'Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this if the upstream provider charges differently for different cache TTLs, as Anthropic does for 5m and 1h TTLs.' type: array items: properties: cost: type: number ttl: type: string required: - cost - ttl type: object default: null nullable: true x-speakeasy-param-computed: false cohere: type: object default: null nullable: true properties: embedding_input_type: description: The purpose of the input text to calculate embedding vectors. type: string default: classification enum: - classification - clustering - image - search_document - search_query x-speakeasy-unknown-values: allow wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false context_window_factor: description: 'Above an input-token threshold, scale input/output pricing with the corresponding factor.' type: array items: properties: above: type: string input_factor: type: number output_factor: type: number required: - above - input_factor - output_factor type: object default: null nullable: true x-speakeasy-param-computed: false dashscope: type: object default: null nullable: true properties: international: description: | Two Dashscope endpoints are available, and the international endpoint will be used when this is set to `true`. It is recommended to set this to `true` when using international version of dashscope. type: boolean default: true x-speakeasy-param-computed: false databricks: type: object default: null nullable: true properties: workspace_instance_id: description: Workspace Instance ID ('dbc-xxx-yyy') for Databricks model serving. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false embeddings_dimensions: description: 'If using embeddings models, set the number of dimensions to generate.' type: integer default: null nullable: true x-speakeasy-param-computed: false gemini: type: object default: null nullable: true properties: api_endpoint: description: 'If running Gemini on Vertex, specify the regional API endpoint (hostname only).' type: string default: null nullable: true x-speakeasy-param-computed: false endpoint_id: description: 'If running Gemini on Vertex Model Garden, specify the endpoint ID.' type: string default: null nullable: true x-speakeasy-param-computed: false location_id: description: 'If running Gemini on Vertex, specify the location ID.' type: string default: null nullable: true x-speakeasy-param-computed: false project_id: description: 'If running Gemini on Vertex, specify the project ID.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false huggingface: type: object default: null nullable: true properties: use_cache: description: Use the cache layer on the inference API type: boolean default: null nullable: true x-speakeasy-param-computed: false wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false input_cost: description: Defines the cost per 1M tokens in your prompt. type: number default: null nullable: true x-speakeasy-param-computed: false llama2_format: description: 'If using llama2 provider, select the upstream message format.' type: string enum: - ollama - openai - raw x-speakeasy-unknown-values: allow max_tokens: description: 'Defines the max_tokens, if using chat or completion models.' type: integer default: null nullable: true x-speakeasy-param-computed: false mistral_format: description: 'If using mistral provider, select the upstream message format.' type: string enum: - ollama - openai x-speakeasy-unknown-values: allow output_cost: description: Defines the cost per 1M tokens in the output of the AI. type: number default: null nullable: true x-speakeasy-param-computed: false service_tier_factor: description: 'Multiplier applied to the whole request for a service tier. No need to configure a standard/default tier, as the default factor is 1.0 if none of the tier is matched.' type: array items: properties: factor: type: number tier: description: 'A word matched case-insensitively as a substring of the vendor''s reported service tier (e.g. ''priority'', ''flex'', or ''throughput'' for Gemini/Vertex''s PROVISIONED_THROUGHPUT). If several entries match, the longest (most specific) wins; array order doesn''t matter. Configure ''priority'' will also match ''fast'' (whole word) as OpenAI returns either ''priority'' or ''fast'' for priority service tier.' type: string minLength: 1 required: - factor - tier type: object default: null nullable: true x-speakeasy-param-computed: false temperature: description: 'Defines the matching temperature, if using chat or completion models.' type: number default: null maximum: 5 minimum: 0 nullable: true x-speakeasy-param-computed: false top_k: description: 'Defines the top-k most likely tokens, if supported.' type: integer default: null maximum: 500 minimum: 0 nullable: true x-speakeasy-param-computed: false top_p: description: 'Defines the top-p probability mass, if supported.' type: number default: null maximum: 1 minimum: 0 nullable: true x-speakeasy-param-computed: false upstream_path: description: 'Manually specify or override the AI operation path, used when e.g. using the ''preserve'' route_type.' type: string default: null nullable: true x-speakeasy-param-computed: false upstream_url: description: 'Manually specify or override the full URL to the AI operation endpoints, when calling (self-)hosted models, or for running via a private endpoint.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false provider: description: AI provider request format - Kong translates requests to and from the specified backend compatible formats. type: string enum: - anthropic - azure - bedrock - cerebras - cohere - dashscope - databricks - deepseek - gemini - huggingface - llama2 - mistral - ollama - openai - vllm - xai x-speakeasy-unknown-values: allow required: - provider route_type: description: 'The model''s operation implementation, for this provider. ' type: string enum: - audio/v1/audio/speech - audio/v1/audio/transcriptions - audio/v1/audio/translations - image/v1/images/edits - image/v1/images/generations - llm/v1/assistants - llm/v1/batches - llm/v1/chat - llm/v1/completions - llm/v1/embeddings - llm/v1/files - llm/v1/responses - preserve - realtime/v1/realtime - video/v1/videos/generations x-speakeasy-unknown-values: allow weight: description: The weight this target gets within the upstream loadbalancer (1-65535). Only used by ai-proxy-advanced. type: integer default: 100 maximum: 65535 minimum: 1 required: - model - route_type max_request_body_size: description: 'max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx''s client_max_body_size.' type: integer default: 1048576 parse_llm_response_json_instructions: description: 'Set true to read specific response format from the LLM, and accordingly set the status code / body / headers that proxy back to the client. You need to engineer your LLM prompt to return the correct format, see plugin docs ''Overview'' page for usage instructions.' type: boolean default: false prompt: description: 'Use this prompt to tune the LLM system/assistant message for the returning proxy response (from the upstream), adn what response format you are expecting.' type: string transformation_extract_pattern: description: 'Defines the regular expression that must match to indicate a successful AI transformation at the response phase. The first match will be set as the returning body. If the AI service''s response doesn''t match this pattern, a failure is returned to the client.' type: string default: null nullable: true x-speakeasy-param-computed: false required: - prompt consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-response-transformer protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: model paths: - config.llm AiSanitizerPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiSanitizerPluginConfig' AiSanitizerPluginConfig: x-speakeasy-entity: GatewayPluginAiSanitizer properties: config: type: object default: null nullable: true properties: allow_all_conversation_history: description: 'If false, will ignore all previous chat messages from the conversation history.' type: boolean default: true anonymize: description: List of types to be anonymized type: array items: enum: - all - all_and_credentials - bank - credentials - creditcard - crypto - custom - date - domain - driverlicense - email - general - ip - medical - nationalid - nrp - passport - phone - ssn - url type: string x-speakeasy-unknown-values: allow default: - all_and_credentials block_if_detected: description: Whether to block requests containing PII data type: boolean default: false custom_patterns: description: List of custom patterns to be used for anonymization type: array items: properties: name: type: string regex: type: string score: type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: true required: - name - regex type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false host: description: The host of the sanitizer type: string default: localhost keepalive_timeout: description: The keepalive timeout for the established http connnection type: number default: 60000 port: description: The port of the sanitizer type: number default: 8080 recover_redacted: description: Whether to recover redacted data. This doesn't apply to the redacted output. type: boolean default: true redact_type: description: What value to be used to redacted to type: string default: placeholder enum: - placeholder - synthetic x-speakeasy-unknown-values: allow sanitization_mode: description: The sanitization mode to use for the request type: string default: INPUT enum: - BOTH - INPUT - OUTPUT x-speakeasy-unknown-values: allow scheme: description: The protocol can be http and https type: string default: http skip_logging_sanitized_items: description: Whether to log sanitized items in the Kong log plugins. Turn it on if you want to hide sensitive data from logs. type: boolean default: false stop_on_error: description: Stop processing if an error occurs. type: boolean default: true timeout: description: Connection timeout with the sanitizer type: number default: 10000 x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-sanitizer protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 AiSemanticCachePlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiSemanticCachePluginConfig' AiSemanticCachePluginConfig: x-speakeasy-entity: GatewayPluginAiSemanticCache properties: config: type: object properties: cache_control: description: 'When enabled, respect the Cache-Control behaviors defined in RFC7234.' type: boolean default: false cache_ttl: description: TTL in seconds of cache entities. Must be a value greater than 0. type: integer default: 300 embeddings: type: object properties: auth: type: object default: null nullable: true properties: allow_override: description: 'If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin.' type: boolean default: false aws_access_key_id: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_ACCESS_KEY_ID environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_SECRET_ACCESS_KEY environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_use_managed_identity: description: Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. type: boolean default: false gcp_metadata_url: description: 'Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_oauth_token_url: description: 'Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: 'Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcp_use_service_account is true), Kong will attempt to read from environment variable `GCP_SERVICE_ACCOUNT`.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_use_service_account: description: Use service account auth for GCP-based providers and models. type: boolean default: false header_name: description: 'If AI model requires authentication via Authorization or API key header, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false header_value: description: 'Specify the full auth header value for ''header_name'', for example ''Bearer key'' or just ''key''.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false param_location: description: 'Specify whether the ''param_name'' and ''param_value'' options go in a query string, or the POST form/JSON body.' type: string enum: - body - query x-speakeasy-unknown-values: allow param_name: description: 'If AI model requires authentication via query parameter, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false param_value: description: Specify the full parameter value for 'param_name'. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false model: type: object properties: name: description: Model name to execute. type: string options: description: Key/value settings for the model type: object default: null nullable: true properties: azure: type: object default: null nullable: true properties: api_version: description: '''api-version'' for Azure OpenAI instances.' type: string default: '2023-05-15' deployment_id: description: Deployment ID for Azure OpenAI instances. type: string default: null nullable: true x-speakeasy-param-computed: false instance: description: Instance name for Azure OpenAI hosted models. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false bedrock: type: object default: null nullable: true properties: aws_assume_role_arn: description: If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful. type: string default: null nullable: true x-speakeasy-param-computed: false aws_region: description: If using AWS providers (Bedrock) you can override the `AWS_REGION` environment variable by setting this option. type: string default: null nullable: true x-speakeasy-param-computed: false aws_role_session_name: description: 'If using AWS providers (Bedrock), set the identifier of the assumed role session.' type: string default: null nullable: true x-speakeasy-param-computed: false aws_sts_endpoint_url: description: 'If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_bucket_prefix: description: 'S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_role_arn: description: AWS role arn used for calling batch API. Try to get the value from request if ommited. type: string default: null nullable: true x-speakeasy-param-computed: false embeddings_normalize: description: 'If using AWS providers (Bedrock), set to true to normalize the embeddings.' type: boolean default: false performance_config_latency: description: Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration. type: string default: null nullable: true x-speakeasy-param-computed: false video_output_s3_uri: description: 'S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false gemini: type: object default: null nullable: true properties: api_endpoint: description: 'If running Gemini on Vertex, specify the regional API endpoint (hostname only).' type: string default: null nullable: true x-speakeasy-param-computed: false location_id: description: 'If running Gemini on Vertex, specify the location ID.' type: string default: null nullable: true x-speakeasy-param-computed: false project_id: description: 'If running Gemini on Vertex, specify the project ID.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false huggingface: type: object default: null nullable: true properties: use_cache: description: Use the cache layer on the inference API type: boolean default: null nullable: true x-speakeasy-param-computed: false wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false upstream_url: description: upstream url for the embeddings type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false provider: description: AI provider format to use for embeddings API type: string enum: - azure - bedrock - gemini - huggingface - mistral - ollama - openai x-speakeasy-unknown-values: allow required: - name - provider required: - model exact_caching: description: 'When enabled, a first check for exact query will be done. It will impact DB size' type: boolean default: false ignore_assistant_prompts: description: Ignore and discard any assistant prompts when Vectorizing the request type: boolean default: false ignore_system_prompts: description: Ignore and discard any system prompts when Vectorizing the request type: boolean default: false ignore_tool_prompts: description: Ignore and discard any tool prompts when Vectorizing the request type: boolean default: false llm_format: description: LLM input and output format and schema to use type: string default: openai enum: - anthropic - bedrock - cohere - gemini - huggingface - openai x-speakeasy-unknown-values: allow message_countback: description: Number of messages in the chat history to Vectorize/Cache type: number default: 1 maximum: 1000 minimum: 1 stop_on_failure: description: Halt the LLM request process in case of a caching system failure type: boolean default: false vectordb: type: object properties: dimensions: description: the desired dimensionality for the vectors type: integer distance_metric: description: the distance metric to use for vector searches type: string enum: - cosine - euclidean x-speakeasy-unknown-values: allow pgvector: type: object default: null nullable: true properties: database: description: the database of the pgvector database type: string default: kong-pgvector host: description: the host of the pgvector database type: string default: 127.0.0.1 password: description: the password of the pgvector database type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: the port of the pgvector database type: integer default: 5432 ssl: description: whether to use ssl for the pgvector database type: boolean default: false ssl_cert: description: the path of ssl cert to use for the pgvector database type: string default: null nullable: true x-speakeasy-param-computed: false ssl_cert_key: description: the path of ssl cert key to use for the pgvector database type: string default: null nullable: true x-speakeasy-param-computed: false ssl_required: description: whether ssl is required for the pgvector database type: boolean default: false ssl_verify: description: whether to verify ssl for the pgvector database type: boolean default: false ssl_version: description: the ssl version to use for the pgvector database type: string default: tlsv1_2 enum: - any - tlsv1_2 - tlsv1_3 x-speakeasy-unknown-values: allow timeout: description: the timeout of the pgvector database type: number default: 5000 user: description: the user of the pgvector database type: string default: postgres x-referenceable: true x-speakeasy-param-computed: false redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end strategy: description: which vector database driver to use type: string enum: - pgvector - redis x-speakeasy-unknown-values: allow threshold: description: the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar. type: number default: null nullable: true x-speakeasy-param-computed: false required: - dimensions - distance_metric - strategy consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-semantic-cache protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: embeddings paths: - config.embeddings - name: vectordb paths: - config.vectordb AiSemanticPromptGuardPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiSemanticPromptGuardPluginConfig' AiSemanticPromptGuardPluginConfig: x-speakeasy-entity: GatewayPluginAiSemanticPromptGuard properties: config: type: object properties: embeddings: type: object properties: auth: type: object default: null nullable: true properties: allow_override: description: 'If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin.' type: boolean default: false aws_access_key_id: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_ACCESS_KEY_ID environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_SECRET_ACCESS_KEY environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_use_managed_identity: description: Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. type: boolean default: false gcp_metadata_url: description: 'Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_oauth_token_url: description: 'Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: 'Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcp_use_service_account is true), Kong will attempt to read from environment variable `GCP_SERVICE_ACCOUNT`.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_use_service_account: description: Use service account auth for GCP-based providers and models. type: boolean default: false header_name: description: 'If AI model requires authentication via Authorization or API key header, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false header_value: description: 'Specify the full auth header value for ''header_name'', for example ''Bearer key'' or just ''key''.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false param_location: description: 'Specify whether the ''param_name'' and ''param_value'' options go in a query string, or the POST form/JSON body.' type: string enum: - body - query x-speakeasy-unknown-values: allow param_name: description: 'If AI model requires authentication via query parameter, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false param_value: description: Specify the full parameter value for 'param_name'. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false model: type: object properties: name: description: Model name to execute. type: string options: description: Key/value settings for the model type: object default: null nullable: true properties: azure: type: object default: null nullable: true properties: api_version: description: '''api-version'' for Azure OpenAI instances.' type: string default: '2023-05-15' deployment_id: description: Deployment ID for Azure OpenAI instances. type: string default: null nullable: true x-speakeasy-param-computed: false instance: description: Instance name for Azure OpenAI hosted models. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false bedrock: type: object default: null nullable: true properties: aws_assume_role_arn: description: If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful. type: string default: null nullable: true x-speakeasy-param-computed: false aws_region: description: If using AWS providers (Bedrock) you can override the `AWS_REGION` environment variable by setting this option. type: string default: null nullable: true x-speakeasy-param-computed: false aws_role_session_name: description: 'If using AWS providers (Bedrock), set the identifier of the assumed role session.' type: string default: null nullable: true x-speakeasy-param-computed: false aws_sts_endpoint_url: description: 'If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_bucket_prefix: description: 'S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_role_arn: description: AWS role arn used for calling batch API. Try to get the value from request if ommited. type: string default: null nullable: true x-speakeasy-param-computed: false embeddings_normalize: description: 'If using AWS providers (Bedrock), set to true to normalize the embeddings.' type: boolean default: false performance_config_latency: description: Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration. type: string default: null nullable: true x-speakeasy-param-computed: false video_output_s3_uri: description: 'S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false gemini: type: object default: null nullable: true properties: api_endpoint: description: 'If running Gemini on Vertex, specify the regional API endpoint (hostname only).' type: string default: null nullable: true x-speakeasy-param-computed: false location_id: description: 'If running Gemini on Vertex, specify the location ID.' type: string default: null nullable: true x-speakeasy-param-computed: false project_id: description: 'If running Gemini on Vertex, specify the project ID.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false huggingface: type: object default: null nullable: true properties: use_cache: description: Use the cache layer on the inference API type: boolean default: null nullable: true x-speakeasy-param-computed: false wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false upstream_url: description: upstream url for the embeddings type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false provider: description: AI provider format to use for embeddings API type: string enum: - azure - bedrock - gemini - huggingface - mistral - ollama - openai x-speakeasy-unknown-values: allow required: - name - provider required: - model genai_category: description: Generative AI category of the request type: string default: text/generation enum: - audio/speech - audio/transcription - image/generation - realtime/generation - text/embeddings - text/generation - video/generation x-speakeasy-unknown-values: allow llm_format: description: LLM input and output format and schema to use type: string default: openai enum: - anthropic - bedrock - cohere - gemini - huggingface - openai x-speakeasy-unknown-values: allow max_request_body_size: description: 'max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx''s client_max_body_size.' type: integer default: 1048576 rules: type: object default: null nullable: true properties: allow_prompts: description: List of prompts to allow. type: array items: maxLength: 500 minLength: 1 type: string default: null maxItems: 100 nullable: true x-speakeasy-param-computed: false deny_prompts: description: List of prompts to deny. type: array items: maxLength: 500 minLength: 1 type: string default: null maxItems: 100 nullable: true x-speakeasy-param-computed: false match_all_conversation_history: description: 'If false, will ignore all previous chat prompts from the conversation history.' type: boolean default: false match_all_roles: description: 'If true, will match all roles in addition to ''user'' role in conversation history.' type: boolean default: false max_request_body_size: description: 'max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx''s client_max_body_size.' type: integer default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false search: type: object default: null nullable: true properties: threshold: description: Threshold for the similarity score to be considered a match. type: number x-speakeasy-param-computed: true x-speakeasy-param-computed: false vectordb: type: object properties: dimensions: description: the desired dimensionality for the vectors type: integer distance_metric: description: the distance metric to use for vector searches type: string enum: - cosine - euclidean x-speakeasy-unknown-values: allow pgvector: type: object default: null nullable: true properties: database: description: the database of the pgvector database type: string default: kong-pgvector host: description: the host of the pgvector database type: string default: 127.0.0.1 password: description: the password of the pgvector database type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: the port of the pgvector database type: integer default: 5432 ssl: description: whether to use ssl for the pgvector database type: boolean default: false ssl_cert: description: the path of ssl cert to use for the pgvector database type: string default: null nullable: true x-speakeasy-param-computed: false ssl_cert_key: description: the path of ssl cert key to use for the pgvector database type: string default: null nullable: true x-speakeasy-param-computed: false ssl_required: description: whether ssl is required for the pgvector database type: boolean default: false ssl_verify: description: whether to verify ssl for the pgvector database type: boolean default: false ssl_version: description: the ssl version to use for the pgvector database type: string default: tlsv1_2 enum: - any - tlsv1_2 - tlsv1_3 x-speakeasy-unknown-values: allow timeout: description: the timeout of the pgvector database type: number default: 5000 user: description: the user of the pgvector database type: string default: postgres x-referenceable: true x-speakeasy-param-computed: false redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end strategy: description: which vector database driver to use type: string enum: - pgvector - redis x-speakeasy-unknown-values: allow threshold: description: the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar. type: number default: null nullable: true x-speakeasy-param-computed: false required: - dimensions - distance_metric - strategy consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-semantic-prompt-guard protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: embeddings paths: - config.embeddings - name: vectordb paths: - config.vectordb AiSemanticResponseGuardPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AiSemanticResponseGuardPluginConfig' AiSemanticResponseGuardPluginConfig: x-speakeasy-entity: GatewayPluginAiSemanticResponseGuard properties: config: type: object properties: embeddings: type: object properties: auth: type: object default: null nullable: true properties: allow_override: description: 'If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin.' type: boolean default: false aws_access_key_id: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_ACCESS_KEY_ID environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_SECRET_ACCESS_KEY environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_use_managed_identity: description: Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. type: boolean default: false gcp_metadata_url: description: 'Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_oauth_token_url: description: 'Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: 'Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcp_use_service_account is true), Kong will attempt to read from environment variable `GCP_SERVICE_ACCOUNT`.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_use_service_account: description: Use service account auth for GCP-based providers and models. type: boolean default: false header_name: description: 'If AI model requires authentication via Authorization or API key header, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false header_value: description: 'Specify the full auth header value for ''header_name'', for example ''Bearer key'' or just ''key''.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false param_location: description: 'Specify whether the ''param_name'' and ''param_value'' options go in a query string, or the POST form/JSON body.' type: string enum: - body - query x-speakeasy-unknown-values: allow param_name: description: 'If AI model requires authentication via query parameter, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false param_value: description: Specify the full parameter value for 'param_name'. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false model: type: object properties: name: description: Model name to execute. type: string options: description: Key/value settings for the model type: object default: null nullable: true properties: azure: type: object default: null nullable: true properties: api_version: description: '''api-version'' for Azure OpenAI instances.' type: string default: '2023-05-15' deployment_id: description: Deployment ID for Azure OpenAI instances. type: string default: null nullable: true x-speakeasy-param-computed: false instance: description: Instance name for Azure OpenAI hosted models. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false bedrock: type: object default: null nullable: true properties: aws_assume_role_arn: description: If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful. type: string default: null nullable: true x-speakeasy-param-computed: false aws_region: description: If using AWS providers (Bedrock) you can override the `AWS_REGION` environment variable by setting this option. type: string default: null nullable: true x-speakeasy-param-computed: false aws_role_session_name: description: 'If using AWS providers (Bedrock), set the identifier of the assumed role session.' type: string default: null nullable: true x-speakeasy-param-computed: false aws_sts_endpoint_url: description: 'If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_bucket_prefix: description: 'S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_role_arn: description: AWS role arn used for calling batch API. Try to get the value from request if ommited. type: string default: null nullable: true x-speakeasy-param-computed: false embeddings_normalize: description: 'If using AWS providers (Bedrock), set to true to normalize the embeddings.' type: boolean default: false performance_config_latency: description: Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration. type: string default: null nullable: true x-speakeasy-param-computed: false video_output_s3_uri: description: 'S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false gemini: type: object default: null nullable: true properties: api_endpoint: description: 'If running Gemini on Vertex, specify the regional API endpoint (hostname only).' type: string default: null nullable: true x-speakeasy-param-computed: false location_id: description: 'If running Gemini on Vertex, specify the location ID.' type: string default: null nullable: true x-speakeasy-param-computed: false project_id: description: 'If running Gemini on Vertex, specify the project ID.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false huggingface: type: object default: null nullable: true properties: use_cache: description: Use the cache layer on the inference API type: boolean default: null nullable: true x-speakeasy-param-computed: false wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false upstream_url: description: upstream url for the embeddings type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false provider: description: AI provider format to use for embeddings API type: string enum: - azure - bedrock - gemini - huggingface - mistral - ollama - openai x-speakeasy-unknown-values: allow required: - name - provider required: - model genai_category: description: Generative AI category of the request type: string default: text/generation enum: - audio/speech - audio/transcription - image/generation - realtime/generation - text/embeddings - text/generation - video/generation x-speakeasy-unknown-values: allow llm_format: description: LLM input and output format and schema to use type: string default: openai enum: - anthropic - bedrock - cohere - gemini - huggingface - openai x-speakeasy-unknown-values: allow rules: type: object default: null nullable: true properties: allow_responses: description: List of responses to allow. type: array items: maxLength: 500 minLength: 1 type: string default: null maxItems: 100 nullable: true x-speakeasy-param-computed: false deny_responses: description: List of responses to deny. type: array items: maxLength: 500 minLength: 1 type: string default: null maxItems: 100 nullable: true x-speakeasy-param-computed: false max_response_body_size: description: 'Max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx''s client_max_body_size.' type: integer default: 8192 x-speakeasy-param-computed: false search: type: object default: null nullable: true properties: threshold: description: Threshold for the similarity score to be considered a match. type: number x-speakeasy-param-computed: true x-speakeasy-param-computed: false vectordb: type: object properties: dimensions: description: the desired dimensionality for the vectors type: integer distance_metric: description: the distance metric to use for vector searches type: string enum: - cosine - euclidean x-speakeasy-unknown-values: allow pgvector: type: object default: null nullable: true properties: database: description: the database of the pgvector database type: string default: kong-pgvector host: description: the host of the pgvector database type: string default: 127.0.0.1 password: description: the password of the pgvector database type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: the port of the pgvector database type: integer default: 5432 ssl: description: whether to use ssl for the pgvector database type: boolean default: false ssl_cert: description: the path of ssl cert to use for the pgvector database type: string default: null nullable: true x-speakeasy-param-computed: false ssl_cert_key: description: the path of ssl cert key to use for the pgvector database type: string default: null nullable: true x-speakeasy-param-computed: false ssl_required: description: whether ssl is required for the pgvector database type: boolean default: false ssl_verify: description: whether to verify ssl for the pgvector database type: boolean default: false ssl_version: description: the ssl version to use for the pgvector database type: string default: tlsv1_2 enum: - any - tlsv1_2 - tlsv1_3 x-speakeasy-unknown-values: allow timeout: description: the timeout of the pgvector database type: number default: 5000 user: description: the user of the pgvector database type: string default: postgres x-referenceable: true x-speakeasy-param-computed: false redis: type: object properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end strategy: description: which vector database driver to use type: string enum: - pgvector - redis x-speakeasy-unknown-values: allow threshold: description: the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar. type: number default: null nullable: true x-speakeasy-param-computed: false required: - dimensions - distance_metric - strategy consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ai-semantic-response-guard protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: embeddings paths: - config.embeddings - name: vectordb paths: - config.vectordb AppDynamicsPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AppDynamicsPluginConfig' AppDynamicsPluginConfig: x-speakeasy-entity: GatewayPluginAppDynamics properties: config: type: object default: null additionalProperties: true nullable: true x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: app-dynamics protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 AwsLambdaPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AwsLambdaPluginConfig' AwsLambdaPluginConfig: x-speakeasy-entity: GatewayPluginAwsLambda properties: config: type: object default: null nullable: true properties: aws_assume_role_arn: description: The target AWS IAM role ARN used to invoke the Lambda function. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_imds_protocol_version: description: 'Identifier to select the IMDS protocol version to use: `v1` or `v2`.' type: string default: v1 enum: - v1 - v2 x-speakeasy-unknown-values: allow aws_key: description: The AWS key credential to be used when invoking the function. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_region: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false aws_role_session_name: description: The identifier of the assumed role session. type: string default: kong aws_secret: description: 'The AWS secret credential to be used when invoking the function. ' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_sts_endpoint_url: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string default: null nullable: true x-speakeasy-param-computed: false awsgateway_compatible: description: An optional value that defines whether the plugin should wrap requests into the Amazon API gateway. type: boolean default: false awsgateway_compatible_payload_version: description: An optional value that defines which version will be used to generate the AWS API Gateway compatible payload. The default will be `1.0`. type: string default: '1.0' enum: - '1.0' - '2.0' x-speakeasy-unknown-values: allow base64_encode_body: description: An optional value that Base64-encodes the request body. type: boolean default: true disable_https: type: boolean default: false empty_arrays_mode: description: 'An optional value that defines whether Kong should send empty arrays (returned by Lambda function) as `[]` arrays or `{}` objects in JSON responses. The value `legacy` means Kong will send empty arrays as `{}` objects in response' type: string default: legacy enum: - correct - legacy x-speakeasy-unknown-values: allow forward_request_body: description: 'An optional value that defines whether the request body is sent in the request_body field of the JSON-encoded request. If the body arguments can be parsed, they are sent in the separate request_body_args field of the request. ' type: boolean default: false forward_request_headers: description: An optional value that defines whether the original HTTP request headers are sent as a map in the request_headers field of the JSON-encoded request. type: boolean default: false forward_request_method: description: An optional value that defines whether the original HTTP request method verb is sent in the request_method field of the JSON-encoded request. type: boolean default: false forward_request_uri: description: An optional value that defines whether the original HTTP request URI is sent in the request_uri field of the JSON-encoded request. type: boolean default: false function_name: description: The AWS Lambda function to invoke. Both function name and function ARN (including partial) are supported. type: string default: null nullable: true x-speakeasy-param-computed: false host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false invocation_type: description: 'The InvocationType to use when invoking the function. Available types are RequestResponse, Event, DryRun.' type: string default: RequestResponse enum: - DryRun - Event - RequestResponse x-speakeasy-unknown-values: allow is_proxy_integration: description: An optional value that defines whether the response format to receive from the Lambda to this format. type: boolean default: false keepalive: description: An optional value in milliseconds that defines how long an idle connection lives before being closed. type: number default: 60000 log_type: description: 'The LogType to use when invoking the function. By default, None and Tail are supported.' type: string default: Tail enum: - None - Tail x-speakeasy-unknown-values: allow port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 443 maximum: 65535 minimum: 0 preserve_lambda_api_error_code: description: 'When enabled, the HTTP status code returned by the AWS Lambda API is forwarded to the client instead of mapping all errors to HTTP 500. Applies to 4xx and 5xx responses from the Lambda API.' type: boolean default: false proxy_url: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string default: null nullable: true x-speakeasy-param-computed: false qualifier: description: The qualifier to use when invoking the function. type: string default: null nullable: true x-speakeasy-param-computed: false skip_large_bodies: description: An optional value that defines whether Kong should send large bodies that are buffered to disk type: boolean default: true ssl_verify: description: Set to `true` to verify the TLS certificate when connecting to AWS services. type: boolean default: false timeout: description: An optional timeout in milliseconds when invoking the function. type: number default: 60000 unhandled_status: description: 'The response status code to use (instead of the default 200, 202, or 204) in the case of an Unhandled Function Error.' type: integer default: null maximum: 999 minimum: 100 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: aws-lambda protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 AzureFunctionsPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/AzureFunctionsPluginConfig' AzureFunctionsPluginConfig: x-speakeasy-entity: GatewayPluginAzureFunctions properties: config: type: object properties: apikey: description: 'The apikey to access the Azure resources. If provided, it is injected as the `x-functions-key` header.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false appname: description: The Azure app name. type: string clientid: description: 'The `clientid` to access the Azure resources. If provided, it is injected as the `x-functions-clientid` header.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false functionname: description: Name of the Azure function to invoke. type: string hostdomain: description: The domain where the function resides. type: string default: azurewebsites.net https: description: Use of HTTPS to connect with the Azure Functions server. type: boolean default: true https_verify: description: Set to `true` to authenticate the Azure Functions server. type: boolean default: false keepalive: description: Time in milliseconds during which an idle connection to the Azure Functions server lives before being closed. type: number default: 60000 routeprefix: description: Route prefix to use. type: string default: api timeout: description: Timeout in milliseconds before closing a connection to the Azure Functions server. type: number default: 600000 required: - appname - functionname consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: azure-functions protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 BasicAuth: x-speakeasy-entity: GatewayBasicAuth type: object properties: consumer: type: object nullable: true properties: id: type: string x-foreign: true x-speakeasy-terraform-ignore: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true password: type: string writeOnly: true x-encrypted: true x-speakeasy-param-sensitive: true tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false username: type: string example: consumer: id: 84a73fb8-50fc-44a7-a4d5-aa17728ee83f id: b2f34145-0343-41a4-9602-4c69dec2f269 password: hashedsoopersecretvalue username: darius additionalProperties: false required: - password - username BasicAuthPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/BasicAuthPluginConfig' BasicAuthPluginConfig: x-speakeasy-entity: GatewayPluginBasicAuth properties: config: type: object default: null nullable: true properties: anonymous: description: 'An optional string (Consumer UUID or username) value to use as an "anonymous" consumer if authentication fails. If empty (default null), the request will fail with an authentication failure `4xx`. Please note that this value must refer to the Consumer `id` or `username` attribute, and **not** its `custom_id`.' type: string default: null nullable: true x-speakeasy-param-computed: false brute_force_protection: type: object properties: redis: description: Redis configuration type: object properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: number default: 10000 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end strategy: description: 'The brute force protection strategy to use for retrieving and incrementing the limits. Available values are: `cluster`, `redis`, `memory`, and `off`.' type: string default: 'off' enum: - cluster - memory - 'off' - redis x-speakeasy-unknown-values: allow x-speakeasy-param-computed: true hide_credentials: description: 'An optional boolean value telling the plugin to show or hide the credential from the upstream service. If `true`, the plugin will strip the credential from the request (i.e. the `Authorization` header) before proxying it.' type: boolean default: false principals: type: object properties: directory: description: The Kong Identity directory instance to authenticate against. type: string default: default enabled: description: 'When true, authenticate against Kong Identity instead of local credentials.' type: boolean default: false error_on_miss: description: 'When true (default), return 401 if no matching principal is found in Kong Identity. When false, allow the request to continue unauthenticated instead.' type: boolean default: true x-speakeasy-param-computed: true realm: description: When authentication fails the plugin sends `WWW-Authenticate` header with `realm` attribute value. type: string default: service x-speakeasy-param-computed: false name: const: basic-auth protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpc - grpcs - http - https - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https - ws - wss route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ce paths: - config.brute_force_protection.redis BasicAuthWithoutParents: x-speakeasy-entity: GatewayBasicAuth type: object properties: consumer: type: object nullable: true properties: id: type: string x-foreign: true x-speakeasy-terraform-ignore: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true password: type: string writeOnly: true x-encrypted: true x-speakeasy-param-sensitive: true tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false username: type: string example: id: b2f34145-0343-41a4-9602-4c69dec2f269 password: hashedsoopersecretvalue username: darius additionalProperties: false required: - password - username x-speakeasy-entity-version: 1 BotDetectionPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/BotDetectionPluginConfig' BotDetectionPluginConfig: x-speakeasy-entity: GatewayPluginBotDetection properties: config: type: object default: null nullable: true properties: allow: description: An array of regular expressions that should be allowed. The regular expressions will be checked against the `User-Agent` header. type: array items: type: string default: [] deny: description: An array of regular expressions that should be denied. The regular expressions will be checked against the `User-Agent` header. type: array items: type: string default: [] x-speakeasy-param-computed: false name: const: bot-detection protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 CACertificate: x-speakeasy-entity: GatewayCACertificate description: A CA certificate object represents a trusted CA. These objects are used by Kong to verify the validity of a client or server certificate. type: object properties: cert: description: PEM-encoded public certificate of the CA. type: string x-referenceable: true cert_digest: description: 'SHA256 hex digest of the public certificate. This field is read-only and it cannot be set by the caller, the value is automatically computed.' type: string nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true tags: description: An optional set of strings associated with the Certificate for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true example: cert: |- -----BEGIN CERTIFICATE----- certificate-content -----END CERTIFICATE----- cert_digest: 9b8aaf19a276885f6c8a6bc48a30700fdb3a351d8b05374d153bfb7b178e2a9f created_at: 1706598432 id: b2f34145-0343-41a4-9602-4c69dec2f260 tags: - trusted - api additionalProperties: false required: - cert CanaryPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/CanaryPluginConfig' CanaryPluginConfig: x-speakeasy-entity: GatewayPluginCanary properties: config: type: object default: null nullable: true properties: canary_by_header_name: description: A string representing an HTTP header name. type: string default: null nullable: true x-speakeasy-param-computed: false duration: description: The duration of the canary release in seconds. type: number default: 3600 groups: description: The groups allowed to access the canary release. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false hash: description: |- Hash algorithm to be used for canary release. * `consumer`: The hash will be based on the consumer. * `ip`: The hash will be based on the client IP address. * `none`: No hash will be applied. * `allow`: Allows the specified groups to access the canary release. * `deny`: Denies the specified groups from accessing the canary release. * `header`: The hash will be based on the specified header value. type: string default: consumer enum: - allow - consumer - deny - header - ip - none x-speakeasy-unknown-values: allow hash_header: description: A string representing an HTTP header name. type: string default: null nullable: true x-speakeasy-param-computed: false percentage: description: The percentage of traffic to be routed to the canary release. type: number default: null maximum: 100 minimum: 0 nullable: true x-speakeasy-param-computed: false start: description: 'Future time in seconds since epoch, when the canary release will start. Ignored when `percentage` is set, or when using `allow` or `deny` in `hash`.' type: number default: null nullable: true x-speakeasy-param-computed: false steps: description: The number of steps for the canary release. type: number default: 1000 minimum: 1 upstream_fallback: description: Specifies whether to fallback to the upstream server if the canary release fails. type: boolean default: false upstream_host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false upstream_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false upstream_uri: description: The URI of the upstream server to be used for the canary release. type: string default: null minLength: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false name: const: canary protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 Certificate: x-speakeasy-entity: GatewayCertificate description: 'A certificate object represents a public certificate, and can be optionally paired with the corresponding private key. These objects are used by Kong to handle SSL/TLS termination for encrypted requests, or for use as a trusted CA store when validating peer certificate of client/service. Certificates are optionally associated with SNI objects to tie a cert/key pair to one or more hostnames. If intermediate certificates are required in addition to the main certificate, they should be concatenated together into one string according to the following order: main certificate on the top, followed by any intermediates.' type: object properties: cert: description: 'PEM-encoded public certificate chain of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).' type: string x-referenceable: true cert_alt: description: 'PEM-encoded public certificate chain of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true key: description: 'PEM-encoded private key of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).' type: string x-encrypted: true x-referenceable: true key_alt: description: 'PEM-encoded private key of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false snis: type: array items: description: 'A string representing a wildcard host name, such as *.example.com.' type: string nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true tags: description: An optional set of strings associated with the Certificate for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true example: cert: |- -----BEGIN CERTIFICATE----- certificate-content -----END CERTIFICATE----- id: b2f34145-0343-41a4-9602-4c69dec2f269 key: |- -----BEGIN PRIVATE KEY----- private-key-content -----END PRIVATE KEY----- additionalProperties: false required: - cert - key x-speakeasy-entity-version: 1 CertificateRequest: type: object properties: cert: description: 'PEM-encoded public certificate chain of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false cert_alt: description: 'PEM-encoded public certificate chain of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false created_at: description: Unix epoch when the resource was created. type: integer nullable: true description: description: 'User-defined entity description. Konnect only field, not synced to the Gateway.' type: string default: null nullable: true x-speakeasy-param-computed: false id: description: A string representing a UUID (universally unique identifier). type: string nullable: true key: description: 'PEM-encoded private key of the SSL key pair. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false key_alt: description: 'PEM-encoded private key of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is _referenceable_, which means it can be securely stored as a [secret](/gateway/latest/plan-and-deploy/security/secrets-management/getting-started) in a vault. References must follow a [specific format](/gateway/latest/plan-and-deploy/security/secrets-management/reference-format).' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false managed_by: description: |- Stores information about what manages this entity, such as the tool or system responsible for its lifecycle (for example, `terraform`). Keys must be 1–63 characters long and start with an alphanumeric character. type: object default: null additionalProperties: maxLength: 63 minLength: 1 pattern: '^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$' type: string maxProperties: 5 nullable: true x-speakeasy-param-computed: false snis: type: array items: description: 'A string representing a wildcard host name, such as *.example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false tags: description: An optional set of strings associated with the Certificate for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true vault: description: 'Shorthand that expands into cert and key; when both vault and cert/key are provided, the vault expansion takes precedence.' type: string default: null nullable: true writeOnly: true x-speakeasy-param-computed: false vault_alt: description: 'Shorthand that expands into cert_alt and key_alt; when both vault_alt and cert_alt/key_alt are provided, the vault_alt expansion takes precedence.' type: string default: null nullable: true writeOnly: true x-speakeasy-param-computed: false additionalProperties: false ClonedPlugin: x-speakeasy-entity: GatewayClonedPlugin type: object properties: created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true name: description: The name to associate with the cloned plugin. Consider using a distinct prefix for cloned plugins to avoid naming conflicts with new bundled plugins in future Kong releases. type: string maxLength: 4096 minLength: 1 priority: description: 'The plugin execution priority. If not set, it will inherit the priority of the referenced plugin.' type: integer default: null maximum: 2147483647 minimum: -2147483648 nullable: true x-speakeasy-param-computed: false ref: description: The name of the base plugin that this cloned plugin references. This plugin must be cloneable. type: string tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true additionalProperties: false required: - name - ref ConfluentConsumePlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/ConfluentConsumePluginConfig' ConfluentConsumePluginConfig: x-speakeasy-entity: GatewayPluginConfluentConsume properties: config: type: object properties: auto_offset_reset: description: The offset to start from when there is no initial offset in the consumer group. type: string default: earliest enum: - earliest - latest x-speakeasy-unknown-values: allow bootstrap_servers: description: 'Set of bootstrap brokers in a `{host: host, port: port}` list format.' type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer maximum: 65535 minimum: 0 required: - host - port type: object default: null nullable: true x-speakeasy-param-computed: false cluster_api_key: description: Username/Apikey for SASL authentication. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false cluster_api_secret: description: Password/ApiSecret for SASL authentication. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false cluster_name: description: 'An identifier for the Kafka cluster. By default, this field generates a random string. You can also set your own custom cluster identifier. If more than one Kafka plugin is configured without a `cluster_name` (that is, if the default autogenerated value is removed), these plugins will use the same producer, and by extension, the same cluster. Logs will be sent to the leader of the cluster.' type: string default: null nullable: true x-speakeasy-param-computed: false commit_strategy: description: The strategy to use for committing offsets. type: string default: auto enum: - auto - 'off' x-speakeasy-unknown-values: allow confluent_cloud_api_key: description: 'Apikey for authentication with Confluent Cloud. This allows for management tasks such as creating topics, ACLs, etc.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false confluent_cloud_api_secret: description: The corresponding secret for the Confluent Cloud API key. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false consumer_group: description: Configuration for the Kafka consumer group ID. type: object default: null nullable: true properties: consumer_group_id: description: 'The fixed consumer group ID to use when mode is set to `manual`. For SSE and WebSocket modes, a `.<node_id>` suffix is automatically appended.' type: string default: null nullable: true x-speakeasy-param-computed: false mode: description: 'The strategy to determine the consumer group ID. `random`: a hash `com.konghq.kafka.<md5>` over the plugin ID (plus consumer identifier/IP and node ID for SSE/WebSocket). `kong_consumer`: uses the authenticated consumer''s `username`, `custom_id`, then `id`, directly; falls back to `random` if no consumer is authenticated. `manual`: uses `consumer_group_id` directly. For SSE/WebSocket, `manual` and `kong_consumer` group IDs get a `.<node_id>` suffix.' type: string default: random enum: - kong_consumer - manual - random x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false dlq_topic: description: The topic to use for the Dead Letter Queue. type: string default: null nullable: true x-speakeasy-param-computed: false enable_dlq: description: 'Enables Dead Letter Queue. When enabled, if the message doesn''t conform to the schema (from Schema Registry) or there''s an error in the `message_by_lua_functions`, it will be forwarded to `dlq_topic` that can be processed later.' type: boolean default: null nullable: true x-speakeasy-param-computed: false enforce_latest_offset_reset: description: 'When true, ''latest'' offset reset behaves correctly (starts from end). When false (default), maintains backwards compatibility where ''latest'' acts like ''earliest''.' type: boolean default: false error_handling: type: object default: null nullable: true properties: return_error_message: description: 'When enabled, the Kafka client error message is returned to the HTTP client. Useful for debugging but may expose internal details, so should be disabled in production.' type: boolean default: false x-speakeasy-param-computed: false keepalive: description: Keepalive timeout in milliseconds. type: integer default: 60000 keepalive_enabled: type: boolean default: false message_by_lua_functions: description: The Lua functions that manipulates the message being sent to the client. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false message_deserializer: description: The deserializer to use for the consumed messages. type: string default: noop enum: - json - noop x-speakeasy-unknown-values: allow mode: description: The mode of operation for the plugin. type: string default: http-get enum: - http-get - server-sent-events - websocket x-speakeasy-unknown-values: allow oauthbearer: description: 'Options for SASL OAUTHBEARER authentication. When set, takes precedence over `cluster_api_key`/`cluster_api_secret`.' type: object default: null nullable: true properties: client_id: description: The OAuth2 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: The OAuth2 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false extensions: description: 'Key-value pairs sent as extensions in the OAUTHBEARER SASL handshake (e.g. logicalCluster, identityPoolId).' type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false scopes: description: List of OAuth2 scopes to request. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false token_endpoint_tls_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true token_endpoint_url: description: The URL of the OAuth2 token endpoint. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false schema_registry: description: The plugin-global schema registry configuration. type: object default: null nullable: true properties: confluent: type: object default: null nullable: true properties: authentication: type: object default: null nullable: true properties: basic: type: object default: null nullable: true properties: password: type: string x-encrypted: true x-referenceable: true username: type: string x-encrypted: true x-referenceable: true required: - password - username x-speakeasy-param-computed: false identity_pool_id: description: 'The Confluent Cloud OAuth identity pool ID, sent as the `Confluent-Identity-Pool-Id` request header. Optional: if omitted, Confluent Cloud automatically maps an identity pool based on the token''s claims.' type: string default: null nullable: true x-speakeasy-param-computed: false logical_cluster_id: description: 'The Confluent Cloud Schema Registry cluster ID, sent as the `target-sr-cluster` request header. Confluent Cloud requires this when `mode` is ''oauth2''.' type: string default: null nullable: true x-speakeasy-param-computed: false mode: description: Authentication mode to use with the schema registry. type: string default: none enum: - basic - none - oauth2 x-speakeasy-unknown-values: allow oauth2: type: object default: null nullable: true properties: audience: description: List of audiences passed to the IdP when obtaining a new token. type: array items: type: string default: [] client_id: description: The client ID for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: The client secret for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false grant_type: description: The OAuth grant type to be used. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: The password to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false scopes: description: List of scopes to request from the IdP when obtaining a new token. type: array items: type: string default: - openid token_endpoint: description: The token endpoint URI. type: string token_headers: description: Extra headers to be passed in the token endpoint request. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false token_post_args: description: Extra post arguments to be passed in the token endpoint request. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false username: description: The username to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false required: - token_endpoint x-speakeasy-param-computed: false oauth2_client: type: object default: null nullable: true properties: auth_method: description: 'The authentication method used in client requests to the IdP. Supported values are: `client_secret_basic` to send `client_id` and `client_secret` in the `Authorization: Basic` header, `client_secret_post` to send `client_id` and `client_secret` as part of the request body, or `client_secret_jwt` to send a JWT signed with the `client_secret` using the client assertion as part of the body.' type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post - none x-speakeasy-unknown-values: allow client_secret_jwt_alg: description: The algorithm to use with JWT when using `client_secret_jwt` authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow http_proxy: description: The proxy to use when making HTTP requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `http_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false http_version: description: 'The HTTP version used for requests made by this plugin. Supported values: `1.1` for HTTP 1.1 and `1.0` for HTTP 1.0.' type: number x-speakeasy-param-computed: true https_proxy: description: The proxy to use when making HTTPS requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `https_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false keep_alive: description: Whether to use keepalive connections to the IdP. type: boolean default: true no_proxy: description: A comma-separated list of hosts that should not be proxied. type: string default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: Whether to verify the certificate presented by the IdP when using HTTPS. type: boolean default: false timeout: description: Network I/O timeout for requests to the IdP in milliseconds. type: integer default: 10000 maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false x-speakeasy-param-computed: false ssl_verify: description: Set to false to disable SSL certificate verification when connecting to the schema registry. type: boolean default: true ttl: description: The TTL in seconds for the schema registry cache. type: number default: null maximum: 3600 minimum: 0 nullable: true x-speakeasy-param-computed: false url: description: The URL of the schema registry. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false security: type: object default: null nullable: true properties: ssl_verify: description: Enables verification of the certificate presented by the server. type: boolean default: false x-speakeasy-param-computed: false timeout: description: Socket timeout in milliseconds. type: integer default: 10000 topics: description: The Kafka topics and their configuration you want to consume from. type: array items: properties: name: type: string schema_registry: description: The plugin-global schema registry configuration. type: object default: null nullable: true properties: confluent: type: object default: null nullable: true properties: authentication: type: object default: null nullable: true properties: basic: type: object default: null nullable: true properties: password: type: string x-encrypted: true x-referenceable: true username: type: string x-encrypted: true x-referenceable: true required: - password - username x-speakeasy-param-computed: false identity_pool_id: description: 'The Confluent Cloud OAuth identity pool ID, sent as the `Confluent-Identity-Pool-Id` request header. Optional: if omitted, Confluent Cloud automatically maps an identity pool based on the token''s claims.' type: string default: null nullable: true x-speakeasy-param-computed: false logical_cluster_id: description: 'The Confluent Cloud Schema Registry cluster ID, sent as the `target-sr-cluster` request header. Confluent Cloud requires this when `mode` is ''oauth2''.' type: string default: null nullable: true x-speakeasy-param-computed: false mode: description: Authentication mode to use with the schema registry. type: string default: none enum: - basic - none - oauth2 x-speakeasy-unknown-values: allow oauth2: type: object default: null nullable: true properties: audience: description: List of audiences passed to the IdP when obtaining a new token. type: array items: type: string default: [] client_id: description: The client ID for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: The client secret for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false grant_type: description: The OAuth grant type to be used. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: The password to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false scopes: description: List of scopes to request from the IdP when obtaining a new token. type: array items: type: string default: - openid token_endpoint: description: The token endpoint URI. type: string token_headers: description: Extra headers to be passed in the token endpoint request. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false token_post_args: description: Extra post arguments to be passed in the token endpoint request. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false username: description: The username to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false required: - token_endpoint x-speakeasy-param-computed: false oauth2_client: type: object default: null nullable: true properties: auth_method: description: 'The authentication method used in client requests to the IdP. Supported values are: `client_secret_basic` to send `client_id` and `client_secret` in the `Authorization: Basic` header, `client_secret_post` to send `client_id` and `client_secret` as part of the request body, or `client_secret_jwt` to send a JWT signed with the `client_secret` using the client assertion as part of the body.' type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post - none x-speakeasy-unknown-values: allow client_secret_jwt_alg: description: The algorithm to use with JWT when using `client_secret_jwt` authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow http_proxy: description: The proxy to use when making HTTP requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `http_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false http_version: description: 'The HTTP version used for requests made by this plugin. Supported values: `1.1` for HTTP 1.1 and `1.0` for HTTP 1.0.' type: number x-speakeasy-param-computed: true https_proxy: description: The proxy to use when making HTTPS requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `https_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false keep_alive: description: Whether to use keepalive connections to the IdP. type: boolean default: true no_proxy: description: A comma-separated list of hosts that should not be proxied. type: string default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: Whether to verify the certificate presented by the IdP when using HTTPS. type: boolean default: false timeout: description: Network I/O timeout for requests to the IdP in milliseconds. type: integer default: 10000 maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false x-speakeasy-param-computed: false ssl_verify: description: Set to false to disable SSL certificate verification when connecting to the schema registry. type: boolean default: true ttl: description: The TTL in seconds for the schema registry cache. type: number default: null maximum: 3600 minimum: 0 nullable: true x-speakeasy-param-computed: false url: description: The URL of the schema registry. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false required: - name type: object minItems: 1 required: - topics consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: confluent-consume protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpc - grpcs - http - https - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https - ws - wss route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 ConfluentPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/ConfluentPluginConfig' ConfluentPluginConfig: x-speakeasy-entity: GatewayPluginConfluent properties: config: type: object properties: allowed_topics: description: 'The list of allowed topic names to which messages can be sent. The default topic configured in the `topic` field is always allowed, regardless of its inclusion in `allowed_topics`.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false bootstrap_servers: description: 'Set of bootstrap brokers in a `{host: host, port: port}` list format.' type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer maximum: 65535 minimum: 0 required: - host - port type: object default: null nullable: true x-speakeasy-param-computed: false cluster_api_key: description: Username/Apikey for SASL authentication. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false cluster_api_secret: description: Password/ApiSecret for SASL authentication. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false cluster_name: description: 'An identifier for the Kafka cluster. By default, this field generates a random string. You can also set your own custom cluster identifier. If more than one Kafka plugin is configured without a `cluster_name` (that is, if the default autogenerated value is removed), these plugins will use the same producer, and by extension, the same cluster. Logs will be sent to the leader of the cluster.' type: string x-speakeasy-param-computed: true compression_type: description: The compression codec the producer uses to compress message batches before sending them to the Kafka broker. This applies only to the Kong-to-broker hop and is independent of any HTTP-level `Content-Encoding`. Defaults to `none` (compression disabled); `lz4` is the recommended codec when enabling compression. type: string default: none enum: - gzip - lz4 - none - snappy x-speakeasy-unknown-values: allow confluent_cloud_api_key: description: 'Apikey for authentication with Confluent Cloud. This allows for management tasks such as creating topics, ACLs, etc.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false confluent_cloud_api_secret: description: The corresponding secret for the Confluent Cloud API key. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false error_handling: type: object properties: return_error_message: description: 'When enabled, the Kafka client error message is returned to the HTTP client. Useful for debugging but may expose internal details, so should be disabled in production.' type: boolean default: false x-speakeasy-param-computed: true forward_body: description: 'Include the request body in the message. At least one of these must be true: `forward_method`, `forward_uri`, `forward_headers`, `forward_body`.' type: boolean default: true forward_headers: description: 'Include the request headers in the message. At least one of these must be true: `forward_method`, `forward_uri`, `forward_headers`, `forward_body`.' type: boolean default: false forward_method: description: 'Include the request method in the message. At least one of these must be true: `forward_method`, `forward_uri`, `forward_headers`, `forward_body`.' type: boolean default: false forward_uri: description: 'Include the request URI and URI arguments (as in, query arguments) in the message. At least one of these must be true: `forward_method`, `forward_uri`, `forward_headers`, `forward_body`.' type: boolean default: false headers: description: Configuration for forwarding HTTP headers as Kafka record headers. type: object properties: exclude_headers: description: Blocklist of HTTP header names to exclude from forwarding. Used when `forward_all_by_default` is `enabled`. type: array items: type: string default: [] forward_all_by_default: description: 'When `false`, only headers listed in `include_headers` are forwarded. When `true`, all headers except those in `exclude_headers` are forwarded.' type: boolean default: false forward_http_headers_as_record_headers: description: Whether to forward HTTP headers as Kafka record headers. type: boolean default: true include_headers: description: Allowlist of HTTP header names to forward as Kafka record headers. Used when `forward_all_by_default` is `disabled`. type: array items: type: string default: [] name_mappings: description: 'Map of HTTP header names to Kafka record header names. If an HTTP header name matches a key, the corresponding value is used as the Kafka record header name.' type: object default: {} additionalProperties: type: string repeated_headers_behavior: description: 'How to handle repeated HTTP headers: `concatenate_by_comma` joins values with a comma, `take_first` uses only the first value, `retain_duplicates` creates separate Kafka record headers for each value.' type: string default: retain_duplicates enum: - concatenate_by_comma - retain_duplicates - take_first x-speakeasy-unknown-values: allow x-speakeasy-param-computed: true keepalive: description: Keepalive timeout in milliseconds. type: integer default: 60000 keepalive_enabled: type: boolean default: false key_query_arg: description: 'The request query parameter name that contains the Kafka message key. If specified, messages with the same key will be sent to the same Kafka partition, ensuring consistent ordering.' type: string default: null nullable: true x-speakeasy-param-computed: false message_by_lua_functions: description: The Lua functions that manipulates the message being sent to the Kafka topic. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false new_kafka_async_producer: description: 'Use the improved asynchronous Kafka producer, which batches messages more efficiently under high load. Only affects asynchronous mode. Messages without a key may be reordered across partitions; set a message key if ordering matters.' type: boolean default: false oauthbearer: description: 'Options for SASL OAUTHBEARER authentication. When set, takes precedence over `cluster_api_key`/`cluster_api_secret`.' type: object default: null nullable: true properties: client_id: description: The OAuth2 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: The OAuth2 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false extensions: description: 'Key-value pairs sent as extensions in the OAUTHBEARER SASL handshake (e.g. logicalCluster, identityPoolId).' type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false scopes: description: List of OAuth2 scopes to request. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false token_endpoint_tls_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true token_endpoint_url: description: The URL of the OAuth2 token endpoint. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false producer_async: description: Flag to enable asynchronous mode. Only takes effect when `producer_config_enabled` is true. type: boolean default: true producer_async_buffering_limits_messages_in_memory: description: Maximum number of messages that can be buffered in memory in asynchronous mode. type: integer default: 50000 producer_async_flush_timeout: description: Maximum time interval in milliseconds between buffer flushes in asynchronous mode. type: integer default: 1000 producer_async_health_failure_threshold: description: Number of consecutive authentication/authorization or connectivity failures before the producer is marked unhealthy and async requests are gated. type: integer default: 3 maximum: 100 minimum: 1 producer_async_health_gating: description: 'In asynchronous mode, fail incoming requests fast with HTTP 503 (instead of returning 200 and silently dropping the message) when the producer is sustainedly failing to authenticate with, or reach, the broker. Disabled by default.' type: boolean default: false producer_async_health_probe_interval: description: Interval in milliseconds between background recovery probes while the producer is unhealthy. type: integer default: 5000 maximum: 600000 minimum: 100 producer_async_health_recovery_threshold: description: Number of consecutive successful recovery probes required before the producer resumes accepting async requests. type: integer default: 1 maximum: 100 minimum: 1 producer_config_enabled: description: 'Honor the `producer_*` delivery settings (asynchronous mode, request acks/limits/retries). Historically the Confluent plugin ignored these and always produced synchronously; this flag defaults to false to preserve that behavior. Set to true to opt into the configured producer behavior.' type: boolean default: false producer_request_acks: description: 'The number of acknowledgments the producer requires the leader to have received before considering a request complete. Allowed values: 0 for no acknowledgments; 1 for only the leader; and -1 for the full ISR (In-Sync Replica set).' type: integer default: 1 enum: - -1 - 0 - 1 x-speakeasy-unknown-values: allow producer_request_limits_bytes_per_request: description: Maximum size of a Produce request in bytes. type: integer default: 1048576 producer_request_limits_messages_per_request: description: Maximum number of messages to include into a single producer request. type: integer default: 200 producer_request_retries_backoff_timeout: description: Backoff interval between retry attempts in milliseconds. type: integer default: 100 producer_request_retries_max_attempts: description: Maximum number of retry attempts per single Produce request. type: integer default: 10 producer_request_timeout: description: Time to wait for a Produce response in milliseconds. type: integer default: 2000 schema_registry: description: The plugin-global schema registry configuration. This can be overwritten by the topic configuration. type: object properties: confluent: type: object default: null nullable: true properties: authentication: type: object default: null nullable: true properties: basic: type: object default: null nullable: true properties: password: type: string x-encrypted: true x-referenceable: true username: type: string x-encrypted: true x-referenceable: true required: - password - username x-speakeasy-param-computed: false identity_pool_id: description: 'The Confluent Cloud OAuth identity pool ID, sent as the `Confluent-Identity-Pool-Id` request header. Optional: if omitted, Confluent Cloud automatically maps an identity pool based on the token''s claims.' type: string default: null nullable: true x-speakeasy-param-computed: false logical_cluster_id: description: 'The Confluent Cloud Schema Registry cluster ID, sent as the `target-sr-cluster` request header. Confluent Cloud requires this when `mode` is ''oauth2''.' type: string default: null nullable: true x-speakeasy-param-computed: false mode: description: Authentication mode to use with the schema registry. type: string default: none enum: - basic - none - oauth2 x-speakeasy-unknown-values: allow oauth2: type: object default: null nullable: true properties: audience: description: List of audiences passed to the IdP when obtaining a new token. type: array items: type: string default: [] client_id: description: The client ID for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: The client secret for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false grant_type: description: The OAuth grant type to be used. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: The password to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false scopes: description: List of scopes to request from the IdP when obtaining a new token. type: array items: type: string default: - openid token_endpoint: description: The token endpoint URI. type: string token_headers: description: Extra headers to be passed in the token endpoint request. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false token_post_args: description: Extra post arguments to be passed in the token endpoint request. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false username: description: The username to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false required: - token_endpoint x-speakeasy-param-computed: false oauth2_client: type: object default: null nullable: true properties: auth_method: description: 'The authentication method used in client requests to the IdP. Supported values are: `client_secret_basic` to send `client_id` and `client_secret` in the `Authorization: Basic` header, `client_secret_post` to send `client_id` and `client_secret` as part of the request body, or `client_secret_jwt` to send a JWT signed with the `client_secret` using the client assertion as part of the body.' type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post - none x-speakeasy-unknown-values: allow client_secret_jwt_alg: description: The algorithm to use with JWT when using `client_secret_jwt` authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow http_proxy: description: The proxy to use when making HTTP requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `http_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false http_version: description: 'The HTTP version used for requests made by this plugin. Supported values: `1.1` for HTTP 1.1 and `1.0` for HTTP 1.0.' type: number x-speakeasy-param-computed: true https_proxy: description: The proxy to use when making HTTPS requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `https_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false keep_alive: description: Whether to use keepalive connections to the IdP. type: boolean default: true no_proxy: description: A comma-separated list of hosts that should not be proxied. type: string default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: Whether to verify the certificate presented by the IdP when using HTTPS. type: boolean default: false timeout: description: Network I/O timeout for requests to the IdP in milliseconds. type: integer default: 10000 maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false x-speakeasy-param-computed: false key_schema: type: object default: null nullable: true properties: payload_encoding: description: 'How the client encodes union/nullable fields in the request body for Avro schemas. ''avro_json'' (default) requires Avro-spec JSON with type-tagged unions (e.g. {"int": 1}, {"null": null}). ''simple_json'' lets the gateway accept plain JSON and resolve union branches against the schema.' type: string default: avro_json enum: - avro_json - simple_json x-speakeasy-unknown-values: allow schema_version: description: The schema version to use for serialization/deserialization. Use 'latest' to always fetch the most recent version. type: string default: null nullable: true x-speakeasy-param-computed: false subject_name: description: The name of the subject type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false ssl_verify: description: Set to false to disable SSL certificate verification when connecting to the schema registry. type: boolean default: true ttl: description: The TTL in seconds for the schema registry cache. type: number default: null maximum: 3600 minimum: 0 nullable: true x-speakeasy-param-computed: false url: description: The URL of the schema registry. type: string default: null nullable: true x-speakeasy-param-computed: false value_schema: type: object default: null nullable: true properties: payload_encoding: description: 'How the client encodes union/nullable fields in the request body for Avro schemas. ''avro_json'' (default) requires Avro-spec JSON with type-tagged unions (e.g. {"int": 1}, {"null": null}). ''simple_json'' lets the gateway accept plain JSON and resolve union branches against the schema.' type: string default: avro_json enum: - avro_json - simple_json x-speakeasy-unknown-values: allow schema_version: description: The schema version to use for serialization/deserialization. Use 'latest' to always fetch the most recent version. type: string default: null nullable: true x-speakeasy-param-computed: false subject_name: description: The name of the subject type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: true security: type: object properties: ssl_verify: description: Enables verification of the certificate presented by the server. type: boolean default: false x-speakeasy-param-computed: true timeout: description: Socket timeout in milliseconds. type: integer default: 10000 topic: description: The default Kafka topic to publish to if the query parameter defined in the `topics_query_arg` does not exist in the request type: string topics_query_arg: description: The request query parameter name that contains the topics to publish to type: string default: null nullable: true x-speakeasy-param-computed: false required: - topic consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: confluent protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 Consumer: x-speakeasy-entity: GatewayConsumer description: 'The Consumer object represents a consumer - or a user - of a Service. You can either rely on Kong as the primary datastore, or you can map the consumer list with your database to keep consistency between Kong and your existing primary datastore.' type: object properties: created_at: description: Unix epoch when the resource was created. type: integer nullable: true custom_id: description: Field for storing an existing unique ID for the Consumer - useful for mapping Kong with users in your existing database. You must send either this field or `username` with the request. type: string default: null nullable: true x-speakeasy-param-computed: false id: description: A string representing a UUID (universally unique identifier). type: string nullable: true tags: description: An optional set of strings associated with the Consumer for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true username: description: The unique username of the Consumer. You must send either this field or `custom_id` with the request. type: string default: null nullable: true x-speakeasy-param-computed: false example: custom_id: '4200' id: 8a388226-80e8-4027-a486-25e4f7db5d21 tags: - silver-tier username: bob-the-builder additionalProperties: false x-speakeasy-entity-version: 1 ConsumerGroup: x-speakeasy-entity: GatewayConsumerGroup type: object properties: created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true name: description: The name of the consumer group. type: string tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true additionalProperties: false required: - name x-speakeasy-entity-version: 1 ConsumerGroupInsideWrapper: type: object properties: consumer_group: $ref: '#/components/schemas/ConsumerGroup' CorrelationIdPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/CorrelationIdPluginConfig' CorrelationIdPluginConfig: x-speakeasy-entity: GatewayPluginCorrelationId properties: config: type: object default: null nullable: true properties: echo_downstream: description: Whether to echo the header back to downstream (the client). type: boolean default: false generator: description: 'The generator to use for the correlation ID. Accepted values are `uuid`, `uuid#counter`, and `tracker`. See [Generators](#generators).' type: string default: uuid#counter enum: - tracker - uuid - uuid#counter x-speakeasy-unknown-values: allow header_name: description: The HTTP header name to use for the correlation ID. type: string default: Kong-Request-ID x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: correlation-id protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 CorsPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/CorsPluginConfig' CorsPluginConfig: x-speakeasy-entity: GatewayPluginCors properties: config: type: object default: null nullable: true properties: allow_origin_absent: description: A boolean value that skip cors response headers when origin header of request is empty type: boolean default: true credentials: description: Flag to determine whether the `Access-Control-Allow-Credentials` header should be sent with `true` as the value. type: boolean default: false exposed_headers: description: 'Value for the `Access-Control-Expose-Headers` header. If not specified, no custom headers are exposed.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false headers: description: Value for the `Access-Control-Allow-Headers` header. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false max_age: description: 'Indicates how long the results of the preflight request can be cached, in `seconds`.' type: number default: null nullable: true x-speakeasy-param-computed: false methods: description: '''Value for the `Access-Control-Allow-Methods` header. Available options include `GET`, `HEAD`, `PUT`, `PATCH`, `POST`, `DELETE`, `OPTIONS`, `TRACE`, `CONNECT`. By default, all options are allowed.''' type: array items: enum: - CONNECT - DELETE - GET - HEAD - OPTIONS - PATCH - POST - PUT - TRACE type: string x-speakeasy-unknown-values: allow default: - CONNECT - DELETE - GET - HEAD - OPTIONS - PATCH - POST - PUT - TRACE origins: description: 'List of allowed domains for the `Access-Control-Allow-Origin` header. If you want to allow all origins, add `*` as a single value to this configuration field. The accepted values can either be flat strings or PCRE regexes. NOTE: If you don''t specify any allowed domains, all origins are allowed.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false preflight_continue: description: A boolean value that instructs the plugin to proxy the `OPTIONS` preflight request to the Upstream service. type: boolean default: false private_network: description: Flag to determine whether the `Access-Control-Allow-Private-Network` header should be sent with `true` as the value. type: boolean default: false x-speakeasy-param-computed: false name: const: cors protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https minLength: 1 type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 CustomPlugin: x-speakeasy-entity: GatewayCustomPluginStreaming type: object properties: created_at: description: Unix epoch when the resource was created. type: integer nullable: true handler: description: The handler for the given custom plugin. type: string id: description: A string representing a UUID (universally unique identifier). type: string nullable: true name: description: The name to associate with the given custom plugin. Consider using a distinct prefix for custom plugins to avoid naming conflicts with new bundled plugins in future Kong releases. type: string schema: description: The schema for the given custom plugin. type: string tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true example: handler: 'return { VERSION = ''1.0,0'', PRIORITY = 500, access = function(self, config) kong.service.request.set_header(config.name, config.value) end }' id: 868346aa-1105-4b77-8346-aa1105fb77c4 name: set-header schema: 'return { name = ''set-header'', fields = { { protocols = require(''kong.db.schema.typedefs'').protocols_http }, { config = { type = ''record'', fields = { { name = { description = ''The name of the header to set.'', type = ''string'', required = true } }, { value = { description = ''The value for the header.'', type = ''string'', required = true } } } } } } }' additionalProperties: false required: - handler - name - schema DatadogPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/DatadogPluginConfig' DatadogPluginConfig: x-speakeasy-entity: GatewayPluginDatadog properties: config: type: object default: null nullable: true properties: consumer_tag: description: String to be attached as tag of the consumer. type: string default: consumer flush_timeout: description: 'Optional time in seconds. If `queue_size` > 1, this is the max idle time before sending a log with less than `queue_size` records.' type: number default: null nullable: true x-speakeasy-param-computed: false host: description: 'A string representing a host name, such as example.com.' type: string default: localhost x-referenceable: true metrics: description: List of metrics to be logged. type: array items: properties: consumer_identifier: description: Authenticated user detail type: string enum: - consumer_id - custom_id - username x-speakeasy-unknown-values: allow name: description: Datadog metric’s name type: string enum: - kong_latency - latency - request_count - request_size - response_size - upstream_latency x-speakeasy-unknown-values: allow sample_rate: description: Sampling rate type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: true stat_type: description: Determines what sort of event the metric represents type: string enum: - counter - distribution - gauge - histogram - meter - set - timer x-speakeasy-unknown-values: allow tags: description: List of tags type: array items: type: string x-speakeasy-param-computed: true required: - name - stat_type type: object x-speakeasy-param-computed: true port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 8125 maximum: 65535 minimum: 0 prefix: description: String to be attached as a prefix to a metric's name. type: string default: kong queue: type: object properties: breaker_cooldown: description: Time in seconds the circuit breaker stays open (fast-shedding entries) before it allows a single batch through to probe whether the destination has recovered. type: number default: 60 maximum: 1000000 minimum: 0 concurrency_limit: description: The number of of queue delivery timers. -1 indicates unlimited. type: integer default: 1 enum: - -1 - 1 x-speakeasy-unknown-values: allow failure_threshold: description: Number of consecutive failed batches after which the queue opens its circuit breaker and drops entries instead of retrying. 0 disables the circuit breaker. type: integer default: 0 maximum: 1000000 minimum: 0 initial_retry_delay: description: Time in seconds before the initial retry is made for a failing batch. type: number maximum: 1000000 minimum: 0.001 x-speakeasy-param-computed: true max_batch_size: description: Maximum number of entries that can be processed at a time. type: integer default: 1 maximum: 1000000 minimum: 1 max_bytes: description: 'Maximum number of bytes that can be waiting on a queue, requires string content.' type: integer default: null nullable: true x-speakeasy-param-computed: false max_coalescing_delay: description: Maximum number of (fractional) seconds to elapse after the first entry was queued before the queue starts calling the handler. type: number default: 1 maximum: 3600 minimum: 0 max_entries: description: Maximum number of entries that can be waiting on the queue. type: integer default: 10000 maximum: 1000000 minimum: 1 max_retry_delay: description: 'Maximum time in seconds between retries, caps exponential backoff.' type: number default: 60 maximum: 1000000 minimum: 0.001 max_retry_time: description: Time in seconds before the queue gives up calling a failed handler for a batch. type: number default: 60 x-speakeasy-param-computed: true queue_size: description: Maximum number of log entries to be sent on each message to the upstream server. type: integer default: null nullable: true x-speakeasy-param-computed: false retry_count: description: Number of times to retry when sending data to the upstream server. type: integer default: null nullable: true x-speakeasy-param-computed: false route_name_tag: description: String to be attached as tag of the route name or ID. type: string default: null nullable: true x-speakeasy-param-computed: false service_name_tag: description: String to be attached as the name of the service. type: string default: name status_tag: description: String to be attached as the tag of the HTTP status. type: string default: status x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: datadog protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 DatakitPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/DatakitPluginConfig' DatakitPluginConfig: x-speakeasy-entity: GatewayPluginDatakit properties: config: type: object properties: ca_certificates: description: 'Array of CA Certificate object UUIDs used to build the trust store for verifying the TLS certificate of servers contacted by `call` nodes. Applies only when a node''s `ssl_verify` is enabled (the default). When set, the referenced CA certificates replace (they do not augment) the global `lua_ssl_trusted_certificate` trust set for those requests; when unset or empty, the global trust set is used.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false debug: type: boolean default: false nodes: type: array items: oneOf: - description: Execute different nodes based on some input condition properties: else: description: nodes to execute if the input condition is `false` type: array items: description: A label that uniquely identifies the node within the plugin configuration so that it can be used for input/output connections. Must be valid `snake_case` or `kebab-case`. maxLength: 255 minLength: 1 type: string default: null maxItems: 64 minItems: 1 nullable: true x-speakeasy-param-computed: false input: description: branch node input type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false name: description: A label that uniquely identifies the node within the plugin configuration so that it can be used for input/output connections. Must be valid `snake_case` or `kebab-case`. type: string default: null maxLength: 255 minLength: 1 nullable: true x-lua-required: true x-speakeasy-param-computed: false output: description: branch node output type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false outputs: description: branch node outputs type: object default: null nullable: true properties: else: description: node output type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false then: description: node output type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false then: description: nodes to execute if the input condition is `true` type: array items: description: A label that uniquely identifies the node within the plugin configuration so that it can be used for input/output connections. Must be valid `snake_case` or `kebab-case`. maxLength: 255 minLength: 1 type: string default: null maxItems: 64 minItems: 1 nullable: true x-speakeasy-param-computed: false type: type: string const: branch title: branch type: object - description: Fetch cached data properties: bypass_on_error: type: boolean default: null nullable: true x-speakeasy-param-computed: false input: description: cache node input type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false inputs: description: cache node inputs type: object default: null nullable: true properties: data: description: The data to be cached. type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false key: description: The cache key. type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false ttl: description: The TTL in seconds. type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false name: description: A label that uniquely identifies the node within the plugin configuration so that it can be used for input/output connections. Must be valid `snake_case` or `kebab-case`. type: string default: null maxLength: 255 minLength: 1 nullable: true x-lua-required: true x-speakeasy-param-computed: false output: description: cache node output type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false outputs: description: cache node outputs type: object default: null nullable: true properties: data: description: The data that was cached. type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false hit: description: Signals a cache hit. type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false miss: description: Signals a cache miss. type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false stored: description: Signals whether data was stored in cache. type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false ttl: type: integer default: null nullable: true x-speakeasy-param-computed: false type: type: string const: cache title: cache type: object - description: Make an external HTTP request properties: input: description: call node input type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false inputs: description: call node inputs type: object default: null nullable: true properties: body: description: HTTP request body type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false headers: description: HTTP request headers type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false http_proxy: description: The HTTP proxy URL. This proxy server will be used for HTTP requests. type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false https_proxy: description: The HTTPS proxy URL. This proxy server will be used for HTTPS requests. type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false proxy_auth_password: description: 'The password to authenticate with, if the forward proxy is protected by basic authentication.' type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false proxy_auth_username: description: 'The username to authenticate with, if the forward proxy is protected by basic authentication.' type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false query: description: HTTP request query type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false url: description: HTTP request URL type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false method: description: 'A string representing an HTTP method, such as GET, POST, PUT, or DELETE. The string must contain only uppercase letters.' type: string default: GET maxLength: 32 minLength: 1 name: description: A label that uniquely identifies the node within the plugin configuration so that it can be used for input/output connections. Must be valid `snake_case` or `kebab-case`. type: string default: null maxLength: 255 minLength: 1 nullable: true x-lua-required: true x-speakeasy-param-computed: false output: description: call node output type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false outputs: description: call node outputs type: object default: null nullable: true properties: body: description: HTTP response body type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false headers: description: HTTP response headers type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false raw_body: description: 'The raw, non-decoded HTTP response body' type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false status: description: HTTP response status code type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false ssl_server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: Whether to verify the TLS certificate when making HTTPS requests. type: boolean default: true timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false type: type: string const: call url: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string default: null nullable: true x-speakeasy-param-computed: false title: call type: object - description: Terminate the request and send a response to the client properties: input: description: exit node input type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false inputs: description: exit node inputs type: object default: null nullable: true properties: body: description: HTTP response body type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false headers: description: HTTP response headers type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false name: description: A label that uniquely identifies the node within the plugin configuration so that it can be used for input/output connections. Must be valid `snake_case` or `kebab-case`. type: string default: null maxLength: 255 minLength: 1 nullable: true x-lua-required: true x-speakeasy-param-computed: false status: description: HTTP status code type: integer default: 200 maximum: 599 minimum: 200 type: type: string const: exit warn_headers_sent: type: boolean default: null nullable: true x-speakeasy-param-computed: false title: exit type: object - description: Process data using `jq` syntax properties: input: description: filter input(s) type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false inputs: description: filter input(s) type: object default: null additionalProperties: maxLength: 255 minLength: 1 type: string nullable: true x-speakeasy-param-computed: false jq: description: 'The jq filter text. Refer to https://jqlang.org/manual/ for full documentation.' type: string maxLength: 10240 minLength: 1 name: description: A label that uniquely identifies the node within the plugin configuration so that it can be used for input/output connections. Must be valid `snake_case` or `kebab-case`. type: string default: null maxLength: 255 minLength: 1 nullable: true x-lua-required: true x-speakeasy-param-computed: false output: description: filter output(s) type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false type: type: string const: jq required: - jq title: jq type: object - description: transform JSON or lua table to XML properties: attributes_block_name: type: string default: null maxLength: 32 minLength: 1 nullable: true x-speakeasy-param-computed: false attributes_name_prefix: type: string default: null maxLength: 32 minLength: 1 nullable: true x-speakeasy-param-computed: false input: description: JSON string or table type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false inputs: description: JSON string or table type: object default: null additionalProperties: maxLength: 255 minLength: 1 type: string nullable: true x-speakeasy-param-computed: false name: description: A label that uniquely identifies the node within the plugin configuration so that it can be used for input/output connections. Must be valid `snake_case` or `kebab-case`. type: string default: null maxLength: 255 minLength: 1 nullable: true x-lua-required: true x-speakeasy-param-computed: false output: description: XML document converted from JSON type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false root_element_name: type: string default: null maxLength: 64 minLength: 1 nullable: true x-speakeasy-param-computed: false text_block_name: description: The name of the block to treat as XML text content. type: string default: '#text' maxLength: 32 minLength: 1 type: type: string const: json_to_xml title: json_to_xml type: object - description: Decode JWT without signature verification properties: input: description: JWT token (with or without Bearer prefix) type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false name: description: A label that uniquely identifies the node within the plugin configuration so that it can be used for input/output connections. Must be valid `snake_case` or `kebab-case`. type: string default: null maxLength: 255 minLength: 1 nullable: true x-lua-required: true x-speakeasy-param-computed: false output: description: jwt_decode node output type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false outputs: description: jwt_decode node outputs type: object default: null nullable: true properties: header: description: 'Decoded JWT header (alg, kid, typ)' type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false payload: description: Decoded JWT payload (claims) type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false signature: description: Raw signature (base64url encoded) type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false type: type: string const: jwt_decode title: jwt_decode type: object - description: Create and sign a JWT properties: algorithm: description: Signing algorithm type: string enum: - ES256 - ES384 - ES512 - EdDSA - HS256 - HS384 - HS512 - PS256 - PS384 - PS512 - RS256 - RS384 - RS512 x-speakeasy-unknown-values: allow expires_in: description: Seconds until token expires (for exp claim) type: integer default: 300 input: description: jwt_sign node input type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false inputs: description: jwt_sign node inputs type: object default: null nullable: true properties: claims: description: Dynamic claims to include type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false key: description: 'Signing key (PEM, JWK JSON string, or HMAC secret)' type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false kid: description: Key ID for header type: string default: null nullable: true x-speakeasy-param-computed: false name: description: A label that uniquely identifies the node within the plugin configuration so that it can be used for input/output connections. Must be valid `snake_case` or `kebab-case`. type: string default: null maxLength: 255 minLength: 1 nullable: true x-lua-required: true x-speakeasy-param-computed: false not_before: description: Seconds until token becomes valid (for nbf claim) type: integer default: 0 output: description: jwt_sign node output type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false outputs: description: jwt_sign node outputs type: object default: null nullable: true properties: claims: description: Complete claims used type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false header: description: JWT header type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false token: description: Signed JWT type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false static_claims: description: Static claims always included type: object default: {} additionalProperties: type: string typ: description: Token type for header type: string default: JWT type: type: string const: jwt_sign required: - algorithm title: jwt_sign type: object - description: Verify JWT signature and validate claims properties: allowed_algorithms: description: Allowed signing algorithms (empty = any supported) type: array items: enum: - ES256 - ES384 - ES512 - EdDSA - HS256 - HS384 - HS512 - PS256 - PS384 - PS512 - RS256 - RS384 - RS512 type: string x-speakeasy-unknown-values: allow default: [] audiences: description: Allowed audiences (empty = any) type: array items: type: string default: [] input: description: jwt_verify node input type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false inputs: description: jwt_verify node inputs type: object default: null nullable: true properties: key: description: 'Verification key: JWKS, JWK, PEM string, or HMAC secret' type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false token: description: JWT token (with or without Bearer prefix) type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false issuers: description: Allowed issuers (empty = any) type: array items: type: string default: [] leeway: description: Allowed clock skew in seconds for exp/nbf validation type: integer default: 0 name: description: A label that uniquely identifies the node within the plugin configuration so that it can be used for input/output connections. Must be valid `snake_case` or `kebab-case`. type: string default: null maxLength: 255 minLength: 1 nullable: true x-lua-required: true x-speakeasy-param-computed: false output: description: jwt_verify node output type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false outputs: description: jwt_verify node outputs type: object default: null nullable: true properties: claims: description: JWT payload claims type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false header: description: JWT header type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false required_claims: description: Claims that must be present type: array items: type: string default: [] type: type: string const: jwt_verify validate_exp: description: Validate expiration claim type: boolean default: true validate_nbf: description: Validate not-before claim type: boolean default: true title: jwt_verify type: object - description: Get or set a property properties: content_type: description: 'The expected mime type of the property value. When set to `application/json`, SET operations will JSON-encode input data before writing it, and GET operations will JSON-decode output data after reading it. Otherwise, this setting has no effect.' type: string enum: - application/json - application/octet-stream - text/plain x-speakeasy-unknown-values: allow input: description: 'Property input source. When connected, this node operates in SET mode and writes input data to the property. Otherwise, the node operates in GET mode and reads the property.' type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false name: description: A label that uniquely identifies the node within the plugin configuration so that it can be used for input/output connections. Must be valid `snake_case` or `kebab-case`. type: string default: null maxLength: 255 minLength: 1 nullable: true x-lua-required: true x-speakeasy-param-computed: false non_nil: description: 'When true, the property value must exist: in SET mode, input must not be nil/null; in GET mode, output must not be nil/null.' type: boolean default: false output: description: Property output. This can be connected regardless of whether the node is operating in GET mode or SET mode. type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false property: description: The property name to get/set type: string maxLength: 255 minLength: 1 type: type: string const: property required: - property title: property type: object - description: Produce reusable outputs from statically-configured values properties: name: description: A label that uniquely identifies the node within the plugin configuration so that it can be used for input/output connections. Must be valid `snake_case` or `kebab-case`. type: string default: null maxLength: 255 minLength: 1 nullable: true x-lua-required: true x-speakeasy-param-computed: false output: description: The entire `.values` map type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false outputs: description: 'Individual items from `.values`, referenced by key' type: object default: null additionalProperties: maxLength: 255 minLength: 1 type: string nullable: true x-speakeasy-param-computed: false type: type: string const: static values: description: An object with string keys and freeform values type: object additionalProperties: true x-speakeasy-type-override: any required: - values title: static type: object - description: convert XML to JSON properties: attributes_block_name: type: string default: null maxLength: 32 minLength: 1 nullable: true x-speakeasy-param-computed: false attributes_name_prefix: type: string default: null maxLength: 32 minLength: 1 nullable: true x-speakeasy-param-computed: false input: description: XML document string type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false name: description: A label that uniquely identifies the node within the plugin configuration so that it can be used for input/output connections. Must be valid `snake_case` or `kebab-case`. type: string default: null maxLength: 255 minLength: 1 nullable: true x-lua-required: true x-speakeasy-param-computed: false output: description: 'a map object converted from XML document. If connected to `request.body` or `response.body`, the output will be a JSON object.' type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false recognize_type: type: boolean default: true text_as_property: type: boolean default: false text_block_name: type: string default: '#text' maxLength: 32 minLength: 1 type: type: string const: xml_to_json xpath: type: string default: null maxLength: 256 minLength: 1 nullable: true x-speakeasy-param-computed: false title: xml_to_json type: object maxItems: 64 minItems: 1 resources: type: object default: null nullable: true properties: cache: type: object default: null nullable: true properties: memory: type: object default: null nullable: true properties: dictionary_name: description: The name of the shared dictionary in which to hold cache entities when the memory strategy is selected. Note that this dictionary currently must be defined manually in the Kong Nginx template. type: string default: kong_db_cache x-speakeasy-param-computed: false redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end strategy: description: 'The backing data store in which to hold cache entities. Accepted values are: `memory` and `redis`.' type: string enum: - memory - redis x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false vault: type: object default: null additionalProperties: maxLength: 4095 minLength: 1 type: string x-lua-required: true x-referenceable: true maxLength: 64 minLength: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false required: - nodes consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: datakit protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ee paths: - config.resources.cache.redis DegraphqlPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/DegraphqlPluginConfig' DegraphqlPluginConfig: x-speakeasy-entity: GatewayPluginDegraphql properties: config: type: object default: null nullable: true properties: graphql_server_path: description: The GraphQL endpoint serve path type: string default: /graphql x-speakeasy-param-computed: false name: const: degraphql protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 EntitlementEnforcementPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/EntitlementEnforcementPluginConfig' EntitlementEnforcementPluginConfig: x-speakeasy-entity: GatewayPluginEntitlementEnforcement properties: config: type: object properties: api_token: description: Bearer token for authenticating with the entitlement access endpoint. type: string x-encrypted: true x-referenceable: true credit_balance_required: description: 'If set to true, gateway will fetch credit balance for subject.' type: boolean default: true customer: description: The customer identifies who gets billed for each request. Choose where the plugin should look for the customer identifier. type: object properties: field: description: 'The header name, query parameter, consumer field, or application field that contains the customer identifier, e.g. ''x-customer-id''' type: string default: null nullable: true x-speakeasy-param-computed: false look_up_value_in: description: Where to find the customer identifier in the request. type: string default: consumer enum: - application - consumer - header - query x-speakeasy-unknown-values: allow x-speakeasy-param-computed: true deny_unknown_customers: description: 'If set to true, gateway will deny access to any unknown subjects.' type: boolean default: true entitlement_access_endpoint: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string fail_policy: description: Policy to apply when enforcement state cannot be retrieved. type: string default: allow enum: - allow - block x-speakeasy-unknown-values: allow feature: description: The feature identifies what capability is being accessed and enforced. type: object properties: key: description: The feature key type: string required: - key keepalive: description: How long in milliseconds an idle connection to the entitlement access endpoint is kept open before being closed. type: number default: 60000 l1_cache_ttl_seconds: description: Time in seconds to keep enforcement state in Kong's local L1 cache type: number default: 5 l2_cache_ttl_seconds: description: Time in seconds to keep enforcement state in Redis type: number default: 120 max_stale_seconds: description: Maximum age in seconds of cached enforcement state before it is considered stale and must be refreshed from Redis type: number default: 60 redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: true username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end refresh_interval: description: How often in seconds to poll enforcement state from the entitlement access endpoint type: number default: 30 minimum: 2 response_codes: type: object properties: CUSTOMER_NOT_FOUND: type: object properties: http_status: description: Status code to return when enforcement is triggered. type: number default: 403 maximum: 599 minimum: 100 message: description: Message to return when enforcement is triggered. type: string default: Customer is not found by subject. x-speakeasy-param-computed: true FEATURE_NOT_FOUND: type: object properties: http_status: description: Status code to return when enforcement is triggered. type: number default: 403 maximum: 599 minimum: 100 message: description: Message to return when enforcement is triggered. type: string default: Feature not found. x-speakeasy-param-computed: true FEATURE_UNAVAILABLE: type: object properties: http_status: description: Status code to return when enforcement is triggered. type: number default: 403 maximum: 599 minimum: 100 message: description: Message to return when enforcement is triggered. type: string default: Feature is not available for the customer. x-speakeasy-param-computed: true NO_CREDIT_AVAILABLE: type: object properties: http_status: description: Status code to return when enforcement is triggered. type: number default: 402 maximum: 599 minimum: 100 message: description: Message to return when enforcement is triggered. type: string default: Customer has no credit available. x-speakeasy-param-computed: true USAGE_LIMIT_REACHED: type: object properties: http_status: description: Status code to return when enforcement is triggered. type: number default: 429 maximum: 599 minimum: 100 message: description: Message to return when enforcement is triggered. type: string default: Customer has reached usage limit for feature. x-speakeasy-param-computed: true x-speakeasy-param-computed: true ssl_verify: description: Verify the TLS certificate presented by the entitlement access endpoint. type: boolean default: true sync_rate: description: How often in seconds to sync enforcement state from redis type: number default: 2 minimum: 1 timeout: description: Maximum time in milliseconds to wait for a response from the entitlement access endpoint. type: number default: 10000 required: - api_token - entitlement_access_endpoint - feature consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: entitlement-enforcement protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ee paths: - config.redis ExitTransformerPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/ExitTransformerPluginConfig' ExitTransformerPluginConfig: x-speakeasy-entity: GatewayPluginExitTransformer properties: config: type: object properties: functions: type: array items: type: string handle_unexpected: description: Determines whether to handle unexpected errors by transforming their responses. type: boolean default: false handle_unknown: description: Determines whether to handle unknown status codes by transforming their responses. type: boolean default: false required: - functions consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: exit-transformer protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 FileLogPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/FileLogPluginConfig' FileLogPluginConfig: x-speakeasy-entity: GatewayPluginFileLog properties: config: type: object properties: custom_fields_by_lua: description: Lua code as a key-value map type: object additionalProperties: type: string x-speakeasy-param-computed: true path: description: The file path of the output log file. The plugin creates the log file if it doesn't exist yet. type: string reopen: description: Determines whether the log file is closed and reopened on every request. type: boolean default: false required: - path consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: file-log protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 ForwardProxyPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/ForwardProxyPluginConfig' ForwardProxyPluginConfig: x-speakeasy-entity: GatewayPluginForwardProxy properties: config: type: object default: null nullable: true properties: auth_password: description: |- The password to authenticate with, if the forward proxy is protected by basic authentication. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false auth_username: description: |- The username to authenticate with, if the forward proxy is protected by basic authentication. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ca_certificates: description: 'Array of CA Certificate object UUIDs used to build the trust store for verifying the upstream server''s TLS certificate. When https_verify is enabled and this array is non-empty, those CAs override the global lua_ssl_trusted_certificate for requests proxied by this plugin. When unset or empty, verification falls back to the global lua_ssl_trusted_certificate. When https_verify is disabled, the value is retained in the configuration but ignored at request time.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false https_proxy_host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false https_verify: description: 'Whether the server certificate will be verified. When ca_certificates is configured, those certificates are used for verification. Otherwise, verification uses the CA certificates specified in lua_ssl_trusted_certificate.' type: boolean default: false proxy_scheme: description: The proxy scheme to use when connecting. Only `http` is supported. type: string default: http enum: - http x_headers: description: Determines how to handle headers when forwarding the request. type: string default: append enum: - append - delete - transparent x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: forward-proxy protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 GatewayUnauthorizedError: type: object properties: message: type: string status: type: integer required: - message - status GraphQLCostDecoration: x-speakeasy-entity: GatewayGraphQLCostDecoration type: object properties: add_arguments: type: array items: type: string default: [] nullable: true add_constant: type: number default: 1 nullable: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true mul_arguments: type: array items: type: string default: [] nullable: true mul_constant: type: number default: 1 nullable: true service: type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false type_path: type: string additionalProperties: false required: - type_path GraphqlProxyCacheAdvancedPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/GraphqlProxyCacheAdvancedPluginConfig' GraphqlProxyCacheAdvancedPluginConfig: x-speakeasy-entity: GatewayPluginGraphqlProxyCacheAdvanced properties: config: type: object default: null nullable: true properties: bypass_on_err: description: 'Unhandled errors while trying to retrieve a cache entry (such as redis down) are resolved with `Bypass`, with the request going upstream.' type: boolean default: false cache_ttl: description: TTL in seconds of cache entities. Must be a value greater than 0. type: integer default: 300 memory: type: object default: null nullable: true properties: dictionary_name: description: The name of the shared dictionary in which to hold cache entities when the memory strategy is selected. This dictionary currently must be defined manually in the Kong Nginx template. type: string default: kong_db_cache x-speakeasy-param-computed: false redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end strategy: description: The backing data store in which to hold cached entities. Accepted value is `memory`. type: string default: memory enum: - memory - redis x-speakeasy-unknown-values: allow vary_headers: description: 'Relevant headers considered for the cache key. If undefined, none of the headers are taken into consideration.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: graphql-proxy-cache-advanced protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ee paths: - config.redis GraphqlRateLimitingAdvancedPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/GraphqlRateLimitingAdvancedPluginConfig' GraphqlRateLimitingAdvancedPluginConfig: x-speakeasy-entity: GatewayPluginGraphqlRateLimitingAdvanced properties: config: type: object properties: cost_strategy: description: Strategy to use to evaluate query costs. Either `default` or `node_quantifier`. type: string default: default enum: - default - node_quantifier x-speakeasy-unknown-values: allow dictionary_name: description: The shared dictionary where counters will be stored until the next sync cycle. type: string default: kong_rate_limiting_counters hide_client_headers: description: 'Optionally hide informative response headers. Available options: `true` or `false`.' type: boolean default: false identifier: description: 'How to define the rate limit key. Can be `ip`, `credential`, `consumer`.' type: string default: consumer enum: - consumer - credential - ip x-speakeasy-unknown-values: allow limit: description: One or more requests-per-window limits to apply. type: array items: type: number max_cost: description: A defined maximum cost per query. 0 means unlimited. type: number default: 0 namespace: description: 'The rate limiting namespace to use for this plugin instance. This namespace is used to share rate limiting counters across different instances. If it is not provided, a random UUID is generated. NOTE: For the plugin instances sharing the same namespace, all the configurations that are required for synchronizing counters, e.g. `strategy`, `redis`, `sync_rate`, `window_size`, `dictionary_name`, need to be the same.' type: string default: null nullable: true x-speakeasy-param-computed: false pass_all_downstream_headers: description: pass all downstream headers to the upstream graphql server in introspection request type: boolean default: false redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end score_factor: description: A scoring factor to multiply (or divide) the cost. The `score_factor` must always be greater than 0. type: number default: 1 strategy: description: The rate-limiting strategy to use for retrieving and incrementing the limits. type: string default: cluster enum: - cluster - redis x-speakeasy-unknown-values: allow sync_rate: description: How often to sync counter data to the central data store. A value of 0 results in synchronous behavior; a value of -1 ignores sync behavior entirely and only stores counters in node memory. A value greater than 0 syncs the counters in that many number of seconds. type: number window_size: description: One or more window sizes to apply a limit to (defined in seconds). type: array items: type: number window_type: description: Sets the time window to either `sliding` or `fixed`. type: string default: sliding enum: - fixed - sliding x-speakeasy-unknown-values: allow required: - limit - sync_rate - window_size consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: graphql-rate-limiting-advanced protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ee paths: - config.redis GrpcGatewayPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/GrpcGatewayPluginConfig' GrpcGatewayPluginConfig: x-speakeasy-entity: GatewayPluginGrpcGateway properties: config: type: object default: null nullable: true properties: proto: description: Describes the gRPC types and methods. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: grpc-gateway protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 GrpcWebPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/GrpcWebPluginConfig' GrpcWebPluginConfig: x-speakeasy-entity: GatewayPluginGrpcWeb properties: config: type: object default: null nullable: true properties: allow_origin_header: description: The value of the `Access-Control-Allow-Origin` header in the response to the gRPC-Web client. type: string default: '*' pass_stripped_path: description: If set to `true` causes the plugin to pass the stripped request path to the upstream gRPC service. type: boolean default: null nullable: true x-speakeasy-param-computed: false proto: description: 'If present, describes the gRPC types and methods. Required to support payload transcoding. When absent, the web client must use application/grpw-web+proto content.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: grpc-web protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 HMACAuth: x-speakeasy-entity: GatewayHMACAuth type: object properties: consumer: type: object nullable: true properties: id: type: string x-foreign: true x-speakeasy-terraform-ignore: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true secret: type: string nullable: true x-encrypted: true x-speakeasy-param-computed: true tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false username: type: string example: consumer: id: 84a73fb8-50fc-44a7-a4d5-aa17728ee83f id: 75695322-e8a0-4109-aed4-5416b0308d85 secret: wQazJ304DW5huJklHgUfjfiSyCyTAEDZ username: xerxes additionalProperties: false required: - username HMACAuthWithoutParents: x-speakeasy-entity: GatewayHMACAuth type: object properties: consumer: type: object nullable: true properties: id: type: string x-foreign: true x-speakeasy-terraform-ignore: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true secret: type: string nullable: true x-encrypted: true x-speakeasy-param-computed: true tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false username: type: string example: id: 75695322-e8a0-4109-aed4-5416b0308d85 secret: wQazJ304DW5huJklHgUfjfiSyCyTAEDZ username: xerxes additionalProperties: false required: - username x-speakeasy-entity-version: 1 HeaderCertAuthPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/HeaderCertAuthPluginConfig' HeaderCertAuthPluginConfig: x-speakeasy-entity: GatewayPluginHeaderCertAuth properties: config: type: object properties: allow_partial_chain: description: 'Allow certificate verification with only an intermediate certificate. When this is enabled, you don''t need to upload the full chain to Kong Certificates.' type: boolean default: false anonymous: description: 'An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request fails with an authentication failure `4xx`. Note that this value must refer to the consumer `id` or `username` attribute, and **not** its `custom_id`.' type: string default: null nullable: true x-speakeasy-param-computed: false authenticated_group_by: description: 'Certificate property to use as the authenticated group. Valid values are `CN` (Common Name) or `DN` (Distinguished Name). Once `skip_consumer_lookup` is applied, any client with a valid certificate can access the Service/API. To restrict usage to only some of the authenticated users, also add the ACL plugin (not covered here) and create allowed or denied groups of users.' type: string default: CN enum: - CN - DN x-speakeasy-unknown-values: allow ca_certificates: description: List of CA Certificates strings to use as Certificate Authorities (CA) when validating a client certificate. At least one is required but you can specify as many as needed. The value of this array is comprised of primary keys (`id`). type: array items: type: string cache_ttl: description: Cache expiry time in seconds. type: number default: 60 cert_cache_ttl: description: The length of time in milliseconds between refreshes of the revocation check status cache. type: number default: 60000 certificate_header_format: description: 'Format of the certificate header. Supported formats: `base64_encoded`, `url_encoded`.' type: string enum: - base64_encoded - url_encoded x-speakeasy-unknown-values: allow certificate_header_name: description: 'Name of the header that contains the certificate, received from the WAF or other L7 downstream proxy.' type: string consumer_by: description: 'Whether to match the subject name of the client-supplied certificate against consumer''s `username` and/or `custom_id` attribute. If set to `[]` (the empty array), then auto-matching is disabled.' type: array items: enum: - custom_id - username type: string x-speakeasy-unknown-values: allow default: - custom_id - username default_consumer: description: 'The UUID or username of the consumer to use when a trusted client certificate is presented but no consumer matches. Note that this value must refer to the consumer `id` or `username` attribute, and **not** its `custom_id`.' type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false http_timeout: description: HTTP timeout threshold in milliseconds when communicating with the OCSP server or downloading CRL. type: number default: 30000 https_proxy_host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false revocation_check_mode: description: 'Controls client certificate revocation check behavior. If set to `SKIP`, no revocation check is performed. If set to `IGNORE_CA_ERROR`, the plugin respects the revocation status when either OCSP or CRL URL is set, and doesn''t fail on network issues. If set to `STRICT`, the plugin only treats the certificate as valid when it''s able to verify the revocation status.' type: string default: IGNORE_CA_ERROR enum: - IGNORE_CA_ERROR - SKIP - STRICT x-speakeasy-unknown-values: allow secure_source: description: 'Whether to secure the source of the request. If set to `true`, the plugin will only allow requests from trusted IPs (configured by the `trusted_ips` config option).' type: boolean default: true skip_consumer_lookup: description: Skip consumer lookup once certificate is trusted against the configured CA list. type: boolean default: false ssl_verify: description: This option enables verification of the certificate presented by the server of the OCSP responder's URL and by the server of the CRL Distribution Point. type: boolean default: false required: - ca_certificates - certificate_header_format - certificate_header_name name: const: header-cert-auth protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 HmacAuthPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/HmacAuthPluginConfig' HmacAuthPluginConfig: x-speakeasy-entity: GatewayPluginHmacAuth properties: config: type: object default: null nullable: true properties: algorithms: description: 'A list of HMAC digest algorithms that the user wants to support. Allowed values are `hmac-sha224`, `hmac-sha256`, `hmac-sha384`, `hmac-sha512`, and `hmac-sha1` (disabled by default, and not available in FIPS mode)' type: array items: enum: - hmac-sha1 - hmac-sha224 - hmac-sha256 - hmac-sha384 - hmac-sha512 type: string x-speakeasy-unknown-values: allow default: - hmac-sha224 - hmac-sha256 - hmac-sha384 - hmac-sha512 anonymous: description: An optional string (Consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. type: string default: null nullable: true x-speakeasy-param-computed: false clock_skew: description: Clock skew in seconds to prevent replay attacks. type: number default: 300 enforce_headers: description: A list of headers that the client should at least use for HTTP signature creation. type: array items: type: string default: [] hide_credentials: description: An optional boolean value telling the plugin to show or hide the credential from the upstream service. type: boolean default: false realm: description: When authentication fails the plugin sends `WWW-Authenticate` header with `realm` attribute value. type: string default: null nullable: true x-speakeasy-param-computed: false validate_request_body: description: A boolean value telling the plugin to enable body validation. type: boolean default: false x-speakeasy-param-computed: false name: const: hmac-auth protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpc - grpcs - http - https - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https - ws - wss route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 HttpLogPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/HttpLogPluginConfig' HttpLogPluginConfig: x-speakeasy-entity: GatewayPluginHttpLog properties: config: type: object properties: client_certificate: description: Certificate to use as the mTLS client certificate when connecting to the configured HTTPS endpoint. type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false content_type: description: Indicates the type of data sent. The only available option is `application/json`. type: string default: application/json enum: - application/json - application/json; charset=utf-8 x-speakeasy-unknown-values: allow custom_fields_by_lua: description: Lua code as a key-value map type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false flush_timeout: description: 'Optional time in seconds. If `queue_size` > 1, this is the max idle time before sending a log with less than `queue_size` records.' type: number default: null nullable: true x-speakeasy-param-computed: false headers: description: 'An optional table of headers included in the HTTP message to the upstream server. Values are indexed by header name, and each header name accepts a single string.' type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false http_endpoint: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string x-encrypted: true x-referenceable: true keepalive: description: An optional value in milliseconds that defines how long an idle connection will live before being closed. type: number default: 60000 method: description: 'An optional method used to send data to the HTTP server. Supported values are `POST` (default), `PUT`, and `PATCH`.' type: string default: POST enum: - PATCH - POST - PUT x-speakeasy-unknown-values: allow queue: type: object default: null nullable: true properties: breaker_cooldown: description: Time in seconds the circuit breaker stays open (fast-shedding entries) before it allows a single batch through to probe whether the destination has recovered. type: number default: 60 maximum: 1000000 minimum: 0 concurrency_limit: description: The number of of queue delivery timers. -1 indicates unlimited. type: integer default: 1 enum: - -1 - 1 x-speakeasy-unknown-values: allow failure_threshold: description: Number of consecutive failed batches after which the queue opens its circuit breaker and drops entries instead of retrying. 0 disables the circuit breaker. type: integer default: 0 maximum: 1000000 minimum: 0 initial_retry_delay: description: Time in seconds before the initial retry is made for a failing batch. type: number maximum: 1000000 minimum: 0.001 x-speakeasy-param-computed: true max_batch_size: description: Maximum number of entries that can be processed at a time. type: integer default: 1 maximum: 1000000 minimum: 1 max_bytes: description: 'Maximum number of bytes that can be waiting on a queue, requires string content.' type: integer default: null nullable: true x-speakeasy-param-computed: false max_coalescing_delay: description: Maximum number of (fractional) seconds to elapse after the first entry was queued before the queue starts calling the handler. type: number default: 1 maximum: 3600 minimum: 0 max_entries: description: Maximum number of entries that can be waiting on the queue. type: integer default: 10000 maximum: 1000000 minimum: 1 max_retry_delay: description: 'Maximum time in seconds between retries, caps exponential backoff.' type: number default: 60 maximum: 1000000 minimum: 0.001 max_retry_time: description: Time in seconds before the queue gives up calling a failed handler for a batch. type: number default: 60 x-speakeasy-param-computed: false queue_size: description: Maximum number of log entries to be sent on each message to the upstream server. type: integer default: null nullable: true x-speakeasy-param-computed: false retry_count: description: Number of times to retry when sending data to the upstream server. type: integer default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: 'When using TLS, this option enables verification of the certificate presented by the server.' type: boolean default: false timeout: description: An optional timeout in milliseconds when sending data to the upstream server. type: number default: 10000 required: - http_endpoint consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: http-log protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 InjectionProtectionPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/InjectionProtectionPluginConfig' InjectionProtectionPluginConfig: x-speakeasy-entity: GatewayPluginInjectionProtection properties: config: type: object default: null nullable: true properties: custom_injections: description: Custom regexes to check for. type: array items: properties: name: description: A unique name for this injection. type: string regex: description: The regex to match against. type: string required: - name - regex type: object default: null nullable: true x-speakeasy-param-computed: false enforcement_mode: description: Enforcement mode of the security policy. type: string default: block enum: - block - log_only x-speakeasy-unknown-values: allow error_message: description: The response message when validation fails type: string default: Bad Request error_status_code: description: The response status code when validation fails. type: integer default: 400 maximum: 499 minimum: 400 injection_types: description: The type of injections to check for. type: array items: enum: - java_exception - js - sql - sql_low_sensitivity - ssi - xpath_abbreviated - xpath_extended type: string x-speakeasy-unknown-values: allow default: - sql locations: description: The locations to check for injection. type: array items: enum: - body - headers - path - path_and_query - query type: string x-speakeasy-unknown-values: allow default: - path_and_query x-speakeasy-param-computed: false name: const: injection-protection protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 IpRestrictionPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/IpRestrictionPluginConfig' IpRestrictionPluginConfig: x-speakeasy-entity: GatewayPluginIpRestriction properties: config: type: object default: null nullable: true properties: allow: description: List of IPs or CIDR ranges to allow. One of `config.allow` or `config.deny` must be specified. type: array items: description: 'A string representing an IP address or CIDR block, such as 192.168.1.1 or 192.168.0.0/16.' type: string default: null nullable: true x-speakeasy-param-computed: false deny: description: List of IPs or CIDR ranges to deny. One of `config.allow` or `config.deny` must be specified. type: array items: description: 'A string representing an IP address or CIDR block, such as 192.168.1.1 or 192.168.0.0/16.' type: string default: null nullable: true x-speakeasy-param-computed: false message: description: The message to send as a response body to rejected requests. type: string default: null nullable: true x-speakeasy-param-computed: false status: description: The HTTP status of the requests that will be rejected by the plugin. type: number default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: ip-restriction protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https - tcp - tls route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 JWT: x-speakeasy-entity: GatewayJWT type: object properties: algorithm: type: string default: HS256 enum: - ES256 - ES256K - ES384 - ES512 - ESB256 - ESB320 - ESB384 - ESB512 - ESP256 - ESP384 - ESP512 - Ed25519 - Ed448 - EdDSA - HS256 - HS384 - HS512 - PS256 - PS384 - PS512 - RS256 - RS384 - RS512 nullable: true x-speakeasy-unknown-values: allow consumer: type: object nullable: true properties: id: type: string x-foreign: true x-speakeasy-terraform-ignore: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true key: type: string nullable: true x-speakeasy-param-computed: true rsa_public_key: type: string default: null nullable: true x-speakeasy-param-computed: false secret: type: string nullable: true x-speakeasy-param-computed: true tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false example: algorithm: HS256 consumer: id: 84a73fb8-50fc-44a7-a4d5-aa17728ee83f id: 75695322-e8a0-4109-aed4-5416b0308d85 key: YJdmaDvVTJxtcWRCvkMikc8oELgAVNcz secret: C50k0bcahDhLNhLKSUBSR1OMiFGzNZ7X additionalProperties: false JWTWithoutParents: x-speakeasy-entity: GatewayJWT type: object properties: algorithm: type: string default: HS256 enum: - ES256 - ES256K - ES384 - ES512 - ESB256 - ESB320 - ESB384 - ESB512 - ESP256 - ESP384 - ESP512 - Ed25519 - Ed448 - EdDSA - HS256 - HS384 - HS512 - PS256 - PS384 - PS512 - RS256 - RS384 - RS512 nullable: true x-speakeasy-unknown-values: allow consumer: type: object nullable: true properties: id: type: string x-foreign: true x-speakeasy-terraform-ignore: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true key: type: string nullable: true x-speakeasy-param-computed: true rsa_public_key: type: string default: null nullable: true x-speakeasy-param-computed: false secret: type: string nullable: true x-speakeasy-param-computed: true tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false example: algorithm: HS256 id: 75695322-e8a0-4109-aed4-5416b0308d85 key: YJdmaDvVTJxtcWRCvkMikc8oELgAVNcz secret: C50k0bcahDhLNhLKSUBSR1OMiFGzNZ7X additionalProperties: false x-speakeasy-entity-version: 1 JqPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/JqPluginConfig' JqPluginConfig: x-speakeasy-entity: GatewayPluginJq properties: config: type: object default: null nullable: true properties: request_if_media_type: type: array items: type: string default: - application/json request_jq_program: type: string default: null nullable: true x-speakeasy-param-computed: false request_jq_program_options: type: object default: {} properties: ascii_output: type: boolean default: false compact_output: type: boolean default: true join_output: type: boolean default: false raw_output: type: boolean default: false sort_keys: type: boolean default: false response_if_media_type: type: array items: type: string default: - application/json response_if_status_code: type: array items: maximum: 599 minimum: 100 type: integer default: - 200 response_jq_program: type: string default: null nullable: true x-speakeasy-param-computed: false response_jq_program_options: type: object default: {} properties: ascii_output: type: boolean default: false compact_output: type: boolean default: true join_output: type: boolean default: false raw_output: type: boolean default: false sort_keys: type: boolean default: false x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: jq protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 JsonThreatProtectionPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/JsonThreatProtectionPluginConfig' JsonThreatProtectionPluginConfig: x-speakeasy-entity: GatewayPluginJsonThreatProtection properties: config: type: object default: null nullable: true properties: allow_duplicate_object_entry_name: description: Allow or disallow duplicate object entry name. type: boolean default: true allow_non_json_requests: description: Allow non-json requests to bypass the rules type: boolean default: false enforcement_mode: description: Enforcement mode of the security policy. type: string default: block enum: - block - log_only x-speakeasy-unknown-values: allow error_message: description: The response message when validation fails type: string default: Bad Request error_status_code: description: The response status code when validation fails. type: integer default: 400 maximum: 499 minimum: 400 max_array_element_count: description: Max number of elements in an array. -1 means unlimited. type: integer default: -1 maximum: 2147483648 minimum: -1 max_body_size: description: Max size of the request body. -1 means unlimited. type: integer default: 8192 maximum: 2147483648 minimum: -1 max_container_depth: description: Max nested depth of objects and arrays. -1 means unlimited. type: integer default: -1 maximum: 2147483648 minimum: -1 max_object_entry_count: description: Max number of entries in an object. -1 means unlimited. type: integer default: -1 maximum: 2147483648 minimum: -1 max_object_entry_name_length: description: Max string length of object name. -1 means unlimited. type: integer default: -1 maximum: 2147483648 minimum: -1 max_string_value_length: description: Max string value length. -1 means unlimited. type: integer default: -1 maximum: 2147483648 minimum: -1 x-speakeasy-param-computed: false name: const: json-threat-protection protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 JweDecryptPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/JweDecryptPluginConfig' JweDecryptPluginConfig: x-speakeasy-entity: GatewayPluginJweDecrypt properties: config: type: object properties: forward_header_name: description: The name of the header that is used to set the decrypted value. type: string default: Authorization key_sets: description: Denote the name or names of all Key Sets that should be inspected when trying to find a suitable key to decrypt the JWE token. type: array items: type: string lookup_header_name: description: The name of the header to look for the JWE token. type: string default: Authorization strict: description: 'Defines how the plugin behaves in cases where no token was found in the request. When using `strict` mode, the request requires a token to be present and subsequently raise an error if none could be found.' type: boolean default: true required: - key_sets name: const: jwe-decrypt protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 JwtPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/JwtPluginConfig' JwtPluginConfig: x-speakeasy-entity: GatewayPluginJwt properties: config: type: object default: null nullable: true properties: anonymous: description: An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. type: string default: null nullable: true x-speakeasy-param-computed: false claims_to_verify: description: 'A list of registered claims (according to RFC 7519) that Kong can verify as well. Accepted values: one of exp or nbf.' type: array items: enum: - exp - nbf type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false cookie_names: description: A list of cookie names that Kong will inspect to retrieve JWTs. type: array items: type: string default: [] header_names: description: A list of HTTP header names that Kong will inspect to retrieve JWTs. type: array items: type: string default: - authorization key_claim_name: description: 'The name of the claim in which the key identifying the secret must be passed. The plugin will attempt to read this claim from the JWT payload and the header, in that order.' type: string default: iss maximum_expiration: description: A value between 0 and 31536000 (365 days) limiting the lifetime of the JWT to maximum_expiration seconds in the future. type: number default: 0 maximum: 31536000 minimum: 0 realm: description: When authentication fails the plugin sends `WWW-Authenticate` header with `realm` attribute value. type: string default: null nullable: true x-speakeasy-param-computed: false run_on_preflight: description: 'A boolean value that indicates whether the plugin should run (and try to authenticate) on OPTIONS preflight requests. If set to false, then OPTIONS requests will always be allowed.' type: boolean default: true secret_is_base64: description: 'If true, the plugin assumes the credential’s secret to be base64 encoded. You will need to create a base64-encoded secret for your Consumer, and sign your JWT with the original secret.' type: boolean default: false uri_param_names: description: A list of querystring parameters that Kong will inspect to retrieve JWTs. type: array items: type: string default: - jwt x-speakeasy-param-computed: false name: const: jwt protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 JwtSignerPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/JwtSignerPluginConfig' JwtSignerPluginConfig: x-speakeasy-entity: GatewayPluginJwtSigner properties: config: type: object default: null nullable: true properties: access_token_audience_claim: description: Specify the claim in an access token to verify against values of `config.access_token_audiences_allowed`. type: array items: type: string default: - aud access_token_audiences_allowed: description: The audiences allowed to be present in the access token claim specified by `config.access_token_audience_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false access_token_consumer_by: description: 'When the plugin tries to apply an access token to a Kong consumer mapping, it tries to find a matching Kong consumer from properties defined using this configuration parameter. The parameter can take an array of values. Valid values are `id`, `username`, and `custom_id`.' type: array items: enum: - custom_id - id - username type: string x-speakeasy-unknown-values: allow default: - custom_id - username access_token_consumer_claim: description: 'When you set a value for this parameter, the plugin tries to map an arbitrary claim specified with this configuration parameter (for example, `sub` or `username`) in an access token to Kong consumer entity.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false access_token_endpoints_ssl_verify: description: 'Whether to verify the TLS certificate if any of `access_token_introspection_endpoint`, `access_token_jwks_uri`, or `access_token_keyset` is an HTTPS URI.' type: boolean default: false access_token_expiry_claim: description: Specify the expiry claim in an access token to verify if the default `exp` is not used. type: array items: type: string default: - exp access_token_introspection_audience_claim: description: Specify the claim in an access token introspection to verify against values of `config.access_token_introspection_audiences_allowed`. type: array items: type: string default: - aud access_token_introspection_audiences_allowed: description: The audiences allowed to be present in the access token introspection claim specified by `config.access_token_introspection_audience_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false access_token_introspection_authorization: description: 'If the introspection endpoint requires client authentication (client being the JWT Signer plugin), you can specify the `Authorization` header''s value with this configuration parameter.' type: string default: null nullable: true x-speakeasy-param-computed: false access_token_introspection_body_args: description: 'This parameter allows you to pass URL encoded request body arguments. For example: `resource=` or `a=1&b=&c`.' type: string default: null nullable: true x-speakeasy-param-computed: false access_token_introspection_consumer_by: description: 'When the plugin tries to do access token introspection results to Kong consumer mapping, it tries to find a matching Kong consumer from properties defined using this configuration parameter. The parameter can take an array of values.' type: array items: enum: - custom_id - id - username type: string x-speakeasy-unknown-values: allow default: - custom_id - username access_token_introspection_consumer_claim: description: 'When you set a value for this parameter, the plugin tries to map an arbitrary claim specified with this configuration parameter (such as `sub` or `username`) in access token introspection results to the Kong consumer entity.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false access_token_introspection_endpoint: description: 'When you use `opaque` access tokens and you want to turn on access token introspection, you need to specify the OAuth 2.0 introspection endpoint URI with this configuration parameter.' type: string default: null nullable: true x-speakeasy-param-computed: false access_token_introspection_expiry_claim: description: Specify the expiry claim in an access token introspection to verify if the default `exp` is not used. type: array items: type: string default: - exp access_token_introspection_hint: description: 'If you need to give `hint` parameter when introspecting an access token, use this parameter to specify the value. By default, the plugin sends `hint=access_token`.' type: string default: access_token access_token_introspection_issuer_claim: description: Specify the claim in an access token introspection to verify against values of `config.access_token_introspection_issuers_allowed`. type: array items: type: string default: - iss access_token_introspection_issuers_allowed: description: The issuers allowed to be present in the access token introspection claim specified by `config.access_token_introspection_issuer_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false access_token_introspection_jwt_claim: description: 'If your introspection endpoint returns an access token in one of the keys (or claims) within the introspection results (`JSON`). If the key cannot be found, the plugin responds with `401 Unauthorized`. Also if the key is found but cannot be decoded as JWT, it also responds with `401 Unauthorized`.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false access_token_introspection_leeway: description: 'Adjusts clock skew between the token issuer introspection results and Kong. The value will be used to time-related claim verification. For example, it will be added to introspection results (`JSON`) `exp` claim/property before checking token expiry against Kong servers current time in seconds. You can disable access token introspection `expiry` verification altogether with `config.verify_access_token_introspection_expiry`.' type: number default: 0 access_token_introspection_notbefore_claim: description: Specify the notbefore claim in an access token introspection to verify if the default `nbf` is not used. type: array items: type: string default: - nbf access_token_introspection_optional_claims: description: 'Specify the optional claims of the access token introspection result. These claims are only validated when they are present. Every claim is specified by an array. If the array has multiple elements, it means the claim is inside a nested object of the payload.' type: array items: items: type: string type: array default: null nullable: true x-speakeasy-param-computed: false access_token_introspection_required_claims: description: 'Specify the required claims that must be present in the access token introspection result. Every claim is specified by an array. If the array has multiple elements, it means the claim is inside a nested object of the payload.' type: array items: items: type: string type: array default: null nullable: true x-speakeasy-param-computed: false access_token_introspection_scopes_claim: description: 'Specify the claim/property in access token introspection results (`JSON`) to be verified against values of `config.access_token_introspection_scopes_required`. This supports nested claims. For example, with Keycloak you could use `[ "realm_access", "roles" ]`, which can be given as `realm_access,roles` (form post). If the claim is not found in access token introspection results, and you have specified `config.access_token_introspection_scopes_required`, the plugin responds with `403 Forbidden`.' type: array items: type: string default: - scope access_token_introspection_scopes_required: description: Specify the required values (or scopes) that are checked by an introspection claim/property specified by `config.access_token_introspection_scopes_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false access_token_introspection_subject_claim: description: Specify the claim in an access token introspection to verify against values of `config.access_token_introspection_subjects_allowed`. type: array items: type: string default: - sub access_token_introspection_subjects_allowed: description: The subjects allowed to be present in the access token introspection claim specified by `config.access_token_introspection_subject_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false access_token_introspection_timeout: description: 'Timeout in milliseconds for an introspection request. The plugin tries to introspect twice if the first request fails for some reason. If both requests timeout, then the plugin runs two times the `config.access_token_introspection_timeout` on access token introspection.' type: number default: null nullable: true x-speakeasy-param-computed: false access_token_issuer: description: The `iss` claim of a signed or re-signed access token is set to this value. Original `iss` claim of the incoming token (possibly introspected) is stored in `original_iss` claim of the newly signed access token. type: string default: kong access_token_issuer_claim: description: Specify the claim in an access token to verify against values of `config.access_token_issuers_allowed`. type: array items: type: string default: - iss access_token_issuers_allowed: description: The issuers allowed to be present in the access token claim specified by `config.access_token_issuer_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false access_token_jwks_uri: description: Specify the URI where the plugin can fetch the public keys (JWKS) to verify the signature of the access token. type: string default: null nullable: true x-speakeasy-param-computed: false access_token_jwks_uri_client_certificate: description: The client certificate that will be used to authenticate Kong if `access_token_jwks_uri` is an https uri that requires mTLS Auth. type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false access_token_jwks_uri_client_password: description: The client password that will be used to authenticate Kong if `access_token_jwks_uri` is a uri that requires Basic Auth. Should be configured together with `access_token_jwks_uri_client_username` type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false access_token_jwks_uri_client_username: description: The client username that will be used to authenticate Kong if `access_token_jwks_uri` is a uri that requires Basic Auth. Should be configured together with `access_token_jwks_uri_client_password` type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false access_token_jwks_uri_rotate_period: description: Specify the period (in seconds) to auto-rotate the jwks for `access_token_jwks_uri`. The default value 0 means no auto-rotation. type: number default: 0 access_token_keyset: description: The name of the keyset containing signing keys. type: string default: kong access_token_keyset_client_certificate: description: The client certificate that will be used to authenticate Kong if `access_token_keyset` is an https uri that requires mTLS Auth. type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false access_token_keyset_client_password: description: The client password that will be used to authenticate Kong if `access_token_keyset` is a uri that requires Basic Auth. Should be configured together with `access_token_keyset_client_username` type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false access_token_keyset_client_username: description: The client username that will be used to authenticate Kong if `access_token_keyset` is a uri that requires Basic Auth. Should be configured together with `access_token_keyset_client_password` type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false access_token_keyset_rotate_period: description: Specify the period (in seconds) to auto-rotate the jwks for `access_token_keyset`. The default value 0 means no auto-rotation. type: number default: 0 access_token_leeway: description: 'Adjusts clock skew between the token issuer and Kong. The value will be used to time-related claim verification. For example, it will be added to the token''s `exp` claim before checking token expiry against Kong servers'' current time in seconds. You can disable access token `expiry` verification altogether with `config.verify_access_token_expiry`.' type: number default: 0 access_token_notbefore_claim: description: Specify the notbefore claim in an access token to verify if the default `nbf` is not used. type: array items: type: string default: - nbf access_token_optional: description: 'If an access token is not provided or no `config.access_token_request_header` is specified, the plugin cannot verify the access token. In that case, the plugin normally responds with `401 Unauthorized` (client didn''t send a token) or `500 Unexpected` (a configuration error). Use this parameter to allow the request to proceed even when there is no token to check. If the token is provided, then this parameter has no effect' type: boolean default: false access_token_optional_claims: description: 'Specify the optional claims of the access token. These claims are only validated when they are present. Every claim is specified by an array. If the array has multiple elements, it means the claim is inside a nested object of the payload.' type: array items: items: type: string type: array default: null nullable: true x-speakeasy-param-computed: false access_token_request_header: description: This parameter tells the name of the header where to look for the access token. type: string default: Authorization access_token_required_claims: description: 'Specify the required claims that must be present in the access token. Every claim is specified by an array. If the array has multiple elements, it means the claim is inside a nested object of the payload.' type: array items: items: type: string type: array default: null nullable: true x-speakeasy-param-computed: false access_token_scopes_claim: description: Specify the claim in an access token to verify against values of `config.access_token_scopes_required`. type: array items: type: string default: - scope access_token_scopes_required: description: Specify the required values (or scopes) that are checked by a claim specified by `config.access_token_scopes_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false access_token_signing: description: 'Quickly turn access token signing or re-signing off and on as needed. If turned off, the plugin will not send the signed or resigned token to the upstream.' type: boolean default: true access_token_signing_algorithm: description: 'When this plugin sets the upstream header as specified with `config.access_token_upstream_header`, re-signs the original access token using the private keys of the JWT Signer plugin. Specify the algorithm that is used to sign the token. The `config.access_token_issuer` specifies which `keyset` is used to sign the new token issued by Kong using the specified signing algorithm.' type: string default: RS256 enum: - ES256 - ES384 - ES512 - EdDSA - HS256 - HS384 - HS512 - PS256 - PS384 - PS512 - RS256 - RS512 x-speakeasy-unknown-values: allow access_token_subject_claim: description: Specify the claim in an access token to verify against values of `config.access_token_subjects_allowed`. type: array items: type: string default: - sub access_token_subjects_allowed: description: The subjects allowed to be present in the access token claim specified by `config.access_token_subject_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false access_token_upstream_header: description: 'Removes the `config.access_token_request_header` from the request after reading its value. With `config.access_token_upstream_header`, you can specify the upstream header where the plugin adds the Kong signed token. If you don''t specify a value, such as use `null` or `""` (empty string), the plugin does not even try to sign or re-sign the token.' type: string default: 'Authorization:Bearer' access_token_upstream_leeway: description: 'If you want to add or subtract (using a negative value) expiry time (in seconds) of the original access token, you can specify a value that is added to the original access token''s `exp` claim.' type: number default: 0 add_access_token_claims: description: 'Add customized claims if they are not present yet. Value can be a regular or JSON string; if JSON, decoded data is used as the claim''s value.' type: object default: {} additionalProperties: type: string add_channel_token_claims: description: 'Add customized claims if they are not present yet. Value can be a regular or JSON string; if JSON, decoded data is used as the claim''s value.' type: object default: {} additionalProperties: type: string add_claims: description: 'Add customized claims to both tokens if they are not present yet. Value can be a regular or JSON string; if JSON, decoded data is used as the claim''s value.' type: object default: {} additionalProperties: type: string cache_access_token_introspection: description: Whether to cache access token introspection results. type: boolean default: true cache_channel_token_introspection: description: Whether to cache channel token introspection results. type: boolean default: true channel_token_audience_claim: description: Specify the claim in a channel token to verify against values of `config.channel_token_audiences_allowed`. type: array items: type: string default: - aud channel_token_audiences_allowed: description: The audiences allowed to be present in the channel token claim specified by `config.channel_token_audience_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_consumer_by: description: 'When the plugin tries to do channel token to Kong consumer mapping, it tries to find a matching Kong consumer from properties defined using this configuration parameter. The parameter can take an array of valid values: `id`, `username`, and `custom_id`.' type: array items: enum: - custom_id - id - username type: string x-speakeasy-unknown-values: allow default: - custom_id - username channel_token_consumer_claim: description: 'When you set a value for this parameter, the plugin tries to map an arbitrary claim specified with this configuration parameter. Kong consumers have an `id`, a `username`, and a `custom_id`. If this parameter is enabled but the mapping fails, such as when there''s a non-existent Kong consumer, the plugin responds with `403 Forbidden`.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_endpoints_ssl_verify: description: 'Whether to verify the TLS certificate if any of `channel_token_introspection_endpoint`, `channel_token_jwks_uri`, or `channel_token_keyset` is an HTTPS URI.' type: boolean default: false channel_token_expiry_claim: description: Specify the expiry claim in a channel token to verify if the default `exp` is not used. type: array items: type: string default: - exp channel_token_introspection_audience_claim: description: Specify the claim in a channel token introspection to verify against values of `config.channel_token_introspection_audiences_allowed`. type: array items: type: string default: - aud channel_token_introspection_audiences_allowed: description: The audiences allowed to be present in the channel token introspection claim specified by `config.channel_token_introspection_audience_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_introspection_authorization: description: 'When using `opaque` channel tokens, and you want to turn on channel token introspection, you need to specify the OAuth 2.0 introspection endpoint URI with this configuration parameter. Otherwise the plugin will not try introspection, and instead returns `401 Unauthorized` when using opaque channel tokens.' type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_introspection_body_args: description: 'If you need to pass additional body arguments to introspection endpoint when the plugin introspects the opaque channel token, you can use this config parameter to specify them. You should URL encode the value. For example: `resource=` or `a=1&b=&c`.' type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_introspection_consumer_by: description: 'When the plugin tries to do channel token introspection results to Kong consumer mapping, it tries to find a matching Kong consumer from properties defined using this configuration parameter. The parameter can take an array of values. Valid values are `id`, `username` and `custom_id`.' type: array items: enum: - custom_id - id - username type: string x-speakeasy-unknown-values: allow default: - custom_id - username channel_token_introspection_consumer_claim: description: 'When you set a value for this parameter, the plugin tries to map an arbitrary claim specified with this configuration parameter (such as `sub` or `username`) in channel token introspection results to Kong consumer entity' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_introspection_endpoint: description: 'When you use `opaque` access tokens and you want to turn on access token introspection, you need to specify the OAuth 2.0 introspection endpoint URI with this configuration parameter. Otherwise, the plugin does not try introspection and returns `401 Unauthorized` instead.' type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_introspection_expiry_claim: description: Specify the expiry claim in a channel token to verify if the default `exp` is not used. type: array items: type: string default: - exp channel_token_introspection_hint: description: 'If you need to give `hint` parameter when introspecting a channel token, you can use this parameter to specify the value of such parameter. By default, a `hint` isn''t sent with channel token introspection.' type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_introspection_issuer_claim: description: Specify the claim in a channel token introspection to verify against values of `config.channel_token_introspection_issuers_allowed`. type: array items: type: string default: - iss channel_token_introspection_issuers_allowed: description: The issuers allowed to be present in the channel token introspection claim specified by `config.channel_token_introspection_issuer_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_introspection_jwt_claim: description: 'If your introspection endpoint returns a channel token in one of the keys (or claims) in the introspection results (`JSON`), the plugin can use that value instead of the introspection results when doing expiry verification and signing of the new token issued by Kong.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_introspection_leeway: description: 'You can use this parameter to adjust clock skew between the token issuer introspection results and Kong. The value will be used to time-related claim verification. For example, it will be added to introspection results (`JSON`) `exp` claim/property before checking token expiry against Kong servers current time (in seconds). You can disable channel token introspection `expiry` verification altogether with `config.verify_channel_token_introspection_expiry`.' type: number default: 0 channel_token_introspection_notbefore_claim: description: Specify the notbefore claim in a channel token to verify if the default `nbf` is not used. type: array items: type: string default: - nbf channel_token_introspection_optional_claims: description: 'Specify the optional claims of the channel token introspection. These claims are only validated when they are present. Every claim is specified by an array. If the array has multiple elements, it means the claim is inside a nested object of the payload.' type: array items: items: type: string type: array default: null nullable: true x-speakeasy-param-computed: false channel_token_introspection_required_claims: description: 'Specify the required claims that must be present in the channel token introspection. Every claim is specified by an array. If the array has multiple elements, it means the claim is inside a nested object of the payload.' type: array items: items: type: string type: array default: null nullable: true x-speakeasy-param-computed: false channel_token_introspection_scopes_claim: description: Use this parameter to specify the claim/property in channel token introspection results (`JSON`) to be verified against values of `config.channel_token_introspection_scopes_required`. This supports nested claims. type: array items: type: string default: - scope channel_token_introspection_scopes_required: description: Use this parameter to specify the required values (or scopes) that are checked by an introspection claim/property specified by `config.channel_token_introspection_scopes_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_introspection_subject_claim: description: Specify the claim in a channel token to verify against values of `config.channel_token_introspection_subjects_allowed`. type: array items: type: string default: - sub channel_token_introspection_subjects_allowed: description: The subjects allowed to be present in the channel token introspection claim specified by `config.channel_token_introspection_subject_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_introspection_timeout: description: 'Timeout in milliseconds for an introspection request. The plugin tries to introspect twice if the first request fails for some reason. If both requests timeout, then the plugin runs two times the `config.access_token_introspection_timeout` on channel token introspection.' type: number default: null nullable: true x-speakeasy-param-computed: false channel_token_issuer: description: 'The `iss` claim of the re-signed channel token is set to this value, which is `kong` by default. The original `iss` claim of the incoming token (possibly introspected) is stored in the `original_iss` claim of the newly signed channel token.' type: string default: kong channel_token_issuer_claim: description: Specify the claim in a channel token to verify against values of `config.channel_token_issuers_allowed`. type: array items: type: string default: - iss channel_token_issuers_allowed: description: The issuers allowed to be present in the channel token claim specified by `config.channel_token_issuer_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_jwks_uri: description: 'If you want to use `config.verify_channel_token_signature`, you must specify the URI where the plugin can fetch the public keys (JWKS) to verify the signature of the channel token. If you don''t specify a URI and you pass a JWT token to the plugin, then the plugin responds with `401 Unauthorized`.' type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_jwks_uri_client_certificate: description: The client certificate that will be used to authenticate Kong if `channel_token_jwks_uri` is an https uri that requires mTLS Auth. type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false channel_token_jwks_uri_client_password: description: The client password that will be used to authenticate Kong if `channel_token_jwks_uri` is a uri that requires Basic Auth. Should be configured together with `channel_token_jwks_uri_client_username` type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false channel_token_jwks_uri_client_username: description: The client username that will be used to authenticate Kong if `channel_token_jwks_uri` is a uri that requires Basic Auth. Should be configured together with `channel_token_jwks_uri_client_password` type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false channel_token_jwks_uri_rotate_period: description: Specify the period (in seconds) to auto-rotate the jwks for `channel_token_jwks_uri`. The default value 0 means no auto-rotation. type: number default: 0 channel_token_keyset: description: The name of the keyset containing signing keys. type: string default: kong channel_token_keyset_client_certificate: description: The client certificate that will be used to authenticate Kong if `channel_token_keyset` is an https uri that requires mTLS Auth. type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false channel_token_keyset_client_password: description: The client password that will be used to authenticate Kong if `channel_token_keyset` is a uri that requires Basic Auth. Should be configured together with `channel_token_keyset_client_username` type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false channel_token_keyset_client_username: description: The client username that will be used to authenticate Kong if `channel_token_keyset` is a uri that requires Basic Auth. Should be configured together with `channel_token_keyset_client_password` type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false channel_token_keyset_rotate_period: description: Specify the period (in seconds) to auto-rotate the jwks for `channel_token_keyset`. The default value 0 means no auto-rotation. type: number default: 0 channel_token_leeway: description: 'Adjusts clock skew between the token issuer and Kong. The value will be used to time-related claim verification. For example, it will be added to token''s `exp` claim before checking token expiry against Kong servers current time in seconds. You can disable channel token `expiry` verification altogether with `config.verify_channel_token_expiry`.' type: number default: 0 channel_token_notbefore_claim: description: Specify the notbefore claim in a channel token to verify if the default `nbf` is not used. type: array items: type: string default: - nbf channel_token_optional: description: 'If a channel token is not provided or no `config.channel_token_request_header` is specified, the plugin cannot verify the channel token. In that case, the plugin normally responds with `401 Unauthorized` (client didn''t send a token) or `500 Unexpected` (a configuration error). Enable this parameter to allow the request to proceed even when there is no channel token to check. If the channel token is provided, then this parameter has no effect' type: boolean default: false channel_token_optional_claims: description: 'Specify the optional claims of the channel token. These claims are only validated when they are present. Every claim is specified by an array. If the array has multiple elements, it means the claim is inside a nested object of the payload.' type: array items: items: type: string type: array default: null nullable: true x-speakeasy-param-computed: false channel_token_request_header: description: 'This parameter tells the name of the header where to look for the channel token. If you don''t want to do anything with the channel token, then you can set this to `null` or `""` (empty string).' type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_required_claims: description: 'Specify the required claims that must be present in the channel token. Every claim is specified by an array. If the array has multiple elements, it means the claim is inside a nested object of the payload.' type: array items: items: type: string type: array default: null nullable: true x-speakeasy-param-computed: false channel_token_scopes_claim: description: Specify the claim in a channel token to verify against values of `config.channel_token_scopes_required`. This supports nested claims. type: array items: type: string default: - scope channel_token_scopes_required: description: Specify the required values (or scopes) that are checked by a claim specified by `config.channel_token_scopes_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_signing: description: 'Quickly turn channel token signing or re-signing off and on as needed. If turned off, the plugin will not send the signed or resigned token to the upstream.' type: boolean default: true channel_token_signing_algorithm: description: 'When this plugin sets the upstream header as specified with `config.channel_token_upstream_header`, it also re-signs the original channel token using private keys of this plugin. Specify the algorithm that is used to sign the token.' type: string default: RS256 enum: - ES256 - ES384 - ES512 - EdDSA - HS256 - HS384 - HS512 - PS256 - PS384 - PS512 - RS256 - RS512 x-speakeasy-unknown-values: allow channel_token_subject_claim: description: Specify the claim in a channel token to verify against values of `config.channel_token_subjects_allowed`. type: array items: type: string default: - sub channel_token_subjects_allowed: description: The subjects allowed to be present in the channel token claim specified by `config.channel_token_subject_claim`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_upstream_header: description: This plugin removes the `config.channel_token_request_header` from the request after reading its value. type: string default: null nullable: true x-speakeasy-param-computed: false channel_token_upstream_leeway: description: 'If you want to add or perhaps subtract (using negative value) expiry time of the original channel token, you can specify a value that is added to the original channel token''s `exp` claim.' type: number default: 0 enable_access_token_introspection: description: 'If you don''t want to support opaque access tokens, change this configuration parameter to `false` to disable introspection.' type: boolean default: true enable_channel_token_introspection: description: 'If you don''t want to support opaque channel tokens, disable introspection by changing this configuration parameter to `false`.' type: boolean default: true enable_hs_signatures: description: 'Tokens signed with HMAC algorithms such as `HS256`, `HS384`, or `HS512` are not accepted by default. If you need to accept such tokens for verification, enable this setting.' type: boolean default: false enable_instrumentation: description: Writes log entries with some added information using `ngx.CRIT` (CRITICAL) level. type: boolean default: false original_access_token_upstream_header: description: The HTTP header name used to store the original access token. type: string default: null nullable: true x-speakeasy-param-computed: false original_channel_token_upstream_header: description: The HTTP header name used to store the original channel token. type: string default: null nullable: true x-speakeasy-param-computed: false realm: description: 'When authentication or authorization fails, or there is an unexpected error, the plugin sends a `WWW-Authenticate` header with the `realm` attribute value.' type: string default: null nullable: true x-speakeasy-param-computed: false remove_access_token_claims: description: 'remove claims. It should be an array, and each element is a claim key string.' type: array items: type: string default: [] remove_channel_token_claims: description: 'remove claims. It should be an array, and each element is a claim key string.' type: array items: type: string default: [] set_access_token_claims: description: 'Set customized claims. If a claim is already present, it will be overwritten. Value can be a regular or JSON string; if JSON, decoded data is used as the claim''s value.' type: object default: {} additionalProperties: type: string set_channel_token_claims: description: 'Set customized claims. If a claim is already present, it will be overwritten. Value can be a regular or JSON string; if JSON, decoded data is used as the claim''s value.' type: object default: {} additionalProperties: type: string set_claims: description: 'Set customized claims to both tokens. If a claim is already present, it will be overwritten. Value can be a regular or JSON string; if JSON, decoded data is used as the claim''s value.' type: object default: {} additionalProperties: type: string trust_access_token_introspection: description: 'Use this parameter to enable and disable further checks on a payload before the new token is signed. If you set this to `true`, the expiry or scopes are not checked on a payload.' type: boolean default: true trust_channel_token_introspection: description: 'Providing an opaque channel token for plugin introspection, and verifying expiry and scopes on introspection results may make further payload checks unnecessary before the plugin signs a new token. This also applies when using a JWT token with introspection JSON as per config.channel_token_introspection_jwt_claim. Use this parameter to manage additional payload checks before signing a new token. With true (default), payload''s expiry or scopes aren''t checked.' type: boolean default: true verify_access_token_audience: description: 'Quickly turn off and on the access token required audiences verification, specified with `config.access_token_audiences_required`.' type: boolean default: true verify_access_token_expiry: description: Quickly turn access token expiry verification off and on as needed. type: boolean default: true verify_access_token_introspection_audience: description: 'Quickly turn off and on the access token introspection required audiences verification, specified with `config.access_token_introspection_audiences_required`.' type: boolean default: true verify_access_token_introspection_expiry: description: Quickly turn access token introspection expiry verification off and on as needed. type: boolean default: true verify_access_token_introspection_issuer: description: 'Quickly turn off and on the access token introspection allowed issuers verification, specified with `config.access_token_introspection_issuers_allowed`.' type: boolean default: true verify_access_token_introspection_notbefore: description: Quickly turn off and on the access token introspection notbefore verification. type: boolean default: false verify_access_token_introspection_scopes: description: 'Quickly turn off and on the access token introspection scopes verification, specified with `config.access_token_introspection_scopes_required`.' type: boolean default: true verify_access_token_introspection_subject: description: 'Quickly turn off and on the access token introspection required subjects verification, specified with `config.access_token_introspection_subjects_required`.' type: boolean default: true verify_access_token_issuer: description: 'Quickly turn off and on the access token allowed issuers verification, specified with `config.access_token_issuers_allowed`.' type: boolean default: true verify_access_token_notbefore: description: Quickly turn off and on the access token notbefore verification. type: boolean default: false verify_access_token_scopes: description: 'Quickly turn off and on the access token required scopes verification, specified with `config.access_token_scopes_required`.' type: boolean default: true verify_access_token_signature: description: Quickly turn access token signature verification off and on as needed. type: boolean default: true verify_access_token_subject: description: 'Quickly turn off and on the access token required subjects verification, specified with `config.access_token_subjects_required`.' type: boolean default: true verify_channel_token_audience: description: 'Quickly turn off and on the channel token required audiences verification, specified with `config.channel_token_audiences_required`.' type: boolean default: true verify_channel_token_expiry: type: boolean default: true verify_channel_token_introspection_audience: description: 'Quickly turn off and on the channel token introspection required audiences verification, specified with `config.channel_token_introspection_audiences_required`.' type: boolean default: true verify_channel_token_introspection_expiry: description: Quickly turn on/off the channel token introspection expiry verification. type: boolean default: true verify_channel_token_introspection_issuer: description: 'Quickly turn off and on the channel token introspection allowed issuers verification, specified with `config.channel_token_introspection_issuers_allowed`.' type: boolean default: true verify_channel_token_introspection_notbefore: description: Quickly turn off and on the channel token introspection notbefore verification. type: boolean default: false verify_channel_token_introspection_scopes: description: Quickly turn on/off the channel token introspection scopes verification specified with `config.channel_token_introspection_scopes_required`. type: boolean default: true verify_channel_token_introspection_subject: description: 'Quickly turn off and on the channel token introspection required subjects verification, specified with `config.channel_token_introspection_subjects_required`.' type: boolean default: true verify_channel_token_issuer: description: 'Quickly turn off and on the channel token allowed issuers verification, specified with `config.channel_token_issuers_allowed`.' type: boolean default: true verify_channel_token_notbefore: description: Quickly turn off and on the channel token notbefore verification. type: boolean default: false verify_channel_token_scopes: description: Quickly turn on/off the channel token required scopes verification specified with `config.channel_token_scopes_required`. type: boolean default: true verify_channel_token_signature: description: Quickly turn on/off the channel token signature verification. type: boolean default: true verify_channel_token_subject: description: 'Quickly turn off and on the channel token required subjects verification, specified with `config.channel_token_subjects_required`.' type: boolean default: true x-speakeasy-param-computed: false name: const: jwt-signer protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 KafkaConsumePlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/KafkaConsumePluginConfig' KafkaConsumePluginConfig: x-speakeasy-entity: GatewayPluginKafkaConsume properties: config: type: object properties: authentication: type: object properties: mechanism: description: 'The SASL authentication mechanism. Supported options: `PLAIN`, `SCRAM-SHA-256`, `SCRAM-SHA-512`, or `OAUTHBEARER`.' type: string enum: - OAUTHBEARER - PLAIN - SCRAM-SHA-256 - SCRAM-SHA-512 x-speakeasy-unknown-values: allow oauthbearer: description: Options for SASL OAUTHBEARER authentication. Required when `mechanism` is `OAUTHBEARER`. type: object default: null nullable: true properties: client_id: description: The OAuth2 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: The OAuth2 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false extensions: description: 'Key-value pairs sent as extensions in the OAUTHBEARER SASL handshake (e.g. logicalCluster, identityPoolId).' type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false scopes: description: List of OAuth2 scopes to request. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false token_endpoint_tls_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true token_endpoint_url: description: The URL of the OAuth2 token endpoint. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false password: description: Password for SASL authentication. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false strategy: description: 'The authentication strategy for the plugin, the only option for the value is `sasl`.' type: string enum: - sasl tokenauth: description: Enable this to indicate `DelegationToken` authentication type: boolean default: null nullable: true x-speakeasy-param-computed: false user: description: Username for SASL authentication. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true auto_offset_reset: description: The offset to start from when there is no initial offset in the consumer group. type: string default: latest enum: - earliest - latest x-speakeasy-unknown-values: allow bootstrap_servers: description: 'Set of bootstrap brokers in a `{host: host, port: port}` list format.' type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer maximum: 65535 minimum: 0 required: - host - port type: object cluster_name: description: An identifier for the Kafka cluster. type: string default: null nullable: true x-speakeasy-param-computed: false commit_strategy: description: The strategy to use for committing offsets. type: string default: auto enum: - auto - 'off' x-speakeasy-unknown-values: allow consumer_group: description: Configuration for the Kafka consumer group ID. type: object properties: consumer_group_id: description: 'The fixed consumer group ID to use when mode is set to `manual`. For SSE and WebSocket modes, a `.<node_id>` suffix is automatically appended.' type: string default: null nullable: true x-speakeasy-param-computed: false mode: description: 'The strategy to determine the consumer group ID. `random`: a hash `com.konghq.kafka.<md5>` over the plugin ID (plus consumer identifier/IP and node ID for SSE/WebSocket). `kong_consumer`: uses the authenticated consumer''s `username`, `custom_id`, then `id`, directly; falls back to `random` if no consumer is authenticated. `manual`: uses `consumer_group_id` directly. For SSE/WebSocket, `manual` and `kong_consumer` group IDs get a `.<node_id>` suffix.' type: string default: random enum: - kong_consumer - manual - random x-speakeasy-unknown-values: allow x-speakeasy-param-computed: true dlq_topic: description: The topic to use for the Dead Letter Queue. type: string default: null nullable: true x-speakeasy-param-computed: false enable_dlq: description: 'Enables Dead Letter Queue. When enabled, if the message doesn''t conform to the schema (from Schema Registry) or there''s an error in the `message_by_lua_functions`, it will be forwarded to `dlq_topic` that can be processed later.' type: boolean default: null nullable: true x-speakeasy-param-computed: false enforce_latest_offset_reset: description: 'When true, ''latest'' offset reset behaves correctly (starts from end). When false (default), maintains backwards compatibility where ''latest'' acts like ''earliest''.' type: boolean default: false error_handling: type: object properties: return_error_message: description: 'When enabled, the Kafka client error message is returned to the HTTP client. Useful for debugging but may expose internal details, so should be disabled in production.' type: boolean default: false x-speakeasy-param-computed: true message_by_lua_functions: description: The Lua functions that manipulates the message being sent to the client. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false message_deserializer: description: The deserializer to use for the consumed messages. type: string default: noop enum: - json - noop x-speakeasy-unknown-values: allow mode: description: The mode of operation for the plugin. type: string default: http-get enum: - http-get - server-sent-events - websocket x-speakeasy-unknown-values: allow schema_registry: description: The plugin-global schema registry configuration. type: object properties: confluent: type: object default: null nullable: true properties: authentication: type: object default: null nullable: true properties: basic: type: object default: null nullable: true properties: password: type: string x-encrypted: true x-referenceable: true username: type: string x-encrypted: true x-referenceable: true required: - password - username x-speakeasy-param-computed: false identity_pool_id: description: 'The Confluent Cloud OAuth identity pool ID, sent as the `Confluent-Identity-Pool-Id` request header. Optional: if omitted, Confluent Cloud automatically maps an identity pool based on the token''s claims.' type: string default: null nullable: true x-speakeasy-param-computed: false logical_cluster_id: description: 'The Confluent Cloud Schema Registry cluster ID, sent as the `target-sr-cluster` request header. Confluent Cloud requires this when `mode` is ''oauth2''.' type: string default: null nullable: true x-speakeasy-param-computed: false mode: description: Authentication mode to use with the schema registry. type: string default: none enum: - basic - none - oauth2 x-speakeasy-unknown-values: allow oauth2: type: object default: null nullable: true properties: audience: description: List of audiences passed to the IdP when obtaining a new token. type: array items: type: string default: [] client_id: description: The client ID for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: The client secret for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false grant_type: description: The OAuth grant type to be used. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: The password to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false scopes: description: List of scopes to request from the IdP when obtaining a new token. type: array items: type: string default: - openid token_endpoint: description: The token endpoint URI. type: string token_headers: description: Extra headers to be passed in the token endpoint request. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false token_post_args: description: Extra post arguments to be passed in the token endpoint request. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false username: description: The username to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false required: - token_endpoint x-speakeasy-param-computed: false oauth2_client: type: object default: null nullable: true properties: auth_method: description: 'The authentication method used in client requests to the IdP. Supported values are: `client_secret_basic` to send `client_id` and `client_secret` in the `Authorization: Basic` header, `client_secret_post` to send `client_id` and `client_secret` as part of the request body, or `client_secret_jwt` to send a JWT signed with the `client_secret` using the client assertion as part of the body.' type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post - none x-speakeasy-unknown-values: allow client_secret_jwt_alg: description: The algorithm to use with JWT when using `client_secret_jwt` authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow http_proxy: description: The proxy to use when making HTTP requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `http_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false http_version: description: 'The HTTP version used for requests made by this plugin. Supported values: `1.1` for HTTP 1.1 and `1.0` for HTTP 1.0.' type: number x-speakeasy-param-computed: true https_proxy: description: The proxy to use when making HTTPS requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `https_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false keep_alive: description: Whether to use keepalive connections to the IdP. type: boolean default: true no_proxy: description: A comma-separated list of hosts that should not be proxied. type: string default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: Whether to verify the certificate presented by the IdP when using HTTPS. type: boolean default: false timeout: description: Network I/O timeout for requests to the IdP in milliseconds. type: integer default: 10000 maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false x-speakeasy-param-computed: false ssl_verify: description: Set to false to disable SSL certificate verification when connecting to the schema registry. type: boolean default: true ttl: description: The TTL in seconds for the schema registry cache. type: number default: null maximum: 3600 minimum: 0 nullable: true x-speakeasy-param-computed: false url: description: The URL of the schema registry. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: true security: type: object properties: certificate_id: description: UUID of certificate entity for mTLS authentication. type: string default: null nullable: true x-speakeasy-param-computed: false ssl: description: Enables TLS. type: boolean default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: 'When using TLS, this option enables verification of the certificate presented by the server.' type: boolean default: false x-speakeasy-param-computed: true topics: description: The Kafka topics and their configuration you want to consume from. type: array items: properties: name: type: string schema_registry: description: The plugin-global schema registry configuration. type: object properties: confluent: type: object default: null nullable: true properties: authentication: type: object default: null nullable: true properties: basic: type: object default: null nullable: true properties: password: type: string x-encrypted: true x-referenceable: true username: type: string x-encrypted: true x-referenceable: true required: - password - username x-speakeasy-param-computed: false identity_pool_id: description: 'The Confluent Cloud OAuth identity pool ID, sent as the `Confluent-Identity-Pool-Id` request header. Optional: if omitted, Confluent Cloud automatically maps an identity pool based on the token''s claims.' type: string default: null nullable: true x-speakeasy-param-computed: false logical_cluster_id: description: 'The Confluent Cloud Schema Registry cluster ID, sent as the `target-sr-cluster` request header. Confluent Cloud requires this when `mode` is ''oauth2''.' type: string default: null nullable: true x-speakeasy-param-computed: false mode: description: Authentication mode to use with the schema registry. type: string default: none enum: - basic - none - oauth2 x-speakeasy-unknown-values: allow oauth2: type: object default: null nullable: true properties: audience: description: List of audiences passed to the IdP when obtaining a new token. type: array items: type: string default: [] client_id: description: The client ID for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: The client secret for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false grant_type: description: The OAuth grant type to be used. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: The password to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false scopes: description: List of scopes to request from the IdP when obtaining a new token. type: array items: type: string default: - openid token_endpoint: description: The token endpoint URI. type: string token_headers: description: Extra headers to be passed in the token endpoint request. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false token_post_args: description: Extra post arguments to be passed in the token endpoint request. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false username: description: The username to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false required: - token_endpoint x-speakeasy-param-computed: false oauth2_client: type: object default: null nullable: true properties: auth_method: description: 'The authentication method used in client requests to the IdP. Supported values are: `client_secret_basic` to send `client_id` and `client_secret` in the `Authorization: Basic` header, `client_secret_post` to send `client_id` and `client_secret` as part of the request body, or `client_secret_jwt` to send a JWT signed with the `client_secret` using the client assertion as part of the body.' type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post - none x-speakeasy-unknown-values: allow client_secret_jwt_alg: description: The algorithm to use with JWT when using `client_secret_jwt` authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow http_proxy: description: The proxy to use when making HTTP requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `http_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false http_version: description: 'The HTTP version used for requests made by this plugin. Supported values: `1.1` for HTTP 1.1 and `1.0` for HTTP 1.0.' type: number x-speakeasy-param-computed: true https_proxy: description: The proxy to use when making HTTPS requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `https_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false keep_alive: description: Whether to use keepalive connections to the IdP. type: boolean default: true no_proxy: description: A comma-separated list of hosts that should not be proxied. type: string default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: Whether to verify the certificate presented by the IdP when using HTTPS. type: boolean default: false timeout: description: Network I/O timeout for requests to the IdP in milliseconds. type: integer default: 10000 maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false x-speakeasy-param-computed: false ssl_verify: description: Set to false to disable SSL certificate verification when connecting to the schema registry. type: boolean default: true ttl: description: The TTL in seconds for the schema registry cache. type: number default: null maximum: 3600 minimum: 0 nullable: true x-speakeasy-param-computed: false url: description: The URL of the schema registry. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: true required: - name type: object minItems: 1 required: - bootstrap_servers - topics consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: kafka-consume protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpc - grpcs - http - https - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https - ws - wss route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 KafkaLogPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/KafkaLogPluginConfig' KafkaLogPluginConfig: x-speakeasy-entity: GatewayPluginKafkaLog properties: config: type: object properties: authentication: type: object default: null nullable: true properties: mechanism: description: 'The SASL authentication mechanism. Supported options: `PLAIN`, `SCRAM-SHA-256`, `SCRAM-SHA-512`, or `OAUTHBEARER`.' type: string enum: - OAUTHBEARER - PLAIN - SCRAM-SHA-256 - SCRAM-SHA-512 x-speakeasy-unknown-values: allow oauthbearer: description: Options for SASL OAUTHBEARER authentication. Required when `mechanism` is `OAUTHBEARER`. type: object default: null nullable: true properties: client_id: description: The OAuth2 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: The OAuth2 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false extensions: description: 'Key-value pairs sent as extensions in the OAUTHBEARER SASL handshake (e.g. logicalCluster, identityPoolId).' type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false scopes: description: List of OAuth2 scopes to request. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false token_endpoint_tls_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true token_endpoint_url: description: The URL of the OAuth2 token endpoint. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false password: description: Password for SASL authentication. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false strategy: description: 'The authentication strategy for the plugin, the only option for the value is `sasl`.' type: string enum: - sasl tokenauth: description: Enable this to indicate `DelegationToken` authentication type: boolean default: null nullable: true x-speakeasy-param-computed: false user: description: Username for SASL authentication. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false bootstrap_servers: description: 'Set of bootstrap brokers in a `{host: host, port: port}` list format.' type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer maximum: 65535 minimum: 0 required: - host - port type: object default: null nullable: true x-speakeasy-param-computed: false cluster_name: description: 'An identifier for the Kafka cluster. By default, this field generates a random string. You can also set your own custom cluster identifier. If more than one Kafka plugin is configured without a `cluster_name` (that is, if the default autogenerated value is removed), these plugins will use the same producer, and by extension, the same cluster. Logs will be sent to the leader of the cluster.' type: string default: null nullable: true x-speakeasy-param-computed: false compression_type: description: The compression codec the producer uses to compress message batches before sending them to the Kafka broker. This applies only to the Kong-to-broker hop and is independent of any HTTP-level `Content-Encoding`. Defaults to `none` (compression disabled); `lz4` is the recommended codec when enabling compression. type: string default: none enum: - gzip - lz4 - none - snappy x-speakeasy-unknown-values: allow custom_fields_by_lua: description: Lua code as a key-value map type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false keepalive: type: integer default: 60000 keepalive_enabled: type: boolean default: false key_query_arg: description: 'The request query parameter name that contains the Kafka message key. If specified, messages with the same key will be sent to the same Kafka partition, ensuring consistent ordering.' type: string default: null nullable: true x-speakeasy-param-computed: false new_kafka_async_producer: description: 'Use the improved asynchronous Kafka producer, which batches messages more efficiently under high load. Only affects asynchronous mode. Messages without a key may be reordered across partitions; set a message key if ordering matters.' type: boolean default: false producer_async: description: Flag to enable asynchronous mode. type: boolean default: true producer_async_buffering_limits_messages_in_memory: description: Maximum number of messages that can be buffered in memory in asynchronous mode. type: integer default: 50000 producer_async_flush_timeout: description: Maximum time interval in milliseconds between buffer flushes in asynchronous mode. type: integer default: 1000 producer_request_acks: description: 'The number of acknowledgments the producer requires the leader to have received before considering a request complete. Allowed values: 0 for no acknowledgments; 1 for only the leader; and -1 for the full ISR (In-Sync Replica set).' type: integer default: 1 enum: - -1 - 0 - 1 x-speakeasy-unknown-values: allow producer_request_limits_bytes_per_request: description: Maximum size of a Produce request in bytes. type: integer default: 1048576 producer_request_limits_messages_per_request: description: Maximum number of messages to include into a single Produce request. type: integer default: 200 producer_request_retries_backoff_timeout: description: Backoff interval between retry attempts in milliseconds. type: integer default: 100 producer_request_retries_max_attempts: description: Maximum number of retry attempts per single Produce request. type: integer default: 10 producer_request_timeout: description: Time to wait for a Produce response in milliseconds type: integer default: 2000 schema_registry: description: The plugin-global schema registry configuration. This can be overwritten by the topic configuration. type: object default: null nullable: true properties: confluent: type: object default: null nullable: true properties: authentication: type: object default: null nullable: true properties: basic: type: object default: null nullable: true properties: password: type: string x-encrypted: true x-referenceable: true username: type: string x-encrypted: true x-referenceable: true required: - password - username x-speakeasy-param-computed: false identity_pool_id: description: 'The Confluent Cloud OAuth identity pool ID, sent as the `Confluent-Identity-Pool-Id` request header. Optional: if omitted, Confluent Cloud automatically maps an identity pool based on the token''s claims.' type: string default: null nullable: true x-speakeasy-param-computed: false logical_cluster_id: description: 'The Confluent Cloud Schema Registry cluster ID, sent as the `target-sr-cluster` request header. Confluent Cloud requires this when `mode` is ''oauth2''.' type: string default: null nullable: true x-speakeasy-param-computed: false mode: description: Authentication mode to use with the schema registry. type: string default: none enum: - basic - none - oauth2 x-speakeasy-unknown-values: allow oauth2: type: object default: null nullable: true properties: audience: description: List of audiences passed to the IdP when obtaining a new token. type: array items: type: string default: [] client_id: description: The client ID for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: The client secret for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false grant_type: description: The OAuth grant type to be used. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: The password to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false scopes: description: List of scopes to request from the IdP when obtaining a new token. type: array items: type: string default: - openid token_endpoint: description: The token endpoint URI. type: string token_headers: description: Extra headers to be passed in the token endpoint request. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false token_post_args: description: Extra post arguments to be passed in the token endpoint request. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false username: description: The username to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false required: - token_endpoint x-speakeasy-param-computed: false oauth2_client: type: object default: null nullable: true properties: auth_method: description: 'The authentication method used in client requests to the IdP. Supported values are: `client_secret_basic` to send `client_id` and `client_secret` in the `Authorization: Basic` header, `client_secret_post` to send `client_id` and `client_secret` as part of the request body, or `client_secret_jwt` to send a JWT signed with the `client_secret` using the client assertion as part of the body.' type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post - none x-speakeasy-unknown-values: allow client_secret_jwt_alg: description: The algorithm to use with JWT when using `client_secret_jwt` authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow http_proxy: description: The proxy to use when making HTTP requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `http_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false http_version: description: 'The HTTP version used for requests made by this plugin. Supported values: `1.1` for HTTP 1.1 and `1.0` for HTTP 1.0.' type: number x-speakeasy-param-computed: true https_proxy: description: The proxy to use when making HTTPS requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `https_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false keep_alive: description: Whether to use keepalive connections to the IdP. type: boolean default: true no_proxy: description: A comma-separated list of hosts that should not be proxied. type: string default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: Whether to verify the certificate presented by the IdP when using HTTPS. type: boolean default: false timeout: description: Network I/O timeout for requests to the IdP in milliseconds. type: integer default: 10000 maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false x-speakeasy-param-computed: false key_schema: type: object default: null nullable: true properties: payload_encoding: description: 'How the client encodes union/nullable fields in the request body for Avro schemas. ''avro_json'' (default) requires Avro-spec JSON with type-tagged unions (e.g. {"int": 1}, {"null": null}). ''simple_json'' lets the gateway accept plain JSON and resolve union branches against the schema.' type: string default: avro_json enum: - avro_json - simple_json x-speakeasy-unknown-values: allow schema_version: description: The schema version to use for serialization/deserialization. Use 'latest' to always fetch the most recent version. type: string default: null nullable: true x-speakeasy-param-computed: false subject_name: description: The name of the subject type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false ssl_verify: description: Set to false to disable SSL certificate verification when connecting to the schema registry. type: boolean default: true ttl: description: The TTL in seconds for the schema registry cache. type: number default: null maximum: 3600 minimum: 0 nullable: true x-speakeasy-param-computed: false url: description: The URL of the schema registry. type: string default: null nullable: true x-speakeasy-param-computed: false value_schema: type: object default: null nullable: true properties: payload_encoding: description: 'How the client encodes union/nullable fields in the request body for Avro schemas. ''avro_json'' (default) requires Avro-spec JSON with type-tagged unions (e.g. {"int": 1}, {"null": null}). ''simple_json'' lets the gateway accept plain JSON and resolve union branches against the schema.' type: string default: avro_json enum: - avro_json - simple_json x-speakeasy-unknown-values: allow schema_version: description: The schema version to use for serialization/deserialization. Use 'latest' to always fetch the most recent version. type: string default: null nullable: true x-speakeasy-param-computed: false subject_name: description: The name of the subject type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false security: type: object default: null nullable: true properties: certificate_id: description: UUID of certificate entity for mTLS authentication. type: string default: null nullable: true x-speakeasy-param-computed: false ssl: description: Enables TLS. type: boolean default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: 'When using TLS, this option enables verification of the certificate presented by the server.' type: boolean default: false x-speakeasy-param-computed: false timeout: description: Socket timeout in milliseconds. type: integer default: 10000 topic: description: The Kafka topic to publish to. type: string required: - topic consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: kafka-log protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpc - grpcs - http - https - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https - ws - wss route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 KafkaUpstreamPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/KafkaUpstreamPluginConfig' KafkaUpstreamPluginConfig: x-speakeasy-entity: GatewayPluginKafkaUpstream properties: config: type: object properties: allowed_topics: description: 'The list of allowed topic names to which messages can be sent. The default topic configured in the `topic` field is always allowed, regardless of its inclusion in `allowed_topics`.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false authentication: type: object properties: mechanism: description: 'The SASL authentication mechanism. Supported options: `PLAIN`, `SCRAM-SHA-256`, `SCRAM-SHA-512`, or `OAUTHBEARER`.' type: string enum: - OAUTHBEARER - PLAIN - SCRAM-SHA-256 - SCRAM-SHA-512 x-speakeasy-unknown-values: allow oauthbearer: description: Options for SASL OAUTHBEARER authentication. Required when `mechanism` is `OAUTHBEARER`. type: object default: null nullable: true properties: client_id: description: The OAuth2 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: The OAuth2 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false extensions: description: 'Key-value pairs sent as extensions in the OAUTHBEARER SASL handshake (e.g. logicalCluster, identityPoolId).' type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false scopes: description: List of OAuth2 scopes to request. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false token_endpoint_tls_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true token_endpoint_url: description: The URL of the OAuth2 token endpoint. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false password: description: Password for SASL authentication. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false strategy: description: 'The authentication strategy for the plugin, the only option for the value is `sasl`.' type: string enum: - sasl tokenauth: description: Enable this to indicate `DelegationToken` authentication. type: boolean default: null nullable: true x-speakeasy-param-computed: false user: description: Username for SASL authentication. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true bootstrap_servers: description: 'Set of bootstrap brokers in a `{host: host, port: port}` list format.' type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer maximum: 65535 minimum: 0 required: - host - port type: object default: null nullable: true x-speakeasy-param-computed: false cluster_name: description: 'An identifier for the Kafka cluster. By default, this field generates a random string. You can also set your own custom cluster identifier. If more than one Kafka plugin is configured without a `cluster_name` (that is, if the default autogenerated value is removed), these plugins will use the same producer, and by extension, the same cluster. Logs will be sent to the leader of the cluster.' type: string x-speakeasy-param-computed: true compression_type: description: The compression codec the producer uses to compress message batches before sending them to the Kafka broker. This applies only to the Kong-to-broker hop and is independent of any HTTP-level `Content-Encoding`. Defaults to `none` (compression disabled); `lz4` is the recommended codec when enabling compression. type: string default: none enum: - gzip - lz4 - none - snappy x-speakeasy-unknown-values: allow error_handling: type: object properties: return_error_message: description: 'When enabled, the Kafka client error message is returned to the HTTP client. Useful for debugging but may expose internal details, so should be disabled in production.' type: boolean default: false x-speakeasy-param-computed: true forward_body: description: 'Include the request body in the message. At least one of these must be true: `forward_method`, `forward_uri`, `forward_headers`, `forward_body`.' type: boolean default: true forward_headers: description: 'Include the request headers in the message. At least one of these must be true: `forward_method`, `forward_uri`, `forward_headers`, `forward_body`.' type: boolean default: false forward_method: description: 'Include the request method in the message. At least one of these must be true: `forward_method`, `forward_uri`, `forward_headers`, `forward_body`.' type: boolean default: false forward_uri: description: 'Include the request URI and URI arguments (as in, query arguments) in the message. At least one of these must be true: `forward_method`, `forward_uri`, `forward_headers`, `forward_body`.' type: boolean default: false headers: description: Configuration for forwarding HTTP headers as Kafka record headers. type: object properties: exclude_headers: description: Blocklist of HTTP header names to exclude from forwarding. Used when `forward_all_by_default` is `enabled`. type: array items: type: string default: [] forward_all_by_default: description: 'When `false`, only headers listed in `include_headers` are forwarded. When `true`, all headers except those in `exclude_headers` are forwarded.' type: boolean default: false forward_http_headers_as_record_headers: description: Whether to forward HTTP headers as Kafka record headers. type: boolean default: true include_headers: description: Allowlist of HTTP header names to forward as Kafka record headers. Used when `forward_all_by_default` is `disabled`. type: array items: type: string default: [] name_mappings: description: 'Map of HTTP header names to Kafka record header names. If an HTTP header name matches a key, the corresponding value is used as the Kafka record header name.' type: object default: {} additionalProperties: type: string repeated_headers_behavior: description: 'How to handle repeated HTTP headers: `concatenate_by_comma` joins values with a comma, `take_first` uses only the first value, `retain_duplicates` creates separate Kafka record headers for each value.' type: string default: retain_duplicates enum: - concatenate_by_comma - retain_duplicates - take_first x-speakeasy-unknown-values: allow x-speakeasy-param-computed: true keepalive: description: Keepalive timeout in milliseconds. type: integer default: 60000 keepalive_enabled: type: boolean default: false key_query_arg: description: 'The request query parameter name that contains the Kafka message key. If specified, messages with the same key will be sent to the same Kafka partition, ensuring consistent ordering.' type: string default: null nullable: true x-speakeasy-param-computed: false message_by_lua_functions: description: The Lua functions that manipulates the message being sent to the Kafka topic. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false new_kafka_async_producer: description: 'Use the improved asynchronous Kafka producer, which batches messages more efficiently under high load. Only affects asynchronous mode. Messages without a key may be reordered across partitions; set a message key if ordering matters.' type: boolean default: false producer_async: description: Flag to enable asynchronous mode. type: boolean default: true producer_async_buffering_limits_messages_in_memory: description: Maximum number of messages that can be buffered in memory in asynchronous mode. type: integer default: 50000 producer_async_flush_timeout: description: Maximum time interval in milliseconds between buffer flushes in asynchronous mode. type: integer default: 1000 producer_async_health_failure_threshold: description: Number of consecutive authentication/authorization or connectivity failures before the producer is marked unhealthy and async requests are gated. type: integer default: 3 maximum: 100 minimum: 1 producer_async_health_gating: description: 'In asynchronous mode, fail incoming requests fast with HTTP 503 (instead of returning 200 and silently dropping the message) when the producer is sustainedly failing to authenticate with, or reach, the broker. Disabled by default.' type: boolean default: false producer_async_health_probe_interval: description: Interval in milliseconds between background recovery probes while the producer is unhealthy. type: integer default: 5000 maximum: 600000 minimum: 100 producer_async_health_recovery_threshold: description: Number of consecutive successful recovery probes required before the producer resumes accepting async requests. type: integer default: 1 maximum: 100 minimum: 1 producer_request_acks: description: 'The number of acknowledgments the producer requires the leader to have received before considering a request complete. Allowed values: 0 for no acknowledgments; 1 for only the leader; and -1 for the full ISR (In-Sync Replica set).' type: integer default: 1 enum: - -1 - 0 - 1 x-speakeasy-unknown-values: allow producer_request_limits_bytes_per_request: description: Maximum size of a Produce request in bytes. type: integer default: 1048576 producer_request_limits_messages_per_request: description: Maximum number of messages to include into a single producer request. type: integer default: 200 producer_request_retries_backoff_timeout: description: Backoff interval between retry attempts in milliseconds. type: integer default: 100 producer_request_retries_max_attempts: description: Maximum number of retry attempts per single Produce request. type: integer default: 10 producer_request_timeout: description: Time to wait for a Produce response in milliseconds. type: integer default: 2000 schema_registry: description: The plugin-global schema registry configuration. This can be overwritten by the topic configuration. type: object properties: confluent: type: object default: null nullable: true properties: authentication: type: object default: null nullable: true properties: basic: type: object default: null nullable: true properties: password: type: string x-encrypted: true x-referenceable: true username: type: string x-encrypted: true x-referenceable: true required: - password - username x-speakeasy-param-computed: false identity_pool_id: description: 'The Confluent Cloud OAuth identity pool ID, sent as the `Confluent-Identity-Pool-Id` request header. Optional: if omitted, Confluent Cloud automatically maps an identity pool based on the token''s claims.' type: string default: null nullable: true x-speakeasy-param-computed: false logical_cluster_id: description: 'The Confluent Cloud Schema Registry cluster ID, sent as the `target-sr-cluster` request header. Confluent Cloud requires this when `mode` is ''oauth2''.' type: string default: null nullable: true x-speakeasy-param-computed: false mode: description: Authentication mode to use with the schema registry. type: string default: none enum: - basic - none - oauth2 x-speakeasy-unknown-values: allow oauth2: type: object default: null nullable: true properties: audience: description: List of audiences passed to the IdP when obtaining a new token. type: array items: type: string default: [] client_id: description: The client ID for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: The client secret for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false grant_type: description: The OAuth grant type to be used. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: The password to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false scopes: description: List of scopes to request from the IdP when obtaining a new token. type: array items: type: string default: - openid token_endpoint: description: The token endpoint URI. type: string token_headers: description: Extra headers to be passed in the token endpoint request. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false token_post_args: description: Extra post arguments to be passed in the token endpoint request. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false username: description: The username to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false required: - token_endpoint x-speakeasy-param-computed: false oauth2_client: type: object default: null nullable: true properties: auth_method: description: 'The authentication method used in client requests to the IdP. Supported values are: `client_secret_basic` to send `client_id` and `client_secret` in the `Authorization: Basic` header, `client_secret_post` to send `client_id` and `client_secret` as part of the request body, or `client_secret_jwt` to send a JWT signed with the `client_secret` using the client assertion as part of the body.' type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post - none x-speakeasy-unknown-values: allow client_secret_jwt_alg: description: The algorithm to use with JWT when using `client_secret_jwt` authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow http_proxy: description: The proxy to use when making HTTP requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `http_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false http_version: description: 'The HTTP version used for requests made by this plugin. Supported values: `1.1` for HTTP 1.1 and `1.0` for HTTP 1.0.' type: number x-speakeasy-param-computed: true https_proxy: description: The proxy to use when making HTTPS requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `https_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false keep_alive: description: Whether to use keepalive connections to the IdP. type: boolean default: true no_proxy: description: A comma-separated list of hosts that should not be proxied. type: string default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: Whether to verify the certificate presented by the IdP when using HTTPS. type: boolean default: false timeout: description: Network I/O timeout for requests to the IdP in milliseconds. type: integer default: 10000 maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: false x-speakeasy-param-computed: false key_schema: type: object default: null nullable: true properties: payload_encoding: description: 'How the client encodes union/nullable fields in the request body for Avro schemas. ''avro_json'' (default) requires Avro-spec JSON with type-tagged unions (e.g. {"int": 1}, {"null": null}). ''simple_json'' lets the gateway accept plain JSON and resolve union branches against the schema.' type: string default: avro_json enum: - avro_json - simple_json x-speakeasy-unknown-values: allow schema_version: description: The schema version to use for serialization/deserialization. Use 'latest' to always fetch the most recent version. type: string default: null nullable: true x-speakeasy-param-computed: false subject_name: description: The name of the subject type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false ssl_verify: description: Set to false to disable SSL certificate verification when connecting to the schema registry. type: boolean default: true ttl: description: The TTL in seconds for the schema registry cache. type: number default: null maximum: 3600 minimum: 0 nullable: true x-speakeasy-param-computed: false url: description: The URL of the schema registry. type: string default: null nullable: true x-speakeasy-param-computed: false value_schema: type: object default: null nullable: true properties: payload_encoding: description: 'How the client encodes union/nullable fields in the request body for Avro schemas. ''avro_json'' (default) requires Avro-spec JSON with type-tagged unions (e.g. {"int": 1}, {"null": null}). ''simple_json'' lets the gateway accept plain JSON and resolve union branches against the schema.' type: string default: avro_json enum: - avro_json - simple_json x-speakeasy-unknown-values: allow schema_version: description: The schema version to use for serialization/deserialization. Use 'latest' to always fetch the most recent version. type: string default: null nullable: true x-speakeasy-param-computed: false subject_name: description: The name of the subject type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: true security: type: object properties: certificate_id: description: UUID of certificate entity for mTLS authentication. type: string default: null nullable: true x-speakeasy-param-computed: false ssl: description: Enables TLS. type: boolean default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: 'When using TLS, this option enables verification of the certificate presented by the server.' type: boolean default: false x-speakeasy-param-computed: true timeout: description: Socket timeout in milliseconds. type: integer default: 10000 topic: description: The default Kafka topic to publish to if the query parameter defined in the `topics_query_arg` does not exist in the request type: string topics_query_arg: description: The request query parameter name that contains the topics to publish to type: string default: null nullable: true x-speakeasy-param-computed: false required: - topic consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: kafka-upstream protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 Key: x-speakeasy-entity: GatewayKey description: 'A Key object holds a representation of asymmetric keys in various formats. When Kong or a Kong plugin requires a specific public or private key to perform certain operations, it can use this entity.' type: object properties: created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true jwk: description: A JSON Web Key represented as a string. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false kid: description: A unique identifier for a key. type: string name: description: The name to associate with the given keys. type: string default: null nullable: true x-speakeasy-param-computed: false pem: description: A keypair in PEM format. type: object default: null nullable: true properties: private_key: type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false public_key: type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false set: description: The id (an UUID) of the key-set with which to associate the key. type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false tags: description: An optional set of strings associated with the Key for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true x5t: description: X.509 certificate SHA-1 thumbprint. type: string default: null nullable: true x-speakeasy-param-computed: false example: id: d958f66b-8e99-44d2-b0b4-edd5bbf24658 jwk: '{"alg":"RSA", "kid": "42", ...}' kid: '42' name: a-key pem: private_key: '-----BEGIN' public_key: '-----BEGIN' set: id: b86b331c-dcd0-4b3e-97ce-47c5a9543031 additionalProperties: false required: - kid x-speakeasy-entity-version: 1 KeyAuth: x-speakeasy-entity: GatewayKeyAuth type: object properties: consumer: type: object nullable: true properties: id: type: string x-foreign: true x-speakeasy-terraform-ignore: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true key: type: string nullable: true x-speakeasy-param-computed: true tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false ttl: description: key-auth ttl in seconds type: integer nullable: true x-speakeasy-param-computed: true example: consumer: id: 84a73fb8-50fc-44a7-a4d5-aa17728ee83f id: b2f34145-0343-41a4-9602-4c69dec2f269 key: IL1deIyHyQA40WpeLeA1bIUXuvTwlGjo additionalProperties: false KeyAuthPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/KeyAuthPluginConfig' KeyAuthPluginConfig: x-speakeasy-entity: GatewayPluginKeyAuth properties: config: type: object default: null nullable: true properties: anonymous: description: 'An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request will fail with an authentication failure `4xx`.' type: string default: null nullable: true x-speakeasy-param-computed: false hide_credentials: description: 'An optional boolean value telling the plugin to show or hide the credential from the upstream service. If `true`, the plugin strips the credential from the request.' type: boolean default: false identity_realms: description: 'A configuration of Konnect Identity Realms that indicate where to source a consumer from. Defaults to a single local realm. Set this field to an empty array explicitly when the plugin enables Kong Identity `principals`, since the two are mutually exclusive.' type: array items: properties: id: description: A string representing a UUID (universally unique identifier). type: string region: type: string default: null nullable: true x-speakeasy-param-computed: false scope: type: string default: cp enum: - cp - realm x-speakeasy-unknown-values: allow type: object x-speakeasy-param-computed: true key_in_body: description: 'If enabled, the plugin reads the request body. Supported MIME types: `application/www-form-urlencoded`, `application/json`, and `multipart/form-data`.' type: boolean default: false key_in_header: description: 'If enabled (default), the plugin reads the request header and tries to find the key in it.' type: boolean default: true key_in_query: description: 'If enabled (default), the plugin reads the query parameter in the request and tries to find the key in it.' type: boolean default: true key_names: description: 'Describes an array of parameter names where the plugin will look for a key. The key names may only contain [a-z], [A-Z], [0-9], [_] underscore, and [-] hyphen.' type: array items: description: A string representing an HTTP header name. type: string default: - apikey principals: type: object properties: directory: description: The Kong Identity directory instance to authenticate against. type: string default: default enabled: description: 'When true, authenticate against Kong Identity instead of local credentials.' type: boolean default: false error_on_miss: description: 'When true (default), return 401 if no matching principal is found in Kong Identity. When false, allow the request to continue unauthenticated instead.' type: boolean default: true x-speakeasy-param-computed: true realm: description: When authentication fails the plugin sends `WWW-Authenticate` header with `realm` attribute value. type: string default: null nullable: true x-speakeasy-param-computed: false run_on_preflight: description: 'A boolean value that indicates whether the plugin should run (and try to authenticate) on `OPTIONS` preflight requests. If set to `false`, then `OPTIONS` requests are always allowed.' type: boolean default: true x-speakeasy-param-computed: false name: const: key-auth protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpc - grpcs - http - https - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https - ws - wss route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 KeyAuthWithoutParents: x-speakeasy-entity: GatewayKeyAuth type: object properties: consumer: type: object nullable: true properties: id: type: string x-foreign: true x-speakeasy-terraform-ignore: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true key: type: string nullable: true x-speakeasy-param-computed: true tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false ttl: description: key-auth ttl in seconds type: integer nullable: true x-speakeasy-param-computed: true example: id: b2f34145-0343-41a4-9602-4c69dec2f269 key: IL1deIyHyQA40WpeLeA1bIUXuvTwlGjo additionalProperties: false x-speakeasy-entity-version: 1 KeySet: x-speakeasy-entity: GatewayKeySet type: object properties: created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true name: description: The name to associate with the given key-set. type: string default: null nullable: true x-speakeasy-param-computed: false tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true example: id: b58c7d9d-e54f-444c-b24d-cdfc4159f61e name: example-key-set tags: - idp-keys additionalProperties: false x-speakeasy-entity-version: 1 LdapAuthAdvancedPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/LdapAuthAdvancedPluginConfig' LdapAuthAdvancedPluginConfig: x-speakeasy-entity: GatewayPluginLdapAuthAdvanced properties: config: type: object properties: anonymous: description: 'An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request will fail with an authentication failure `4xx`. Note that this value must refer to the consumer `id` or `username` attribute, and **not** its `custom_id`.' type: string default: '' attribute: description: 'Attribute to be used to search the user; e.g., "cn".' type: string base_dn: description: 'Base DN as the starting point for the search; e.g., ''dc=example,dc=com''.' type: string bind_dn: description: The DN to bind to. Used to perform LDAP search of user. This `bind_dn` should have permissions to search for the user being authenticated. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false cache_ttl: description: Cache expiry time in seconds. type: number default: 60 consumer_by: description: 'Whether to authenticate consumers based on `username`, `custom_id`, or both.' type: array items: enum: - custom_id - username type: string x-speakeasy-unknown-values: allow default: - custom_id - username consumer_optional: description: 'Whether consumer mapping is optional. If `consumer_optional=true`, the plugin will not attempt to associate a consumer with the LDAP authenticated user.' type: boolean default: false group_base_dn: description: 'Sets a distinguished name (DN) for the entry where LDAP searches for groups begin. This field is case-insensitive.'',dc=com''.' type: string default: null nullable: true x-speakeasy-param-computed: false group_member_attribute: description: Sets the attribute holding the members of the LDAP group. This field is case-sensitive. type: string default: memberOf group_name_attribute: description: 'Sets the attribute holding the name of a group, typically called `name` (in Active Directory) or `cn` (in OpenLDAP). This field is case-insensitive.' type: string default: null nullable: true x-speakeasy-param-computed: false groups_required: description: 'The groups required to be present in the LDAP search result for successful authorization. This config parameter works in both **AND** / **OR** cases. - When `["group1 group2"]` are in the same array indices, both `group1` AND `group2` need to be present in the LDAP search result. - When `["group1", "group2"]` are in different array indices, either `group1` OR `group2` need to be present in the LDAP search result.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false header_type: description: 'An optional string to use as part of the Authorization header. By default, a valid Authorization header looks like this: `Authorization: ldap base64(username:password)`. If `header_type` is set to "basic", then the Authorization header would be `Authorization: basic base64(username:password)`. Note that `header_type` can take any string, not just `''ldap''` and `''basic''`.' type: string default: ldap hide_credentials: description: An optional boolean value telling the plugin to hide the credential to the upstream server. It will be removed by Kong before proxying the request. type: boolean default: false keepalive: description: An optional value in milliseconds that defines how long an idle connection to LDAP server will live before being closed. type: number default: 60000 ldap_host: description: Host on which the LDAP server is running. type: string ldap_password: description: The password to the LDAP server. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false ldap_port: description: 'TCP port where the LDAP server is listening. 389 is the default port for non-SSL LDAP and AD. 636 is the port required for SSL LDAP and AD. If `ldaps` is configured, you must use port 636.' type: number default: 389 ldaps: description: 'Set it to `true` to use `ldaps`, a secure protocol (that can be configured to TLS) to connect to the LDAP server. When `ldaps` is configured, you must use port 636. If the `ldap` setting is enabled, ensure the `start_tls` setting is disabled.' type: boolean default: false log_search_results: description: Displays all the LDAP search results received from the LDAP server for debugging purposes. Not recommended to be enabled in a production environment. type: boolean default: false realm: description: When authentication fails the plugin sends `WWW-Authenticate` header with `realm` attribute value. type: string default: null nullable: true x-speakeasy-param-computed: false start_tls: description: 'Set it to `true` to issue StartTLS (Transport Layer Security) extended operation over `ldap` connection. If the `start_tls` setting is enabled, ensure the `ldaps` setting is disabled.' type: boolean default: false timeout: description: An optional timeout in milliseconds when waiting for connection with LDAP server. type: number default: 10000 verify_ldap_host: description: Set to `true` to authenticate LDAP server. The server certificate will be verified according to the CA certificates specified by the `lua_ssl_trusted_certificate` directive. type: boolean default: false required: - attribute - base_dn - ldap_host name: const: ldap-auth-advanced protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpc - grpcs - http - https - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https - ws - wss route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 LdapAuthPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/LdapAuthPluginConfig' LdapAuthPluginConfig: x-speakeasy-entity: GatewayPluginLdapAuth properties: config: type: object properties: anonymous: description: 'An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request fails with an authentication failure `4xx`.' type: string default: null nullable: true x-speakeasy-param-computed: false attribute: description: Attribute to be used to search the user; e.g. cn type: string base_dn: description: 'Base DN as the starting point for the search; e.g., dc=example,dc=com' type: string cache_ttl: description: Cache expiry time in seconds. type: number default: 60 header_type: description: An optional string to use as part of the Authorization header type: string default: ldap hide_credentials: description: An optional boolean value telling the plugin to hide the credential to the upstream server. It will be removed by Kong before proxying the request. type: boolean default: false keepalive: description: An optional value in milliseconds that defines how long an idle connection to LDAP server will live before being closed. type: number default: 60000 ldap_host: description: 'A string representing a host name, such as example.com.' type: string ldap_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 389 maximum: 65535 minimum: 0 ldaps: description: 'Set to `true` to connect using the LDAPS protocol (LDAP over TLS). When `ldaps` is configured, you must use port 636. If the `ldap` setting is enabled, ensure the `start_tls` setting is disabled.' type: boolean default: false realm: description: When authentication fails the plugin sends `WWW-Authenticate` header with `realm` attribute value. type: string default: null nullable: true x-speakeasy-param-computed: false start_tls: description: 'Set it to `true` to issue StartTLS (Transport Layer Security) extended operation over `ldap` connection. If the `start_tls` setting is enabled, ensure the `ldaps` setting is disabled.' type: boolean default: false timeout: description: An optional timeout in milliseconds when waiting for connection with LDAP server. type: number default: 10000 verify_ldap_host: description: Set to `true` to authenticate LDAP server. The server certificate will be verified according to the CA certificates specified by the `lua_ssl_trusted_certificate` directive. type: boolean default: false required: - attribute - base_dn - ldap_host name: const: ldap-auth protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpc - grpcs - http - https - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https - ws - wss route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 LogglyPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/LogglyPluginConfig' LogglyPluginConfig: x-speakeasy-entity: GatewayPluginLoggly properties: config: type: object properties: client_errors_severity: type: string default: info enum: - alert - crit - debug - emerg - err - info - notice - warning x-speakeasy-unknown-values: allow custom_fields_by_lua: description: Lua code as a key-value map type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false host: description: 'A string representing a host name, such as example.com.' type: string default: logs-01.loggly.com key: type: string x-encrypted: true x-referenceable: true log_level: type: string default: info enum: - alert - crit - debug - emerg - err - info - notice - warning x-speakeasy-unknown-values: allow port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 514 maximum: 65535 minimum: 0 server_errors_severity: type: string default: info enum: - alert - crit - debug - emerg - err - info - notice - warning x-speakeasy-unknown-values: allow successful_severity: type: string default: info enum: - alert - crit - debug - emerg - err - info - notice - warning x-speakeasy-unknown-values: allow tags: type: array items: type: string default: - kong timeout: type: number default: 10000 required: - key consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: loggly protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 MTLSAuth: x-speakeasy-entity: GatewayMTLSAuth type: object properties: ca_certificate: type: object nullable: false properties: id: type: string x-foreign: true consumer: type: object nullable: true properties: id: type: string x-foreign: true x-speakeasy-terraform-ignore: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true subject_name: type: string tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false example: ca_certificate: id: b2f34145-0343-41a4-9602-4c69dec2f260 consumer: id: 84a73fb8-50fc-44a7-a4d5-aa17728ee83f id: b2f34145-0343-41a4-9602-4c69dec2f269 subject_name: CA_Subject_Name additionalProperties: false required: - subject_name MTLSAuthWithoutParents: x-speakeasy-entity: GatewayMTLSAuth type: object properties: ca_certificate: type: object nullable: false properties: id: type: string x-foreign: true consumer: type: object nullable: true properties: id: type: string x-foreign: true x-speakeasy-terraform-ignore: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true subject_name: type: string tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false example: ca_certificate: id: b2f34145-0343-41a4-9602-4c69dec2f260 id: b2f34145-0343-41a4-9602-4c69dec2f269 subject_name: CA_Subject_Name additionalProperties: false required: - subject_name x-speakeasy-entity-version: 1 MeteringAndBillingPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/MeteringAndBillingPluginConfig' MeteringAndBillingPluginConfig: x-speakeasy-entity: GatewayPluginMeteringAndBilling properties: config: type: object properties: allow_status_codes: description: List of status code ranges that are allowed to be logged in usage events. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false api_token: description: Bearer token for authenticating with the ingest endpoint. type: string x-encrypted: true x-referenceable: true attributes: description: 'Capture custom properties to the usage event data payload for pricing dimensions or reporting. Attributes add dimensions like provider, department or project that your billing model needs for tiered or per-dimension pricing.' type: array items: properties: event_property_name: description: The property name in the usage event data payload. type: string look_up_value_in: description: 'The header name or query parameter that contains the value, e.g ''x-department-id''' type: string source: description: Where to find this attribute in the request. type: string enum: - header - query x-speakeasy-unknown-values: allow required: - event_property_name - look_up_value_in - source type: object default: null nullable: true x-speakeasy-param-computed: false ingest_endpoint: description: The HTTP endpoint where usage events are sent. type: string x-referenceable: true keepalive: description: How long in milliseconds an idle connection to the ingest endpoint is kept open before being closed. type: number default: 60000 meter_ai_token_usage: description: Emit events for LLM input and output tokens on AI Gateway requests. type: boolean default: true meter_api_requests: description: Emit a usage event for each API Gateway request. type: boolean default: true queue: type: object properties: breaker_cooldown: description: Time in seconds the circuit breaker stays open (fast-shedding entries) before it allows a single batch through to probe whether the destination has recovered. type: number default: 60 maximum: 1000000 minimum: 0 concurrency_limit: description: The number of of queue delivery timers. -1 indicates unlimited. type: integer default: 1 enum: - -1 - 1 x-speakeasy-unknown-values: allow failure_threshold: description: Number of consecutive failed batches after which the queue opens its circuit breaker and drops entries instead of retrying. 0 disables the circuit breaker. type: integer default: 0 maximum: 1000000 minimum: 0 initial_retry_delay: description: Time in seconds before the initial retry is made for a failing batch. type: number maximum: 1000000 minimum: 0.001 x-speakeasy-param-computed: true max_batch_size: description: Maximum number of entries that can be processed at a time. type: integer default: 1 maximum: 1000000 minimum: 1 max_bytes: description: 'Maximum number of bytes that can be waiting on a queue, requires string content.' type: integer default: null nullable: true x-speakeasy-param-computed: false max_coalescing_delay: description: Maximum number of (fractional) seconds to elapse after the first entry was queued before the queue starts calling the handler. type: number default: 1 maximum: 3600 minimum: 0 max_entries: description: Maximum number of entries that can be waiting on the queue. type: integer default: 10000 maximum: 1000000 minimum: 1 max_retry_delay: description: 'Maximum time in seconds between retries, caps exponential backoff.' type: number default: 60 maximum: 1000000 minimum: 0.001 max_retry_time: description: Time in seconds before the queue gives up calling a failed handler for a batch. type: number default: 60 x-speakeasy-param-computed: true ssl_verify: description: Verify the TLS certificate presented by the ingest endpoint. type: boolean default: true subject: description: The subject identifies who gets billed for each request. Choose where the plugin should look for the customer identifier. type: object properties: field: description: 'The header name, query parameter, consumer field, or application field that contains the customer identifier, e.g. ''x-customer-id''' type: string default: null nullable: true x-speakeasy-param-computed: false look_up_value_in: description: Where to find the customer identifier in the request. type: string default: consumer enum: - application - consumer - header - query x-speakeasy-unknown-values: allow x-speakeasy-param-computed: true timeout: description: Maximum time in milliseconds to wait for a response from the ingest endpoint. type: number default: 10000 required: - api_token - ingest_endpoint consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: metering-and-billing protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 MockingPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/MockingPluginConfig' MockingPluginConfig: x-speakeasy-entity: GatewayPluginMocking properties: config: type: object default: null nullable: true properties: api_specification: description: 'The contents of the specification file. You must use this option for hybrid or DB-less mode. You can include the full specification as part of the configuration. In Kong Manager, you can copy and paste the contents of the spec directly into the `Config.Api Specification` text field.' type: string default: null nullable: true x-speakeasy-param-computed: false api_specification_filename: description: The path and name of the specification file loaded into Kong Gateway's database. You cannot use this option for DB-less or hybrid mode. type: string default: null nullable: true x-speakeasy-param-computed: false custom_base_path: description: The base path to be used for path match evaluation. This value is ignored if `include_base_path` is set to `false`. type: string default: null nullable: true x-speakeasy-param-computed: false include_base_path: description: Indicates whether to include the base path when performing path match evaluation. type: boolean default: false included_status_codes: description: A global list of the HTTP status codes that can only be selected and returned. type: array items: type: integer default: null nullable: true x-speakeasy-param-computed: false max_delay_time: description: The maximum value in seconds of delay time. Set this value when `random_delay` is enabled and you want to adjust the default. The value must be greater than the `min_delay_time`. type: number default: 1 min_delay_time: description: The minimum value in seconds of delay time. Set this value when `random_delay` is enabled and you want to adjust the default. The value must be less than the `max_delay_time`. type: number x-speakeasy-param-computed: true random_delay: description: Enables a random delay in the mocked response. Introduces delays to simulate real-time response times by APIs. type: boolean default: false random_examples: description: Randomly selects one example and returns it. This parameter requires the spec to have multiple examples configured. type: boolean default: false random_status_code: description: 'Determines whether to randomly select an HTTP status code from the responses of the corresponding API method. The default value is `false`, which means the minimum HTTP status code is always selected and returned.' type: boolean default: false x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: mocking protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 MtlsAuthPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/MtlsAuthPluginConfig' MtlsAuthPluginConfig: x-speakeasy-entity: GatewayPluginMtlsAuth properties: config: type: object properties: allow_partial_chain: description: 'Allow certificate verification with only an intermediate certificate. When this is enabled, you don''t need to upload the full chain to Kong Certificates.' type: boolean default: false anonymous: description: 'An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request fails with an authentication failure `4xx`. Note that this value must refer to the consumer `id` or `username` attribute, and **not** its `custom_id`.' type: string default: null nullable: true x-speakeasy-param-computed: false authenticated_group_by: description: 'Certificate property to use as the authenticated group. Valid values are `CN` (Common Name) or `DN` (Distinguished Name). Once `skip_consumer_lookup` is applied, any client with a valid certificate can access the Service/API. To restrict usage to only some of the authenticated users, also add the ACL plugin (not covered here) and create allowed or denied groups of users.' type: string default: CN enum: - CN - DN x-speakeasy-unknown-values: allow ca_certificates: description: List of CA Certificates strings to use as Certificate Authorities (CA) when validating a client certificate. At least one is required but you can specify as many as needed. The value of this array is comprised of primary keys (`id`). type: array items: type: string cache_ttl: description: Cache expiry time in seconds. type: number default: 60 cert_cache_ttl: description: The length of time in seconds between refreshes of the revocation check status cache. type: number default: 60000 consumer_by: description: 'Whether to match the subject name of the client-supplied certificate against consumer''s `username` and/or `custom_id` attribute. If set to `[]` (the empty array), then auto-matching is disabled.' type: array items: enum: - custom_id - username type: string x-speakeasy-unknown-values: allow default: - custom_id - username default_consumer: description: 'The UUID or username of the consumer to use when a trusted client certificate is presented but no consumer matches. Note that this value must refer to the consumer `id` or `username` attribute, and **not** its `custom_id`.' type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false http_timeout: description: HTTP timeout threshold in milliseconds when communicating with the OCSP server or downloading CRL. type: number default: 30000 https_proxy_host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false revocation_check_mode: description: 'Controls client certificate revocation check behavior. If set to `SKIP`, no revocation check is performed. If set to `IGNORE_CA_ERROR`, the plugin respects the revocation status when either OCSP or CRL URL is set, and doesn''t fail on network issues. If set to `STRICT`, the plugin only treats the certificate as valid when it''s able to verify the revocation status.' type: string default: IGNORE_CA_ERROR enum: - IGNORE_CA_ERROR - SKIP - STRICT x-speakeasy-unknown-values: allow san_dirname_matcher: description: 'Specifies a list of Subject Alternative Name (SAN) DirectoryName attributes to use for consumer lookup. Applicable only when `skip_consumer_lookup` is false. Supported formats: OID, Long Name, or Short Name. Examples: `commonName` (Long Name), `CN` (Short Name), `2.5.4.3` (OID). If left empty (default), all attributes present in the SAN DirectoryName extension are used. The matcher is case sensitive.' type: array items: type: string default: [] send_ca_dn: description: Sends the distinguished names (DN) of the configured CA list in the TLS handshake message. type: boolean default: false skip_consumer_lookup: description: Skip consumer lookup once certificate is trusted against the configured CA list. type: boolean default: false ssl_verify: description: This option enables verification of the certificate presented by the server of the OCSP responder's URL and by the server of the CRL Distribution Point. type: boolean default: false required: - ca_certificates name: const: mtls-auth protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpc - grpcs - http - https - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 OasValidationPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/OasValidationPluginConfig' OasValidationPluginConfig: x-speakeasy-entity: GatewayPluginOasValidation properties: config: type: object properties: allowed_header_parameters: description: 'List of header parameters in the request that will be ignored when performing HTTP header validation. These are additional headers added to an API request beyond those defined in the API specification. For example, you might include the HTTP header `User-Agent`, which lets servers and network peers identify the application, operating system, vendor, and/or version of the requesting user agent.' type: string default: 'Host,Content-Type,User-Agent,Accept,Content-Length' api_spec: description: 'The API specification defined using either Swagger or the OpenAPI. This can be either a JSON or YAML based file. If using a YAML file, the spec needs to be URI-Encoded to preserve the YAML format.' type: string api_spec_encoded: description: Indicates whether the api_spec is URI-Encoded. type: boolean default: true collect_all_errors: description: 'If set to true, collects all schema validation errors instead of stopping at the first. Applies only to JSON Schema validation (parameter values, request/response body); pre-validation checks such as path-not-found, unsupported content-type, and unknown parameters are fail-fast and always stop at the first error regardless of this setting. Only takes effect when `structured_errors` is set to `false`. Note: Enabling this option will affect performance.' type: boolean default: false custom_base_path: description: The base path to be used for path match evaluation. This value is ignored if `include_base_path` is set to `false`. type: string default: null nullable: true x-speakeasy-param-computed: false header_parameter_check: description: 'If set to true, checks if HTTP header parameters in the request exist in the API specification.' type: boolean default: false include_base_path: description: Indicates whether to include the base path when performing path match evaluation. type: boolean default: false max_structured_errors: description: 'When set, caps the number of structured errors returned in the `errors` array to the specified value (must be greater than 0). Applies only to JSON Schema validation errors; pre-validation failures such as path-not-found, unsupported content-type, and unknown parameters always produce a single error entry. When not set, no cap is applied. Requires `structured_errors` to be enabled.' type: integer default: null nullable: true x-speakeasy-param-computed: false notify_only_request_validation_failure: description: 'If set to true, notifications via event hooks are enabled, but request based validation failures don''t affect the request flow.' type: boolean default: false notify_only_response_body_validation_failure: description: 'If set to true, notifications via event hooks are enabled, but response validation failures don''t affect the response flow.' type: boolean default: false query_parameter_check: description: 'If set to true, checks if query parameters in the request exist in the API specification.' type: boolean default: false rfc9457_error_response: description: 'If set to `true`, interrupting non-gRPC HTTP validation failures are returned as `application/problem+json` using RFC 9457 top-level fields plus Kong extensions `message`, `errors`, and optional `more`. Requires `structured_errors` and `verbose_response` to both be set to `true`. When set to `false`, the legacy response format is preserved.' type: boolean default: false structured_errors: description: 'If set to true, schema validation failures are returned as a structured `errors` array, where each entry contains `instanceLocation`, `keywordLocation`, and `error`. Pre-validation failures such as path-not-found or unsupported content-type also return an `errors` array, but entries contain only an `error` field. Requires `verbose_response` to be enabled. Use `max_structured_errors` to cap the response size.' type: boolean default: false validate_request_body: description: 'If set to true, validates the request body content against the API specification.' type: boolean default: true validate_request_header_params: description: 'If set to true, validates HTTP header parameters against the API specification.' type: boolean default: true validate_request_query_params: description: 'If set to true, validates query parameters against the API specification.' type: boolean default: true validate_request_uri_params: description: 'If set to true, validates URI parameters in the request against the API specification.' type: boolean default: true validate_response_body: description: 'If set to true, validates the response from the upstream services against the API specification. If validation fails, it results in an `HTTP 406 Not Acceptable` status code.' type: boolean default: false verbose_response: description: 'If set to true, returns a detailed error message for invalid requests & responses. This is useful while testing.' type: boolean default: false required: - api_spec consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: oas-validation protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 Oauth2IntrospectionPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/Oauth2IntrospectionPluginConfig' Oauth2IntrospectionPluginConfig: x-speakeasy-entity: GatewayPluginOauth2Introspection properties: config: type: object properties: anonymous: description: 'An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request fails with an authentication failure `4xx`. Note that this value must refer to the consumer `id` or `username` attribute, and **not** its `custom_id`.' type: string default: '' authorization_value: description: 'The value to set as the `Authorization` header when querying the introspection endpoint. This depends on the OAuth 2.0 server, but usually is the `client_id` and `client_secret` as a Base64-encoded Basic Auth string (`Basic MG9hNWl...`).' type: string x-encrypted: true x-referenceable: true consumer_by: description: 'A string indicating whether to associate OAuth2 `username` or `client_id` with the consumer''s username. OAuth2 `username` is mapped to a consumer''s `username` field, while an OAuth2 `client_id` maps to a consumer''s `custom_id`.' type: string default: username enum: - client_id - username x-speakeasy-unknown-values: allow custom_claims_forward: description: 'A list of custom claims to be forwarded from the introspection response to the upstream request. Claims are forwarded in headers with prefix `X-Credential-{claim-name}`.' type: array items: type: string default: [] custom_introspection_headers: description: A list of custom headers to be added in the introspection request. type: object default: {} additionalProperties: type: string hide_credentials: description: An optional boolean value telling the plugin to hide the credential to the upstream API server. It will be removed by Kong before proxying the request. type: boolean default: false introspect_request: description: 'A boolean indicating whether to forward information about the current downstream request to the introspect endpoint. If true, headers `X-Request-Path` and `X-Request-Http-Method` will be inserted into the introspect request.' type: boolean default: false introspection_url: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string keepalive: description: An optional value in milliseconds that defines how long an idle connection lives before being closed. type: integer default: 60000 run_on_preflight: description: 'A boolean value that indicates whether the plugin should run (and try to authenticate) on `OPTIONS` preflight requests. If set to `false`, then `OPTIONS` requests will always be allowed.' type: boolean default: true timeout: description: An optional timeout in milliseconds when sending data to the upstream server. type: integer default: 10000 token_type_hint: description: The `token_type_hint` value to associate to introspection requests. type: string default: null nullable: true x-speakeasy-param-computed: false ttl: description: The TTL in seconds for the introspection response. Set to 0 to disable the expiration. type: number default: 30 required: - authorization_value - introspection_url name: const: oauth2-introspection protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 OpaPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/OpaPluginConfig' OpaPluginConfig: x-speakeasy-entity: GatewayPluginOpa properties: config: type: object properties: include_body_in_opa_input: description: 'If set to true, the raw request body is included as input to OPA. Not supported for WebSocket protocols (ws/wss).' type: boolean default: false include_consumer_in_opa_input: description: 'If set to true, the Kong Gateway Consumer object in use for the current request (if any) is included as input to OPA.' type: boolean default: false include_parsed_json_body_in_opa_input: description: 'If set to true and the `Content-Type` header of the current request is `application/json`, the request body will be JSON decoded and the decoded struct is included as input to OPA. Not supported for WebSocket protocols (ws/wss).' type: boolean default: false include_route_in_opa_input: description: 'If set to true, the Kong Gateway Route object in use for the current request is included as input to OPA.' type: boolean default: false include_service_in_opa_input: description: 'If set to true, the Kong Gateway Service object in use for the current request is included as input to OPA.' type: boolean default: false include_uri_captures_in_opa_input: description: 'If set to true, the regex capture groups captured on the Kong Gateway Route''s path field in the current request (if any) are included as input to OPA.' type: boolean default: false opa_host: description: 'A string representing a host name, such as example.com.' type: string default: localhost opa_path: description: 'A string representing a URL path, such as /path/to/resource. Must start with a forward slash (/) and must not contain empty segments (i.e., two consecutive forward slashes).' type: string opa_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 8181 maximum: 65535 minimum: 0 opa_protocol: description: The protocol to use when talking to Open Policy Agent (OPA) server. Allowed protocols are `http` and `https`. type: string default: http enum: - http - https x-speakeasy-unknown-values: allow ssl_verify: description: 'If set to true, the OPA certificate will be verified according to the CA certificates specified in lua_ssl_trusted_certificate.' type: boolean default: true required: - opa_path name: const: opa protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpc - grpcs - http - https - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 OpenidConnectPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/OpenidConnectPluginConfig' OpenidConnectPluginConfig: x-speakeasy-entity: GatewayPluginOpenidConnect properties: config: type: object properties: anonymous: description: 'An optional string (consumer UUID or username) value that functions as an “anonymous” consumer if authentication fails. If empty (default null), requests that fail authentication will return a `4xx` HTTP status code. This value must refer to the consumer `id` or `username` attribute, and **not** its `custom_id`.' type: string default: null nullable: true x-speakeasy-param-computed: false audience: description: The audience passed to the authorization endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false audience_claim: description: 'The claim that contains the audience. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: - aud audience_required: description: 'The audiences (`audience_claim` claim) required for successful authorization. The plugin checks these values against the access token (or introspection results). Each array element is an alternative (**OR**). To require several values together, put them in one element separated by spaces (**AND**). For example, `["a b", "c"]` authorizes a token that has both audiences `a` and `b`, or a token that has audience `c`.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false auth_methods: description: Types of credentials/grants to enable. type: array items: enum: - authorization_code - bearer - client_credentials - introspection - kong_oauth2 - password - refresh_token - session - userinfo type: string x-speakeasy-unknown-values: allow default: - authorization_code - bearer - client_credentials - introspection - kong_oauth2 - password - refresh_token - session - userinfo authenticated_groups_claim: description: 'The claim that contains authenticated groups. This setting can be used together with ACL plugin, but it also enables IdP managed groups with other applications and integrations. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false authorization_cookie_domain: description: The authorization cookie Domain flag. type: string default: null nullable: true x-speakeasy-param-computed: false authorization_cookie_http_only: description: 'Forbids JavaScript from accessing the cookie, for example, through the `Document.cookie` property.' type: boolean default: true authorization_cookie_name: description: The authorization cookie name. type: string default: authorization authorization_cookie_path: description: The authorization cookie Path flag. type: string default: / authorization_cookie_same_site: description: 'Controls whether a cookie is sent with cross-origin requests, providing some protection against cross-site request forgery attacks.' type: string default: Default enum: - Default - Lax - None - Strict x-speakeasy-unknown-values: allow authorization_cookie_secure: description: 'Cookie is only sent to the server when a request is made with the https: scheme (except on localhost), and therefore is more resistant to man-in-the-middle attacks.' type: boolean default: null nullable: true x-speakeasy-param-computed: false authorization_endpoint: description: The authorization endpoint. If set it overrides the value in `authorization_endpoint` returned by the discovery endpoint. type: string default: null nullable: true x-speakeasy-param-computed: false authorization_query_args_client: description: Extra query arguments passed from the client to the authorization endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false authorization_query_args_names: description: Extra query argument names passed to the authorization endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false authorization_query_args_values: description: Extra query argument values passed to the authorization endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false authorization_rolling_timeout: description: Specifies how long the session used for the authorization code flow can be used in seconds until it needs to be renewed. 0 disables the checks and rolling. type: number default: 600 bearer_token_cookie_name: description: The name of the cookie in which the bearer token is passed. type: string default: null nullable: true x-speakeasy-param-computed: false bearer_token_header_name: description: 'The name of the HTTP header from which the bearer token is retrieved. When configured, only this header is checked for the bearer token. ' type: string default: null minLength: 1 nullable: true x-speakeasy-param-computed: false bearer_token_param_type: description: 'Where to look for the bearer token: - `header`: search the `Authorization`, `access-token`, and `x-access-token` HTTP headers - `query`: search the URL''s query string - `body`: search the HTTP request body - `cookie`: search the HTTP request cookies specified with `config.bearer_token_cookie_name`.' type: array items: enum: - body - cookie - header - query type: string x-speakeasy-unknown-values: allow default: - body - header - query by_username_ignore_case: description: 'If `consumer_by` is set to `username`, specify whether `username` can match consumers case-insensitively.' type: boolean default: false cache_introspection: description: Cache the introspection endpoint requests. type: boolean default: true cache_token_exchange: description: Cache the legacy token exchange endpoint requests. type: boolean default: true cache_tokens: description: Cache the token endpoint requests. type: boolean default: true cache_tokens_salt: description: Salt used for generating the cache key that is used for caching the token endpoint requests. type: string x-speakeasy-param-computed: true cache_ttl: description: The default cache ttl in seconds that is used in case the cached object does not specify the expiry. type: number default: 3600 cache_ttl_max: description: The maximum cache ttl in seconds (enforced). type: number default: null nullable: true x-speakeasy-param-computed: false cache_ttl_min: description: The minimum cache ttl in seconds (enforced). type: number default: null nullable: true x-speakeasy-param-computed: false cache_ttl_neg: description: The negative cache ttl in seconds. type: number default: null nullable: true x-speakeasy-param-computed: false cache_ttl_resurrect: description: The resurrection ttl in seconds. type: number default: null nullable: true x-speakeasy-param-computed: false cache_user_info: description: Cache the user info requests. type: boolean default: true claims_forbidden: description: 'If given, these claims are forbidden in the token payload.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false client_alg: description: The algorithm to use for client_secret_jwt (only HS***) or private_key_jwt authentication. type: array items: enum: - ES256 - ES384 - ES512 - EdDSA - HS256 - HS384 - HS512 - PS256 - PS384 - PS512 - RS256 - RS384 - RS512 type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false client_arg: description: The client to use for this request (the selection is made with a request parameter with the same name). type: string default: client_id client_auth: description: 'The default OpenID Connect client authentication method is ''client_secret_basic'' (using ''Authorization: Basic'' header), ''client_secret_post'' (credentials in body), ''client_secret_jwt'' (signed client assertion in body), ''private_key_jwt'' (private key-signed assertion), ''tls_client_auth'' (client certificate), ''self_signed_tls_client_auth'' (self-signed client certificate), and ''none'' (no authentication).' type: array items: enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false client_credentials_param_type: description: 'Where to look for the client credentials: - `header`: search the HTTP headers - `query`: search the URL''s query string - `body`: search from the HTTP request body.' type: array items: enum: - body - header - query type: string x-speakeasy-unknown-values: allow default: - body - header - query client_id: description: The client id(s) that the plugin uses when it calls authenticated endpoints on the identity provider. type: array items: type: string x-referenceable: true default: null nullable: true x-encrypted: true x-speakeasy-param-computed: false client_jwk: description: The JWK used for the private_key_jwt authentication. type: array items: properties: alg: type: string default: null nullable: true x-speakeasy-param-computed: false crv: type: string default: null nullable: true x-speakeasy-param-computed: false d: type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false dp: type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false dq: type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false e: type: string default: null nullable: true x-speakeasy-param-computed: false issuer: type: string default: null nullable: true x-speakeasy-param-computed: false k: type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false key_ops: type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false kid: type: string default: null nullable: true x-speakeasy-param-computed: false kty: type: string default: null nullable: true x-speakeasy-param-computed: false 'n': type: string default: null nullable: true x-speakeasy-param-computed: false oth: type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false p: type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false q: type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false qi: type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false r: type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false t: type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false use: type: string default: null nullable: true x-speakeasy-param-computed: false x: type: string default: null nullable: true x-speakeasy-param-computed: false x5c: type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false x5t: type: string default: null nullable: true x-speakeasy-param-computed: false x5t#S256: type: string default: null nullable: true x-speakeasy-param-computed: false x5u: type: string default: null nullable: true x-speakeasy-param-computed: false 'y': type: string default: null nullable: true x-speakeasy-param-computed: false type: object default: null nullable: true x-speakeasy-param-computed: false client_secret: description: The client secret. type: array items: type: string x-referenceable: true default: null nullable: true x-encrypted: true x-speakeasy-param-computed: false cluster_cache_items: description: 'Specifies which items are stored in the cluster cache backend configured via `cluster_cache_strategy`. Allowed values are `"introspection"` and `"tokens"`. When `"tokens"` is included, access and refresh token material is AES-encrypted before being written to the cache; enable only when your Redis deployment meets your compliance requirements. Defaults to `["introspection"]`. An empty set disables all cluster caching regardless of `cluster_cache_strategy`.' type: array items: enum: - introspection - tokens type: string x-speakeasy-unknown-values: allow default: - introspection cluster_cache_redis: type: object properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end cluster_cache_strategy: description: 'The strategy to use for the cluster cache. If set, the plugin will share introspection cache with nodes configured with the same strategy backend.' type: string default: 'off' enum: - 'off' - redis x-speakeasy-unknown-values: allow consumer_by: description: 'Consumer fields used for mapping: - `id`: try to find the matching Consumer by `id` - `username`: try to find the matching Consumer by `username` - `custom_id`: try to find the matching Consumer by `custom_id`.' type: array items: enum: - custom_id - id - username type: string x-speakeasy-unknown-values: allow default: - custom_id - username consumer_claims: description: 'The claims used for consumer mapping. Each entry represents a claim path inside the token payload. The paths are evaluated in order, and the first matching claim is used.' type: array items: description: 'A path of strings representing the location of the claim in a nested object. For example, to map to `user.info.id`, set `[ "user", "info", "id" ]`.' items: type: string type: array default: null nullable: true x-speakeasy-param-computed: false consumer_groups_claim: description: 'The claim used for consumer groups mapping. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false consumer_groups_optional: description: Do not terminate the request if consumer groups mapping fails. type: boolean default: false consumer_optional: description: Do not terminate the request if consumer mapping fails. type: boolean default: false credential_claim: description: 'The claim used to derive virtual credentials (e.g. to be consumed by the rate-limiting plugin), in case the consumer mapping is not used. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: - sub disable_session: description: Disable issuing the session cookie with the specified grants. type: array items: enum: - authorization_code - bearer - client_credentials - introspection - kong_oauth2 - password - refresh_token - session - userinfo type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false discovery_headers_names: description: Extra header names passed to the discovery endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false discovery_headers_values: description: Extra header values passed to the discovery endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false display_errors: description: Display errors on failure responses. type: boolean default: false domains: description: The allowed values for the `hd` claim. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false downstream_access_token_header: description: The downstream access token header. type: string default: null nullable: true x-speakeasy-param-computed: false downstream_access_token_jwk_header: description: The downstream access token JWK header. type: string default: null nullable: true x-speakeasy-param-computed: false downstream_headers: description: The downstream claim to header mappings. type: array items: properties: header: description: The name of the header. type: string path: description: The path of the header value. type: array items: type: string minItems: 1 required: - header - path type: object default: null nullable: true x-speakeasy-param-computed: false downstream_headers_claims: description: The downstream header claims. Only top level claims are supported. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false downstream_headers_names: description: The downstream header names for the claim values. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false downstream_id_token_header: description: The downstream id token header. type: string default: null nullable: true x-speakeasy-param-computed: false downstream_id_token_jwk_header: description: The downstream id token JWK header. type: string default: null nullable: true x-speakeasy-param-computed: false downstream_introspection_header: description: The downstream introspection header. type: string default: null nullable: true x-speakeasy-param-computed: false downstream_introspection_jwt_header: description: The downstream introspection JWT header. type: string default: null nullable: true x-speakeasy-param-computed: false downstream_refresh_token_header: description: The downstream refresh token header. type: string default: null nullable: true x-speakeasy-param-computed: false downstream_session_id_header: description: The downstream session id header. type: string default: null nullable: true x-speakeasy-param-computed: false downstream_user_info_header: description: The downstream user info header. type: string default: null nullable: true x-speakeasy-param-computed: false downstream_user_info_jwt_header: description: The downstream user info JWT header (in case the user info returns a JWT response). type: string default: null nullable: true x-speakeasy-param-computed: false dpop_proof_lifetime: description: 'Specifies the lifetime in seconds of the DPoP proof. It determines how long the same proof can be used after creation. The creation time is determined by the nonce creation time if a nonce is used, and the iat claim otherwise.' type: number default: 300 dpop_use_nonce: description: Specifies whether to challenge the client with a nonce value for DPoP proof. When enabled it will also be used to calculate the DPoP proof lifetime. type: boolean default: false enable_hs_signatures: description: 'Enable shared secret, for example, HS256, signatures (when disabled they will not be accepted).' type: boolean default: false end_session_endpoint: description: The end session endpoint. If set it overrides the value in `end_session_endpoint` returned by the discovery endpoint. type: string default: null nullable: true x-speakeasy-param-computed: false expose_error_code: description: 'Specifies whether to expose the error code header, as defined in RFC 6750. If an authorization request fails, this header is sent in the response. Set to `false` to disable.' type: boolean default: true extra_jwks_uris: description: JWKS URIs whose public keys are trusted (in addition to the keys found with the discovery). type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string x-referenceable: true default: null nullable: true x-speakeasy-param-computed: false forbidden_destroy_session: description: Destroy any active session for the forbidden requests. type: boolean default: true forbidden_error_message: description: The error message for the forbidden requests (when not using the redirection). type: string default: Forbidden forbidden_redirect_uri: description: Where to redirect the client on forbidden requests. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string default: null nullable: true x-speakeasy-param-computed: false groups_claim: description: 'The claim that contains the groups. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: - groups groups_required: description: 'The groups (`groups_claim` claim) required for successful authorization. The plugin checks these values against the access token (or introspection results). Each array element is an alternative (**OR**). To require several values together, put them in one element separated by spaces (**AND**). For example, `["a b", "c"]` authorizes a token that has both groups `a` and `b`, or a token that has group `c`.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false hide_credentials: description: 'Remove the credentials used for authentication from the downstream request. If multiple credentials are sent with the same request, the plugin will remove those that were used for successful authentication. This setting does not control how the plugin sends the access token to the upstream service. To control that, use `upstream_access_token_header`.' type: boolean default: false http_proxy: description: The HTTP proxy. type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_authorization: description: The HTTP proxy authorization. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false http_version: description: 'The HTTP version used for the requests by this plugin: - `1.1`: HTTP 1.1 (the default) - `1.0`: HTTP 1.0.' type: number x-speakeasy-param-computed: true https_proxy: description: The HTTPS proxy. type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_authorization: description: The HTTPS proxy authorization. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false id_token_param_name: description: The name of the parameter used to pass the id token. type: string default: null nullable: true x-speakeasy-param-computed: false id_token_param_type: description: 'Where to look for the id token: - `header`: search the HTTP headers - `query`: search the URL''s query string - `body`: search the HTTP request body.' type: array items: enum: - body - header - query type: string x-speakeasy-unknown-values: allow default: - body - header - query ignore_signature: description: 'Skip the token signature verification on certain grants. This is insecure and logs a warning; use it only for providers that publish no verification key. Grants: - `password`: OAuth password grant - `client_credentials`: OAuth client credentials grant - `authorization_code`: authorization code flow - `refresh_token`: OAuth refresh token grant - `session`: session cookie authentication - `introspection`: OAuth introspection - `userinfo`: OpenID Connect user info endpoint authentication.' type: array items: enum: - authorization_code - client_credentials - introspection - password - refresh_token - session - userinfo type: string x-speakeasy-unknown-values: allow default: [] introspect_jwt_tokens: description: Specifies whether to introspect the JWT access tokens (can be used to check for revocations). type: boolean default: false introspection_accept: description: 'The value of `Accept` header for introspection requests: - `application/json`: introspection response as JSON - `application/token-introspection+jwt`: introspection response as JWT (from the current IETF draft document) - `application/jwt`: introspection response as JWT (from the obsolete IETF draft document).' type: string default: application/json enum: - application/json - application/jwt - application/token-introspection+jwt x-speakeasy-unknown-values: allow introspection_check_active: description: Check that the introspection response has an `active` claim with a value of `true`. type: boolean default: true introspection_endpoint: description: The introspection endpoint. If set it overrides the value in `introspection_endpoint` returned by the discovery endpoint. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false introspection_endpoint_auth_method: description: 'The introspection endpoint authentication method: : `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`, `tls_client_auth`, `self_signed_tls_client_auth`, or `none`: do not authenticate' type: string enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth x-speakeasy-unknown-values: allow introspection_headers_client: description: Extra headers passed from the client to the introspection endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false introspection_headers_names: description: Extra header names passed to the introspection endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false introspection_headers_values: description: Extra header values passed to the introspection endpoint. type: array items: type: string x-referenceable: true default: null nullable: true x-encrypted: true x-speakeasy-param-computed: false introspection_hint: description: Introspection hint parameter value passed to the introspection endpoint. type: string default: access_token introspection_post_args_client: description: Extra post arguments passed from the client to the introspection endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false introspection_post_args_client_headers: description: Extra post arguments passed from the client headers to the introspection endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false introspection_post_args_names: description: Extra post argument names passed to the introspection endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false introspection_post_args_values: description: Extra post argument values passed to the introspection endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false introspection_token_param_name: description: Designate token's parameter name for introspection. type: string default: token issuer: description: 'The discovery endpoint (or the issuer identifier). When there is no discovery endpoint, please also configure `config.using_pseudo_issuer=true`.' type: string x-referenceable: true issuers_allowed: description: The issuers allowed to be present in the tokens (`iss` claim). type: array items: type: string x-referenceable: true default: null nullable: true x-speakeasy-param-computed: false jwks_endpoint: description: Overrides the `jwks_uri` returned by discovery. Use when the IdP exposes a non-standard JWKS endpoint. type: string default: null nullable: true x-speakeasy-param-computed: false jwt_session_claim: description: The claim to match against the JWT session cookie. type: string default: sid jwt_session_cookie: description: The name of the JWT session cookie. type: string default: null nullable: true x-speakeasy-param-computed: false keepalive: description: Use keepalive with the HTTP client. type: boolean default: true leeway: description: 'Defines leeway time (in seconds) for `auth_time`, `exp`, `iat`, and `nbf` claims' type: number default: 0 login_action: description: 'What to do after successful login: - `upstream`: proxy request to upstream service - `response`: terminate request with a response - `redirect`: redirect to a different location.' type: string default: upstream enum: - redirect - response - upstream x-speakeasy-unknown-values: allow login_methods: description: Enable login functionality with specified grants. type: array items: enum: - authorization_code - bearer - client_credentials - introspection - kong_oauth2 - password - refresh_token - session - userinfo type: string x-speakeasy-unknown-values: allow default: - authorization_code login_redirect_mode: description: 'Where to place `login_tokens` when using `redirect` `login_action`: - `query`: place tokens in query string - `fragment`: place tokens in url fragment (not readable by servers).' type: string default: fragment enum: - fragment - query x-speakeasy-unknown-values: allow login_redirect_uri: description: Where to redirect the client when `login_action` is set to `redirect`. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string x-referenceable: true default: null nullable: true x-speakeasy-param-computed: false login_tokens: description: 'What tokens to include in `response` body or `redirect` query string or fragment: - `id_token`: include id token - `access_token`: include access token - `refresh_token`: include refresh token - `tokens`: include the full token endpoint response - `introspection`: include introspection response.' type: array items: enum: - access_token - id_token - introspection - refresh_token - tokens type: string x-speakeasy-unknown-values: allow default: - id_token logout_methods: description: 'The request methods that can activate the logout: - `POST`: HTTP POST method - `GET`: HTTP GET method - `DELETE`: HTTP DELETE method.' type: array items: enum: - DELETE - GET - POST type: string x-speakeasy-unknown-values: allow default: - DELETE - POST logout_post_arg: description: The request body argument that activates the logout. type: string default: null nullable: true x-speakeasy-param-computed: false logout_query_arg: description: The request query argument that activates the logout. type: string default: null nullable: true x-speakeasy-param-computed: false logout_redirect_uri: description: Where to redirect the client after the logout. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string x-referenceable: true default: null nullable: true x-speakeasy-param-computed: false logout_revoke: description: |- Revoke tokens as part of the logout. For more granular token revocation, you can also adjust the `logout_revoke_access_token` and `logout_revoke_refresh_token` parameters. type: boolean default: false logout_revoke_access_token: description: Revoke the access token as part of the logout. Requires `logout_revoke` to be set to `true`. type: boolean default: true logout_revoke_refresh_token: description: Revoke the refresh token as part of the logout. Requires `logout_revoke` to be set to `true`. type: boolean default: true logout_uri_suffix: description: The request URI suffix that activates the logout. type: string default: null nullable: true x-speakeasy-param-computed: false max_age: description: The maximum age (in seconds) compared to the `auth_time` claim. type: number default: null nullable: true x-speakeasy-param-computed: false mtls_introspection_endpoint: description: Alias for the introspection endpoint to be used for mTLS client authentication. If set it overrides the value in `mtls_endpoint_aliases` returned by the discovery endpoint. type: string default: null nullable: true x-speakeasy-param-computed: false mtls_revocation_endpoint: description: Alias for the introspection endpoint to be used for mTLS client authentication. If set it overrides the value in `mtls_endpoint_aliases` returned by the discovery endpoint. type: string default: null nullable: true x-speakeasy-param-computed: false mtls_token_endpoint: description: Alias for the token endpoint to be used for mTLS client authentication. If set it overrides the value in `mtls_endpoint_aliases` returned by the discovery endpoint. type: string default: null nullable: true x-speakeasy-param-computed: false no_proxy: description: Do not use proxy with these hosts. type: string default: null nullable: true x-speakeasy-param-computed: false password_param_type: description: 'Where to look for the username and password: - `header`: search the HTTP headers - `query`: search the URL''s query string - `body`: search the HTTP request body.' type: array items: enum: - body - header - query type: string x-speakeasy-unknown-values: allow default: - body - header - query preserve_query_args: description: 'With this parameter, you can preserve request query arguments even when doing authorization code flow.' type: boolean default: false principals: description: Configuration for Kong Identity principal hydration after token verification. type: object properties: directory: description: The Kong Identity directory instance to look up against. type: string default: default enabled: description: 'When true, query Kong Identity to map a Principal after token verification.' type: boolean default: false error_on_miss: description: 'When true (default), return 401 if fail to match a Principal in Kong Identity after token verification. When false, the request continues without authenticated_principal set.' type: boolean default: true match_consumer: description: 'If a Consumer is attached to the matched Principal in Kong Identity, load it and set it in the request context, overriding consumer_by.' type: boolean default: true match_consumer_groups: description: 'If Consumer Groups are attached to the matched Principal in Kong Identity, load them, overriding consumer_groups_claim.' type: boolean default: true principal_by: description: 'Custom identity name for a type=custom Kong Identity lookup. When absent and principal_claim is set, an OIDC lookup is performed using principal_claim as the claim name instead of ''sub''.' type: string default: null minLength: 1 nullable: true x-speakeasy-param-computed: false principal_claim: description: 'Token claim to use for the Kong Identity lookup. If multiple values are set, it means the claim is inside a nested object of the token payload. When principal_by is also set, performs a custom identity lookup (type=custom). When set alone, performs an OIDC lookup using this claim name instead of the default ''sub''.' type: array items: minLength: 1 type: string default: null minItems: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true proof_of_possession_auth_methods_validation: description: 'If set to true, only the auth_methods that are compatible with Proof of Possession (PoP) can be configured when PoP is enabled. If set to false, all auth_methods will be configurable and PoP checks will be silently skipped for those auth_methods that are not compatible with PoP.' type: boolean default: true proof_of_possession_dpop: description: 'Enable Demonstrating Proof-of-Possession (DPoP). If set to strict, all request are verified despite the presence of the DPoP key claim (cnf.jkt). If set to optional, only tokens bound with DPoP''s key are verified with the proof.' type: string default: 'off' enum: - 'off' - optional - strict x-speakeasy-unknown-values: allow proof_of_possession_mtls: description: 'Enable mtls proof of possession. If set to strict, all tokens (from supported auth_methods: bearer, introspection, and session granted with bearer or introspection) are verified, if set to optional, only tokens that contain the certificate hash claim are verified. If the verification fails, the request will be rejected with 401.' type: string default: 'off' enum: - 'off' - optional - strict x-speakeasy-unknown-values: allow proof_of_possession_mtls_from_header: description: 'Configuration for reading the client certificate from an HTTP header injected by a WAF or L7 proxy that terminates TLS. When configured, the plugin reads and validates the certificate from the specified header for mTLS Proof-of-Possession (PoP) verification instead of (or in addition to) the TLS layer certificate.' type: object default: null nullable: true properties: allow_partial_chain: description: 'Allow certificate verification with only an intermediate certificate. When enabled, a full chain to the root CA is not required.' type: boolean default: false ca_certificates: description: List of CA Certificate UUIDs to use when validating the client certificate chain. At least one is required. type: array items: type: string cert_cache_ttl: description: Time in milliseconds to cache the revocation check result for a given certificate. type: number default: 60000 certificate_header_format: description: 'Encoding format of the certificate in the header. Supported formats: `url_encoded`, `base64_encoded`.' type: string default: url_encoded enum: - base64_encoded - url_encoded x-speakeasy-unknown-values: allow certificate_header_name: description: Name of the HTTP header that contains the injected client certificate type: string http_proxy_host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false http_timeout: description: HTTP timeout in milliseconds when communicating with the OCSP server or downloading CRL. type: number default: 30000 https_proxy_host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false revocation_check_mode: description: Controls client certificate revocation check behavior. `SKIP` disables revocation checking. `IGNORE_CA_ERROR` respects revocation status when reachable but ignores network errors. `STRICT` requires a successful revocation check. type: string default: IGNORE_CA_ERROR enum: - IGNORE_CA_ERROR - SKIP - STRICT x-speakeasy-unknown-values: allow secure_source: description: 'When set to `true`, only requests from trusted IP addresses (configured in `trusted_ips` in kong.conf) are allowed to use the certificate header. This prevents direct header injection from untrusted clients.' type: boolean default: true ssl_verify: description: Verify the TLS certificate of the OCSP responder or CRL distribution point server. type: boolean default: true required: - ca_certificates - certificate_header_name x-speakeasy-param-computed: false protected_resource_metadata: description: 'When configured, the plugin advertises this API as an OAuth 2.0 protected resource per RFC 9728. It serves a discovery document at the well-known URI and includes resource_metadata in WWW-Authenticate challenge headers.' type: object default: null nullable: true properties: authorization_servers: description: List of authorization server issuer URIs to advertise in the RFC 9728 metadata document. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string minItems: 1 metadata_endpoint: description: Override the well-known metadata endpoint path. Defaults to the path component of resource with /.well-known/oauth-protected-resource appended. type: string default: null nullable: true x-speakeasy-param-computed: false resource: description: The URI of the protected resource. Used as the resource field in the RFC 9728 metadata document and to derive the well-known endpoint path. type: string scopes_supported: description: Scopes supported by this protected resource. Included in the RFC 9728 metadata document and in the scope attribute of WWW-Authenticate challenge headers on 401 responses. type: array items: type: string default: null minItems: 1 nullable: true x-speakeasy-param-computed: false required: - authorization_servers - resource x-speakeasy-param-computed: false pushed_authorization_request_endpoint: description: The pushed authorization endpoint. If set it overrides the value in `pushed_authorization_request_endpoint` returned by the discovery endpoint. type: string default: null nullable: true x-speakeasy-param-computed: false pushed_authorization_request_endpoint_auth_method: description: 'The pushed authorization request endpoint authentication method: `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`, `tls_client_auth`, `self_signed_tls_client_auth`, or `none`: do not authenticate' type: string enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth x-speakeasy-unknown-values: allow redirect_uri: description: The redirect URI passed to the authorization and token endpoints. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string default: null nullable: true x-speakeasy-param-computed: false redis: type: object properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true prefix: description: The Redis session key prefix. type: string default: null nullable: true x-speakeasy-param-computed: false read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false socket: description: The Redis unix socket path. type: string default: null nullable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end rediscovery_lifetime: description: Specifies how long (in seconds) the plugin waits between discovery attempts. Discovery is still triggered on an as-needed basis. type: number default: 30 refresh_token_param_name: description: The name of the parameter used to pass the refresh token. type: string default: null nullable: true x-speakeasy-param-computed: false refresh_token_param_type: description: 'Where to look for the refresh token: - `header`: search the HTTP headers - `query`: search the URL''s query string - `body`: search the HTTP request body.' type: array items: enum: - body - header - query type: string x-speakeasy-unknown-values: allow default: - body - header - query refresh_tokens: description: Specifies whether the plugin should try to refresh (soon to be) expired access tokens if the plugin has a `refresh_token` available. type: boolean default: true require_proof_key_for_code_exchange: description: 'Forcibly enable or disable the proof key for code exchange. When not set the value is determined through the discovery using the value of `code_challenge_methods_supported`, and enabled automatically (in case the `code_challenge_methods_supported` is missing, the PKCE will not be enabled).' type: boolean default: null nullable: true x-speakeasy-param-computed: false require_pushed_authorization_requests: description: Forcibly enable or disable the pushed authorization requests. When not set the value is determined through the discovery using the value of `require_pushed_authorization_requests` (which defaults to `false`). type: boolean default: null nullable: true x-speakeasy-param-computed: false require_signed_request_object: description: 'Forcibly enable or disable the usage of signed request object on authorization or pushed authorization endpoint. When not set the value is determined through the discovery using the value of `require_signed_request_object`, and enabled automatically (in case the `require_signed_request_object` is missing, the feature will not be enabled).' type: boolean default: null nullable: true x-speakeasy-param-computed: false resolve_distributed_claims: description: 'Distributed claims are represented by the `_claim_names` and `_claim_sources` members of the JSON object containing the claims. If this parameter is set to `true`, the plugin explicitly resolves these distributed claims.' type: boolean default: false response_mode: description: 'Response mode passed to the authorization endpoint: - `query`: for parameters in query string - `form_post`: for parameters in request body - `fragment`: for parameters in uri fragment (rarely useful as the plugin itself cannot read it) - `query.jwt`, `form_post.jwt`, `fragment.jwt`: similar to `query`, `form_post` and `fragment` but the parameters are encoded in a JWT - `jwt`: shortcut that indicates the default encoding for the requested response type.' type: string default: query enum: - form_post - form_post.jwt - fragment - fragment.jwt - jwt - query - query.jwt x-speakeasy-unknown-values: allow response_type: description: The response type passed to the authorization endpoint. type: array items: type: string default: - code reverify: description: Specifies whether to always verify tokens stored in the session. type: boolean default: false revocation_endpoint: description: The revocation endpoint. If set it overrides the value in `revocation_endpoint` returned by the discovery endpoint. type: string default: null nullable: true x-speakeasy-param-computed: false revocation_endpoint_auth_method: description: 'The revocation endpoint authentication method: : `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`, `tls_client_auth`, `self_signed_tls_client_auth`, or `none`: do not authenticate' type: string enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth x-speakeasy-unknown-values: allow revocation_token_param_name: description: Designate token's parameter name for revocation. type: string default: token roles_claim: description: 'The claim that contains the roles. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: - roles roles_required: description: 'The roles (`roles_claim` claim) required for successful authorization. The plugin checks these values against the access token (or introspection results). Each array element is an alternative (**OR**). To require several values together, put them in one element separated by spaces (**AND**). For example, `["a b", "c"]` authorizes a token that has both roles `a` and `b`, or a token that has role `c`.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false run_on_preflight: description: Specifies whether to run this plugin on pre-flight (`OPTIONS`) requests. type: boolean default: true scopes: description: The scopes passed to the authorization and token endpoints. type: array items: type: string x-referenceable: true default: [] nullable: true scopes_claim: description: 'The claim that contains the scopes. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string default: - scope scopes_required: description: 'The scopes (`scopes_claim` claim) required for successful authorization. The plugin checks these values against the access token (or introspection results). Each array element is an alternative (**OR**). To require several values together, put them in one element separated by spaces (**AND**). For example, `["a b", "c"]` authorizes a token that has both scopes `a` and `b`, or a token that has scope `c`.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false search_user_info: description: 'Specify whether to use the user info endpoint to get additional claims for consumer mapping, credential mapping, authenticated groups, and upstream and downstream headers.' type: boolean default: false session_absolute_timeout: description: 'Limits how long the session can be renewed in seconds, until re-authentication is required. 0 disables the checks.' type: number default: 86400 session_audience: description: 'The session audience, which is the intended target application. For example `"my-application"`.' type: string default: default session_bind: description: Bind the session to data acquired from the HTTP request or connection. type: array items: enum: - ip - scheme - user-agent type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false session_cookie_domain: description: The session cookie Domain flag. type: string default: null nullable: true x-speakeasy-param-computed: false session_cookie_http_only: description: 'Forbids JavaScript from accessing the cookie, for example, through the `Document.cookie` property.' type: boolean default: true session_cookie_name: description: The session cookie name. type: string default: session session_cookie_path: description: The session cookie Path flag. type: string default: / session_cookie_same_site: description: 'Controls whether a cookie is sent with cross-origin requests, providing some protection against cross-site request forgery attacks.' type: string default: Lax enum: - Default - Lax - None - Strict x-speakeasy-unknown-values: allow session_cookie_secure: description: 'Cookie is only sent to the server when a request is made with the https: scheme (except on localhost), and therefore is more resistant to man-in-the-middle attacks.' type: boolean default: null nullable: true x-speakeasy-param-computed: false session_enforce_same_subject: description: 'When set to `true`, audiences are forced to share the same subject.' type: boolean default: false session_hash_storage_key: description: 'When set to `true`, the storage key (session ID) is hashed for extra security. Hashing the storage key means it is impossible to decrypt data from the storage without a cookie.' type: boolean default: false session_hash_subject: description: 'When set to `true`, the value of subject is hashed before being stored. Only applies when `session_store_metadata` is enabled.' type: boolean default: false session_idling_timeout: description: Specifies how long the session can be inactive until it is considered invalid in seconds. 0 disables the checks and touching. type: number default: 900 session_memcached_host: description: The memcached host. type: string default: 127.0.0.1 session_memcached_port: description: The memcached port. type: integer default: 11211 maximum: 65535 minimum: 0 session_memcached_prefix: description: The memcached session key prefix. type: string default: null nullable: true x-speakeasy-param-computed: false session_memcached_socket: description: The memcached unix socket path. type: string default: null nullable: true x-speakeasy-param-computed: false session_memcached_ssl: description: 'If set to true, uses SSL to connect to memcached' type: boolean default: false session_memcached_ssl_verify: description: 'If set to true, verifies the validity of the memcached server SSL certificate' type: boolean default: false session_remember: description: Enables or disables persistent sessions. type: boolean default: false session_remember_absolute_timeout: description: 'Limits how long the persistent session can be renewed in seconds, until re-authentication is required. 0 disables the checks.' type: number default: 2592000 session_remember_cookie_name: description: Persistent session cookie name. Use with the `remember` configuration parameter. type: string default: remember session_remember_rolling_timeout: description: Specifies how long the persistent session is considered valid in seconds. 0 disables the checks and rolling. type: number default: 604800 session_request_headers: description: 'Set of headers to send to upstream, use id, audience, subject, timeout, idling-timeout, rolling-timeout, absolute-timeout. E.g. `[ "id", "timeout" ]` will set Session-Id and Session-Timeout request headers.' type: array items: enum: - absolute-timeout - audience - id - idling-timeout - rolling-timeout - subject - timeout type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false session_response_headers: description: 'Set of headers to send to downstream, use id, audience, subject, timeout, idling-timeout, rolling-timeout, absolute-timeout. E.g. `[ "id", "timeout" ]` will set Session-Id and Session-Timeout response headers.' type: array items: enum: - absolute-timeout - audience - id - idling-timeout - rolling-timeout - subject - timeout type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false session_rolling_timeout: description: Specifies how long the session can be used in seconds until it needs to be renewed. 0 disables the checks and rolling. type: number default: 3600 session_secret: description: The session secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false session_storage: description: 'The session storage for session data: - `cookie`: stores session data with the session cookie (the session cannot be invalidated or revoked without changing session secret, but is stateless, and doesn''t require a database) - `memcache`: stores session data in memcached - `redis`: stores session data in Redis.' type: string default: cookie enum: - cookie - memcache - memcached - redis x-speakeasy-unknown-values: allow session_store_metadata: description: Configures whether or not session metadata should be stored. This metadata includes information about the active sessions for a specific audience belonging to a specific subject. type: boolean default: false ssl_verify: description: 'Verify identity provider server certificate. If set to `true`, the plugin uses the CA certificate set in the `kong.conf` config parameter `lua_ssl_trusted_certificate`.' type: boolean default: false timeout: description: Network IO timeout in milliseconds. type: number default: 10000 tls_client_auth_cert_id: description: ID of the Certificate entity representing the client certificate to use for mTLS client authentication for connections between Kong and the Auth Server. type: string default: null nullable: true x-speakeasy-param-computed: false tls_client_auth_ssl_verify: description: Verify identity provider server certificate during mTLS client authentication. type: boolean default: true token_cache_key_include_scope: description: 'Include the scope in the token cache key, so token with different scopes are considered diffrent tokens.' type: boolean default: false token_endpoint: description: The token endpoint. If set it overrides the value in `token_endpoint` returned by the discovery endpoint. type: string default: null nullable: true x-speakeasy-param-computed: false token_endpoint_auth_method: description: 'The token endpoint authentication method: `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`, `tls_client_auth`, `self_signed_tls_client_auth`, or `none`: do not authenticate' type: string enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt - self_signed_tls_client_auth - tls_client_auth x-speakeasy-unknown-values: allow token_exchange: description: Details on how to accept tokens from other identity providers. type: object default: null nullable: true properties: cache: description: Cache support for token exchange type: object default: enabled: true properties: enabled: description: Whether to enable caching. type: boolean default: true ttl: description: 'Cache ttl in seconds used when caching exchanged tokens, use it to override `conf.cache_ttl`. Token expiry will be used if shorter than this value.' type: integer default: null nullable: true x-speakeasy-param-computed: false grant_type: description: The token exchange grant. `token_exchange` (default) uses the OAuth 2.0 Token Exchange grant (RFC 8693). `jwt_bearer` uses the JWT Bearer authorization-grant flow (RFC 7523); see `token_exchange.provider` for provider-specific defaults in this mode. type: string default: token_exchange enum: - jwt_bearer - token_exchange x-speakeasy-unknown-values: allow map_identities_from: description: 'Which token''s claims to use for consumer, consumer group, and principal mapping. Only takes effect when token exchange is configured. `exchanged_tokens` (default) uses the token(s) returned by the exchange or tokens derived from it, as today. `subject_token` uses the original, pre-exchange bearer token''s claims instead.' type: string default: exchanged_tokens enum: - exchanged_tokens - subject_token x-speakeasy-unknown-values: allow provider: description: 'Identity provider used with `grant_type = jwt_bearer`; not allowed with `grant_type = token_exchange`. `standard` (default) adds no provider-specific parameter. `microsoft` adds the required `requested_token_use=on_behalf_of`, which is fixed and cannot be overridden via `post_args_names/values`.' type: string default: standard enum: - microsoft - standard x-speakeasy-unknown-values: allow request: description: Parameters used in the token exchange request. type: object default: null nullable: true properties: actor_token: description: How to obtain the actor token to include in the token exchange request. Represents the identity of the party acting on behalf of the subject. type: object default: null nullable: true properties: header_name: description: Header name containing the actor token. Required when `source` is `header`. type: string default: null nullable: true x-speakeasy-param-computed: false source: description: Where to obtain the actor token. `header` reads it from a request header. `config` uses a fixed value. `none` disables actor token support. type: string default: none enum: - config - header - none x-speakeasy-unknown-values: allow static_token: description: Static actor token value. Required when `source` is `config`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false type: description: The RFC 8693 token type identifier of the actor token (the `actor_token_type` request parameter). type: string default: 'urn:ietf:params:oauth:token-type:access_token' x-speakeasy-param-computed: false audience: description: Audiences used in the token exchange request. Values defined here override those defined in `config.audience`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false empty_audience: description: Use empty audiences. Use this field to remove audiences defined in `config.audience`. type: boolean default: false empty_headers: description: Use no extra headers on the token exchange request. Use this field to remove extra headers defined in `config.token_headers_names`. type: boolean default: false empty_post_args: description: Use no extra POST arguments on the token exchange request. Use this field to remove extra POST arguments defined in `config.token_post_args_names`. type: boolean default: false empty_scopes: description: Use empty scopes. Use this field to remove scopes defined in `config.scopes`. type: boolean default: false headers_names: description: Extra header names sent only on the token exchange request. Overrides `config.token_headers_names` for this request. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false headers_values: description: Values paired by index with `headers_names`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false post_args_names: description: 'Extra POST argument names sent only on the token exchange request. Overrides `config.token_post_args_names` for this request. Use this, not the top-level field, for parameters that must not be attached to the plugin''s other token endpoint calls, for example `requested_token_use` for Entra ID''s On-Behalf-Of flow.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false post_args_values: description: Values paired by index with `post_args_names`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: Scopes used in the token exchange request. Values defined here override those defined in `config.scopes`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false subject_token_issuers: description: 'Trusted token issuers from which the upstream may accept tokens to be exchanged. If a JWT bearer matches all the conditions of a subject token issuer item, the token will be exchanged.' type: array items: properties: conditions: description: 'A token will only be exchanged when it matches all these criteria. To exchange tokens issued by a different issuer, `conditions` must not be defined -- every token from that issuer is exchanged unconditionally, since a foreign-issued token that isn''t exchanged can never pass normal verification against the target issuer anyway. In contrast, to exchange tokens issued by the target issuer itself, `conditions` must be defined.' type: object default: null nullable: true properties: has_audience: description: 'Audience values that must all be present in the token, matched against `audience_claim`.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false has_scopes: description: 'Scope values that must all be present in the token, matched against `scopes_claim`.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false missing_audience: description: 'Audience values that must all be absent from the token, matched against `audience_claim`.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false missing_scopes: description: 'Scope values that must all be absent from the token, matched against `scopes_claim`.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false issuer: description: Tokens of whose iss claim matches this value will be exchanged. type: string jwks_uri: description: 'An explicit JWKS endpoint for this issuer. This field should be left empty when this issuer is the same as the target issuer. It is only used when `verify_signature` is `true`. When set, Kong fetches the signing keys from this URI directly instead of using OIDC Discovery.' type: string default: null nullable: true x-speakeasy-param-computed: false verify_signature: description: 'When true, Kong cryptographically verifies the signature of the incoming subject token before exchanging it. Defaults to `false` for backward compatibility, which skips this local check; the token exchange request to the issuer still validates the subject token itself, so this is defense in depth, not the only safeguard. This field should be left empty or set to `false` when this issuer is the same as the target issuer.' type: boolean default: false required: - issuer type: object minItems: 1 required: - subject_token_issuers x-speakeasy-param-computed: false token_exchange_endpoint: description: Endpoint used to perform the legacy token exchange. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers_client: description: Extra headers passed from the client to the token endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false token_headers_grants: description: 'Enable the sending of the token endpoint response headers only with certain grants: - `password`: with OAuth password grant - `client_credentials`: with OAuth client credentials grant - `authorization_code`: with authorization code flow - `refresh_token` with refresh token grant.' type: array items: enum: - authorization_code - client_credentials - password - refresh_token type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false token_headers_names: description: Extra header names passed to the token endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false token_headers_prefix: description: Add a prefix to the token endpoint response headers before forwarding them to the downstream client. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers_replay: description: The names of token endpoint response headers to forward to the downstream client. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false token_headers_values: description: Extra header values passed to the token endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false token_post_args_client: description: 'Pass extra arguments from the client to the OpenID-Connect plugin. If arguments exist, the client can pass them using: - Query parameters - Request Body - Request Header This parameter can be used with `scope` values, like this: `config.token_post_args_client=scope` In this case, the token would take the `scope` value from the query parameter or from the request body or from the header and send it to the token endpoint.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false token_post_args_names: description: Extra post argument names passed to the token endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false token_post_args_values: description: Extra post argument values passed to the token endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false unauthorized_destroy_session: description: Destroy any active session for the unauthorized requests. type: boolean default: true unauthorized_error_message: description: The error message for the unauthorized requests (when not using the redirection). type: string default: Unauthorized unauthorized_redirect_uri: description: Where to redirect the client on unauthorized requests. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string default: null nullable: true x-speakeasy-param-computed: false unexpected_redirect_uri: description: Where to redirect the client when unexpected errors happen with the requests. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string default: null nullable: true x-speakeasy-param-computed: false upstream_access_token_header: description: The upstream access token header. The access token is sent to the upstream service using this header regardless of the `hide_credentials` setting. Set this field to `null` to prevent sending the access token to the upstream. type: string default: 'authorization:bearer' upstream_access_token_jwk_header: description: The upstream access token JWK header. type: string default: null nullable: true x-speakeasy-param-computed: false upstream_headers: description: The upstream claim to header mappings. type: array items: properties: header: description: The name of the header. type: string path: description: The path of the header value. type: array items: type: string minItems: 1 required: - header - path type: object default: null nullable: true x-speakeasy-param-computed: false upstream_headers_claims: description: The upstream header claims. Only top level claims are supported. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false upstream_headers_names: description: The upstream header names for the claim values. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false upstream_id_token_header: description: The upstream id token header. type: string default: null nullable: true x-speakeasy-param-computed: false upstream_id_token_jwk_header: description: The upstream id token JWK header. type: string default: null nullable: true x-speakeasy-param-computed: false upstream_introspection_header: description: The upstream introspection header. type: string default: null nullable: true x-speakeasy-param-computed: false upstream_introspection_jwt_header: description: The upstream introspection JWT header. type: string default: null nullable: true x-speakeasy-param-computed: false upstream_refresh_token_header: description: The upstream refresh token header. type: string default: null nullable: true x-speakeasy-param-computed: false upstream_session_id_header: description: The upstream session id header. type: string default: null nullable: true x-speakeasy-param-computed: false upstream_user_info_header: description: The upstream user info header. type: string default: null nullable: true x-speakeasy-param-computed: false upstream_user_info_jwt_header: description: The upstream user info JWT header (in case the user info returns a JWT response). type: string default: null nullable: true x-speakeasy-param-computed: false userinfo_accept: description: 'The value of `Accept` header for user info requests: - `application/json`: user info response as JSON - `application/jwt`: user info response as JWT (from the obsolete IETF draft document).' type: string default: application/json enum: - application/json - application/jwt x-speakeasy-unknown-values: allow userinfo_endpoint: description: The user info endpoint. If set it overrides the value in `userinfo_endpoint` returned by the discovery endpoint. type: string default: null nullable: true x-speakeasy-param-computed: false userinfo_headers_client: description: Extra headers passed from the client to the user info endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false userinfo_headers_names: description: Extra header names passed to the user info endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false userinfo_headers_values: description: Extra header values passed to the user info endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false userinfo_query_args_client: description: Extra query arguments passed from the client to the user info endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false userinfo_query_args_names: description: Extra query argument names passed to the user info endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false userinfo_query_args_values: description: Extra query argument values passed to the user info endpoint. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false using_pseudo_issuer: description: 'If the plugin uses a pseudo issuer. When set to true, the plugin will not discover the configuration from the issuer URL specified with `config.issuer`.' type: boolean default: false verify_claims: description: Verify tokens for standard claims. type: boolean default: true verify_nonce: description: Verify nonce on authorization code flow. type: boolean default: true verify_parameters: description: Verify plugin configuration against discovery. type: boolean default: false verify_signature: description: 'Verify the cryptographic signature of tokens. Disabling this skips verification for every token source, including tokens presented directly by clients (bearer); this is insecure for that path. To trust only tokens fetched from the identity provider for specific grants, use `ignore_signature` instead, which never affects bearer tokens.' type: boolean default: true consumer_claim: description: 'The claim used for consumer mapping. If multiple values are set, it means the claim is inside a nested object of the token payload.' type: array items: type: string x-speakeasy-param-computed: true required: - issuer name: const: openid-connect protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpc - grpcs - http - https - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ee paths: - config.redis OpentelemetryPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/OpentelemetryPluginConfig' OpentelemetryPluginConfig: x-speakeasy-entity: GatewayPluginOpentelemetry properties: config: type: object properties: access_logs: description: 'Configuration for exporting access logs to an OTLP/HTTP endpoint. If `endpoint` is set, Kong will export access logs (e.g. request/response, route/service, latency, etc.) to the specified endpoint.' type: object properties: custom_attributes_by_lua: description: A key-value map that dynamically modifies access log fields using Lua code. type: object default: null additionalProperties: minLength: 1 type: string nullable: true x-speakeasy-param-computed: false endpoint: description: 'An HTTP URL endpoint where access logs (e.g. request/response, route/service, latency, etc.) are exported.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true batch_flush_delay: description: 'The delay, in seconds, between two consecutive batches.' type: integer default: null nullable: true x-speakeasy-param-computed: false batch_span_count: description: The number of spans to be sent in a single batch. type: integer default: null nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 1000 maximum: 2147483646 minimum: 0 header_type: type: string default: preserve enum: - aws - b3 - b3-single - datadog - gcp - ignore - instana - jaeger - ot - preserve - w3c x-speakeasy-unknown-values: allow headers: description: The custom headers to be added in the HTTP request sent to the OTLP server. This setting is useful for adding the authentication headers (token) for the APM backend. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false http_response_header_for_traceid: type: string default: null nullable: true x-speakeasy-param-computed: false logs_endpoint: description: An HTTP URL endpoint where internal logs are exported. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false metrics: description: 'Configuration for exporting metrics to an OTLP/HTTP endpoint. If `endpoint` is set, Kong will export metrics to the specified endpoint at the interval defined by `push_interval`.' type: object properties: enable_ai_metrics: description: 'A boolean value that determines if AI metrics should be collected. If enabled, `gen_ai.*`, `mcp.*`, `kong.gen_ai.*`, `kong.gen_ai.a2a.*` and `kong.mcp.*` metrics will be exported. To enable latency metrics for AI metrics, `enable_latency_metrics` must also be set to `true`. To enable `error.type` attribute for AI metrics, `enable_request_metrics` must also be set to `true`.' type: boolean default: false enable_bandwidth_metrics: description: 'A boolean value that determines if bandwidth metrics should be collected. If enabled, `http.server.request.size` and `http.server.response.size` metrics will be exported.' type: boolean default: false enable_consumer_attribute: description: 'A boolean value that determines if `http.server.request.count`, `http.server.request.size` and `http.server.response.size` metrics should fill in the consumer attribute when available.' type: boolean default: false enable_latency_metrics: description: 'A boolean value that determines if latency metrics should be collected. If enabled, `kong.latency.total`, `kong.latency.internal` and `kong.latency.upstream` metrics will be exported.' type: boolean default: false enable_principal_attribute: description: 'A boolean value that determines if `http.server.request.count`, `http.server.request.size` and `http.server.response.size` metrics should fill in the principal attributes when an authenticated principal is available.' type: boolean default: false enable_request_metrics: description: 'A boolean value that determines if request count metrics should be collected. If enabled, `http.server.request.count` metrics will be exported.' type: boolean default: false enable_upstream_health_metrics: description: 'A boolean value that determines if upstream health metrics should be collected. If enabled, `kong.upstream.target.status` metrics will be exported.' type: boolean default: false endpoint: description: An HTTP URL endpoint where metrics are exported. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false push_interval: description: The interval in seconds at which metrics are pushed to the OTLP server. This setting is only applicable when `endpoint` is set. type: number default: 60 x-speakeasy-param-computed: true propagation: type: object default: default_format: w3c properties: clear: description: 'Header names to clear after context extraction. This allows to extract the context from a certain header and then remove it from the request, useful when extraction and injection are performed on different header formats and the original header should not be sent to the upstream. If left empty, no headers are cleared.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false default_format: description: 'The default header format to use when extractors did not match any format in the incoming headers and `inject` is configured with the value: `preserve`. This can happen when no tracing header was found in the request, or the incoming tracing header formats were not included in `extract`.' type: string default: w3c enum: - aws - b3 - b3-single - datadog - gcp - instana - jaeger - ot - w3c x-speakeasy-unknown-values: allow extract: description: 'Header formats used to extract tracing context from incoming requests. If multiple values are specified, the first one found will be used for extraction. If left empty, Kong will not extract any tracing context information from incoming requests and generate a trace with no parent and a new trace ID.' type: array items: enum: - aws - b3 - datadog - gcp - instana - jaeger - ot - w3c type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false inject: description: 'Header formats used to inject tracing context. The value `preserve` will use the same header format as the incoming request. If multiple values are specified, all of them will be used during injection. If left empty, Kong will not inject any tracing context information in outgoing requests.' type: array items: enum: - aws - b3 - b3-single - datadog - gcp - instana - jaeger - ot - preserve - w3c type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false queue: type: object default: max_batch_size: 200 properties: breaker_cooldown: description: Time in seconds the circuit breaker stays open (fast-shedding entries) before it allows a single batch through to probe whether the destination has recovered. type: number default: 60 maximum: 1000000 minimum: 0 concurrency_limit: description: The number of of queue delivery timers. -1 indicates unlimited. type: integer default: 1 enum: - -1 - 1 x-speakeasy-unknown-values: allow failure_threshold: description: Number of consecutive failed batches after which the queue opens its circuit breaker and drops entries instead of retrying. 0 disables the circuit breaker. type: integer default: 0 maximum: 1000000 minimum: 0 initial_retry_delay: description: Time in seconds before the initial retry is made for a failing batch. type: number maximum: 1000000 minimum: 0.001 x-speakeasy-param-computed: true max_batch_size: description: Maximum number of entries that can be processed at a time. type: integer default: 200 maximum: 1000000 minimum: 1 max_bytes: description: 'Maximum number of bytes that can be waiting on a queue, requires string content.' type: integer default: null nullable: true x-speakeasy-param-computed: false max_coalescing_delay: description: Maximum number of (fractional) seconds to elapse after the first entry was queued before the queue starts calling the handler. type: number default: 1 maximum: 3600 minimum: 0 max_entries: description: Maximum number of entries that can be waiting on the queue. type: integer default: 10000 maximum: 1000000 minimum: 1 max_retry_delay: description: 'Maximum time in seconds between retries, caps exponential backoff.' type: number default: 60 maximum: 1000000 minimum: 0.001 max_retry_time: description: Time in seconds before the queue gives up calling a failed handler for a batch. type: number default: 60 read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 5000 maximum: 2147483646 minimum: 0 resource_attributes: description: 'A key-value map of resource attributes to be sent with the telemetry data. The keys and values can be either static or dynamic using Kong variables (e.g. `${kong.service.name}`) for the values. For dynamic values, Lua string template syntax is used and the values will be rendered at runtime.' type: object additionalProperties: type: string x-lua-required: true x-speakeasy-param-computed: true sampling_rate: description: 'Tracing sampling rate for configuring the probability-based sampler. When set, this value supersedes the global `tracing_sampling_rate` setting from kong.conf.' type: number default: null maximum: 1 minimum: 0 nullable: true x-speakeasy-param-computed: false sampling_strategy: description: 'The sampling strategy to use for OTLP `traces`. Set `parent_drop_probability_fallback` if you want parent-based sampling when the parent span contains a `false` sampled flag, and fallback to probability-based sampling otherwise. Set `parent_probability_fallback` if you want parent-based sampling when the parent span contains a valid sampled flag (`true` or `false`), and fallback to probability-based sampling otherwise.' type: string default: parent_drop_probability_fallback enum: - parent_drop_probability_fallback - parent_probability_fallback x-speakeasy-unknown-values: allow send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 5000 maximum: 2147483646 minimum: 0 traces_endpoint: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false access_logs_endpoint: description: 'An HTTP URL endpoint where access logs (e.g. request/response, route/service, latency, etc.) are exported.' type: string deprecated: true x-referenceable: true x-speakeasy-param-computed: true x-speakeasy-param-computed: true consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: opentelemetry protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 Partial: x-speakeasy-entity: GatewayPartial type: object discriminator: mapping: embeddings: '#/components/schemas/PartialEmbeddings' model: '#/components/schemas/PartialModel' redis-ce: '#/components/schemas/PartialRedisCe' redis-ee: '#/components/schemas/PartialRedisEe' vectordb: '#/components/schemas/PartialVectordb' propertyName: type oneOf: - $ref: '#/components/schemas/PartialRedisCe' - $ref: '#/components/schemas/PartialRedisEe' - $ref: '#/components/schemas/PartialVectordb' - $ref: '#/components/schemas/PartialEmbeddings' - $ref: '#/components/schemas/PartialModel' x-speakeasy-entity-version: 1 PartialEmbeddings: type: object properties: config: type: object properties: auth: type: object default: null nullable: true properties: allow_override: description: 'If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin.' type: boolean default: false aws_access_key_id: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_ACCESS_KEY_ID environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_SECRET_ACCESS_KEY environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_use_managed_identity: description: Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. type: boolean default: false gcp_metadata_url: description: 'Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_oauth_token_url: description: 'Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: 'Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcp_use_service_account is true), Kong will attempt to read from environment variable `GCP_SERVICE_ACCOUNT`.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_use_service_account: description: Use service account auth for GCP-based providers and models. type: boolean default: false header_name: description: 'If AI model requires authentication via Authorization or API key header, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false header_value: description: 'Specify the full auth header value for ''header_name'', for example ''Bearer key'' or just ''key''.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false param_location: description: 'Specify whether the ''param_name'' and ''param_value'' options go in a query string, or the POST form/JSON body.' type: string enum: - body - query x-speakeasy-unknown-values: allow param_name: description: 'If AI model requires authentication via query parameter, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false param_value: description: Specify the full parameter value for 'param_name'. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false model: type: object properties: name: description: Model name to execute. type: string options: description: Key/value settings for the model type: object default: null nullable: true properties: azure: type: object default: null nullable: true properties: api_version: description: '''api-version'' for Azure OpenAI instances.' type: string default: '2023-05-15' deployment_id: description: Deployment ID for Azure OpenAI instances. type: string default: null nullable: true x-speakeasy-param-computed: false instance: description: Instance name for Azure OpenAI hosted models. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false bedrock: type: object default: null nullable: true properties: aws_assume_role_arn: description: If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful. type: string default: null nullable: true x-speakeasy-param-computed: false aws_region: description: If using AWS providers (Bedrock) you can override the `AWS_REGION` environment variable by setting this option. type: string default: null nullable: true x-speakeasy-param-computed: false aws_role_session_name: description: 'If using AWS providers (Bedrock), set the identifier of the assumed role session.' type: string default: null nullable: true x-speakeasy-param-computed: false aws_sts_endpoint_url: description: 'If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_bucket_prefix: description: 'S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_role_arn: description: AWS role arn used for calling batch API. Try to get the value from request if ommited. type: string default: null nullable: true x-speakeasy-param-computed: false embeddings_normalize: description: 'If using AWS providers (Bedrock), set to true to normalize the embeddings.' type: boolean default: false performance_config_latency: description: Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration. type: string default: null nullable: true x-speakeasy-param-computed: false video_output_s3_uri: description: 'S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false gemini: type: object default: null nullable: true properties: api_endpoint: description: 'If running Gemini on Vertex, specify the regional API endpoint (hostname only).' type: string default: null nullable: true x-speakeasy-param-computed: false location_id: description: 'If running Gemini on Vertex, specify the location ID.' type: string default: null nullable: true x-speakeasy-param-computed: false project_id: description: 'If running Gemini on Vertex, specify the project ID.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false huggingface: type: object default: null nullable: true properties: use_cache: description: Use the cache layer on the inference API type: boolean default: null nullable: true x-speakeasy-param-computed: false wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false upstream_url: description: upstream url for the embeddings type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false provider: description: AI provider format to use for embeddings API type: string enum: - azure - bedrock - gemini - huggingface - mistral - ollama - openai x-speakeasy-unknown-values: allow required: - name - provider required: - model created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true name: description: A unique string representing a UTF-8 encoded name. type: string default: null nullable: true x-speakeasy-param-computed: false tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false type: type: string const: embeddings updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true example: config: auth: header_name: Authorization header_value: Bearer openai-api-key model: name: text-embedding-3-small provider: openai type: embeddings additionalProperties: false required: - type - config PartialModel: type: object properties: config: type: object properties: auth: type: object default: null nullable: true properties: allow_override: description: 'If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin.' type: boolean default: false aws_access_key_id: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_ACCESS_KEY_ID environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWS_SECRET_ACCESS_KEY environment variable for this plugin instance. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: 'If azure_use_managed_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false azure_use_managed_identity: description: Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. type: boolean default: false gcp_metadata_url: description: 'Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_oauth_token_url: description: 'Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: 'Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcp_use_service_account is true), Kong will attempt to read from environment variable `GCP_SERVICE_ACCOUNT`.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_use_service_account: description: Use service account auth for GCP-based providers and models. type: boolean default: false header_name: description: 'If AI model requires authentication via Authorization or API key header, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false header_value: description: 'Specify the full auth header value for ''header_name'', for example ''Bearer key'' or just ''key''.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false param_location: description: 'Specify whether the ''param_name'' and ''param_value'' options go in a query string, or the POST form/JSON body.' type: string enum: - body - query x-speakeasy-unknown-values: allow param_name: description: 'If AI model requires authentication via query parameter, specify its name here.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false param_value: description: Specify the full parameter value for 'param_name'. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false description: description: 'The semantic description of the target, required if using semantic load balancing. Specially, setting this to ''CATCHALL'' will indicate such target to be used when no other targets match the semantic threshold. Only used by ai-proxy-advanced.' type: string default: null nullable: true x-speakeasy-param-computed: false logging: type: object properties: log_payloads: description: 'If enabled, will log the request and response body into the Kong log plugin(s) output.Furthermore if Opentelemetry instrumentation is enabled the traces will contain this data as well.' type: boolean default: false log_statistics: description: 'If enabled and supported by the driver, will add model usage and token metrics into the Kong log plugin(s) output.' type: boolean default: false x-speakeasy-param-computed: true metadata: description: 'For internal use only. ' type: object default: null additionalProperties: true nullable: true x-speakeasy-param-computed: false x-speakeasy-type-override: any model: type: object properties: model_alias: description: The model name parameter from the request that this model should map to. type: string default: null nullable: true x-speakeasy-param-computed: false name: description: Model name to execute. type: string default: null nullable: true x-speakeasy-param-computed: false options: description: Key/value settings for the model type: object default: null nullable: true properties: anthropic_version: description: 'Defines the schema/API version, if using Anthropic provider.' type: string default: null nullable: true x-speakeasy-param-computed: false azure_api_version: description: '''api-version'' for Azure OpenAI instances.' type: string default: '2023-05-15' azure_deployment_id: description: Deployment ID for Azure OpenAI instances. type: string default: null nullable: true x-speakeasy-param-computed: false azure_instance: description: Instance name for Azure OpenAI hosted models. type: string default: null nullable: true x-speakeasy-param-computed: false bedrock: type: object default: null nullable: true properties: aws_assume_role_arn: description: If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful. type: string default: null nullable: true x-speakeasy-param-computed: false aws_region: description: If using AWS providers (Bedrock) you can override the `AWS_REGION` environment variable by setting this option. type: string default: null nullable: true x-speakeasy-param-computed: false aws_role_session_name: description: 'If using AWS providers (Bedrock), set the identifier of the assumed role session.' type: string default: null nullable: true x-speakeasy-param-computed: false aws_sts_endpoint_url: description: 'If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_bucket_prefix: description: 'S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.' type: string default: null nullable: true x-speakeasy-param-computed: false batch_role_arn: description: AWS role arn used for calling batch API. Try to get the value from request if ommited. type: string default: null nullable: true x-speakeasy-param-computed: false embeddings_normalize: description: 'If using AWS providers (Bedrock), set to true to normalize the embeddings.' type: boolean default: false performance_config_latency: description: Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration. type: string default: null nullable: true x-speakeasy-param-computed: false video_output_s3_uri: description: 'S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false cache_read_cost: description: Defines the cost per 1M cache-read (cached) prompt tokens. type: number default: null nullable: true x-speakeasy-param-computed: false cache_write_cost: description: Defines the cost per 1M cache-write prompt tokens. type: number default: null nullable: true x-speakeasy-param-computed: false cache_write_cost_list: description: 'Per-cache-TTL cache-write pricing; overrides cache_write_cost per TTL. Configure this if the upstream provider charges differently for different cache TTLs, as Anthropic does for 5m and 1h TTLs.' type: array items: properties: cost: type: number ttl: type: string required: - cost - ttl type: object default: null nullable: true x-speakeasy-param-computed: false cohere: type: object default: null nullable: true properties: embedding_input_type: description: The purpose of the input text to calculate embedding vectors. type: string default: classification enum: - classification - clustering - image - search_document - search_query x-speakeasy-unknown-values: allow wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false context_window_factor: description: 'Above an input-token threshold, scale input/output pricing with the corresponding factor.' type: array items: properties: above: type: string input_factor: type: number output_factor: type: number required: - above - input_factor - output_factor type: object default: null nullable: true x-speakeasy-param-computed: false dashscope: type: object default: null nullable: true properties: international: description: | Two Dashscope endpoints are available, and the international endpoint will be used when this is set to `true`. It is recommended to set this to `true` when using international version of dashscope. type: boolean default: true x-speakeasy-param-computed: false databricks: type: object default: null nullable: true properties: workspace_instance_id: description: Workspace Instance ID ('dbc-xxx-yyy') for Databricks model serving. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false embeddings_dimensions: description: 'If using embeddings models, set the number of dimensions to generate.' type: integer default: null nullable: true x-speakeasy-param-computed: false gemini: type: object default: null nullable: true properties: api_endpoint: description: 'If running Gemini on Vertex, specify the regional API endpoint (hostname only).' type: string default: null nullable: true x-speakeasy-param-computed: false endpoint_id: description: 'If running Gemini on Vertex Model Garden, specify the endpoint ID.' type: string default: null nullable: true x-speakeasy-param-computed: false location_id: description: 'If running Gemini on Vertex, specify the location ID.' type: string default: null nullable: true x-speakeasy-param-computed: false project_id: description: 'If running Gemini on Vertex, specify the project ID.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false huggingface: type: object default: null nullable: true properties: use_cache: description: Use the cache layer on the inference API type: boolean default: null nullable: true x-speakeasy-param-computed: false wait_for_model: description: Wait for the model if it is not ready type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false input_cost: description: Defines the cost per 1M tokens in your prompt. type: number default: null nullable: true x-speakeasy-param-computed: false llama2_format: description: 'If using llama2 provider, select the upstream message format.' type: string enum: - ollama - openai - raw x-speakeasy-unknown-values: allow max_tokens: description: 'Defines the max_tokens, if using chat or completion models.' type: integer default: null nullable: true x-speakeasy-param-computed: false mistral_format: description: 'If using mistral provider, select the upstream message format.' type: string enum: - ollama - openai x-speakeasy-unknown-values: allow output_cost: description: Defines the cost per 1M tokens in the output of the AI. type: number default: null nullable: true x-speakeasy-param-computed: false service_tier_factor: description: 'Multiplier applied to the whole request for a service tier. No need to configure a standard/default tier, as the default factor is 1.0 if none of the tier is matched.' type: array items: properties: factor: type: number tier: description: 'A word matched case-insensitively as a substring of the vendor''s reported service tier (e.g. ''priority'', ''flex'', or ''throughput'' for Gemini/Vertex''s PROVISIONED_THROUGHPUT). If several entries match, the longest (most specific) wins; array order doesn''t matter. Configure ''priority'' will also match ''fast'' (whole word) as OpenAI returns either ''priority'' or ''fast'' for priority service tier.' type: string minLength: 1 required: - factor - tier type: object default: null nullable: true x-speakeasy-param-computed: false temperature: description: 'Defines the matching temperature, if using chat or completion models.' type: number default: null maximum: 5 minimum: 0 nullable: true x-speakeasy-param-computed: false top_k: description: 'Defines the top-k most likely tokens, if supported.' type: integer default: null maximum: 500 minimum: 0 nullable: true x-speakeasy-param-computed: false top_p: description: 'Defines the top-p probability mass, if supported.' type: number default: null maximum: 1 minimum: 0 nullable: true x-speakeasy-param-computed: false upstream_path: description: 'Manually specify or override the AI operation path, used when e.g. using the ''preserve'' route_type.' type: string default: null nullable: true x-speakeasy-param-computed: false upstream_url: description: 'Manually specify or override the full URL to the AI operation endpoints, when calling (self-)hosted models, or for running via a private endpoint.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false provider: description: AI provider request format - Kong translates requests to and from the specified backend compatible formats. type: string enum: - anthropic - azure - bedrock - cerebras - cohere - dashscope - databricks - deepseek - gemini - huggingface - llama2 - mistral - ollama - openai - vllm - xai x-speakeasy-unknown-values: allow required: - provider route_type: description: 'The model''s operation implementation, for this provider. ' type: string enum: - audio/v1/audio/speech - audio/v1/audio/transcriptions - audio/v1/audio/translations - image/v1/images/edits - image/v1/images/generations - llm/v1/assistants - llm/v1/batches - llm/v1/chat - llm/v1/completions - llm/v1/embeddings - llm/v1/files - llm/v1/responses - preserve - realtime/v1/realtime - video/v1/videos/generations x-speakeasy-unknown-values: allow weight: description: The weight this target gets within the upstream loadbalancer (1-65535). Only used by ai-proxy-advanced. type: integer default: 100 maximum: 65535 minimum: 1 required: - model - route_type created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true name: description: A unique string representing a UTF-8 encoded name. type: string default: null nullable: true x-speakeasy-param-computed: false tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false type: type: string const: model updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true example: config: auth: header_name: Authorization header_value: Bearer openai-api-key model: name: gpt-4 provider: openai route_type: llm/v1/chat type: model additionalProperties: false required: - type - config PartialRedisCe: type: object properties: config: type: object properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: number default: 10000 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string nullable: false x-encrypted: true x-referenceable: true port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true server_name: description: A string representing an SNI (server name indication) value for TLS. type: string nullable: false x-referenceable: true ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string nullable: false x-referenceable: true x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true name: description: A unique string representing a UTF-8 encoded name. type: string default: null nullable: true x-speakeasy-param-computed: false tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false type: type: string const: redis-ce updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true example: config: database: 0 host: localhost password: password port: 6379 server_name: redis ssl: false ssl_verify: false timeout: 2000 username: username type: redis-ce additionalProperties: false required: - type - config PartialRedisEe: type: object properties: config: type: object properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object minItems: 1 nullable: true x-speakeasy-param-computed: true connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string nullable: false x-encrypted: true x-referenceable: true port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string nullable: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object minItems: 1 nullable: true x-speakeasy-param-computed: true sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string nullable: false x-encrypted: true x-referenceable: true sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string nullable: false x-referenceable: true server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true name: description: A unique string representing a UTF-8 encoded name. type: string default: null nullable: true x-speakeasy-param-computed: false tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false type: type: string const: redis-ee updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true example: config: cluster_nodes: - ip: 192.168.1.10 port: 6380 connect_timeout: 2000 database: 0 host: localhost keepalive_pool_size: 256 password: password port: 6379 read_timeout: 1000 send_timeout: 1000 sentinel_nodes: - host: sentinel1.redis.server port: 26379 server_name: redis-ee ssl: false ssl_verify: false username: username type: redis-ee additionalProperties: false required: - type - config PartialVectordb: type: object properties: config: type: object properties: dimensions: description: the desired dimensionality for the vectors type: integer distance_metric: description: the distance metric to use for vector searches type: string enum: - cosine - euclidean x-speakeasy-unknown-values: allow pgvector: type: object default: null nullable: true properties: database: description: the database of the pgvector database type: string default: kong-pgvector host: description: the host of the pgvector database type: string default: 127.0.0.1 password: description: the password of the pgvector database type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: the port of the pgvector database type: integer default: 5432 ssl: description: whether to use ssl for the pgvector database type: boolean default: false ssl_cert: description: the path of ssl cert to use for the pgvector database type: string default: null nullable: true x-speakeasy-param-computed: false ssl_cert_key: description: the path of ssl cert key to use for the pgvector database type: string default: null nullable: true x-speakeasy-param-computed: false ssl_required: description: whether ssl is required for the pgvector database type: boolean default: false ssl_verify: description: whether to verify ssl for the pgvector database type: boolean default: false ssl_version: description: the ssl version to use for the pgvector database type: string default: tlsv1_2 enum: - any - tlsv1_2 - tlsv1_3 x-speakeasy-unknown-values: allow timeout: description: the timeout of the pgvector database type: number default: 5000 user: description: the user of the pgvector database type: string default: postgres x-referenceable: true x-speakeasy-param-computed: false redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end strategy: description: which vector database driver to use type: string enum: - pgvector - redis x-speakeasy-unknown-values: allow threshold: description: the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar. type: number default: null nullable: true x-speakeasy-param-computed: false required: - dimensions - distance_metric - strategy created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true name: description: A unique string representing a UTF-8 encoded name. type: string default: null nullable: true x-speakeasy-param-computed: false tags: description: A set of strings representing tags. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false type: type: string const: vectordb updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true example: config: dimensions: 1536 distance_metric: cosine pgvector: database: kong-pgvector host: 127.0.0.1 password: password port: 5432 user: postgres strategy: pgvector type: vectordb additionalProperties: false required: - type - config Plugin: description: 'A Plugin entity represents a plugin configuration that will be executed during the HTTP request/response lifecycle. It is how you can add functionalities to Services that run behind Kong, like Authentication or Rate Limiting for example. You can find more information about how to install and what values each plugin takes by visiting the [Kong Hub](https://docs.konghq.com/hub/). When adding a Plugin Configuration to a Service, every request made by a client to that Service will run said Plugin. If a Plugin needs to be tuned to different values for some specific Consumers, you can do so by creating a separate plugin instance that specifies both the Service and the Consumer, through the `service` and `consumer` fields.' type: object properties: condition: description: 'An expression used for conditional control over plugin execution. If the expression evaluates to `true` during the request flow, the plugin is executed; otherwise, it is skipped.' type: string default: null maxLength: 1024 nullable: true x-speakeasy-param-computed: false config: description: 'The configuration properties for the Plugin which can be found on the plugins documentation page in the [Kong Hub](https://docs.konghq.com/hub/).' type: object default: null additionalProperties: true nullable: true x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified group has been authenticated.' type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false created_at: description: Unix epoch when the resource was created. type: integer nullable: true enabled: description: Whether the plugin is applied. type: boolean default: true nullable: true id: description: A string representing a UUID (universally unique identifier). type: string minLength: 1 nullable: true instance_name: description: A unique string representing a UTF-8 encoded name. type: string default: null nullable: true x-speakeasy-param-computed: false name: description: 'The name of the Plugin that''s going to be added. Currently, the Plugin must be installed in every Kong instance separately.' type: string minLength: 1 ordering: type: object default: null nullable: true properties: after: type: object default: null nullable: true properties: access: type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false before: type: object default: null nullable: true properties: access: type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false partials: description: A list of partials to be used by the plugin. type: array items: properties: id: description: A string representing a UUID (universally unique identifier). type: string minLength: 1 name: description: A unique string representing a UTF-8 encoded name. type: string default: null nullable: true x-speakeasy-param-computed: false path: type: string default: null nullable: true x-speakeasy-param-computed: false type: object default: null nullable: true x-speakeasy-param-computed: false protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support `"tcp"` and `"tls"`.' type: array items: $ref: '#/components/schemas/Protocols' default: - grpc - grpcs - http - https nullable: true route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the Route being used.' type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false tags: description: An optional set of strings associated with the Plugin for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true example: config: anonymous: null hide_credentials: false key_in_body: false key_in_header: true key_in_query: true key_names: - apikey run_on_preflight: true enabled: true id: 3fd1eea1-885a-4011-b986-289943ff8177 name: key-auth partials: - id: cff1230a-00f7-4ae8-b376-c370f0eb4dae name: foo-partial path: config.redis - id: 129ee345-cba8-4e55-9d6d-93c223ff91ae name: bar-partial path: config.redis protocols: - grpc - grpcs - http - https additionalProperties: false required: - name PluginBase: description: 'A Plugin entity represents a plugin configuration that will be executed during the HTTP request/response lifecycle. It is how you can add functionalities to Services that run behind Kong, like Authentication or Rate Limiting for example. You can find more information about how to install and what values each plugin takes by visiting the [Kong Hub](https://docs.konghq.com/hub/). When adding a Plugin Configuration to a Service, every request made by a client to that Service will run said Plugin. If a Plugin needs to be tuned to different values for some specific Consumers, you can do so by creating a separate plugin instance that specifies both the Service and the Consumer, through the `service` and `consumer` fields.' type: object properties: condition: description: 'An expression used for conditional control over plugin execution. If the expression evaluates to `true` during the request flow, the plugin is executed; otherwise, it is skipped.' type: string default: null maxLength: 1024 nullable: true x-speakeasy-param-computed: false created_at: description: Unix epoch when the resource was created. type: integer nullable: true enabled: description: Whether the plugin is applied. type: boolean default: true nullable: true id: description: A string representing a UUID (universally unique identifier). type: string minLength: 1 nullable: true instance_name: description: A unique string representing a UTF-8 encoded name. type: string default: null nullable: true x-speakeasy-param-computed: false name: description: 'The name of the Plugin that''s going to be added. Currently, the Plugin must be installed in every Kong instance separately.' type: string minLength: 1 ordering: type: object default: null nullable: true properties: after: type: object nullable: false properties: access: type: array items: type: string nullable: false before: type: object nullable: false properties: access: type: array items: type: string nullable: false x-speakeasy-param-computed: false partials: description: A list of partials to be used by the plugin. type: array items: properties: id: description: A string representing a UUID (universally unique identifier). type: string minLength: 1 name: description: A unique string representing a UTF-8 encoded name. type: string x-speakeasy-param-computed: true path: type: string x-speakeasy-param-computed: true type: object required: - path default: null nullable: true x-speakeasy-param-computed: false tags: description: An optional set of strings associated with the Plugin for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true additionalProperties: false required: - name PostFunctionPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/PostFunctionPluginConfig' PostFunctionPluginConfig: x-speakeasy-entity: GatewayPluginPostFunction properties: config: type: object default: null nullable: true properties: access: type: array items: type: string default: [] body_filter: type: array items: type: string default: [] certificate: type: array items: type: string default: [] header_filter: type: array items: type: string default: [] log: type: array items: type: string default: [] rewrite: type: array items: type: string default: [] ws_client_frame: type: array items: type: string default: [] ws_close: type: array items: type: string default: [] ws_handshake: type: array items: type: string default: [] ws_upstream_frame: type: array items: type: string default: [] x-speakeasy-param-computed: false name: const: post-function protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 PreFunctionPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/PreFunctionPluginConfig' PreFunctionPluginConfig: x-speakeasy-entity: GatewayPluginPreFunction properties: config: type: object default: null nullable: true properties: access: type: array items: type: string default: [] body_filter: type: array items: type: string default: [] certificate: type: array items: type: string default: [] header_filter: type: array items: type: string default: [] log: type: array items: type: string default: [] rewrite: type: array items: type: string default: [] ws_client_frame: type: array items: type: string default: [] ws_close: type: array items: type: string default: [] ws_handshake: type: array items: type: string default: [] ws_upstream_frame: type: array items: type: string default: [] x-speakeasy-param-computed: false name: const: pre-function protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 PrometheusPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/PrometheusPluginConfig' PrometheusPluginConfig: x-speakeasy-entity: GatewayPluginPrometheus properties: config: type: object default: null nullable: true properties: ai_metrics: description: 'A boolean value that determines if ai metrics should be collected. If enabled, the `ai_llm_requests_total`, `ai_llm_cost_total` and `ai_llm_tokens_total` metrics will be exported.' type: boolean default: false bandwidth_metrics: description: 'A boolean value that determines if bandwidth metrics should be collected. If enabled, `bandwidth_bytes` and `stream_sessions_total` metrics will be exported.' type: boolean default: false latency_metrics: description: 'A boolean value that determines if latency metrics should be collected. If enabled, `kong_latency_ms`, `upstream_latency_ms` and `request_latency_ms` metrics will be exported.' type: boolean default: false per_consumer: description: 'A boolean value that determines if per-consumer metrics should be collected. If enabled, the `kong_http_requests_total` and `kong_bandwidth_bytes` metrics fill in the consumer label when available.' type: boolean default: false status_code_metrics: description: 'A boolean value that determines if status code metrics should be collected. If enabled, `http_requests_total`, `stream_sessions_total` metrics will be exported.' type: boolean default: false upstream_health_metrics: description: 'A boolean value that determines if upstream metrics should be collected. If enabled, `upstream_target_health` metric will be exported.' type: boolean default: false wasm_metrics: type: boolean default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: prometheus protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 ProxyCacheAdvancedPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/ProxyCacheAdvancedPluginConfig' ProxyCacheAdvancedPluginConfig: x-speakeasy-entity: GatewayPluginProxyCacheAdvanced properties: config: type: object properties: bypass_on_err: description: 'Unhandled errors while trying to retrieve a cache entry (such as redis down) are resolved with `Bypass`, with the request going upstream.' type: boolean default: false cache_by_principal: description: 'When enabled, use the authenticated Principal''s UUID to compose the cache key.' type: boolean default: false cache_control: description: 'When enabled, respect the Cache-Control behaviors defined in RFC7234.' type: boolean default: false cache_ttl: description: TTL in seconds of cache entities. type: integer default: 300 content_type: description: 'Upstream response content types considered cacheable. The plugin performs an **exact match** against each specified value; for example, if the upstream is expected to respond with a `application/json; charset=utf-8` content-type, the plugin configuration must contain said value or a `Bypass` cache status is returned.' type: array items: type: string default: - application/json - text/plain ignore_uri_case: description: 'Determines whether to treat URIs as case sensitive. By default, case sensitivity is enabled. If set to true, requests are cached while ignoring case sensitivity in the URI.' type: boolean default: false memory: type: object default: null nullable: true properties: dictionary_name: description: The name of the shared dictionary in which to hold cache entities when the memory strategy is selected. Note that this dictionary currently must be defined manually in the Kong Nginx template. type: string default: kong_db_cache x-speakeasy-param-computed: false redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end request_method: description: 'Downstream request methods considered cacheable. Available options: `HEAD`, `GET`, `POST`, `PATCH`, `PUT`.' type: array items: enum: - GET - HEAD - PATCH - POST - PUT type: string x-speakeasy-unknown-values: allow default: - GET - HEAD response_code: description: Upstream response status code considered cacheable. The integers must be a value between 100 and 900. type: array items: maximum: 900 minimum: 100 type: integer default: - 200 - 301 - 404 minItems: 1 response_headers: description: Caching related diagnostic headers that should be included in cached responses type: object default: null nullable: true properties: X-Cache-Key: type: boolean default: true X-Cache-Status: type: boolean default: true age: type: boolean default: true x-speakeasy-param-computed: false storage_ttl: description: Number of seconds to keep resources in the storage backend. This value is independent of `cache_ttl` or resource TTLs defined by Cache-Control behaviors. type: integer default: null nullable: true x-speakeasy-param-computed: false strategy: description: 'The backing data store in which to hold cache entities. Accepted values are: `memory` and `redis`.' type: string enum: - memory - redis x-speakeasy-unknown-values: allow vary_headers: description: 'Relevant headers considered for the cache key. If undefined, none of the headers are taken into consideration.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false vary_query_params: description: 'Relevant query parameters considered for the cache key. If undefined, all params are taken into consideration. By default, the max number of params accepted is 100. You can change this value via the `lua_max_post_args` in `kong.conf`.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false required: - strategy consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: proxy-cache-advanced protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ee paths: - config.redis ProxyCachePlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/ProxyCachePluginConfig' ProxyCachePluginConfig: x-speakeasy-entity: GatewayPluginProxyCache properties: config: type: object properties: cache_by_principal: description: 'When enabled, use the authenticated Principal''s UUID to compose the cache key.' type: boolean default: false cache_control: description: 'When enabled, respect the Cache-Control behaviors defined in RFC7234.' type: boolean default: false cache_ttl: description: 'TTL, in seconds, of cache entities.' type: integer default: 300 content_type: description: Upstream response content types considered cacheable. The plugin performs an **exact match** against each specified value. type: array items: type: string default: - application/json - text/plain ignore_uri_case: type: boolean default: false memory: type: object properties: dictionary_name: description: The name of the shared dictionary in which to hold cache entities when the memory strategy is selected. Note that this dictionary currently must be defined manually in the Kong Nginx template. type: string default: kong_db_cache x-speakeasy-param-computed: true request_method: description: Downstream request methods considered cacheable. type: array items: enum: - GET - HEAD - PATCH - POST - PUT type: string x-speakeasy-unknown-values: allow default: - GET - HEAD response_code: description: Upstream response status code considered cacheable. type: array items: maximum: 900 minimum: 100 type: integer default: - 200 - 301 - 404 minItems: 1 response_headers: description: Caching related diagnostic headers that should be included in cached responses type: object properties: X-Cache-Key: type: boolean default: true X-Cache-Status: type: boolean default: true age: type: boolean default: true x-speakeasy-param-computed: true storage_ttl: description: Number of seconds to keep resources in the storage backend. This value is independent of `cache_ttl` or resource TTLs defined by Cache-Control behaviors. type: integer default: null nullable: true x-speakeasy-param-computed: false strategy: description: The backing data store in which to hold cache entities. type: string enum: - memory vary_headers: description: 'Relevant headers considered for the cache key. If undefined, none of the headers are taken into consideration.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false vary_query_params: description: 'Relevant query parameters considered for the cache key. If undefined, all params are taken into consideration.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false required: - strategy consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: proxy-cache protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 RateLimitingAdvancedPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/RateLimitingAdvancedPluginConfig' RateLimitingAdvancedPluginConfig: x-speakeasy-entity: GatewayPluginRateLimitingAdvanced properties: config: type: object properties: compound_identifier: description: 'Similar to `identifer`, but supports combining multiple items. The priority of `compound_identifier` is higher than `identifier`, which means if `compound_identifer` is set, it will be used, otherwise `identifier` will be used.' type: array items: enum: - consumer - consumer-group - credential - header - ip - path - principal - route - service type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false consumer_groups: description: List of consumer groups allowed to override the rate limiting settings for the given Route or Service. Required if `enforce_consumer_groups` is set to `true`. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false counter_key: description: 'The key used to identify the counter for rate limiting. This can be based on consumer attributes such as `consumer.id`, `consumer.username`, or `consumer.custom_id`. Only applicable when `identifier` is set to `consumer`.' type: string enum: - consumer.custom_id - consumer.id - consumer.username x-speakeasy-unknown-values: allow custom_key: description: 'Overrides the computed rate-limiting key with a literal value for this request, regardless of `identifier` or `compound_identifier`.' type: string default: null minLength: 1 nullable: true x-speakeasy-param-computed: false dictionary_name: description: 'The shared dictionary where counters are stored. When the plugin is configured to synchronize counter data externally (that is `config.strategy` is `cluster` or `redis` and `config.sync_rate` isn''t `-1`), this dictionary serves as a buffer to populate counters in the data store on each synchronization cycle.' type: string default: kong_rate_limiting_counters disable_penalty: description: 'If set to `true`, this doesn''t count denied requests (status = `429`). If set to `false`, all requests, including denied ones, are counted. This parameter only affects the `sliding` window_type.' type: boolean default: false enforce_consumer_groups: description: 'Determines if consumer groups are allowed to override the rate limiting settings for the given Route or Service. Flipping `enforce_consumer_groups` from `true` to `false` disables the group override, but does not clear the list of consumer groups. You can then flip `enforce_consumer_groups` to `true` to re-enforce the groups.' type: boolean default: false error_code: description: Set a custom error code to return when the rate limit is exceeded. type: number default: 429 error_message: description: Set a custom error message to return when the rate limit is exceeded. type: string default: API rate limit exceeded header_name: description: A string representing an HTTP header name. type: string default: null nullable: true x-speakeasy-param-computed: false hide_client_headers: description: Optionally hide informative response headers that would otherwise provide information about the current status of limits and counters. type: boolean default: false identifier: description: 'The type of identifier used to generate the rate limit key. Defines the scope used to increment the rate limiting counters. Note if `identifier` is `consumer-group`, the plugin must be applied on a consumer group entity. Because a consumer may belong to multiple consumer groups, the plugin needs to know explicitly which consumer group to limit the rate.' type: string default: consumer enum: - consumer - consumer-group - credential - header - ip - path - principal - route - service x-speakeasy-unknown-values: allow limit: description: One or more requests-per-window limits to apply. There must be a matching number of window limits and sizes specified. type: array items: type: number lock_dictionary_name: description: The shared dictionary where concurrency control locks are stored. The default shared dictionary is `kong_locks`. The shared dictionary should be declare in nginx-kong.conf. type: string default: kong_locks namespace: description: 'Specifies the rate-limiting namespace for this plugin instance. A namespace acts as a logical grouping for configuration and counter data used by the rate-limiting algorithm. Namespaces define how and where counter data is stored and synchronized. When multiple plugin instances share the same namespace, they also share the same rate-limiting counters and synchronization configuration. Conversely, using different namespaces ensures that each plugin instance maintains its own independent counters.' type: string default: null nullable: true x-speakeasy-param-computed: false path: description: 'A string representing a URL path, such as /path/to/resource. Must start with a forward slash (/) and must not contain empty segments (i.e., two consecutive forward slashes).' type: string default: null nullable: true x-speakeasy-param-computed: false redis: type: object properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 redis_proxy_type: description: 'If the `connection_is_proxied` is enabled, this field indicates the proxy type and version you are using. For example, you can enable this optioin when you want authentication between Kong and Envoy proxy.' type: string enum: - envoy_v1.31 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end retry_after_jitter_max: description: 'The upper bound of a jitter (random delay) in seconds to be added to the `Retry-After` header of denied requests (status = `429`) in order to prevent all the clients from coming back at the same time. The lower bound of the jitter is `0`; in this case, the `Retry-After` header is equal to the `RateLimit-Reset` header.' type: number default: 0 strategy: description: 'The rate-limiting strategy to use for retrieving and incrementing the limits. Available values are: `local`, `redis` and `cluster`.' type: string default: local enum: - cluster - local - redis x-speakeasy-unknown-values: allow sync_rate: description: How often to sync counter data to the central data store. A value of 0 results in synchronous behavior; a value of -1 ignores sync behavior entirely and only stores counters in node memory. A value greater than 0 will sync the counters in the specified number of seconds. The minimum allowed interval is 0.02 seconds (20ms). type: number default: null nullable: true x-speakeasy-param-computed: false throttling: type: object default: null nullable: true properties: enabled: description: Determines if the throttling feature is enabled or not type: boolean default: false interval: description: The period between two successive retries for an individual request (in seconds) type: number default: 5 maximum: 1000000 minimum: 1 queue_limit: description: The maximum number of requests allowed for throttling type: number default: 5 maximum: 1000000 minimum: 1 retry_times: description: The maximum number of retries for an individual request type: number default: 3 maximum: 1000000 minimum: 1 x-speakeasy-param-computed: false window_size: description: One or more window sizes to apply a limit to (defined in seconds). There must be a matching number of window limits and sizes specified. type: array items: type: number window_type: description: 'Sets the time window type to either `sliding` (default) or `fixed`. Sliding windows apply the rate limiting logic while taking into account previous hit rates (from the window that immediately precedes the current) using a dynamic weight. Fixed windows consist of buckets that are statically assigned to a definitive time range, each request is mapped to only one fixed window based on its timestamp and will affect only that window''s counters.' type: string default: sliding enum: - fixed - sliding x-speakeasy-unknown-values: allow required: - limit - window_size consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false expressions: type: object properties: custom_key: type: string default: null maxLength: 1024 nullable: true x-speakeasy-param-computed: false limit: type: array items: maxLength: 1024 type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true name: const: rate-limiting-advanced protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ee paths: - config.redis RateLimitingPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/RateLimitingPluginConfig' RateLimitingPluginConfig: x-speakeasy-entity: GatewayPluginRateLimiting properties: config: type: object default: null nullable: true properties: custom_key: description: 'Overrides the computed rate-limiting key with a literal value for this request, regardless of `limit_by`.' type: string default: null minLength: 1 nullable: true x-speakeasy-param-computed: false day: description: The number of HTTP requests that can be made per day. type: number default: null nullable: true x-speakeasy-param-computed: false error_code: description: Set a custom error code to return when the rate limit is exceeded. type: number default: 429 error_message: description: Set a custom error message to return when the rate limit is exceeded. type: string default: API rate limit exceeded fault_tolerant: description: 'A boolean value that determines if the requests should be proxied even if Kong has troubles connecting a third-party data store. If `true`, requests will be proxied anyway, effectively disabling the rate-limiting function until the data store is working again. If `false`, then the clients will see `500` errors.' type: boolean default: true header_name: description: A string representing an HTTP header name. type: string default: null nullable: true x-speakeasy-param-computed: false hide_client_headers: description: Optionally hide informative response headers. type: boolean default: false hour: description: The number of HTTP requests that can be made per hour. type: number default: null nullable: true x-speakeasy-param-computed: false limit_by: description: The entity that is used when aggregating the limits. type: string default: consumer enum: - consumer - consumer-group - credential - header - ip - path - principal - service x-speakeasy-unknown-values: allow minute: description: The number of HTTP requests that can be made per minute. type: number default: null nullable: true x-speakeasy-param-computed: false month: description: The number of HTTP requests that can be made per month. type: number default: null nullable: true x-speakeasy-param-computed: false path: description: 'A string representing a URL path, such as /path/to/resource. Must start with a forward slash (/) and must not contain empty segments (i.e., two consecutive forward slashes).' type: string default: null nullable: true x-speakeasy-param-computed: false policy: description: The rate-limiting policies to use for retrieving and incrementing the limits. type: string default: local enum: - cluster - local - redis x-speakeasy-unknown-values: allow redis: description: Redis configuration type: object properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: number default: 10000 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end second: description: The number of HTTP requests that can be made per second. type: number default: null nullable: true x-speakeasy-param-computed: false sync_rate: description: How often to sync counter data to the central data store. A value of -1 results in synchronous behavior. type: number default: -1 year: description: The number of HTTP requests that can be made per year. type: number default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false expressions: type: object properties: custom_key: type: string default: null maxLength: 1024 nullable: true x-speakeasy-param-computed: false day: type: string default: null maxLength: 1024 nullable: true x-speakeasy-param-computed: false hour: type: string default: null maxLength: 1024 nullable: true x-speakeasy-param-computed: false minute: type: string default: null maxLength: 1024 nullable: true x-speakeasy-param-computed: false month: type: string default: null maxLength: 1024 nullable: true x-speakeasy-param-computed: false second: type: string default: null maxLength: 1024 nullable: true x-speakeasy-param-computed: false year: type: string default: null maxLength: 1024 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true name: const: rate-limiting protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ce paths: - config.redis RedirectPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/RedirectPluginConfig' RedirectPluginConfig: x-speakeasy-entity: GatewayPluginRedirect properties: config: type: object properties: keep_incoming_path: description: Use the incoming request's path and query string in the redirect URL type: boolean default: false location: description: The URL to redirect to type: string status_code: description: The response code to send. Must be an integer between 100 and 599. type: integer default: 301 maximum: 599 minimum: 100 required: - location consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: redirect protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 RequestCalloutPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/RequestCalloutPluginConfig' RequestCalloutPluginConfig: x-speakeasy-entity: GatewayPluginRequestCallout properties: config: type: object properties: cache: description: Plugin global caching configuration. type: object properties: cache_ttl: description: TTL in seconds of cache entities. type: integer default: 300 memory: type: object properties: dictionary_name: description: The name of the shared dictionary in which to hold cache entities when the memory strategy is selected. Note that this dictionary currently must be defined manually in the Kong Nginx template. type: string default: kong_db_cache x-speakeasy-param-computed: true redis: type: object properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end strategy: description: 'The backing data store in which to hold cache entities. Accepted values are: `off`, `memory`, and `redis`.' type: string default: 'off' enum: - memory - 'off' - redis x-speakeasy-unknown-values: allow x-speakeasy-param-computed: true callouts: description: 'A collection of callout objects, where each object represents an HTTP request made in the context of a proxy request.' type: array items: properties: cache: description: Callout caching configuration. type: object default: null nullable: true properties: bypass: description: 'If `true`, skips caching the callout response.' type: boolean default: false x-speakeasy-param-computed: false depends_on: description: An array of callout names the current callout depends on. This dependency list determines the callout execution order via a topological sorting algorithm. type: array items: type: string default: [] name: description: A string identifier for a callout. A callout object is referenceable via its name in the `kong.ctx.shared.callouts.<name>` type: string request: description: The customizations for the callout request. type: object properties: body: description: Callout request body customizations. type: object default: null nullable: true properties: custom: description: The custom body fields to be added to the callout HTTP request. Values can contain Lua expressions in the form $(some_lua_expression). The syntax is based on `request-transformer-advanced` templates. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false decode: description: 'If `true`, decodes the request''s body and make it available for customizations. Only JSON content type is supported.' type: boolean default: false forward: description: 'If `true`, forwards the incoming request''s body to the callout request.' type: boolean default: false x-speakeasy-param-computed: false by_lua: description: Lua code that executes before the callout request is made. **Warning** can impact system behavior. Standard Lua sandboxing restrictions apply. type: string default: null nullable: true x-speakeasy-param-computed: false error: description: The error handling policy the plugin will apply to TCP and HTTP errors. type: object default: null nullable: true properties: error_response_code: description: The error code to respond with if `on_error` is `fail` or if `retries` is achieved. type: integer default: 400 error_response_msg: description: The error mesasge to respond with if `on_error` is set to `fail` or if `retries` is achieved. Templating with Lua expressions is supported. type: string default: service callout error http_statuses: description: The list of HTTP status codes considered errors under the error handling policy. type: array items: maximum: 999 minimum: 100 type: integer default: null nullable: true x-speakeasy-param-computed: false on_error: type: string default: fail enum: - continue - fail - retry x-speakeasy-unknown-values: allow retries: description: The number of retries the plugin will attempt on TCP and HTTP errors if `on_error` is set to `retry`. type: integer default: 2 x-speakeasy-param-computed: false headers: description: Callout request header customizations. type: object default: null nullable: true properties: custom: description: The custom headers to be added in the callout HTTP request. Values can contain Lua expressions in the form `$(some_lua_expression)`. The syntax is based on `request-transformer-advanced` templates. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false forward: description: 'If `true`, forwards the incoming request''s headers to the callout request. ' type: boolean default: false x-speakeasy-param-computed: false http_opts: description: HTTP connection parameters. type: object default: null nullable: true properties: proxy: description: Proxy settings. type: object default: null nullable: true properties: auth_password: description: 'The password to authenticate with, if the forward proxy is protected by basic authentication.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false auth_username: description: 'The username to authenticate with, if the forward proxy is protected by basic authentication.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false http_proxy: description: The HTTP proxy URL. This proxy server will be used for HTTP requests. type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy: description: The HTTPS proxy URL. This proxy server will be used for HTTPS requests. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false ssl_server_name: description: The SNI used in the callout request. Defaults to host if omitted. type: string default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: 'If set to `true`, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your callout API. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false timeouts: description: Socket timeouts in milliseconds. All or none must be set. type: object default: null nullable: true properties: connect: description: The socket connect timeout. type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false read: description: 'The socket read timeout. ' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false write: description: The socket write timeout. type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false method: description: The HTTP method that will be requested. type: string default: GET query: description: Callout request query param customizations. type: object default: null nullable: true properties: custom: description: The custom query params to be added in the callout HTTP request. Values can contain Lua expressions in the form `$(some_lua_expression)`. The syntax is based on `request-transformer-advanced` templates. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false forward: description: 'If `true`, forwards the incoming request''s query params to the callout request. ' type: boolean default: false x-speakeasy-param-computed: false url: description: The URL that will be requested. Values can contain Lua expressions in the form `$(some_lua_expression)`. The syntax is based on `request-transformer-advanced` templates. type: string x-referenceable: true required: - url response: description: Configurations of callout response handling. type: object default: null nullable: true properties: body: type: object default: null nullable: true properties: decode: description: 'If `true`, decodes the response body before storing into the context. Only JSON is supported.' type: boolean default: false store: description: 'If `false`, skips storing the callout response body into kong.ctx.shared.callouts.<name>.response.body.' type: boolean default: true x-speakeasy-param-computed: false by_lua: description: 'Lua code that executes after the callout response is received, before caching takes place. Can produce side effects. Standard Lua sandboxing restrictions apply.' type: string default: null nullable: true x-speakeasy-param-computed: false headers: description: Callout response header customizations. type: object default: null nullable: true properties: store: description: 'If `false`, skips storing the callout response headers into kong.ctx.shared.callouts.<name>.response.headers.' type: boolean default: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false required: - name - request type: object upstream: description: Customizations to the upstream request. type: object properties: body: description: Callout request body customizations. type: object properties: custom: description: The custom body fields to be added in the upstream request body. Values can contain Lua expressions in the form $(some_lua_expression). The syntax is based on `request-transformer-advanced` templates. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false decode: description: 'If `true`, decodes the request''s body to make it available for upstream by_lua customizations. Only JSON content type is supported.' type: boolean default: true forward: description: 'If `false`, skips forwarding the incoming request''s body to the upstream request.' type: boolean default: true x-speakeasy-param-computed: true by_lua: description: Lua code that executes before the upstream request is made. Can produce side effects. Standard Lua sandboxing restrictions apply. type: string default: null nullable: true x-speakeasy-param-computed: false headers: description: Callout request header customizations. type: object properties: custom: description: The custom headers to be added in the upstream HTTP request. Values can contain Lua expressions in the form $(some_lua_expression). The syntax is based on `request-transformer-advanced` templates. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false forward: description: 'If `false`, does not forward request headers to upstream request.' type: boolean default: true x-speakeasy-param-computed: true query: description: Upstream request query param customizations. type: object properties: custom: description: The custom query params to be added in the upstream HTTP request. Values can contain Lua expressions in the form `$(some_lua_expression)`. The syntax is based on `request-transformer-advanced` templates. type: object default: null additionalProperties: type: string x-referenceable: true nullable: true x-speakeasy-param-computed: false forward: description: 'If `false`, does not forward request query params to upstream request.' type: boolean default: true x-speakeasy-param-computed: true x-speakeasy-param-computed: true required: - callouts consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: request-callout protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 RequestSizeLimitingPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/RequestSizeLimitingPluginConfig' RequestSizeLimitingPluginConfig: x-speakeasy-entity: GatewayPluginRequestSizeLimiting properties: config: type: object default: null nullable: true properties: allowed_payload_size: description: Allowed request payload size in megabytes. Default is `128` megabytes (128000000 bytes). type: integer default: 128 require_content_length: description: Set to `true` to ensure a valid `Content-Length` header exists before reading the request body. type: boolean default: false size_unit: description: 'Size unit can be set either in `bytes`, `kilobytes`, or `megabytes` (default). This configuration is not available in versions prior to Kong Gateway 1.3 and Kong Gateway (OSS) 2.0.' type: string default: megabytes enum: - bytes - kilobytes - megabytes x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: request-size-limiting protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 RequestTerminationPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/RequestTerminationPluginConfig' RequestTerminationPluginConfig: x-speakeasy-entity: GatewayPluginRequestTermination properties: config: type: object default: null nullable: true properties: body: description: The raw response body to send. This is mutually exclusive with the `config.message` field. type: string default: null nullable: true x-speakeasy-param-computed: false content_type: description: Content type of the raw response configured with `config.body`. type: string default: null nullable: true x-speakeasy-param-computed: false echo: description: 'When set, the plugin will echo a copy of the request back to the client. The main usecase for this is debugging. It can be combined with `trigger` in order to debug requests on live systems without disturbing real traffic.' type: boolean default: false message: description: 'The message to send, if using the default response generator.' type: string default: null nullable: true x-speakeasy-param-computed: false status_code: description: The response code to send. Must be an integer between 100 and 599. type: integer default: 503 maximum: 599 minimum: 100 trigger: description: A string representing an HTTP header name. type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: request-termination protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 RequestTransformerAdvancedPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/RequestTransformerAdvancedPluginConfig' RequestTransformerAdvancedPluginConfig: x-speakeasy-entity: GatewayPluginRequestTransformerAdvanced properties: config: type: object default: null nullable: true properties: add: type: object properties: body: type: array items: type: string x-referenceable: true default: [] headers: type: array items: type: string x-referenceable: true default: [] json_types: type: array items: enum: - boolean - number - string type: string x-speakeasy-unknown-values: allow default: [] querystring: type: array items: type: string x-referenceable: true default: [] x-speakeasy-param-computed: true allow: type: object properties: body: type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true append: type: object properties: body: type: array items: type: string x-referenceable: true default: [] headers: type: array items: type: string x-referenceable: true default: [] json_types: type: array items: enum: - boolean - number - string type: string x-speakeasy-unknown-values: allow default: [] querystring: type: array items: type: string x-referenceable: true default: [] x-speakeasy-param-computed: true dots_in_keys: description: 'Specify whether dots (for example, `customers.info.phone`) should be treated as part of a property name or used to descend into nested JSON objects.' type: boolean default: true http_method: description: 'A string representing an HTTP method, such as GET, POST, PUT, or DELETE. The string must contain only uppercase letters.' type: string default: null nullable: true x-speakeasy-param-computed: false max_request_body_size: description: 'The maximum request body size, in bytes, that the plugin reads to apply body transformations. Bodies larger than `client_body_buffer_size` are buffered by Nginx to a temporary file. `-1` (the default) disables reading such buffered bodies, so their body transformations are skipped to avoid the extra disk I/O. `0` means unlimited (still bounded by Nginx''s `client_max_body_size`), and any positive value caps how much of the buffered body is read from the temporary file.' type: integer default: -1 remove: type: object properties: body: type: array items: type: string default: [] headers: type: array items: type: string default: [] querystring: type: array items: type: string default: [] x-speakeasy-param-computed: true rename: type: object properties: body: type: array items: type: string x-referenceable: true default: [] headers: type: array items: type: string x-referenceable: true default: [] querystring: type: array items: type: string x-referenceable: true default: [] x-speakeasy-param-computed: true replace: type: object properties: body: type: array items: type: string x-referenceable: true default: [] headers: type: array items: type: string x-referenceable: true default: [] json_types: type: array items: enum: - boolean - number - string type: string x-speakeasy-unknown-values: allow default: [] querystring: type: array items: type: string x-referenceable: true default: [] uri: type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: request-transformer-advanced protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 RequestTransformerPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/RequestTransformerPluginConfig' RequestTransformerPluginConfig: x-speakeasy-entity: GatewayPluginRequestTransformer properties: config: type: object default: null nullable: true properties: add: type: object properties: body: type: array items: type: string default: [] headers: type: array items: type: string default: [] querystring: type: array items: type: string default: [] x-speakeasy-param-computed: true append: type: object properties: body: type: array items: type: string default: [] headers: type: array items: type: string default: [] querystring: type: array items: type: string default: [] x-speakeasy-param-computed: true http_method: description: 'A string representing an HTTP method, such as GET, POST, PUT, or DELETE. The string must contain only uppercase letters.' type: string default: null nullable: true x-speakeasy-param-computed: false remove: type: object properties: body: type: array items: type: string default: [] headers: type: array items: type: string default: [] querystring: type: array items: type: string default: [] x-speakeasy-param-computed: true rename: type: object properties: body: type: array items: type: string default: [] headers: type: array items: type: string default: [] querystring: type: array items: type: string default: [] x-speakeasy-param-computed: true replace: type: object properties: body: type: array items: type: string default: [] headers: type: array items: type: string default: [] querystring: type: array items: type: string default: [] uri: type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: request-transformer protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 RequestValidatorPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/RequestValidatorPluginConfig' RequestValidatorPluginConfig: x-speakeasy-entity: GatewayPluginRequestValidator properties: config: type: object default: null nullable: true properties: allowed_content_types: description: 'List of allowed content types. The value can be configured with the `charset` parameter. For example, `application/json; charset=UTF-8`.' type: array items: type: string default: - application/json array_length_compat: description: 'If true, `minLength`/`maxLength` also apply to arrays using item count. Compatibility option for legacy schemas that use these keywords instead of `minItems`/`maxItems`.' type: boolean default: true body_schema: description: The request body schema specification. One of `body_schema` or `parameter_schema` must be specified. type: string default: null nullable: true x-speakeasy-param-computed: false content_type_parameter_validation: description: Determines whether to enable parameters validation of request content-type. type: boolean default: true enforcement_mode: description: 'Determines the action to take when a request fails validation. When set to `block`, the request is rejected with an HTTP 400 response. When set to `log_only`, the request is allowed to proceed and a warning is logged.' type: string default: block enum: - block - log_only x-speakeasy-unknown-values: allow parameter_schema: description: Array of parameter validator specification. One of `body_schema` or `parameter_schema` must be specified. type: array items: properties: explode: description: 'Required when `schema` and `style` are set. When `explode` is `true`, parameter values of type `array` or `object` generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters, this property has no effect.' type: boolean default: null nullable: true x-speakeasy-param-computed: false in: description: The location of the parameter. type: string enum: - header - path - query x-speakeasy-unknown-values: allow name: description: 'The name of the parameter. Parameter names are case-sensitive, and correspond to the parameter name used by the `in` property. If `in` is `path`, the `name` field MUST correspond to the named capture group from the configured `route`.' type: string required: description: Determines whether this parameter is mandatory. type: boolean schema: description: 'Required when `style` and `explode` are set. This is the schema defining the type used for the parameter. It is validated using `draft4` for JSON Schema draft 4 compliant validator. In addition to being a valid JSON Schema, the parameter schema MUST have a top-level `type` property to enable proper deserialization before validating.' type: string default: null nullable: true x-speakeasy-param-computed: false style: description: Required when `schema` and `explode` are set. Describes how the parameter value will be deserialized depending on the type of the parameter value. type: string enum: - deepObject - form - label - matrix - pipeDelimited - simple - spaceDelimited x-speakeasy-unknown-values: allow required: - in - name - required type: object default: null nullable: true x-speakeasy-param-computed: false verbose_response: description: 'If enabled, the plugin returns more verbose and detailed validation errors.' type: boolean default: false version: description: 'Which validator to use. Supported values are `kong` (default) for using Kong''s own schema validator, or `draft4`, `draft7`, `draft201909`, and `draft202012` for using their respective JSON Schema Draft compliant validators.' type: string default: kong enum: - draft201909 - draft202012 - draft4 - draft6 - draft7 - kong x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: request-validator protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 ResponseRatelimitingPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/ResponseRatelimitingPluginConfig' ResponseRatelimitingPluginConfig: x-speakeasy-entity: GatewayPluginResponseRatelimiting properties: config: type: object default: null nullable: true properties: block_on_first_violation: description: A boolean value that determines if the requests should be blocked as soon as one limit is being exceeded. This will block requests that are supposed to consume other limits too. type: boolean default: false fault_tolerant: description: 'A boolean value that determines if the requests should be proxied even if Kong has troubles connecting a third-party datastore. If `true`, requests will be proxied anyway, effectively disabling the rate-limiting function until the datastore is working again. If `false`, then the clients will see `500` errors.' type: boolean default: true header_name: description: The name of the response header used to increment the counters. type: string default: x-kong-limit hide_client_headers: description: Optionally hide informative response headers. type: boolean default: false limit_by: description: 'The entity that will be used when aggregating the limits: `consumer`, `credential`, `ip`. If the `consumer` or the `credential` cannot be determined, the system will always fallback to `ip`.' type: string default: consumer enum: - consumer - credential - ip x-speakeasy-unknown-values: allow limits: description: A map that defines rate limits for the plugin. type: object default: null additionalProperties: properties: day: type: number default: null nullable: true x-speakeasy-param-computed: false hour: type: number default: null nullable: true x-speakeasy-param-computed: false minute: type: number default: null nullable: true x-speakeasy-param-computed: false month: type: number default: null nullable: true x-speakeasy-param-computed: false second: type: number default: null nullable: true x-speakeasy-param-computed: false year: type: number default: null nullable: true x-speakeasy-param-computed: false type: object minLength: 1 nullable: true x-speakeasy-param-computed: false policy: description: The rate-limiting policies to use for retrieving and incrementing the limits. type: string default: local enum: - cluster - local - redis x-speakeasy-unknown-values: allow redis: description: Redis configuration type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: number default: 10000 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: response-ratelimiting protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ce paths: - config.redis ResponseTransformerAdvancedPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/ResponseTransformerAdvancedPluginConfig' ResponseTransformerAdvancedPluginConfig: x-speakeasy-entity: GatewayPluginResponseTransformerAdvanced properties: config: type: object default: null nullable: true properties: add: type: object properties: headers: type: array items: type: string default: [] if_status: type: array items: type: string default: [] json: type: array items: type: string default: [] json_types: type: array items: enum: - boolean - number - string type: string x-speakeasy-unknown-values: allow default: [] x-speakeasy-param-computed: true allow: type: object properties: json: type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true append: type: object properties: headers: type: array items: type: string default: [] if_status: type: array items: type: string default: [] json: type: array items: type: string default: [] json_types: type: array items: enum: - boolean - number - string type: string x-speakeasy-unknown-values: allow default: [] x-speakeasy-param-computed: true dots_in_keys: description: 'Whether dots (for example, `customers.info.phone`) should be treated as part of a property name or used to descend into nested JSON objects..' type: boolean default: true remove: type: object properties: headers: type: array items: type: string default: [] if_status: type: array items: type: string default: [] json: type: array items: type: string default: [] x-speakeasy-param-computed: true rename: type: object properties: headers: type: array items: type: string default: [] if_status: type: array items: type: string default: [] x-speakeasy-param-computed: true replace: type: object properties: body: description: String with which to replace the entire response body. type: string default: null nullable: true x-speakeasy-param-computed: false headers: type: array items: type: string default: [] if_status: type: array items: type: string default: [] json: type: array items: type: string default: [] json_types: type: array items: enum: - boolean - number - string type: string x-speakeasy-unknown-values: allow default: [] x-speakeasy-param-computed: true transform: type: object properties: functions: type: array items: type: string default: [] if_status: type: array items: type: string default: [] json: type: array items: type: string default: [] x-speakeasy-param-computed: true x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: response-transformer-advanced protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 ResponseTransformerPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/ResponseTransformerPluginConfig' ResponseTransformerPluginConfig: x-speakeasy-entity: GatewayPluginResponseTransformer properties: config: type: object default: null nullable: true properties: add: type: object properties: headers: type: array items: type: string default: [] json: type: array items: type: string default: [] json_types: description: |- List of JSON type names. Specify the types of the JSON values returned when appending JSON properties. Each string element can be one of: boolean, number, or string. type: array items: enum: - boolean - number - string type: string x-speakeasy-unknown-values: allow default: [] x-speakeasy-param-computed: true append: type: object properties: headers: type: array items: type: string default: [] json: type: array items: type: string default: [] json_types: description: |- List of JSON type names. Specify the types of the JSON values returned when appending JSON properties. Each string element can be one of: boolean, number, or string. type: array items: enum: - boolean - number - string type: string x-speakeasy-unknown-values: allow default: [] x-speakeasy-param-computed: true remove: type: object properties: headers: type: array items: type: string default: [] json: type: array items: type: string default: [] x-speakeasy-param-computed: true rename: type: object properties: headers: type: array items: type: string default: [] json: type: array items: type: string default: [] x-speakeasy-param-computed: true replace: type: object properties: headers: type: array items: type: string default: [] json: type: array items: type: string default: [] json_types: description: |- List of JSON type names. Specify the types of the JSON values returned when appending JSON properties. Each string element can be one of: boolean, number, or string. type: array items: enum: - boolean - number - string type: string x-speakeasy-unknown-values: allow default: [] x-speakeasy-param-computed: true x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: response-transformer protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 RouteByHeaderPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/RouteByHeaderPluginConfig' RouteByHeaderPluginConfig: x-speakeasy-entity: GatewayPluginRouteByHeader properties: config: type: object default: null nullable: true properties: rules: description: Route by header rules. type: array items: properties: condition: type: object default: null additionalProperties: type: string minLength: 1 nullable: true x-speakeasy-param-computed: false upstream_name: type: string required: - upstream_name type: object default: [] x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: route-by-header protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 RouteExpression: x-speakeasy-entity: GatewayRouteExpression description: 'Route entities define rules to match client requests. Each Route is associated with a Service, and a Service may have multiple Routes associated to it. Every request matching a given Route will be proxied to its associated Service. The combination of Routes and Services (and the separation of concerns between them) offers a powerful routing mechanism with which it is possible to define fine-grained entry-points in Kong leading to different upstream services of your infrastructure. You need at least one matching rule that applies to the protocol being matched by the Route.' type: object properties: created_at: description: Unix epoch when the resource was created. type: integer nullable: true expression: description: Use Router Expression to perform route match. This option is only available when `router_flavor` is set to `expressions`. type: string default: null nullable: true x-speakeasy-param-computed: false https_redirect_status_code: description: 'The status code Kong responds with when all properties of a Route match except the protocol i.e. if the protocol of the request is `HTTP` instead of `HTTPS`. `Location` header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the Route is configured to only accept the `https` protocol.' type: integer default: 426 enum: - 301 - 302 - 307 - 308 - 426 nullable: true x-speakeasy-unknown-values: allow id: description: A string representing a UUID (universally unique identifier). type: string nullable: true name: description: 'The name of the Route. Route names must be unique, and they are case sensitive. For example, there can be two different Routes named "test" and "Test".' type: string default: null nullable: true x-speakeasy-param-computed: false path_handling: description: 'Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. See above for a detailed description of each behavior.' type: string default: v0 enum: - v0 - v1 nullable: true x-speakeasy-unknown-values: allow preserve_host: description: 'When matching a Route via one of the `hosts` domain names, use the request `Host` header in the upstream request headers. If set to `false`, the upstream `Host` header will be that of the Service''s `host`.' type: boolean default: false nullable: true priority: description: 'A number used to specify the matching order for expression routes. The higher the `priority`, the sooner an route will be evaluated. This field is ignored unless `expression` field is set.' type: integer default: 0 maximum: 70368744177663 minimum: 0 nullable: true protocols: description: 'An array of the protocols this Route should allow. See the [Route Object](#route-object) section for a list of accepted protocols. When set to only `"https"`, HTTP requests are answered with an upgrade error. When set to only `"http"`, HTTPS requests are answered with an error.' type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow default: - http - https minItems: 1 nullable: true request_buffering: description: 'Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding.' type: boolean default: true nullable: true response_buffering: description: 'Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding.' type: boolean default: true nullable: true service: description: The Service this Route is associated to. This is where the Route proxies traffic to. type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false strip_path: description: 'When matching a Route via one of the `paths`, strip the matching prefix from the upstream request URL.' type: boolean default: true nullable: true tags: description: An optional set of strings associated with the Route for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true additionalProperties: false x-speakeasy-entity-version: 1 RouteJson: x-speakeasy-entity: GatewayRoute description: 'Route entities define rules to match client requests. Each Route is associated with a Service, and a Service may have multiple Routes associated to it. Every request matching a given Route will be proxied to its associated Service. The combination of Routes and Services (and the separation of concerns between them) offers a powerful routing mechanism with which it is possible to define fine-grained entry-points in Kong leading to different upstream services of your infrastructure. You need at least one matching rule that applies to the protocol being matched by the Route.' type: object properties: created_at: description: Unix epoch when the resource was created. type: integer nullable: true destinations: description: A list of IP destinations of incoming connections that match this Route when using stream routing. Each entry is an object with fields "ip" (optionally in CIDR range notation) and/or "port". type: array items: properties: ip: description: 'A string representing an IP address or CIDR block, such as 192.168.1.1 or 192.168.0.0/16.' type: string default: null nullable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false type: object default: null nullable: true x-speakeasy-param-computed: false headers: description: 'One or more lists of values indexed by header name that will cause this Route to match if present in the request. The `Host` header cannot be used with this attribute: hosts should be specified using the `hosts` attribute. When `headers` contains only one value and that value starts with the special prefix `~*`, the value is interpreted as a regular expression.' type: object default: null additionalProperties: items: type: string type: array nullable: true x-speakeasy-param-computed: false hosts: description: A list of domain names that match this Route. Note that the hosts value is case sensitive. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false https_redirect_status_code: description: 'The status code Kong responds with when all properties of a Route match except the protocol i.e. if the protocol of the request is `HTTP` instead of `HTTPS`. `Location` header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the Route is configured to only accept the `https` protocol.' type: integer default: 426 enum: - 301 - 302 - 307 - 308 - 426 nullable: true x-speakeasy-unknown-values: allow id: description: A string representing a UUID (universally unique identifier). type: string nullable: true methods: description: A list of HTTP methods that match this Route. type: array items: description: 'A string representing an HTTP method, such as GET, POST, PUT, or DELETE. The string must contain only uppercase letters.' type: string default: null nullable: true x-speakeasy-param-computed: false name: description: 'The name of the Route. Route names must be unique, and they are case sensitive. For example, there can be two different Routes named "test" and "Test".' type: string default: null nullable: true x-speakeasy-param-computed: false path_handling: description: 'Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. See above for a detailed description of each behavior.' type: string default: v0 enum: - v0 - v1 nullable: true x-speakeasy-unknown-values: allow paths: description: A list of paths that match this Route. type: array items: description: 'A string representing a router path. It must start with a forward slash (''/'') for a fixed path, or the sequence ''~/'' for a regex path. It must not have empty segments.' type: string default: null nullable: true x-speakeasy-param-computed: false preserve_host: description: 'When matching a Route via one of the `hosts` domain names, use the request `Host` header in the upstream request headers. If set to `false`, the upstream `Host` header will be that of the Service''s `host`.' type: boolean default: false nullable: true protocols: description: 'An array of the protocols this Route should allow. See the [Route Object](#route-object) section for a list of accepted protocols. When set to only `"https"`, HTTP requests are answered with an upgrade error. When set to only `"http"`, HTTPS requests are answered with an error.' type: array items: $ref: '#/components/schemas/Protocols' default: - http - https minItems: 1 nullable: true regex_priority: description: 'A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same `regex_priority`, the older one (lowest `created_at`) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones).' type: integer default: 0 nullable: true request_buffering: description: 'Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding.' type: boolean default: true nullable: true response_buffering: description: 'Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding.' type: boolean default: true nullable: true service: description: The Service this Route is associated to. This is where the Route proxies traffic to. type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false snis: description: A list of SNIs that match this Route when using stream routing. type: array items: description: 'A string representing a wildcard host name, such as *.example.com.' type: string default: null nullable: true x-speakeasy-param-computed: false sources: description: A list of IP sources of incoming connections that match this Route when using stream routing. Each entry is an object with fields "ip" (optionally in CIDR range notation) and/or "port". type: array items: properties: ip: description: 'A string representing an IP address or CIDR block, such as 192.168.1.1 or 192.168.0.0/16.' type: string default: null nullable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: null maximum: 65535 minimum: 0 nullable: true x-speakeasy-param-computed: false type: object default: null nullable: true x-speakeasy-param-computed: false strip_path: description: 'When matching a Route via one of the `paths`, strip the matching prefix from the upstream request URL.' type: boolean default: true nullable: true tags: description: An optional set of strings associated with the Route for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true example: hosts: - foo.example.com - foo.example.us id: 56c4566c-14cc-4132-9011-4139fcbbe50a name: example-route paths: - /v1 - /v2 service: id: bd380f99-659d-415e-b0e7-72ea05df3218 additionalProperties: false x-speakeasy-entity-version: 1 RouteTransformerAdvancedPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/RouteTransformerAdvancedPluginConfig' RouteTransformerAdvancedPluginConfig: x-speakeasy-entity: GatewayPluginRouteTransformerAdvanced properties: config: type: object default: null nullable: true properties: escape_path: type: boolean default: false host: type: string default: null nullable: true x-speakeasy-param-computed: false path: type: string default: null nullable: true x-speakeasy-param-computed: false port: type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: route-transformer-advanced protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 SNI: x-speakeasy-entity: GatewaySNI description: 'An SNI object represents a many-to-one mapping of hostnames to a certificate. That is, a certificate object can have many hostnames associated with it; when Kong receives an SSL request, it uses the SNI field in the Client Hello to lookup the certificate object based on the SNI associated with the certificate.' type: object properties: certificate: description: The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object. type: object properties: id: type: string x-foreign: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true name: description: The SNI name to associate with the given certificate. type: string tags: description: An optional set of strings associated with the SNIs for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true example: certificate: id: bd380f99-659d-415e-b0e7-72ea05df3218 id: 36c4566c-14cc-4132-9011-4139fcbbe50a name: some.example.org additionalProperties: false required: - name - certificate x-speakeasy-entity-version: 1 SamlPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/SamlPluginConfig' SamlPluginConfig: x-speakeasy-entity: GatewayPluginSaml properties: config: type: object properties: anonymous: description: 'An optional string (consumer UUID or username) value to use as an “anonymous” consumer. If not set, a Kong Consumer must exist for the SAML IdP user credentials, mapping the username format to the Kong Consumer username.' type: string default: null nullable: true x-speakeasy-param-computed: false assertion_consumer_path: description: 'A string representing a URL path, such as /path/to/resource. Must start with a forward slash (/) and must not contain empty segments (i.e., two consecutive forward slashes).' type: string idp_certificate: description: The public certificate provided by the IdP. This is used to validate responses from the IdP. Only include the contents of the certificate. Do not include the header (`BEGIN CERTIFICATE`) and footer (`END CERTIFICATE`) lines. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false idp_sso_url: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string issuer: description: The unique identifier of the IdP application. Formatted as a URL containing information about the IdP so the SP can validate that the SAML assertions it receives are issued from the correct IdP. type: string nameid_format: description: 'The requested `NameId` format. Options available are: - `Unspecified` - `EmailAddress` - `Persistent` - `Transient`' type: string default: EmailAddress enum: - EmailAddress - Persistent - Transient - Unspecified x-speakeasy-unknown-values: allow redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true prefix: description: The Redis session key prefix. type: string default: null nullable: true x-speakeasy-param-computed: false read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false socket: description: The Redis unix socket path. type: string default: null nullable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end request_digest_algorithm: description: 'The digest algorithm for Authn requests: - `SHA256` - `SHA1`' type: string default: SHA256 enum: - SHA1 - SHA256 x-speakeasy-unknown-values: allow request_signature_algorithm: description: 'The signature algorithm for signing Authn requests. Options available are: - `SHA256` - `SHA384` - `SHA512`' type: string default: SHA256 enum: - SHA256 - SHA384 - SHA512 x-speakeasy-unknown-values: allow request_signing_certificate: description: The certificate for signing requests. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false request_signing_key: description: 'The private key for signing requests. If this parameter is set, requests sent to the IdP are signed. The `request_signing_certificate` parameter must be set as well.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false response_digest_algorithm: description: 'The algorithm for verifying digest in SAML responses: - `SHA256` - `SHA1`' type: string default: SHA256 enum: - SHA1 - SHA256 x-speakeasy-unknown-values: allow response_encryption_key: description: The private encryption key required to decrypt encrypted assertions. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false response_signature_algorithm: description: 'The algorithm for validating signatures in SAML responses. Options available are: - `SHA256` - `SHA384` - `SHA512`' type: string default: SHA256 enum: - SHA256 - SHA384 - SHA512 x-speakeasy-unknown-values: allow session_absolute_timeout: description: The session cookie absolute timeout in seconds. Specifies how long the session can be used until it is no longer valid. type: number default: 86400 session_audience: description: 'The session audience, for example "my-application"' type: string default: default session_cookie_domain: description: The session cookie domain flag. type: string default: null nullable: true x-speakeasy-param-computed: false session_cookie_http_only: description: 'Forbids JavaScript from accessing the cookie, for example, through the `Document.cookie` property.' type: boolean default: true session_cookie_name: description: The session cookie name. type: string default: session session_cookie_path: description: 'A string representing a URL path, such as /path/to/resource. Must start with a forward slash (/) and must not contain empty segments (i.e., two consecutive forward slashes).' type: string default: / session_cookie_same_site: description: 'Controls whether a cookie is sent with cross-origin requests, providing some protection against cross-site request forgery attacks.' type: string default: Lax enum: - Default - Lax - None - Strict x-speakeasy-unknown-values: allow session_cookie_secure: description: 'The cookie is only sent to the server when a request is made with the https:scheme (except on localhost), and therefore is more resistant to man-in-the-middle attacks.' type: boolean default: null nullable: true x-speakeasy-param-computed: false session_enforce_same_subject: description: 'When set to `true`, audiences are forced to share the same subject.' type: boolean default: false session_hash_storage_key: description: 'When set to `true`, the storage key (session ID) is hashed for extra security. Hashing the storage key means it is impossible to decrypt data from the storage without a cookie.' type: boolean default: false session_hash_subject: description: 'When set to `true`, the value of subject is hashed before being stored. Only applies when `session_store_metadata` is enabled.' type: boolean default: false session_idling_timeout: description: The session cookie idle time in seconds. type: number default: 900 session_memcached_host: description: The memcached host. type: string default: 127.0.0.1 session_memcached_port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 11211 maximum: 65535 minimum: 0 session_memcached_prefix: description: The memcached session key prefix. type: string default: null nullable: true x-speakeasy-param-computed: false session_memcached_socket: description: The memcached unix socket path. type: string default: null nullable: true x-speakeasy-param-computed: false session_remember: description: Enables or disables persistent sessions type: boolean default: false session_remember_absolute_timeout: description: Persistent session absolute timeout in seconds. type: number default: 2592000 session_remember_cookie_name: description: Persistent session cookie name type: string default: remember session_remember_rolling_timeout: description: Persistent session rolling timeout in seconds. type: number default: 604800 session_request_headers: type: array items: enum: - absolute-timeout - audience - id - idling-timeout - rolling-timeout - subject - timeout type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false session_response_headers: type: array items: enum: - absolute-timeout - audience - id - idling-timeout - rolling-timeout - subject - timeout type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false session_rolling_timeout: description: The session cookie absolute timeout in seconds. Specifies how long the session can be used until it is no longer valid. type: number default: 3600 session_secret: description: 'The session secret. This must be a random string of 32 characters from the base64 alphabet (letters, numbers, `/`, `_` and `+`). It is used as the secret key for encrypting session data as well as state information that is sent to the IdP in the authentication exchange.' type: string maxLength: 32 minLength: 32 x-encrypted: true x-referenceable: true session_storage: description: 'The session storage for session data: - `cookie`: stores session data with the session cookie. The session cannot be invalidated or revoked without changing the session secret, but is stateless, and doesn''t require a database. - `memcached`: stores session data in memcached - `redis`: stores session data in Redis' type: string default: cookie enum: - cookie - memcache - memcached - redis x-speakeasy-unknown-values: allow session_store_metadata: description: Configures whether or not session metadata should be stored. This includes information about the active sessions for the `specific_audience` belonging to a specific subject. type: boolean default: false validate_assertion_signature: description: 'Controls SAML response signature validation. When enabled (the default), the `saml:Assertion` signature is validated and a valid `idp_certificate` is required. When disabled, the signature is still validated as long as an `idp_certificate` is configured, but the `samlp:Response` signature is checked instead of the assertion. Disabling it without an `idp_certificate` skips signature validation entirely, which is insecure (unsigned responses are accepted) and logs a warning.' type: boolean default: true required: - assertion_consumer_path - idp_sso_url - issuer - session_secret name: const: saml protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ee paths: - config.redis Service: x-speakeasy-entity: GatewayService description: 'Service entities, as the name implies, are abstractions of each of your own upstream services. Examples of Services would be a data transformation microservice, a billing API, etc. The main attribute of a Service is its URL (where Kong should proxy traffic to), which can be set as a single string or by specifying its `protocol`, `host`, `port` and `path` individually. Services are associated to Routes (a Service can have many Routes associated with it). Routes are entry-points in Kong and define rules to match client requests. Once a Route is matched, Kong proxies the request to its associated Service. See the [Proxy Reference][proxy-reference] for a detailed explanation of how Kong proxies traffic.' type: object properties: ca_certificates: description: 'Array of `CA Certificate` object UUIDs that are used to build the trust store while verifying upstream server''s TLS certificate. If set to `null` when Nginx default is respected. If default CA list in Nginx are not specified and TLS verification is enabled, then handshake with upstream server will always fail (because no CA are trusted).' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false client_certificate: description: Certificate to be used as client certificate while TLS handshaking to the upstream server. type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false connect_timeout: description: The timeout in milliseconds for establishing a connection to the upstream server. type: integer default: 60000 maximum: 2147483646 minimum: 1 nullable: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true enabled: description: 'Whether the Service is active. If set to `false`, the proxy behavior will be as if any routes attached to it do not exist (404). Default: `true`.' type: boolean default: true nullable: true host: description: The host of the upstream server. Note that the host value is case sensitive. type: string id: description: A string representing a UUID (universally unique identifier). type: string minLength: 1 nullable: true name: description: The Service name. type: string default: null nullable: true x-speakeasy-param-computed: false path: description: The path to be used in requests to the upstream server. type: string default: null nullable: true x-speakeasy-param-computed: false port: description: The upstream server port. type: integer default: 80 maximum: 65535 minimum: 0 nullable: true protocol: description: The protocol used to communicate with the upstream. type: string default: http enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss nullable: true x-speakeasy-unknown-values: allow read_timeout: description: The timeout in milliseconds between two successive read operations for transmitting a request to the upstream server. type: integer default: 60000 maximum: 2147483646 minimum: 1 nullable: true retries: description: The number of retries to execute upon failure to proxy. type: integer default: 5 maximum: 32767 minimum: 0 nullable: true tags: description: An optional set of strings associated with the Service for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false tls_sans: description: Additional Subject Alternative Names that can be matched on Upstream server's TLS certificate (in addition to `host`). type: object default: null nullable: true properties: dnsnames: description: A dnsName for TLS verification. type: array items: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-speakeasy-param-computed: false uris: description: An URI for TLS verification. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false tls_verify: description: 'Whether to enable verification of upstream server TLS certificate. If set to `null`, then the Nginx default is respected.' type: boolean default: null nullable: true x-speakeasy-param-computed: false tls_verify_depth: description: 'Maximum depth of chain while verifying Upstream server''s TLS certificate. If set to `null`, then the Nginx default is respected.' type: integer default: null maximum: 64 minimum: 0 nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true url: description: 'Helper field to set `protocol`, `host`, `port` and `path` using a URL. This field is write-only and is not returned in responses.' type: string default: null nullable: true writeOnly: true x-speakeasy-ignore: true x-speakeasy-param-computed: false write_timeout: description: The timeout in milliseconds between two successive write operations for transmitting a request to the upstream server. type: integer default: 60000 maximum: 2147483646 minimum: 1 nullable: true example: host: example.internal id: 49fd316e-c457-481c-9fc7-8079153e4f3c name: example-service path: / port: 80 protocol: http additionalProperties: false required: - host x-speakeasy-entity-version: 1 ServiceProtectionPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/ServiceProtectionPluginConfig' ServiceProtectionPluginConfig: x-speakeasy-entity: GatewayPluginServiceProtection properties: config: type: object properties: dictionary_name: description: 'The shared dictionary where counters are stored. When the plugin is configured to synchronize counter data externally (that is `config.strategy` is `cluster` or `redis` and `config.sync_rate` isn''t `-1`), this dictionary serves as a buffer to populate counters in the data store on each synchronization cycle.' type: string default: kong_rate_limiting_counters disable_penalty: description: 'If set to `true`, this doesn''t count denied requests (status = `429`). If set to `false`, all requests, including denied ones, are counted. This parameter only affects the `sliding` window_type.' type: boolean default: false error_code: description: Set a custom error code to return when the rate limit is exceeded. type: number default: 429 error_message: description: Set a custom error message to return when the rate limit is exceeded. type: string default: API rate limit exceeded hide_client_headers: description: Optionally hide informative response headers that would otherwise provide information about the current status of limits and counters. type: boolean default: false limit: description: One or more requests-per-window limits to apply. There must be a matching number of window limits and sizes specified. type: array items: type: number lock_dictionary_name: description: The shared dictionary where concurrency control locks are stored. The default shared dictionary is `kong_locks`. The shared dictionary should be declared in nginx-kong.conf. type: string default: kong_locks namespace: description: 'The rate limiting library namespace to use for this plugin instance. Counter data and sync configuration is isolated in each namespace. Counters are scoped per Service, so plugin instances configured on different Services maintain independent counters even when using the same namespace. NOTE: For plugin instances sharing the same namespace, all configurations that are required for synchronizing counters, e.g. `strategy`, `redis`, `sync_rate`, `dictionary_name`, need to be the same.' type: string default: null nullable: true x-speakeasy-param-computed: false redis: type: object default: null nullable: true properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end retry_after_jitter_max: description: 'The upper bound of a jitter (random delay) in seconds to be added to the `Retry-After` header of denied requests (status = `429`) in order to prevent all the clients from coming back at the same time. The lower bound of the jitter is `0`; in this case, the `Retry-After` header is equal to the `RateLimit-Reset` header.' type: number default: 0 strategy: description: 'The rate-limiting strategy to use for retrieving and incrementing the limits. Available values are: `local`, `redis` and `cluster`.' type: string default: local enum: - cluster - local - redis x-speakeasy-unknown-values: allow sync_rate: description: How often to sync counter data to the central data store. A value of 0 results in synchronous behavior; a value of -1 ignores sync behavior entirely and only stores counters in node memory. A value greater than 0 will sync the counters in the specified number of seconds. The minimum allowed interval is 0.02 seconds (20ms). type: number default: null nullable: true x-speakeasy-param-computed: false window_size: description: One or more window sizes to apply a limit to (defined in seconds). There must be a matching number of window limits and sizes specified. type: array items: type: number window_type: description: 'Sets the time window type to either `sliding` (default) or `fixed`. Sliding windows apply the rate limiting logic while taking into account previous hit rates (from the window that immediately precedes the current) using a dynamic weight. Fixed windows consist of buckets that are statically assigned to a definitive time range, each request is mapped to only one fixed window based on its timestamp and will affect only that window''s counters.' type: string default: sliding enum: - fixed - sliding x-speakeasy-unknown-values: allow required: - limit - window_size name: const: service-protection protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ee paths: - config.redis ServiceRequest: type: object properties: ca_certificates: description: 'Array of `CA Certificate` object UUIDs that are used to build the trust store while verifying upstream server''s TLS certificate. If set to `null` when Nginx default is respected. If default CA list in Nginx are not specified and TLS verification is enabled, then handshake with upstream server will always fail (because no CA are trusted).' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false client_certificate: description: Certificate to be used as client certificate while TLS handshaking to the upstream server. type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false connect_timeout: description: The timeout in milliseconds for establishing a connection to the upstream server. type: integer default: 60000 maximum: 2147483646 minimum: 1 nullable: true created_at: description: Unix epoch when the resource was created. type: integer nullable: true description: description: 'User-defined entity description. Konnect only field, not synced to the Gateway.' type: string default: null nullable: true x-speakeasy-param-computed: false enabled: description: 'Whether the Service is active. If set to `false`, the proxy behavior will be as if any routes attached to it do not exist (404). Default: `true`.' type: boolean default: true nullable: true host: description: The host of the upstream server. Note that the host value is case sensitive. type: string default: null nullable: true x-speakeasy-param-computed: false id: description: A string representing a UUID (universally unique identifier). type: string minLength: 1 nullable: true managed_by: description: |- Stores information about what manages this entity, such as the tool or system responsible for its lifecycle (for example, `terraform`). Keys must be 1–63 characters long and start with an alphanumeric character. type: object default: null additionalProperties: maxLength: 63 minLength: 1 pattern: '^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$' type: string maxProperties: 5 nullable: true x-speakeasy-param-computed: false name: description: The Service name. type: string default: null nullable: true x-speakeasy-param-computed: false path: description: The path to be used in requests to the upstream server. type: string default: null nullable: true x-speakeasy-param-computed: false port: description: The upstream server port. type: integer default: 80 maximum: 65535 minimum: 0 nullable: true protocol: description: The protocol used to communicate with the upstream. type: string default: http enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss nullable: true x-speakeasy-unknown-values: allow read_timeout: description: The timeout in milliseconds between two successive read operations for transmitting a request to the upstream server. type: integer default: 60000 maximum: 2147483646 minimum: 1 nullable: true retries: description: The number of retries to execute upon failure to proxy. type: integer default: 5 maximum: 32767 minimum: 0 nullable: true tags: description: An optional set of strings associated with the Service for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false tls_sans: description: Additional Subject Alternative Names that can be matched on Upstream server's TLS certificate (in addition to `host`). type: object default: null nullable: true properties: dnsnames: description: A dnsName for TLS verification. type: array items: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-speakeasy-param-computed: false uris: description: An URI for TLS verification. type: array items: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string default: null nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false tls_verify: description: 'Whether to enable verification of upstream server TLS certificate. If set to `null`, then the Nginx default is respected.' type: boolean default: null nullable: true x-speakeasy-param-computed: false tls_verify_depth: description: 'Maximum depth of chain while verifying Upstream server''s TLS certificate. If set to `null`, then the Nginx default is respected.' type: integer default: null maximum: 64 minimum: 0 nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true url: description: 'Helper field to set `protocol`, `host`, `port` and `path` using a URL. This field is write-only and is not returned in responses.' type: string default: null nullable: true writeOnly: true x-speakeasy-param-computed: false write_timeout: description: The timeout in milliseconds between two successive write operations for transmitting a request to the upstream server. type: integer default: 60000 maximum: 2147483646 minimum: 1 nullable: true additionalProperties: false SessionPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/SessionPluginConfig' SessionPluginConfig: x-speakeasy-entity: GatewayPluginSession properties: config: type: object default: null nullable: true properties: absolute_timeout: description: 'The session cookie absolute timeout, in seconds. Specifies how long the session can be used until it is no longer valid.' type: number default: 86400 audience: description: 'The session audience, which is the intended target application. For example `"my-application"`.' type: string default: default bind: description: Bind the session to data acquired from the HTTP request or connection. type: array items: enum: - ip - scheme - user-agent type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false cookie_domain: description: The domain with which the cookie is intended to be exchanged. type: string default: null nullable: true x-speakeasy-param-computed: false cookie_http_only: description: Applies the `HttpOnly` tag so that the cookie is sent only to a server. type: boolean default: true cookie_name: description: The name of the cookie. type: string default: session cookie_path: description: The resource in the host where the cookie is available. type: string default: / cookie_same_site: description: Determines whether and how a cookie may be sent with cross-site requests. type: string default: Strict enum: - Default - Lax - None - Strict x-speakeasy-unknown-values: allow cookie_secure: description: Applies the Secure directive so that the cookie may be sent to the server only with an encrypted request over the HTTPS protocol. type: boolean default: true hash_subject: description: Whether to hash or not the subject when store_metadata is enabled. type: boolean default: false idling_timeout: description: 'The session cookie idle time, in seconds.' type: number default: 900 logout_methods: description: A set of HTTP methods that the plugin will respond to. type: array items: enum: - DELETE - GET - POST type: string x-speakeasy-unknown-values: allow default: - DELETE - POST logout_post_arg: description: The POST argument passed to logout requests. Do not change this property. type: string default: session_logout logout_query_arg: description: The query argument passed to logout requests. type: string default: session_logout read_body_for_logout: type: boolean default: false remember: description: Enables or disables persistent sessions. type: boolean default: false remember_absolute_timeout: description: 'The persistent session absolute timeout limit, in seconds.' type: number default: 2592000 remember_cookie_name: description: Persistent session cookie name. Use with the `remember` configuration parameter. type: string default: remember remember_rolling_timeout: description: 'The persistent session rolling timeout window, in seconds.' type: number default: 604800 request_headers: description: 'List of information to include, as headers, in the response to the downstream.' type: array items: enum: - absolute-timeout - audience - id - idling-timeout - rolling-timeout - subject - timeout type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false response_headers: description: 'List of information to include, as headers, in the response to the downstream.' type: array items: enum: - absolute-timeout - audience - id - idling-timeout - rolling-timeout - subject - timeout type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false rolling_timeout: description: 'The session cookie rolling timeout, in seconds. Specifies how long the session can be used until it needs to be renewed.' type: number default: 3600 secret: description: The secret that is used in keyed HMAC generation. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false stale_ttl: description: 'The duration, in seconds, after which an old cookie is discarded, starting from the moment when the session becomes outdated and is replaced by a new one.' type: number default: 10 storage: description: 'Determines where the session data is stored. `kong`: Stores encrypted session data into Kong''s current database strategy; the cookie will not contain any session data. `cookie`: Stores encrypted session data within the cookie itself.' type: string default: cookie enum: - cookie - kong x-speakeasy-unknown-values: allow store_metadata: description: 'Whether to also store metadata of sessions, such as collecting data of sessions for a specific audience belonging to a specific subject.' type: boolean default: false x-speakeasy-param-computed: false name: const: session protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 SolaceConsumePlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/SolaceConsumePluginConfig' SolaceConsumePluginConfig: x-speakeasy-entity: GatewayPluginSolaceConsume properties: config: type: object properties: flow: description: The flow related configuration. type: object properties: ack_mode: description: 'Controls how acknowledgments are generated for received Guaranteed messages. When set to `AUTO`, the messages are positively acknowledged upon receiving them. When set to ''CLIENT'', the messages are positively or negatively acknowledged by Kong regarding to client delivery status.' type: string default: CLIENT enum: - AUTO - CLIENT x-speakeasy-unknown-values: allow binds: type: array items: properties: name: description: 'The name of the Queue that is the target of the bind. You can use $(uri_captures[''<capture-identifier>'']) in this field (replace `<capture-identifier>` with a real value, for example `$uri_captures[''queue'']` when the matched route has a path `~/(?<queue>[a-z]+)`)' type: string type: description: The type of object to which this Flow is bound. type: string default: QUEUE enum: - QUEUE required: - name type: object minItems: 1 functions: description: 'The Lua functions that manipulates the message being received from Solace. The `message` variable can be used to access the current message content, and the function can return a new content.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false max_unacked_messages: description: This property controls the maximum number of messages that may be unacknowledged on the Flow. type: integer default: -1 properties: description: Additional Solace flow properties (each setting needs to have `FLOW_` prefix). type: object default: null additionalProperties: type: string x-lua-required: true x-referenceable: true nullable: true x-speakeasy-param-computed: false selector: description: The selector when binding to an endpoint. type: string default: null nullable: true x-speakeasy-param-computed: false wait_timeout: description: Specifies in milliseconds how long to wait for messages to appear on each poll before giving up or retrying. type: integer default: 50 maximum: 5000 minimum: 1 window_size: description: The Guaranteed message window size for the Flow. type: integer default: 255 maximum: 255 minimum: 1 required: - binds mode: description: The mode of operation for the plugin. The `AUTO` determines the mode automatically from the client request. type: string default: POLLING enum: - AUTO - POLLING - SERVER-SENT-EVENTS - WEBSOCKET x-speakeasy-unknown-values: allow polling: description: The `POLLING` mode related configuration settings. type: object properties: timeout: description: 'Polling timeout in milliseconds. When set to `0`, the polling works like short-polling and waits at maximum the Flow `wait_timeout` amount of time for the new messages (short-polling). When set to larger than `0`, the connection is kept open and only closed after the timeout or in case messages appear earlier (long-polling).' type: integer default: 0 maximum: 300000 minimum: 0 x-speakeasy-param-computed: true session: description: Session related configuration. type: object properties: authentication: description: Session authentication related configuration. type: object default: null nullable: true properties: access_token: description: The OAuth2 access token used with `OAUTH2` authentication scheme when connecting to an event broker. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false access_token_header: description: Specifies the header that contains access token for the `OAUTH2` authentication scheme when connecting to an event broker. This header takes precedence over the `access_token` field. type: string default: null nullable: true x-speakeasy-param-computed: false basic_auth_header: description: Specifies the header that contains Basic Authentication credentials for the `BASIC` authentication scheme when connecting to an event broker. This header takes precedence over the `username` and `password` fields. type: string default: null nullable: true x-speakeasy-param-computed: false client_credentials: description: 'Client credentials used to automatically obtain and renew OAuth2 access tokens from an IdP for the `CLIENT_CREDENTIALS` authentication scheme. When set, Kong fetches tokens from `token_endpoint` using `client_id` and `client_secret`, caches them until expiry, and retries with a fresh token whenever Solace returns an unauthenticated response.' type: object default: null nullable: true properties: client_id: description: The OAuth2 client ID used with `CLIENT_CREDENTIALS` authentication scheme when connecting to an event broker. type: string x-encrypted: true x-referenceable: true client_secret: description: The OAuth2 client secret used with `CLIENT_CREDENTIALS` authentication scheme when connecting to an event broker. type: string x-encrypted: true x-referenceable: true eagerly_expire: description: 'Number of seconds before actual expiry when cached access tokens should be considered expired and proactively renewed. This helps prevent edge cases where tokens are rejected by Solace just as they expire, but setting this too high may lead to unnecessary token refreshes.' type: integer default: 5 scopes: description: The OAuth2 scopes to request when retrieving access tokens for the `CLIENT_CREDENTIALS` authentication scheme. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: Controls TLS certificate verification for HTTPS token endpoint requests. type: boolean default: true token_endpoint: description: The OAuth2 token endpoint URL used to retrieve access tokens for the `CLIENT_CREDENTIALS` authentication scheme when connecting to an event broker. type: string required: - client_id - client_secret - token_endpoint x-speakeasy-param-computed: false id_token: description: The OpenID Connect ID token used with `OAUTH2` authentication scheme when connecting to an event broker. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false id_token_header: description: Specifies the header that contains id token for the `OAUTH2` authentication scheme when connecting to an event broker. This header takes precedence over the `id_token` field. type: string default: null nullable: true x-speakeasy-param-computed: false password: description: The password used with `BASIC` authentication scheme when connecting to an event broker. type: string default: null maxLength: 128 nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false scheme: description: The client authentication scheme used when connection to an event broker. type: string default: BASIC enum: - BASIC - CLIENT_CREDENTIALS - NONE - OAUTH2 x-speakeasy-unknown-values: allow username: description: The username used with `BASIC` authentication scheme when connecting to an event broker. type: string default: null maxLength: 189 nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false calculate_message_expiry: description: 'If this property is true and time-to-live has a positive value in a message, the expiration time is calculated when the message is sent or received' type: boolean default: true connect_timeout: description: The timeout period (in milliseconds) for a connect operation to a given host (per host). type: integer default: 3000 maximum: 100000 minimum: 100 generate_rcv_timestamps: description: 'When enabled, a receive timestamp is recorded for each message.' type: boolean default: true generate_send_timestamps: description: 'When enabled, a send timestamp is automatically included (if not already present) in the Solace-defined fields for each message sent.' type: boolean default: true generate_sender_id: description: 'When enabled, a sender id is automatically included (if not already present) in the Solace-defined fields for each message sent.' type: boolean default: true generate_sequence_number: description: 'When enabled, a sequence number is automatically included (if not already present) in the Solace-defined fields for each message sent.' type: boolean default: true host: description: 'The IPv4 or IPv6 address or host name to connect to (see: https://docs.solace.com/API-Developer-Online-Ref-Documentation/c/index.html#host-entry).' type: string x-referenceable: true properties: description: Additional Solace session properties (each setting needs to have `SESSION_` prefix). type: object default: null additionalProperties: type: string x-lua-required: true x-referenceable: true nullable: true x-speakeasy-param-computed: false ssl_validate_certificate: description: Indicates whether the API should validate server certificates with the trusted certificates. type: boolean default: false vpn_name: description: The name of the Message VPN to attempt to join when connecting to an event broker. type: string default: null maxLength: 32 nullable: true x-speakeasy-param-computed: false required: - host websocket: description: The `WEBSOCKET` mode related configuration settings. type: object properties: max_recv_len: description: Specifies the maximal length of payload allowed when receiving WebSocket frames. type: integer default: 65536 max_send_len: description: Specifies the maximal length of payload allowed when sending WebSocket frames. type: integer default: 65536 timeout: description: Specifies the network timeout threshold in milliseconds. type: integer default: 1000 maximum: 60000 minimum: 1 x-speakeasy-param-computed: true required: - flow - session name: const: solace-consume protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 SolaceLogPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/SolaceLogPluginConfig' SolaceLogPluginConfig: x-speakeasy-entity: GatewayPluginSolaceLog properties: config: type: object properties: message: description: The log message related configuration. type: object properties: ack_timeout: description: 'When using a non-DIRECT guaranteed delivery mode, this property sets the log message acknowledgement timeout (waiting time).' type: integer default: 2000 maximum: 100000 minimum: 1 custom_fields_by_lua: description: A key-value map that dynamically modifies log fields using Lua code. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false delivery_mode: description: Sets the log message delivery mode. type: string default: DIRECT enum: - DIRECT - PERSISTENT x-speakeasy-unknown-values: allow destinations: description: The log message destinations. type: array items: properties: name: description: 'The name of the destination. You can use `$(uri_captures[''<capture-identifier>''])` in this field to capture the name from a regex request URI (replace `<capture-identifier>` with a real value; for example `$(uri_captures[''queue''])` when the matched route has a path `~/(?<queue>[a-z]+)`).' type: string type: description: The type of the destination. type: string default: QUEUE enum: - QUEUE - TOPIC x-speakeasy-unknown-values: allow required: - name type: object minItems: 1 dmq_eligible: description: Sets the dead message queue (DMQ) eligible property on the log message. type: boolean default: false priority: description: Sets the log message priority. type: integer default: 4 maximum: 255 minimum: 0 sender_id: description: Allows the application to set the sender identifier. type: string default: null nullable: true x-speakeasy-param-computed: false tracing: description: 'Enable or disable the tracing propagation. This is primarily used for distributed tracing and message correlation, especially in debugging or tracking message flows across multiple systems.' type: boolean default: false tracing_sampled: description: Forcibly turn on the tracing on all the messages for distributed tracing (tracing needs to be enabled as well). type: boolean default: false ttl: description: Sets the time to live (TTL) in milliseconds for the log message. Setting the time to live to zero disables the TTL for the log message. type: integer default: 0 required: - destinations session: description: Session related configuration. type: object properties: authentication: description: Session authentication related configuration. type: object default: null nullable: true properties: access_token: description: The OAuth2 access token used with `OAUTH2` authentication scheme when connecting to an event broker. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false access_token_header: description: Specifies the header that contains access token for the `OAUTH2` authentication scheme when connecting to an event broker. This header takes precedence over the `access_token` field. type: string default: null nullable: true x-speakeasy-param-computed: false basic_auth_header: description: Specifies the header that contains Basic Authentication credentials for the `BASIC` authentication scheme when connecting to an event broker. This header takes precedence over the `username` and `password` fields. type: string default: null nullable: true x-speakeasy-param-computed: false client_credentials: description: 'Client credentials used to automatically obtain and renew OAuth2 access tokens from an IdP for the `CLIENT_CREDENTIALS` authentication scheme. When set, Kong fetches tokens from `token_endpoint` using `client_id` and `client_secret`, caches them until expiry, and retries with a fresh token whenever Solace returns an unauthenticated response.' type: object default: null nullable: true properties: client_id: description: The OAuth2 client ID used with `CLIENT_CREDENTIALS` authentication scheme when connecting to an event broker. type: string x-encrypted: true x-referenceable: true client_secret: description: The OAuth2 client secret used with `CLIENT_CREDENTIALS` authentication scheme when connecting to an event broker. type: string x-encrypted: true x-referenceable: true eagerly_expire: description: 'Number of seconds before actual expiry when cached access tokens should be considered expired and proactively renewed. This helps prevent edge cases where tokens are rejected by Solace just as they expire, but setting this too high may lead to unnecessary token refreshes.' type: integer default: 5 scopes: description: The OAuth2 scopes to request when retrieving access tokens for the `CLIENT_CREDENTIALS` authentication scheme. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: Controls TLS certificate verification for HTTPS token endpoint requests. type: boolean default: true token_endpoint: description: The OAuth2 token endpoint URL used to retrieve access tokens for the `CLIENT_CREDENTIALS` authentication scheme when connecting to an event broker. type: string required: - client_id - client_secret - token_endpoint x-speakeasy-param-computed: false id_token: description: The OpenID Connect ID token used with `OAUTH2` authentication scheme when connecting to an event broker. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false id_token_header: description: Specifies the header that contains id token for the `OAUTH2` authentication scheme when connecting to an event broker. This header takes precedence over the `id_token` field. type: string default: null nullable: true x-speakeasy-param-computed: false password: description: The password used with `BASIC` authentication scheme when connecting to an event broker. type: string default: null maxLength: 128 nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false scheme: description: The client authentication scheme used when connection to an event broker. type: string default: BASIC enum: - BASIC - CLIENT_CREDENTIALS - NONE - OAUTH2 x-speakeasy-unknown-values: allow username: description: The username used with `BASIC` authentication scheme when connecting to an event broker. type: string default: null maxLength: 189 nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false calculate_message_expiry: description: 'If this property is true and time-to-live has a positive value in a message, the expiration time is calculated when the message is sent or received' type: boolean default: true connect_timeout: description: The timeout period (in milliseconds) for a connect operation to a given host (per host). type: integer default: 3000 maximum: 100000 minimum: 100 generate_rcv_timestamps: description: 'When enabled, a receive timestamp is recorded for each message.' type: boolean default: true generate_send_timestamps: description: 'When enabled, a send timestamp is automatically included (if not already present) in the Solace-defined fields for each message sent.' type: boolean default: true generate_sender_id: description: 'When enabled, a sender id is automatically included (if not already present) in the Solace-defined fields for each message sent.' type: boolean default: true generate_sequence_number: description: 'When enabled, a sequence number is automatically included (if not already present) in the Solace-defined fields for each message sent.' type: boolean default: true host: description: 'The IPv4 or IPv6 address or host name to connect to (see: https://docs.solace.com/API-Developer-Online-Ref-Documentation/c/index.html#host-entry).' type: string x-referenceable: true properties: description: Additional Solace session properties (each setting needs to have `SESSION_` prefix). type: object default: null additionalProperties: type: string x-lua-required: true x-referenceable: true nullable: true x-speakeasy-param-computed: false ssl_validate_certificate: description: Indicates whether the API should validate server certificates with the trusted certificates. type: boolean default: false vpn_name: description: The name of the Message VPN to attempt to join when connecting to an event broker. type: string default: null maxLength: 32 nullable: true x-speakeasy-param-computed: false required: - host required: - message - session name: const: solace-log protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpc - grpcs - http - https - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https - ws - wss route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 SolaceUpstreamPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/SolaceUpstreamPluginConfig' SolaceUpstreamPluginConfig: x-speakeasy-entity: GatewayPluginSolaceUpstream properties: config: type: object properties: message: description: The message related configuration. type: object properties: ack_timeout: description: 'When using a non-DIRECT guaranteed delivery mode, this property sets the message acknowledgement timeout in milliseconds (waiting time).' type: integer default: 2000 maximum: 100000 minimum: 1 content_encoding: description: 'Sets the HTTP Content-Encoding applied to the Solace message payload (for example, gzip). If unset, the request Content-Encoding header is used when available.' type: string default: null nullable: true x-speakeasy-param-computed: false content_type: description: 'Sets the HTTP Content-Type applied to the Solace message payload. If unset, the request Content-Type header is used when available.' type: string default: null nullable: true x-speakeasy-param-computed: false default_content: description: 'When not using `forward_method`, `forward_uri`, `forward_headers`, `forward_body` or `forward_body_raw_only`, this sets the message content.' type: string default: null nullable: true x-speakeasy-param-computed: false delivery_mode: description: Sets the message delivery mode. type: string default: DIRECT enum: - DIRECT - PERSISTENT x-speakeasy-unknown-values: allow destinations: description: The message destinations. type: array items: properties: name: description: 'The name of the destination. You can use $(uri_captures[''<capture-identifier>'']) in this field (replace `<capture-identifier>` with a real value, for example `$uri_captures[’queue’]` when the matched route has a path `~/(?<queue>[a-z]+)`).' type: string type: description: The type of the destination. type: string default: QUEUE enum: - QUEUE - TOPIC x-speakeasy-unknown-values: allow required: - name type: object minItems: 1 dmq_eligible: description: Sets the dead message queue (DMQ) eligible property on the message. type: boolean default: false forward_body: description: Include the request body and the body arguments in the message. type: boolean default: false forward_body_raw_only: description: Forward only the raw request body without wrapping it in a JSON payload or adding extra fields. type: boolean default: false forward_headers: description: Include the request headers in the message. type: boolean default: false forward_method: description: Include the request method in the message. type: boolean default: false forward_uri: description: 'Include the request URI and the URI arguments (as in, query arguments) in the message.' type: boolean default: false functions: description: 'The Lua functions that manipulates (or generates) the message being sent to Solace. The `message` variable can be used to access the current message content, and the function can return a new content.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false priority: description: Sets the message priority. type: integer default: 4 maximum: 255 minimum: 0 sender_id: description: Allows the application to set the content of the sender identifier. type: string default: null nullable: true x-speakeasy-param-computed: false tracing: description: 'Enable or disable the tracing propagation. This is primarily used for distributed tracing and message correlation, especially in debugging or tracking message flows across multiple systems.' type: boolean default: false tracing_sampled: description: Forcibly turn on the tracing on all the messages for distributed tracing (tracing needs to be enabled as well). type: boolean default: false ttl: description: Sets the time to live (TTL) in milliseconds for the message. Setting the time to live to zero disables the TTL for the message. type: integer default: 0 user_properties: description: User defined properties to be included in the message. Separate static properties from header mappings. type: object default: null nullable: true properties: headers: description: 'Header settings for user properties (mapping, inclusion and exclusion).' type: object default: null nullable: true properties: exclude_headers: description: 'Headers that must not be forwarded into user properties. This is used to exclude sensitive headers such as authorization from being forwarded as user properties, or to avoid duplication when a header is mapped to a user property but you don''t want the original header to be included as well.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false include_headers: description: Headers to include as user properties even without explicit mapping. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false mappings: description: 'Header-to-user_property mapping (key = HTTP header name, value = target user property name).' type: object default: null additionalProperties: type: string x-lua-required: true nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false predefined_properties: description: 'Predefined user properties to set on every message (key = property name, value = property value).' type: object default: null additionalProperties: type: string x-lua-required: true nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false required: - destinations session: description: Session related configuration. type: object properties: authentication: description: Session authentication related configuration. type: object default: null nullable: true properties: access_token: description: The OAuth2 access token used with `OAUTH2` authentication scheme when connecting to an event broker. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false access_token_header: description: Specifies the header that contains access token for the `OAUTH2` authentication scheme when connecting to an event broker. This header takes precedence over the `access_token` field. type: string default: null nullable: true x-speakeasy-param-computed: false basic_auth_header: description: Specifies the header that contains Basic Authentication credentials for the `BASIC` authentication scheme when connecting to an event broker. This header takes precedence over the `username` and `password` fields. type: string default: null nullable: true x-speakeasy-param-computed: false client_credentials: description: 'Client credentials used to automatically obtain and renew OAuth2 access tokens from an IdP for the `CLIENT_CREDENTIALS` authentication scheme. When set, Kong fetches tokens from `token_endpoint` using `client_id` and `client_secret`, caches them until expiry, and retries with a fresh token whenever Solace returns an unauthenticated response.' type: object default: null nullable: true properties: client_id: description: The OAuth2 client ID used with `CLIENT_CREDENTIALS` authentication scheme when connecting to an event broker. type: string x-encrypted: true x-referenceable: true client_secret: description: The OAuth2 client secret used with `CLIENT_CREDENTIALS` authentication scheme when connecting to an event broker. type: string x-encrypted: true x-referenceable: true eagerly_expire: description: 'Number of seconds before actual expiry when cached access tokens should be considered expired and proactively renewed. This helps prevent edge cases where tokens are rejected by Solace just as they expire, but setting this too high may lead to unnecessary token refreshes.' type: integer default: 5 scopes: description: The OAuth2 scopes to request when retrieving access tokens for the `CLIENT_CREDENTIALS` authentication scheme. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false ssl_verify: description: Controls TLS certificate verification for HTTPS token endpoint requests. type: boolean default: true token_endpoint: description: The OAuth2 token endpoint URL used to retrieve access tokens for the `CLIENT_CREDENTIALS` authentication scheme when connecting to an event broker. type: string required: - client_id - client_secret - token_endpoint x-speakeasy-param-computed: false id_token: description: The OpenID Connect ID token used with `OAUTH2` authentication scheme when connecting to an event broker. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false id_token_header: description: Specifies the header that contains id token for the `OAUTH2` authentication scheme when connecting to an event broker. This header takes precedence over the `id_token` field. type: string default: null nullable: true x-speakeasy-param-computed: false password: description: The password used with `BASIC` authentication scheme when connecting to an event broker. type: string default: null maxLength: 128 nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false scheme: description: The client authentication scheme used when connection to an event broker. type: string default: BASIC enum: - BASIC - CLIENT_CREDENTIALS - NONE - OAUTH2 x-speakeasy-unknown-values: allow username: description: The username used with `BASIC` authentication scheme when connecting to an event broker. type: string default: null maxLength: 189 nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false calculate_message_expiry: description: 'If this property is true and time-to-live has a positive value in a message, the expiration time is calculated when the message is sent or received' type: boolean default: true connect_timeout: description: The timeout period (in milliseconds) for a connect operation to a given host (per host). type: integer default: 3000 maximum: 100000 minimum: 100 generate_rcv_timestamps: description: 'When enabled, a receive timestamp is recorded for each message.' type: boolean default: true generate_send_timestamps: description: 'When enabled, a send timestamp is automatically included (if not already present) in the Solace-defined fields for each message sent.' type: boolean default: true generate_sender_id: description: 'When enabled, a sender id is automatically included (if not already present) in the Solace-defined fields for each message sent.' type: boolean default: true generate_sequence_number: description: 'When enabled, a sequence number is automatically included (if not already present) in the Solace-defined fields for each message sent.' type: boolean default: true host: description: 'The IPv4 or IPv6 address or host name to connect to (see: https://docs.solace.com/API-Developer-Online-Ref-Documentation/c/index.html#host-entry).' type: string x-referenceable: true properties: description: Additional Solace session properties (each setting needs to have `SESSION_` prefix). type: object default: null additionalProperties: type: string x-lua-required: true x-referenceable: true nullable: true x-speakeasy-param-computed: false ssl_validate_certificate: description: Indicates whether the API should validate server certificates with the trusted certificates. type: boolean default: false vpn_name: description: The name of the Message VPN to attempt to join when connecting to an event broker. type: string default: null maxLength: 32 nullable: true x-speakeasy-param-computed: false required: - host required: - message - session name: const: solace-upstream protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 StandardWebhooksPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/StandardWebhooksPluginConfig' StandardWebhooksPluginConfig: x-speakeasy-entity: GatewayPluginStandardWebhooks properties: config: type: object properties: secret_v1: description: Webhook secret type: string x-encrypted: true x-referenceable: true tolerance_second: description: 'Tolerance of the webhook timestamp in seconds. If the webhook timestamp is older than this number of seconds, it will be rejected with a ''400'' response.' type: integer default: 300 required: - secret_v1 consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: standard-webhooks protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 StatsdAdvancedPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/StatsdAdvancedPluginConfig' StatsdAdvancedPluginConfig: x-speakeasy-entity: GatewayPluginStatsdAdvanced properties: config: type: object default: null nullable: true properties: allow_status_codes: description: List of status code ranges that are allowed to be logged in metrics. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false consumer_identifier_default: description: 'The default consumer identifier for metrics. This will take effect when a metric''s consumer identifier is omitted. Allowed values are `custom_id`, `consumer_id`, `username`.' type: string default: custom_id enum: - consumer_id - custom_id - username x-speakeasy-unknown-values: allow host: description: 'A string representing a host name, such as example.com.' type: string default: localhost hostname_in_prefix: description: Include the `hostname` in the `prefix` for each metric name. type: boolean default: false metrics: description: List of Metrics to be logged. type: array items: properties: consumer_identifier: type: string enum: - consumer_id - custom_id - username x-speakeasy-unknown-values: allow name: type: string enum: - cache_datastore_hits_total - cache_datastore_misses_total - kong_latency - latency - request_count - request_per_user - request_size - response_size - shdict_usage - status_count - status_count_per_user - status_count_per_user_per_route - status_count_per_workspace - unique_users - upstream_latency x-speakeasy-unknown-values: allow sample_rate: type: number default: null nullable: true x-speakeasy-param-computed: false service_identifier: type: string enum: - service_host - service_id - service_name - service_name_or_host x-speakeasy-unknown-values: allow stat_type: type: string enum: - counter - gauge - histogram - meter - set - timer x-speakeasy-unknown-values: allow workspace_identifier: type: string enum: - workspace_id - workspace_name x-speakeasy-unknown-values: allow required: - name - stat_type type: object default: null nullable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 8125 maximum: 65535 minimum: 0 prefix: description: String to prefix to each metric's name. type: string default: kong queue: type: object default: null nullable: true properties: breaker_cooldown: description: Time in seconds the circuit breaker stays open (fast-shedding entries) before it allows a single batch through to probe whether the destination has recovered. type: number default: 60 maximum: 1000000 minimum: 0 concurrency_limit: description: The number of of queue delivery timers. -1 indicates unlimited. type: integer default: 1 enum: - -1 - 1 x-speakeasy-unknown-values: allow failure_threshold: description: Number of consecutive failed batches after which the queue opens its circuit breaker and drops entries instead of retrying. 0 disables the circuit breaker. type: integer default: 0 maximum: 1000000 minimum: 0 initial_retry_delay: description: Time in seconds before the initial retry is made for a failing batch. type: number maximum: 1000000 minimum: 0.001 x-speakeasy-param-computed: true max_batch_size: description: Maximum number of entries that can be processed at a time. type: integer default: 1 maximum: 1000000 minimum: 1 max_bytes: description: 'Maximum number of bytes that can be waiting on a queue, requires string content.' type: integer default: null nullable: true x-speakeasy-param-computed: false max_coalescing_delay: description: Maximum number of (fractional) seconds to elapse after the first entry was queued before the queue starts calling the handler. type: number default: 1 maximum: 3600 minimum: 0 max_entries: description: Maximum number of entries that can be waiting on the queue. type: integer default: 10000 maximum: 1000000 minimum: 1 max_retry_delay: description: 'Maximum time in seconds between retries, caps exponential backoff.' type: number default: 60 maximum: 1000000 minimum: 0.001 max_retry_time: description: Time in seconds before the queue gives up calling a failed handler for a batch. type: number default: 60 x-speakeasy-param-computed: false service_identifier_default: description: 'The default service identifier for metrics. This will take effect when a metric''s service identifier is omitted. Allowed values are `service_name_or_host`, `service_id`, `service_name`, `service_host`.' type: string default: service_name_or_host enum: - service_host - service_id - service_name - service_name_or_host x-speakeasy-unknown-values: allow udp_packet_size: description: 'Combine UDP packet up to the size configured. If zero (0), don''t combine the UDP packet. Must be a number between 0 and 65507 (inclusive).' type: number default: 0 maximum: 65507 minimum: 0 use_tcp: description: Use TCP instead of UDP. type: boolean default: false workspace_identifier_default: description: 'The default workspace identifier for metrics. This will take effect when a metric''s workspace identifier is omitted. Allowed values are `workspace_id`, `workspace_name`. ' type: string default: workspace_id enum: - workspace_id - workspace_name x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: statsd-advanced protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 StatsdPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/StatsdPluginConfig' StatsdPluginConfig: x-speakeasy-entity: GatewayPluginStatsd properties: config: type: object default: null nullable: true properties: allow_status_codes: description: List of status code ranges that are allowed to be logged in metrics. type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false consumer_identifier_default: type: string default: custom_id enum: - consumer_id - custom_id - username x-speakeasy-unknown-values: allow flush_timeout: type: number default: null nullable: true x-speakeasy-param-computed: false host: description: The IP address or hostname of StatsD server to send data to. type: string default: localhost hostname_in_prefix: type: boolean default: false metrics: description: List of metrics to be logged. type: array items: properties: consumer_identifier: description: Authenticated user detail. type: string enum: - consumer_id - custom_id - username x-speakeasy-unknown-values: allow name: description: StatsD metric’s name. type: string enum: - cache_datastore_hits_total - cache_datastore_misses_total - kong_latency - latency - request_count - request_per_user - request_size - response_size - shdict_usage - status_count - status_count_per_user - status_count_per_user_per_route - status_count_per_workspace - unique_users - upstream_latency x-speakeasy-unknown-values: allow sample_rate: description: Sampling rate type: number x-speakeasy-param-computed: true service_identifier: description: Service detail. type: string enum: - service_host - service_id - service_name - service_name_or_host x-speakeasy-unknown-values: allow stat_type: description: Determines what sort of event a metric represents. type: string enum: - counter - gauge - histogram - meter - set - timer x-speakeasy-unknown-values: allow workspace_identifier: description: Workspace detail. type: string enum: - workspace_id - workspace_name x-speakeasy-unknown-values: allow required: - name - stat_type type: object x-speakeasy-param-computed: true port: description: The port of StatsD server to send data to. type: integer default: 8125 maximum: 65535 minimum: 0 prefix: description: String to prefix to each metric's name. type: string default: kong queue: type: object properties: breaker_cooldown: description: Time in seconds the circuit breaker stays open (fast-shedding entries) before it allows a single batch through to probe whether the destination has recovered. type: number default: 60 maximum: 1000000 minimum: 0 concurrency_limit: description: The number of of queue delivery timers. -1 indicates unlimited. type: integer default: 1 enum: - -1 - 1 x-speakeasy-unknown-values: allow failure_threshold: description: Number of consecutive failed batches after which the queue opens its circuit breaker and drops entries instead of retrying. 0 disables the circuit breaker. type: integer default: 0 maximum: 1000000 minimum: 0 initial_retry_delay: description: Time in seconds before the initial retry is made for a failing batch. type: number maximum: 1000000 minimum: 0.001 x-speakeasy-param-computed: true max_batch_size: description: Maximum number of entries that can be processed at a time. type: integer default: 1 maximum: 1000000 minimum: 1 max_bytes: description: 'Maximum number of bytes that can be waiting on a queue, requires string content.' type: integer x-speakeasy-param-computed: true max_coalescing_delay: description: Maximum number of (fractional) seconds to elapse after the first entry was queued before the queue starts calling the handler. type: number default: 1 maximum: 3600 minimum: 0 max_entries: description: Maximum number of entries that can be waiting on the queue. type: integer default: 10000 maximum: 1000000 minimum: 1 max_retry_delay: description: 'Maximum time in seconds between retries, caps exponential backoff.' type: number default: 60 maximum: 1000000 minimum: 0.001 max_retry_time: description: Time in seconds before the queue gives up calling a failed handler for a batch. type: number default: 60 x-speakeasy-param-computed: true queue_size: type: integer default: null nullable: true x-speakeasy-param-computed: false retry_count: type: integer default: null nullable: true x-speakeasy-param-computed: false service_identifier_default: type: string default: service_name_or_host enum: - service_host - service_id - service_name - service_name_or_host x-speakeasy-unknown-values: allow tag_style: type: string enum: - dogstatsd - influxdb - librato - signalfx x-speakeasy-unknown-values: allow udp_packet_size: type: number default: 0 maximum: 65507 minimum: 0 use_tcp: type: boolean default: false workspace_identifier_default: type: string default: workspace_id enum: - workspace_id - workspace_name x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: statsd protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 SyslogPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/SyslogPluginConfig' SyslogPluginConfig: x-speakeasy-entity: GatewayPluginSyslog properties: config: type: object default: null nullable: true properties: client_errors_severity: type: string default: info enum: - alert - crit - debug - emerg - err - info - notice - warning x-speakeasy-unknown-values: allow custom_fields_by_lua: description: Lua code as a key-value map type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false facility: description: The facility is used by the operating system to decide how to handle each log message. type: string default: user enum: - auth - authpriv - cron - daemon - ftp - kern - local0 - local1 - local2 - local3 - local4 - local5 - local6 - local7 - lpr - mail - news - syslog - user - uucp x-speakeasy-unknown-values: allow log_level: type: string default: info enum: - alert - crit - debug - emerg - err - info - notice - warning x-speakeasy-unknown-values: allow server_errors_severity: type: string default: info enum: - alert - crit - debug - emerg - err - info - notice - warning x-speakeasy-unknown-values: allow successful_severity: type: string default: info enum: - alert - crit - debug - emerg - err - info - notice - warning x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: syslog protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 Target: x-speakeasy-entity: GatewayTarget description: 'A target is an ip address/hostname with a port that identifies an instance of a backend service. Every upstream can have many targets, and the targets can be dynamically added, modified, or deleted. Changes take effect on the fly. To disable a target, post a new one with `weight=0`; alternatively, use the `DELETE` convenience method to accomplish the same. The current target object definition is the one with the latest `created_at`.' type: object properties: created_at: description: Unix epoch when the resource was created. type: number nullable: true failover: description: Whether to use this target only as backup or not. type: boolean default: false nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true tags: description: An optional set of strings associated with the Target for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false target: description: 'The target address (ip or hostname) and port. If the hostname resolves to an SRV record, the `port` value will be overridden by the value from the DNS record.' type: string updated_at: description: Unix epoch when the resource was last updated. type: number nullable: true upstream: description: The unique identifier or the name of the upstream for which to update the target. type: object nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: true weight: description: 'The weight this target gets within the upstream loadbalancer (`0`-`65535`). If the hostname resolves to an SRV record, the `weight` value will be overridden by the value from the DNS record.' type: integer default: 100 maximum: 65535 minimum: 0 nullable: true example: id: 089292a7-ba3d-4d88-acf0-97b4b2e2621a target: 203.0.113.42 upstream: id: 5f1d7e76-2fed-4806-a6af-869984f025cb weight: 100 additionalProperties: false required: - target TargetWithoutParents: x-speakeasy-entity: GatewayTarget description: 'A target is an ip address/hostname with a port that identifies an instance of a backend service. Every upstream can have many targets, and the targets can be dynamically added, modified, or deleted. Changes take effect on the fly. To disable a target, post a new one with `weight=0`; alternatively, use the `DELETE` convenience method to accomplish the same. The current target object definition is the one with the latest `created_at`.' type: object properties: created_at: description: Unix epoch when the resource was created. type: number nullable: true failover: description: Whether to use this target only as backup or not. type: boolean default: false nullable: true id: description: A string representing a UUID (universally unique identifier). type: string nullable: true tags: description: An optional set of strings associated with the Target for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false target: description: 'The target address (ip or hostname) and port. If the hostname resolves to an SRV record, the `port` value will be overridden by the value from the DNS record.' type: string updated_at: description: Unix epoch when the resource was last updated. type: number nullable: true upstream: description: The unique identifier or the name of the upstream for which to update the target. type: object nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: true weight: description: 'The weight this target gets within the upstream loadbalancer (`0`-`65535`). If the hostname resolves to an SRV record, the `weight` value will be overridden by the value from the DNS record.' type: integer default: 100 maximum: 65535 minimum: 0 nullable: true example: id: 089292a7-ba3d-4d88-acf0-97b4b2e2621a target: 203.0.113.42 weight: 100 additionalProperties: false required: - target x-speakeasy-entity-version: 1 TcpLogPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/TcpLogPluginConfig' TcpLogPluginConfig: x-speakeasy-entity: GatewayPluginTcpLog properties: config: type: object properties: custom_fields_by_lua: description: 'A list of key-value pairs, where the key is the name of a log field and the value is a chunk of Lua code, whose return value sets or replaces the log field value.' type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false host: description: The IP address or host name to send data to. type: string keepalive: description: An optional value in milliseconds that defines how long an idle connection lives before being closed. type: number default: 60000 port: description: The port to send data to on the upstream server. type: integer maximum: 65535 minimum: 0 ssl_verify: description: 'When using TLS, this option enables verification of the certificate presented by the server.' type: boolean default: false timeout: description: An optional timeout in milliseconds when sending data to the upstream server. type: number default: 10000 tls: description: Indicates whether to perform a TLS handshake against the remote server. type: boolean default: false tls_sni: description: An optional string that defines the SNI (Server Name Indication) hostname to send in the TLS handshake. type: string default: null nullable: true x-speakeasy-param-computed: false required: - host - port consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: tcp-log protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 TlsHandshakeModifierPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/TlsHandshakeModifierPluginConfig' TlsHandshakeModifierPluginConfig: x-speakeasy-entity: GatewayPluginTlsHandshakeModifier properties: config: type: object default: null nullable: true properties: tls_client_certificate: description: TLS Client Certificate type: string default: REQUEST enum: - REQUEST x-speakeasy-param-computed: false name: const: tls-handshake-modifier protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpcs - https - tls type: string x-speakeasy-unknown-values: allow format: set default: - grpcs - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 TlsMetadataHeadersPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/TlsMetadataHeadersPluginConfig' TlsMetadataHeadersPluginConfig: x-speakeasy-entity: GatewayPluginTlsMetadataHeaders properties: config: type: object default: null nullable: true properties: client_cert_fingerprint_header_name: description: Define the HTTP header name used for the SHA1 fingerprint of the client certificate. type: string default: X-Client-Cert-Fingerprint client_cert_header_name: description: Define the HTTP header name used for the PEM format URL encoded client certificate. type: string default: X-Client-Cert client_cert_issuer_dn_header_name: description: Define the HTTP header name used for the issuer DN of the client certificate. type: string default: X-Client-Cert-Issuer-DN client_cert_subject_dn_header_name: description: Define the HTTP header name used for the subject DN of the client certificate. type: string default: X-Client-Cert-Subject-DN client_serial_header_name: description: Define the HTTP header name used for the serial number of the client certificate. type: string default: X-Client-Cert-Serial inject_client_cert_details: description: Enables TLS client certificate metadata values to be injected into HTTP headers. type: boolean default: false x-speakeasy-param-computed: false name: const: tls-metadata-headers protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - grpcs - https - tls type: string x-speakeasy-unknown-values: allow format: set default: - grpcs - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 UdpLogPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/UdpLogPluginConfig' UdpLogPluginConfig: x-speakeasy-entity: GatewayPluginUdpLog properties: config: type: object properties: custom_fields_by_lua: description: Lua code as a key-value map type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false host: description: 'A string representing a host name, such as example.com.' type: string port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer maximum: 65535 minimum: 0 timeout: description: An optional timeout in milliseconds when sending data to the upstream server. type: number default: 10000 required: - host - port consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: udp-log protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 Upstream: x-speakeasy-entity: GatewayUpstream description: 'The upstream object represents a virtual hostname and can be used to loadbalance incoming requests over multiple services (targets). So for example an upstream named `service.v1.xyz` for a Service object whose `host` is `service.v1.xyz`. Requests for this Service would be proxied to the targets defined within the upstream. An upstream also includes a [health checker][healthchecks], which is able to enable and disable targets based on their ability or inability to serve requests. The configuration for the health checker is stored in the upstream object, and applies to all of its targets.' type: object properties: algorithm: description: Which load balancing algorithm to use. type: string default: round-robin enum: - consistent-hashing - latency - least-connections - round-robin - sticky-sessions nullable: true x-speakeasy-unknown-values: allow client_certificate: description: 'If set, the certificate to be used as client certificate while TLS handshaking to the upstream server.' type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false created_at: description: Unix epoch when the resource was created. type: integer nullable: true hash_fallback: description: 'What to use as hashing input if the primary `hash_on` does not return a hash (eg. header is missing, or no Consumer identified). Not available if `hash_on` is set to `cookie`.' type: string default: none enum: - consumer - cookie - header - ip - none - path - query_arg - uri_capture nullable: true x-speakeasy-unknown-values: allow hash_fallback_header: description: The header name to take the value from as hash input. Only required when `hash_fallback` is set to `header`. type: string default: null nullable: true x-speakeasy-param-computed: false hash_fallback_query_arg: description: The name of the query string argument to take the value from as hash input. Only required when `hash_fallback` is set to `query_arg`. type: string default: null minLength: 1 nullable: true x-speakeasy-param-computed: false hash_fallback_uri_capture: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_fallback` is set to `uri_capture`. type: string default: null minLength: 1 nullable: true x-speakeasy-param-computed: false hash_on: description: What to use as hashing input. Using `none` results in a weighted-round-robin scheme with no hashing. type: string default: none enum: - consumer - cookie - header - ip - none - path - query_arg - uri_capture nullable: true x-speakeasy-unknown-values: allow hash_on_cookie: description: 'The cookie name to take the value from as hash input. Only required when `hash_on` or `hash_fallback` is set to `cookie`. If the specified cookie is not in the request, Kong will generate a value and set the cookie in the response.' type: string default: null nullable: true x-speakeasy-param-computed: false hash_on_cookie_path: description: The cookie path to set in the response headers. Only required when `hash_on` or `hash_fallback` is set to `cookie`. type: string default: / nullable: true hash_on_header: description: The header name to take the value from as hash input. Only required when `hash_on` is set to `header`. type: string default: null nullable: true x-speakeasy-param-computed: false hash_on_query_arg: description: The name of the query string argument to take the value from as hash input. Only required when `hash_on` is set to `query_arg`. type: string default: null minLength: 1 nullable: true x-speakeasy-param-computed: false hash_on_uri_capture: description: The name of the route URI capture to take the value from as hash input. Only required when `hash_on` is set to `uri_capture`. type: string default: null minLength: 1 nullable: true x-speakeasy-param-computed: false healthchecks: description: The array of healthchecks. type: object default: active: concurrency: 10 healthy: http_statuses: - 200 - 302 interval: 0 successes: 0 http_path: / https_verify_certificate: true timeout: 1 type: http unhealthy: http_failures: 0 http_statuses: - 429 - 404 - 500 - 501 - 502 - 503 - 504 - 505 interval: 0 tcp_failures: 0 timeouts: 0 passive: healthy: http_statuses: - 200 - 201 - 202 - 203 - 204 - 205 - 206 - 207 - 208 - 226 - 300 - 301 - 302 - 303 - 304 - 305 - 306 - 307 - 308 successes: 0 type: http unhealthy: http_failures: 0 http_statuses: - 429 - 500 - 503 tcp_failures: 0 timeouts: 0 nullable: true properties: active: type: object default: concurrency: 10 healthy: http_statuses: - 200 - 302 interval: 0 successes: 0 http_path: / https_verify_certificate: true timeout: 1 type: http unhealthy: http_failures: 0 http_statuses: - 429 - 404 - 500 - 501 - 502 - 503 - 504 - 505 interval: 0 tcp_failures: 0 timeouts: 0 properties: concurrency: type: integer default: 10 maximum: 2147483648 minimum: 1 headers: description: A map of header names to arrays of header values. type: object default: null additionalProperties: items: type: string type: array nullable: true x-speakeasy-param-computed: false healthy: type: object default: http_statuses: - 200 - 302 interval: 0 successes: 0 properties: http_statuses: type: array items: maximum: 999 minimum: 100 type: integer default: - 200 - 302 interval: type: number default: 0 maximum: 65535 minimum: 0 successes: type: integer default: 0 maximum: 254 minimum: 0 x-speakeasy-param-computed: true http_path: description: 'A string representing a URL path, such as /path/to/resource. Must start with a forward slash (/) and must not contain empty segments (i.e., two consecutive forward slashes).' type: string default: / https_sni: description: A string representing an SNI (server name indication) value for TLS. type: string nullable: false https_verify_certificate: type: boolean default: true timeout: type: number default: 1 maximum: 65535 minimum: 0 type: type: string default: http enum: - grpc - grpcs - http - https - tcp x-speakeasy-unknown-values: allow unhealthy: type: object default: http_failures: 0 http_statuses: - 429 - 404 - 500 - 501 - 502 - 503 - 504 - 505 interval: 0 tcp_failures: 0 timeouts: 0 properties: http_failures: type: integer default: 0 maximum: 254 minimum: 0 http_statuses: type: array items: maximum: 999 minimum: 100 type: integer default: - 429 - 404 - 500 - 501 - 502 - 503 - 504 - 505 interval: type: number default: 0 maximum: 65535 minimum: 0 tcp_failures: type: integer default: 0 maximum: 254 minimum: 0 timeouts: type: integer default: 0 maximum: 254 minimum: 0 x-speakeasy-param-computed: true x-speakeasy-param-computed: true passive: type: object default: healthy: http_statuses: - 200 - 201 - 202 - 203 - 204 - 205 - 206 - 207 - 208 - 226 - 300 - 301 - 302 - 303 - 304 - 305 - 306 - 307 - 308 successes: 0 type: http unhealthy: http_failures: 0 http_statuses: - 429 - 500 - 503 tcp_failures: 0 timeouts: 0 properties: healthy: type: object default: http_statuses: - 200 - 201 - 202 - 203 - 204 - 205 - 206 - 207 - 208 - 226 - 300 - 301 - 302 - 303 - 304 - 305 - 306 - 307 - 308 successes: 0 properties: http_statuses: type: array items: maximum: 999 minimum: 100 type: integer default: - 200 - 201 - 202 - 203 - 204 - 205 - 206 - 207 - 208 - 226 - 300 - 301 - 302 - 303 - 304 - 305 - 306 - 307 - 308 successes: type: integer default: 0 maximum: 254 minimum: 0 x-speakeasy-param-computed: true type: type: string default: http enum: - grpc - grpcs - http - https - tcp x-speakeasy-unknown-values: allow unhealthy: type: object default: http_failures: 0 http_statuses: - 429 - 500 - 503 tcp_failures: 0 timeouts: 0 properties: http_failures: type: integer default: 0 maximum: 254 minimum: 0 http_statuses: type: array items: maximum: 999 minimum: 100 type: integer default: - 429 - 500 - 503 tcp_failures: type: integer default: 0 maximum: 254 minimum: 0 timeouts: type: integer default: 0 maximum: 254 minimum: 0 x-speakeasy-param-computed: true x-speakeasy-param-computed: true threshold: type: number default: 0 maximum: 100 minimum: 0 x-speakeasy-param-computed: true host_header: description: The hostname to be used as `Host` header when proxying requests through Kong. type: string default: null nullable: true x-speakeasy-param-computed: false id: description: A string representing a UUID (universally unique identifier). type: string nullable: true name: description: 'This is a hostname, which must be equal to the `host` of a Service.' type: string slots: description: 'The number of slots in the load balancer algorithm. If `algorithm` is set to `round-robin`, this setting determines the maximum number of slots. If `algorithm` is set to `consistent-hashing`, this setting determines the actual number of slots in the algorithm. Accepts an integer in the range `10`-`65536`.' type: integer default: 10000 maximum: 65536 minimum: 10 nullable: true sticky_sessions_cookie: description: The cookie name to keep sticky sessions. type: string default: null nullable: true x-speakeasy-param-computed: false sticky_sessions_cookie_path: description: 'A string representing a URL path, such as /path/to/resource. Must start with a forward slash (/) and must not contain empty segments (i.e., two consecutive forward slashes).' type: string default: / nullable: true tags: description: An optional set of strings associated with the Upstream for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true use_srv_name: description: 'If set, the balancer will use SRV hostname(if DNS Answer has SRV record) as the proxy upstream `Host`.' type: boolean default: false nullable: true example: algorithm: round-robin hash_fallback: none hash_on: none hash_on_cookie_path: / healthchecks: active: concurrency: 10 healthy: http_statuses: - 200 - 302 interval: 0 successes: 0 http_path: / https_verify_certificate: true timeout: 1 type: http unhealthy: http_failures: 0 http_statuses: - 429 - 404 - 500 - 501 - 502 - 503 - 504 - 505 interval: 0 tcp_failures: 0 timeouts: 0 passive: healthy: http_statuses: - 200 - 201 - 202 - 203 - 204 - 205 - 206 - 207 - 208 - 226 - 300 - 301 - 302 - 303 - 304 - 305 - 306 - 307 - 308 successes: 0 type: http unhealthy: http_failures: 0 http_statuses: - 429 - 500 - 503 tcp_failures: 0 timeouts: 0 threshold: 0 id: 6eed5e9c-5398-4026-9a4c-d48f18a2431e name: api.example.internal slots: 10000 additionalProperties: false required: - name x-speakeasy-entity-version: 1 UpstreamOauthPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/UpstreamOauthPluginConfig' UpstreamOauthPluginConfig: x-speakeasy-entity: GatewayPluginUpstreamOauth properties: config: type: object properties: behavior: type: object default: null nullable: true properties: idp_error_response_body_template: description: The template to use to create the body of the response to return to the consumer if Kong fails to obtain a token from the IdP. type: string default: '{ "code": "{{status}}", "message": "{{message}}" }' idp_error_response_content_type: description: The Content-Type of the response to return to the consumer if Kong fails to obtain a token from the IdP. type: string default: application/json; charset=utf-8 idp_error_response_message: description: The message to embed in the body of the response to return to the consumer if Kong fails to obtain a token from the IdP. type: string default: Failed to authenticate request to upstream idp_error_response_status_code: description: The response code to return to the consumer if Kong fails to obtain a token from the IdP. type: integer default: 502 maximum: 599 minimum: 500 purge_token_on_upstream_status_codes: description: An array of status codes which will force an access token to be purged when returned by the upstream. An empty array will disable this functionality. type: array items: maximum: 599 minimum: 100 type: integer default: - 401 upstream_access_token_header_name: description: The name of the header used to send the access token (obtained from the IdP) to the upstream service. type: string default: Authorization x-speakeasy-param-computed: false cache: type: object properties: default_ttl: description: The lifetime of a token without an explicit `expires_in` value. type: number default: 3600 eagerly_expire: description: 'The number of seconds to eagerly expire a cached token. By default, a cached token expires 5 seconds before its lifetime as defined in `expires_in`.' type: integer default: 5 memory: type: object properties: dictionary_name: description: The shared dictionary used by the plugin to cache tokens if `config.cache.strategy` is set to `memory`. type: string default: kong_db_cache x-speakeasy-param-computed: true redis: type: object properties: cloud_authentication: description: Cloud auth related configs for connecting to a Cloud Provider's Redis instance. type: object default: null nullable: true properties: auth_provider: description: Auth providers to be used to authenticate to a Cloud Provider's Redis instance. type: string enum: - aws - azure - gcp - oauth x-referenceable: true x-speakeasy-unknown-values: allow aws_access_key_id: description: AWS Access Key ID to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_assume_role_arn: description: The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_cache_name: description: The name of the AWS Elasticache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_is_serverless: description: This flag specifies whether the cluster is serverless when auth_provider is set to `aws`. type: boolean default: true aws_region: description: The region of the AWS ElastiCache cluster when `auth_provider` is set to `aws`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false aws_role_session_name: description: The session name for the temporary credentials when assuming the IAM role. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false aws_secret_access_key: description: AWS Secret Access Key to be used for authentication when `auth_provider` is set to `aws`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_id: description: Azure Client ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_client_secret: description: Azure Client Secret to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false azure_tenant_id: description: Azure Tenant ID to be used for authentication when `auth_provider` is set to `azure`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false gcp_service_account_json: description: GCP Service Account JSON to be used for authentication when `auth_provider` is set to `gcp`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false oauth: description: OAuth 2.0 client configuration used to authenticate to Redis when `auth_provider` is set to `oauth`. type: object default: null nullable: true properties: auth_method: description: Client authentication method used against the token endpoint. type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post x-speakeasy-unknown-values: allow client_id: description: OAuth 2.0 client ID. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: OAuth 2.0 client secret. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret_jwt_alg: description: Signing algorithm used for `client_secret_jwt` client authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow grant_type: description: OAuth 2.0 grant type used to request access tokens. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: 'Resource owner password, used with the `password` grant type.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false redis_username: description: Static Redis ACL username sent with `AUTH <username> <token>`. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false redis_username_claim: description: 'JWT claim in the access token used to derive the Redis ACL username (for example, `oid` for Microsoft Entra ID).' type: string default: null nullable: true x-speakeasy-param-computed: false scopes: description: OAuth 2.0 scopes to request. type: array items: type: string default: [] ssl_verify: description: Whether to verify the TLS certificate of the token endpoint. type: boolean default: true timeout: description: 'Timeout, in milliseconds, for requests to the token endpoint.' type: integer default: 10000 maximum: 2147483646 minimum: 0 token_endpoint: description: OAuth 2.0 token endpoint URL used to request access tokens. type: string default: null nullable: true x-speakeasy-param-computed: false token_headers: description: Additional HTTP headers to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false token_post_args: description: Additional POST body arguments to send with the token request. type: object default: null additionalProperties: type: string nullable: true x-speakeasy-param-computed: false username: description: 'Resource owner username, used with the `password` grant type.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false cluster_max_redirections: description: Maximum retry attempts for redirection. type: integer default: 5 cluster_nodes: description: Cluster addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. type: array items: properties: ip: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 connection_is_proxied: description: 'If the connection to Redis is proxied (e.g. Envoy), set it `true`. Set the `host` and `port` to point to the proxy address.' type: boolean default: false database: description: Database to use for the Redis connection when using the `redis` strategy type: integer default: 0 host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 x-referenceable: true keepalive_backlog: description: 'Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return `nil`. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than `keepalive_pool_size`. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than `keepalive_pool_size`.' type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false keepalive_pool_size: description: 'The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither `keepalive_pool_size` nor `keepalive_backlog` is specified, no pool is created. If `keepalive_pool_size` isn''t specified but `keepalive_backlog` is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low.' type: integer default: 256 maximum: 2147483646 minimum: 1 password: description: 'Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: string default: '6379' maximum: 65535 minimum: 0 x-referenceable: true read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 sentinel_master: description: Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel. type: string default: null nullable: true x-speakeasy-param-computed: false sentinel_nodes: description: Sentinel node addresses to use for Redis connections when the `redis` strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. type: array items: properties: host: description: 'A string representing a host name, such as example.com.' type: string default: 127.0.0.1 port: description: 'An integer representing a port number between 0 and 65535, inclusive.' type: integer default: 6379 maximum: 65535 minimum: 0 type: object default: null minItems: 1 nullable: true x-speakeasy-param-computed: false sentinel_password: description: 'Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.' type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false sentinel_role: description: Sentinel role to use for Redis connections when the `redis` strategy is defined. Defining this value implies using Redis Sentinel. type: string enum: - any - master - slave x-speakeasy-unknown-values: allow sentinel_username: description: 'Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won''t be performed. This requires Redis v6.2.0+.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false server_name: description: A string representing an SNI (server name indication) value for TLS. type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false ssl: description: 'If set to true, uses SSL to connect to Redis.' type: boolean default: false ssl_verify: description: 'If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure `lua_ssl_trusted_certificate` in `kong.conf` to specify the CA (or server) certificate used by your Redis server. You may also need to configure `lua_ssl_verify_depth` accordingly.' type: boolean default: false username: description: 'Username to use for Redis connections. If undefined, ACL authentication won''t be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to `default`.' type: string default: null nullable: true x-referenceable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: true x-speakeasy-transform-from-api: jq: | if has("port") then .port |= if type == "number" then tostring else . end else . end x-speakeasy-transform-to-api: jq: | if has("port") then if (.port | type) == "string" and (.port | test("^[0-9]+$")) then .port |= tonumber else . end else . end strategy: description: The method Kong should use to cache tokens issued by the IdP. type: string default: memory enum: - memory - redis x-speakeasy-unknown-values: allow x-speakeasy-param-computed: true client: type: object properties: auth_method: description: 'The authentication method used in client requests to the IdP. Supported values are: `client_secret_basic` to send `client_id` and `client_secret` in the `Authorization: Basic` header, `client_secret_post` to send `client_id` and `client_secret` as part of the request body, `client_secret_jwt` to send a JWT signed with the `client_secret` using the client assertion as part of the body, `private_key_jwt` to send a JWT signed with a private key, or `none` to send no client authentication.' type: string default: client_secret_post enum: - client_secret_basic - client_secret_jwt - client_secret_post - none - private_key_jwt x-speakeasy-unknown-values: allow client_secret_jwt_alg: description: The algorithm to use with JWT when using `client_secret_jwt` authentication. type: string default: HS512 enum: - HS256 - HS512 x-speakeasy-unknown-values: allow http_proxy: description: The proxy to use when making HTTP requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false http_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `http_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false http_version: description: 'The HTTP version used for requests made by this plugin. Supported values: `1.1` for HTTP 1.1 and `1.0` for HTTP 1.0.' type: number x-speakeasy-param-computed: true https_proxy: description: The proxy to use when making HTTPS requests to the IdP. type: string default: null nullable: true x-speakeasy-param-computed: false https_proxy_authorization: description: The `Proxy-Authorization` header value to be used with `https_proxy`. type: string default: null nullable: true x-speakeasy-param-computed: false keep_alive: description: Whether to use keepalive connections to the IdP. type: boolean default: true no_proxy: description: A comma-separated list of hosts that should not be proxied. type: string default: null nullable: true x-speakeasy-param-computed: false private_key_jwt_alg: description: The algorithm to use when signing the JWT client assertion for `private_key_jwt` authentication. This field is ignored when `auth_method` is not `private_key_jwt`. type: string default: RS256 enum: - ES256 - ES256K - ES384 - ES512 - ESB256 - ESB320 - ESB384 - ESB512 - ESP256 - ESP384 - ESP512 - Ed25519 - Ed448 - EdDSA - PS256 - PS384 - PS512 - RS256 - RS384 - RS512 x-speakeasy-unknown-values: allow private_key_jwt_include_kid: description: Whether to include the configured Key ID as the `kid` header in the JWT client assertion for `private_key_jwt` authentication. This field is ignored when `auth_method` is not `private_key_jwt`. type: boolean default: true private_key_jwt_key: description: The Kong Keys entity reference used to sign the JWT client assertion for `private_key_jwt` authentication. This field is ignored when `auth_method` is not `private_key_jwt`. type: object default: null nullable: true properties: key_id: description: The Key ID. This maps to the `kid` field of the Kong Keys entity and is used as the JWT header `kid`. type: string key_set: description: The optional name of the Kong Key Set used to scope the key lookup. type: string default: null nullable: true x-speakeasy-param-computed: false required: - key_id x-speakeasy-param-computed: false ssl_verify: description: Whether to verify the certificate presented by the IdP when using HTTPS. type: boolean default: false timeout: description: Network I/O timeout for requests to the IdP in milliseconds. type: integer default: 10000 maximum: 2147483646 minimum: 0 x-speakeasy-param-computed: true oauth: type: object properties: audience: description: List of audiences passed to the IdP when obtaining a new token. type: array items: type: string default: [] client_id: description: The client ID for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false client_secret: description: The client secret for the application registration in the IdP. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false grant_type: description: The OAuth grant type to be used. type: string default: client_credentials enum: - client_credentials - password x-speakeasy-unknown-values: allow password: description: The password to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false scopes: description: List of scopes to request from the IdP when obtaining a new token. type: array items: type: string default: [] nullable: true token_endpoint: description: The token endpoint URI. type: string token_headers: description: Extra headers to be passed in the token endpoint request. type: object additionalProperties: type: string x-referenceable: true x-speakeasy-param-computed: true token_post_args: description: Extra post arguments to be passed in the token endpoint request. type: object additionalProperties: type: string x-referenceable: true x-speakeasy-param-computed: true username: description: The username to use if `config.oauth.grant_type` is set to `password`. type: string default: null nullable: true x-encrypted: true x-referenceable: true x-speakeasy-param-computed: false required: - token_endpoint x-speakeasy-param-computed: true required: - oauth consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false consumer_group: description: 'If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: upstream-oauth protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false required: - config x-speakeasy-entity-version: 1 x-supported-partials: - name: redis-ee paths: - config.cache.redis UpstreamTimeoutPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/UpstreamTimeoutPluginConfig' UpstreamTimeoutPluginConfig: x-speakeasy-entity: GatewayPluginUpstreamTimeout properties: config: type: object default: null nullable: true properties: connect_timeout: description: The timeout in milliseconds for establishing a connection to the upstream server. Must be an integer between 1 and 2^31-2. type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false read_timeout: description: The timeout in milliseconds between two successive read operations for transmitting a request to the upstream server. Must be an integer between 1 and 2^31-2. type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false send_timeout: description: The timeout in milliseconds between two successive write operations for transmitting a request to the upstream server. Must be an integer between 1 and 2^31-2. type: integer default: null maximum: 2147483646 minimum: 0 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: upstream-timeout protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 Vault: x-speakeasy-entity: GatewayVault description: 'Vault entities are used to configure different Vault connectors. Examples of Vaults are Environment Variables, Hashicorp Vault and AWS Secrets Manager. Configuring a Vault allows referencing the secrets with other entities. For example a certificate entity can store a reference to a certificate and key, stored in a vault, instead of storing the certificate and key within the entity. This allows a proper separation of secrets and configuration and prevents secret sprawl.' type: object properties: config: description: The configuration properties for the Vault which can be found on the vaults' documentation page. type: object additionalProperties: true nullable: true x-speakeasy-param-computed: true x-speakeasy-type-override: any created_at: description: Unix epoch when the resource was created. type: integer nullable: true description: description: The description of the Vault entity. type: string default: null nullable: true x-speakeasy-param-computed: false id: description: A string representing a UUID (universally unique identifier). type: string nullable: true name: description: 'The name of the Vault that''s going to be added. Currently, the Vault implementation must be installed in every Kong instance.' type: string prefix: description: The unique prefix (or identifier) for this Vault configuration. The prefix is used to load the right Vault configuration and implementation when referencing secrets with the other entities. type: string tags: description: An optional set of strings associated with the Vault for grouping and filtering. type: array items: description: A string representing a tag. type: string default: null nullable: true x-speakeasy-param-computed: false updated_at: description: Unix epoch when the resource was last updated. type: integer nullable: true example: config: prefix: ENV_PREFIX description: environment variable based vault id: 2747d1e5-8246-4f65-a939-b392f1ee17f8 name: env prefix: env tags: - foo - bar additionalProperties: false required: - name - prefix x-speakeasy-entity-version: 1 VaultAuthPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/VaultAuthPluginConfig' VaultAuthPluginConfig: x-speakeasy-entity: GatewayPluginVaultAuth properties: config: type: object default: null nullable: true properties: access_token_name: description: 'Describes an array of comma-separated parameter names where the plugin looks for an access token. The client must send the access token in one of those key names, and the plugin will try to read the credential from a header or the querystring parameter with the same name. The key names can only contain [a-z], [A-Z], [0-9], [_], and [-].' type: string default: access_token anonymous: description: 'An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request fails with an authentication failure `4xx`. Note that this value must refer to the consumer `id` or `username` attribute, and **not** its `custom_id`.' type: string default: null nullable: true x-speakeasy-param-computed: false hide_credentials: description: 'An optional boolean value telling the plugin to show or hide the credential from the upstream service. If `true`, the plugin will strip the credential from the request (i.e. the header or querystring containing the key) before proxying it.' type: boolean default: false run_on_preflight: description: 'A boolean value that indicates whether the plugin should run (and try to authenticate) on `OPTIONS` preflight requests. If set to `false`, then `OPTIONS` requests will always be allowed.' type: boolean default: true secret_token_name: description: 'Describes an array of comma-separated parameter names where the plugin looks for a secret token. The client must send the secret in one of those key names, and the plugin will try to read the credential from a header or the querystring parameter with the same name. The key names can only contain [a-z], [A-Z], [0-9], [_], and [-].' type: string default: secret_token tokens_in_body: description: 'If enabled, the plugin will read the request body (if said request has one and its MIME type is supported) and try to find the key in it. Supported MIME types are `application/www-form-urlencoded`, `application/json`, and `multipart/form-data`.' type: boolean default: false vault: description: A reference to an existing `vault` object within the database. `vault` entities define the connection and authentication parameters used to connect to a Vault HTTP(S) API. type: object default: null nullable: true properties: id: type: string x-foreign: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false name: const: vault-auth protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 WebsocketSizeLimitPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/WebsocketSizeLimitPluginConfig' WebsocketSizeLimitPluginConfig: x-speakeasy-entity: GatewayPluginWebsocketSizeLimit properties: config: type: object default: null nullable: true properties: client_max_payload: type: integer default: null maximum: 33554432 minimum: 1 nullable: true x-speakeasy-param-computed: false upstream_max_payload: type: integer default: null maximum: 33554432 minimum: 1 nullable: true x-speakeasy-param-computed: false x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: websocket-size-limit protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - ws - wss route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 WebsocketValidatorPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/WebsocketValidatorPluginConfig' WebsocketValidatorPluginConfig: x-speakeasy-entity: GatewayPluginWebsocketValidator properties: config: type: object default: null nullable: true properties: client: type: object default: null nullable: true properties: binary: type: object default: null nullable: true properties: schema: description: Schema used to validate upstream-originated binary frames. The semantics of this field depend on the validation type set by `config.upstream.binary.type`. type: string type: description: 'The corresponding validation library for `config.upstream.binary.schema`. Currently, only `draft4` is supported.' type: string enum: - draft4 required: - schema - type x-speakeasy-param-computed: false text: type: object default: null nullable: true properties: schema: description: Schema used to validate upstream-originated binary frames. The semantics of this field depend on the validation type set by `config.upstream.binary.type`. type: string type: description: 'The corresponding validation library for `config.upstream.binary.schema`. Currently, only `draft4` is supported.' type: string enum: - draft4 required: - schema - type x-speakeasy-param-computed: false x-speakeasy-param-computed: false upstream: type: object default: null nullable: true properties: binary: type: object default: null nullable: true properties: schema: description: Schema used to validate upstream-originated binary frames. The semantics of this field depend on the validation type set by `config.upstream.binary.type`. type: string type: description: 'The corresponding validation library for `config.upstream.binary.schema`. Currently, only `draft4` is supported.' type: string enum: - draft4 required: - schema - type x-speakeasy-param-computed: false text: type: object default: null nullable: true properties: schema: description: Schema used to validate upstream-originated binary frames. The semantics of this field depend on the validation type set by `config.upstream.binary.type`. type: string type: description: 'The corresponding validation library for `config.upstream.binary.schema`. Currently, only `draft4` is supported.' type: string enum: - draft4 required: - schema - type x-speakeasy-param-computed: false x-speakeasy-param-computed: false x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: websocket-validator protocols: description: 'A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support tcp and tls.' type: array items: enum: - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - ws - wss route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 XmlThreatProtectionPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/XmlThreatProtectionPluginConfig' XmlThreatProtectionPluginConfig: x-speakeasy-entity: GatewayPluginXmlThreatProtection properties: config: type: object default: null nullable: true properties: allow_dtd: description: Indicates whether an XML Document Type Definition (DTD) section is allowed. type: boolean default: false allowed_content_types: description: 'A list of Content-Type values with payloads that are allowed, but aren''t validated.' type: array items: type: string default: [] attribute: description: Maximum size of the attribute value. type: integer default: 1048576 bla_max_amplification: description: Sets the maximum allowed amplification. This protects against the Billion Laughs Attack. type: number default: 100 minimum: 1 bla_threshold: description: Sets the threshold after which the protection starts. This protects against the Billion Laughs Attack. type: integer default: 8388608 minimum: 1024 buffer: description: Maximum size of the unparsed buffer (see below). type: integer default: 1048576 checked_content_types: description: A list of Content-Type values with payloads that must be validated. type: array items: type: string default: - application/xml comment: description: Maximum size of comments. type: integer default: 1024 document: description: Maximum size of the entire document. type: integer default: 10485760 entity: description: Maximum size of entity values in EntityDecl. type: integer default: 1024 entityname: description: Maximum size of entity names in EntityDecl. type: integer default: 1024 entityproperty: description: 'Maximum size of systemId, publicId, or notationName in EntityDecl.' type: integer default: 1024 localname: description: Maximum size of the localname. This applies to tags and attributes. type: integer default: 1024 max_attributes: description: 'Maximum number of attributes allowed on a tag, including default ones. Note: If namespace-aware parsing is disabled, then the namespaces definitions are counted as attributes.' type: integer default: 100 max_children: description: 'Maximum number of children allowed (Element, Text, Comment, ProcessingInstruction, CDATASection). Note: Adjacent text and CDATA sections are counted as one. For example, text-cdata-text-cdata is one child.' type: integer default: 100 max_depth: description: Maximum depth of tags. Child elements such as Text or Comments are not counted as another level. type: integer default: 50 max_namespaces: description: Maximum number of namespaces defined on a tag. This value is required if parsing is namespace-aware. type: integer default: 20 namespace_aware: description: 'If not parsing namespace aware, all prefixes and namespace attributes will be counted as regular attributes and element names, and validated as such.' type: boolean default: true namespaceuri: description: Maximum size of the namespace URI. This value is required if parsing is namespace-aware. type: integer default: 1024 pidata: description: Maximum size of processing instruction data. type: integer default: 1024 pitarget: description: Maximum size of processing instruction targets. type: integer default: 1024 prefix: description: Maximum size of the prefix. This applies to tags and attributes. This value is required if parsing is namespace-aware. type: integer default: 1024 text: description: Maximum text inside tags (counted over all adjacent text/CDATA elements combined). type: integer default: 1048576 x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: xml-threat-protection protocols: description: A set of strings representing HTTP protocols. type: array items: enum: - grpc - grpcs - http - https type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 ZipkinPlugin: allOf: - $ref: '#/components/schemas/PluginBase' - $ref: '#/components/schemas/ZipkinPluginConfig' ZipkinPluginConfig: x-speakeasy-entity: GatewayPluginZipkin properties: config: type: object default: null nullable: true properties: connect_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 2000 maximum: 2147483646 minimum: 0 default_header_type: description: 'Allows specifying the type of header to be added to requests with no pre-existing tracing headers and when `config.header_type` is set to `"preserve"`. When `header_type` is set to any other value, `default_header_type` is ignored.' type: string default: b3 enum: - aws - b3 - b3-single - datadog - gcp - instana - jaeger - ot - w3c x-speakeasy-unknown-values: allow default_service_name: description: Set a default service name to override `unknown-service-name` in the Zipkin spans. type: string default: null nullable: true x-speakeasy-param-computed: false header_type: description: All HTTP requests going through the plugin are tagged with a tracing HTTP request. This property codifies what kind of tracing header the plugin expects on incoming requests type: string default: preserve enum: - aws - b3 - b3-single - datadog - gcp - ignore - instana - jaeger - ot - preserve - w3c x-speakeasy-unknown-values: allow http_endpoint: description: 'A string representing a URL, such as https://example.com/path/to/resource?q=search.' type: string default: null nullable: true x-speakeasy-param-computed: false http_response_header_for_traceid: type: string default: null nullable: true x-speakeasy-param-computed: false http_span_name: description: Specify whether to include the HTTP path in the span name. type: string default: method enum: - method - method_path x-speakeasy-unknown-values: allow include_credential: description: Specify whether the credential of the currently authenticated consumer should be included in metadata sent to the Zipkin server. type: boolean default: true local_service_name: description: The name of the service as displayed in Zipkin. type: string default: kong phase_duration_flavor: description: Specify whether to include the duration of each phase as an annotation or a tag. type: string default: annotations enum: - annotations - tags x-speakeasy-unknown-values: allow propagation: type: object default: default_format: b3 properties: clear: description: 'Header names to clear after context extraction. This allows to extract the context from a certain header and then remove it from the request, useful when extraction and injection are performed on different header formats and the original header should not be sent to the upstream. If left empty, no headers are cleared.' type: array items: type: string default: null nullable: true x-speakeasy-param-computed: false default_format: description: 'The default header format to use when extractors did not match any format in the incoming headers and `inject` is configured with the value: `preserve`. This can happen when no tracing header was found in the request, or the incoming tracing header formats were not included in `extract`.' type: string default: b3 enum: - aws - b3 - b3-single - datadog - gcp - instana - jaeger - ot - w3c x-speakeasy-unknown-values: allow extract: description: 'Header formats used to extract tracing context from incoming requests. If multiple values are specified, the first one found will be used for extraction. If left empty, Kong will not extract any tracing context information from incoming requests and generate a trace with no parent and a new trace ID.' type: array items: enum: - aws - b3 - datadog - gcp - instana - jaeger - ot - w3c type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false inject: description: 'Header formats used to inject tracing context. The value `preserve` will use the same header format as the incoming request. If multiple values are specified, all of them will be used during injection. If left empty, Kong will not inject any tracing context information in outgoing requests.' type: array items: enum: - aws - b3 - b3-single - datadog - gcp - instana - jaeger - ot - preserve - w3c type: string x-speakeasy-unknown-values: allow default: null nullable: true x-speakeasy-param-computed: false queue: type: object default: null nullable: true properties: breaker_cooldown: description: Time in seconds the circuit breaker stays open (fast-shedding entries) before it allows a single batch through to probe whether the destination has recovered. type: number default: 60 maximum: 1000000 minimum: 0 concurrency_limit: description: The number of of queue delivery timers. -1 indicates unlimited. type: integer default: 1 enum: - -1 - 1 x-speakeasy-unknown-values: allow failure_threshold: description: Number of consecutive failed batches after which the queue opens its circuit breaker and drops entries instead of retrying. 0 disables the circuit breaker. type: integer default: 0 maximum: 1000000 minimum: 0 initial_retry_delay: description: Time in seconds before the initial retry is made for a failing batch. type: number maximum: 1000000 minimum: 0.001 x-speakeasy-param-computed: true max_batch_size: description: Maximum number of entries that can be processed at a time. type: integer default: 1 maximum: 1000000 minimum: 1 max_bytes: description: 'Maximum number of bytes that can be waiting on a queue, requires string content.' type: integer default: null nullable: true x-speakeasy-param-computed: false max_coalescing_delay: description: Maximum number of (fractional) seconds to elapse after the first entry was queued before the queue starts calling the handler. type: number default: 1 maximum: 3600 minimum: 0 max_entries: description: Maximum number of entries that can be waiting on the queue. type: integer default: 10000 maximum: 1000000 minimum: 1 max_retry_delay: description: 'Maximum time in seconds between retries, caps exponential backoff.' type: number default: 60 maximum: 1000000 minimum: 0.001 max_retry_time: description: Time in seconds before the queue gives up calling a failed handler for a batch. type: number default: 60 x-speakeasy-param-computed: false read_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 5000 maximum: 2147483646 minimum: 0 sample_ratio: description: 'How often to sample requests that do not contain trace IDs. Set to `0` to turn sampling off, or to `1` to sample **all** requests. ' type: number maximum: 1 minimum: 0 x-speakeasy-param-computed: true send_timeout: description: An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. type: integer default: 5000 maximum: 2147483646 minimum: 0 static_tags: description: The tags specified on this property will be added to the generated request traces. type: array items: properties: name: type: string value: type: string required: - name - value type: object default: null nullable: true x-speakeasy-param-computed: false tags_header: description: The Zipkin plugin will add extra headers to the tags associated with any HTTP requests that come with a header named as configured by this property. type: string default: Zipkin-Tags traceid_byte_count: description: The length in bytes of each request's Trace ID. type: integer default: 16 enum: - 8 - 16 x-speakeasy-unknown-values: allow x-speakeasy-param-computed: false consumer: description: 'If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false name: const: zipkin protocols: description: A set of strings representing protocols. type: array items: description: 'A string representing a protocol, such as HTTP or HTTPS.' enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss type: string x-speakeasy-unknown-values: allow format: set default: - grpc - grpcs - http - https route: description: 'If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false service: description: 'If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.' type: object default: null additionalProperties: false nullable: true properties: id: type: string x-speakeasy-param-computed: false x-speakeasy-entity-version: 1 Protocols: description: 'A string representing a protocol, such as HTTP or HTTPS.' type: string enum: - grpc - grpcs - http - https - tcp - tls - tls_passthrough - udp - ws - wss x-speakeasy-unknown-values: allow WorkspaceFilterParameters: type: object properties: name: description: 'Filter using **one** of the following operators: `eq`, `contains`' type: object additionalProperties: false properties: eq: description: The field exactly matches the provided value. type: string contains: description: The field contains the provided value. type: string additionalProperties: false title: WorkspaceFilterParameters CreatePortalCustomDomainSSL: type: object properties: domain_verification_method: type: string enum: - custom_certificate - http x-speakeasy-unknown-values: allow custom_certificate: description: Custom certificate to be used for the SSL termination. Only used when domain_verification_method == "custom_certificate" type: string nullable: false custom_private_key: description: Custom certificate private key to be used for the SSL termination. Only used when domain_verification_method == "custom_certificate" type: string nullable: false skip_ca_check: description: | Advanced option. If true, the custom certificate is served exactly as provided, without attempting to bundle against a public trust store. Required for certificates issued by an internal/private CA. type: boolean nullable: false additionalProperties: false PortalFormResponse: description: 'A custom form configured for a developer portal, including its fields.' type: object discriminator: propertyName: type mapping: developer_registration: '#/components/schemas/PortalFormDeveloperRegistrationResponse' api_registration: '#/components/schemas/PortalFormApiRegistrationResponse' oneOf: - $ref: '#/components/schemas/PortalFormDeveloperRegistrationResponse' - $ref: '#/components/schemas/PortalFormApiRegistrationResponse' PortalFormDeveloperRegistrationResponse: description: The form shown in the portal's developer signup flow. type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' type: type: string const: developer_registration name: $ref: '#/components/schemas/CustomFormName' status: $ref: '#/components/schemas/CustomFormStatus' fields: description: | The form's fields, in the order they're displayed. Includes the built-in `full_name` and `email` fields, plus exactly one `submit` field. type: array items: $ref: '#/components/schemas/CustomFormField' maxItems: 20 minItems: 1 additionalProperties: false required: - id - created_at - updated_at - type - name - status - fields x-speakeasy-name-override: developer_registration PortalFormApiRegistrationResponse: description: A form shown to developers when they request access to a specific API. type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' type: type: string const: api_registration name: $ref: '#/components/schemas/CustomFormName' status: $ref: '#/components/schemas/CustomFormStatus' fields: description: | The form's fields, in the order they're displayed. Includes exactly one `submit` field and a field named `api_id` of type `text`. type: array items: $ref: '#/components/schemas/CustomFormField' maxItems: 20 minItems: 1 additionalProperties: false required: - id - created_at - updated_at - type - name - status - fields x-speakeasy-name-override: api_registration PortalAppearanceImageDataUri: description: 'must be a data URL with base64 image data, e.g., data:image/jpeg;base64,<BASE64_IMAGE_DATA>' type: string format: uri example: 'data:image/png,YW5faW1hZ2VfZmlsZQ==' pattern: '^data:image/(png|jpeg|x-icon|ico|icon|vnd.microsoft.icon|gif)(;base64)?,(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$' title: PortalAppearanceImageDataUri x-validation-message: 'must be a data URL with base64 image data, e.g., data:image/jpeg;base64,<BASE64_IMAGE_DATA>' CreateApiKeyPayload: type: object properties: type: type: string default: legacy enum: - new - legacy x-speakeasy-unknown-values: allow secret: description: secret to be created. Must be unique within the realm. If not specified a secret will be automatically generated. type: string x-speakeasy-param-computed: true x-speakeasy-plan-validators: CentralizedConsumerKeyValidator tags: type: array items: type: string uniqueItems: true x-speakeasy-param-computed: true example: type: new consumer_id: ...consumer_id... realm_id: ...realm_id... additionalProperties: false required: - type EventGatewayConsumePolicySchemaValidationTFOnly: description: A policy associated with an Event Gateway. type: object properties: type: description: The type name of the policy. type: string maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' id: description: The unique identifier of the policy. type: string format: uuid x-speakeasy-param-suppress-computed-diff: true config: description: The configuration of the policy. type: object created_at: $ref: '#/components/schemas/CreatedAt' parent_policy_id: description: 'The unique identifier of the parent policy, if any.' type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false updated_at: $ref: '#/components/schemas/UpdatedAt' condition: description: A string containing the boolean expression that determines whether the policy is applied. type: string default: '' maxLength: 1000 x-expression: type: boolean fields: [] required: - type - id - created_at - updated_at - config EventGatewayProducePolicySchemaValidationTFOnly: description: A policy associated with an Event Gateway. type: object properties: type: description: The type name of the policy. type: string maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' id: description: The unique identifier of the policy. type: string format: uuid x-speakeasy-param-suppress-computed-diff: true config: description: The configuration of the policy. type: object created_at: $ref: '#/components/schemas/CreatedAt' parent_policy_id: description: 'The unique identifier of the parent policy, if any.' type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false updated_at: $ref: '#/components/schemas/UpdatedAt' condition: description: A string containing the boolean expression that determines whether the policy is applied. type: string default: '' maxLength: 1000 x-expression: type: boolean fields: [] required: - type - id - created_at - updated_at - config EventGatewayConsumePolicyTranscodeTFOnly: description: A policy associated with an Event Gateway. type: object properties: type: description: The type name of the policy. type: string maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' id: description: The unique identifier of the policy. type: string format: uuid x-speakeasy-param-suppress-computed-diff: true config: description: The configuration of the policy. type: object created_at: $ref: '#/components/schemas/CreatedAt' parent_policy_id: description: 'The unique identifier of the parent policy, if any.' type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false updated_at: $ref: '#/components/schemas/UpdatedAt' condition: description: A string containing the boolean expression that determines whether the policy is applied. type: string default: '' maxLength: 1000 x-expression: type: boolean fields: [] required: - type - id - created_at - updated_at - config EventGatewayProducePolicyTranscodeTFOnly: description: A policy associated with an Event Gateway. type: object properties: type: description: The type name of the policy. type: string maxLength: 255 minLength: 1 name: description: A unique user-defined name of the policy. type: string maxLength: 255 nullable: false x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$' description: description: A human-readable description of the policy. type: string default: '' maxLength: 512 enabled: description: Whether the policy is enabled. type: boolean default: true labels: $ref: '#/components/schemas/Labels' id: description: The unique identifier of the policy. type: string format: uuid x-speakeasy-param-suppress-computed-diff: true config: description: The configuration of the policy. type: object created_at: $ref: '#/components/schemas/CreatedAt' parent_policy_id: description: 'The unique identifier of the parent policy, if any.' type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false updated_at: $ref: '#/components/schemas/UpdatedAt' condition: description: A string containing the boolean expression that determines whether the policy is applied. type: string default: '' maxLength: 1000 x-expression: type: boolean fields: [] required: - type - id - created_at - updated_at - config DcrProviderResponseUnion: x-speakeasy-entity: DcrProvider description: A response containing a single DCR provider object. Sensitive fields will be removed from the response. type: object discriminator: propertyName: provider_type mapping: auth0: '#/components/schemas/DcrProviderResponseAuth0' azureAd: '#/components/schemas/DcrProviderResponseAzureAd' curity: '#/components/schemas/DcrProviderResponseCurity' okta: '#/components/schemas/DcrProviderResponseOkta' kongIdentity: '#/components/schemas/DcrProviderResponseKongIdentity' http: '#/components/schemas/DcrProviderResponseHttp' oneOf: - $ref: '#/components/schemas/DcrProviderResponseAuth0' - $ref: '#/components/schemas/DcrProviderResponseAzureAd' - $ref: '#/components/schemas/DcrProviderResponseCurity' - $ref: '#/components/schemas/DcrProviderResponseOkta' - $ref: '#/components/schemas/DcrProviderResponseKongIdentity' - $ref: '#/components/schemas/DcrProviderResponseHttp' DcrProviderResponseAuth0: description: A DCR provider for Auth0 -- only properties not included in DcrProviderBase type: object properties: id: $ref: '#/components/schemas/UUID' name: $ref: '#/components/schemas/DcrProviderName' display_name: allOf: - $ref: '#/components/schemas/DcrProviderDisplayName' x-speakeasy-terraform-ignore: true provider_type: description: 'The type of DCR provider. Can be one of the following - auth0, azureAd, curity, okta, http' type: string const: auth0 issuer: description: The issuer of the DCR provider. type: string format: url maxLength: 256 active: description: At least one active auth strategy is using this DCR provider. type: boolean readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' dcr_config: $ref: '#/components/schemas/DcrConfigAuth0InResponse' additionalProperties: false required: - id - name - provider_type - issuer - active - created_at - updated_at - dcr_config title: DCR provider - Auth0 x-speakeasy-name-override: auth0 DcrProviderResponseAzureAd: description: A DCR provider for Azure AD -- only properties not included in DcrProviderBase type: object properties: id: $ref: '#/components/schemas/UUID' name: $ref: '#/components/schemas/DcrProviderName' display_name: allOf: - $ref: '#/components/schemas/DcrProviderDisplayName' x-speakeasy-terraform-ignore: true provider_type: description: 'The type of DCR provider. Can be one of the following - auth0, azureAd, curity, okta, http' type: string const: azureAd issuer: description: The issuer of the DCR provider. type: string format: url maxLength: 256 active: description: At least one active auth strategy is using this DCR provider. type: boolean readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' dcr_config: $ref: '#/components/schemas/DcrConfigAzureAdInResponse' additionalProperties: false required: - id - name - provider_type - issuer - active - created_at - updated_at - dcr_config title: DCR provider - Azure AD x-speakeasy-name-override: azureAd DcrProviderResponseCurity: description: A DCR provider for Curity -- only properties not included in DcrProviderBase type: object properties: id: $ref: '#/components/schemas/UUID' name: $ref: '#/components/schemas/DcrProviderName' display_name: allOf: - $ref: '#/components/schemas/DcrProviderDisplayName' x-speakeasy-terraform-ignore: true provider_type: description: 'The type of DCR provider. Can be one of the following - auth0, azureAd, curity, okta, http' type: string const: curity issuer: description: The issuer of the DCR provider. type: string format: url maxLength: 256 active: description: At least one active auth strategy is using this DCR provider. type: boolean readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' dcr_config: $ref: '#/components/schemas/DcrConfigCurityInResponse' additionalProperties: false required: - id - name - provider_type - issuer - active - created_at - updated_at - dcr_config title: DCR provider - Curity x-speakeasy-name-override: curity DcrProviderResponseOkta: description: A DCR provider for Okta -- only properties not included in DcrProviderBase type: object properties: id: $ref: '#/components/schemas/UUID' name: $ref: '#/components/schemas/DcrProviderName' display_name: allOf: - $ref: '#/components/schemas/DcrProviderDisplayName' x-speakeasy-terraform-ignore: true provider_type: description: 'The type of DCR provider. Can be one of the following - auth0, azureAd, curity, okta, http' type: string const: okta issuer: description: The issuer of the DCR provider. type: string format: url maxLength: 256 active: description: At least one active auth strategy is using this DCR provider. type: boolean readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' dcr_config: $ref: '#/components/schemas/DcrConfigOktaInResponse' additionalProperties: false required: - id - name - provider_type - issuer - active - created_at - updated_at - dcr_config title: DCR provider - OKTA x-speakeasy-name-override: okta DcrProviderResponseKongIdentity: description: A DCR provider for Kong Identity -- only properties not included in DcrProviderBase type: object properties: id: $ref: '#/components/schemas/UUID' name: $ref: '#/components/schemas/DcrProviderName' display_name: allOf: - $ref: '#/components/schemas/DcrProviderDisplayName' x-speakeasy-terraform-ignore: true provider_type: description: 'The type of DCR provider. Can be one of the following - auth0, azureAd, curity, okta, http' type: string const: kongIdentity issuer: description: The issuer of the DCR provider. type: string format: url maxLength: 256 active: description: At least one active auth strategy is using this DCR provider. type: boolean readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' dcr_config: $ref: '#/components/schemas/DcrConfigKongIdentityInResponse' additionalProperties: false required: - id - name - provider_type - issuer - active - created_at - updated_at - dcr_config title: DCR provider - Kong Identity x-speakeasy-name-override: kongIdentity DcrProviderResponseHttp: description: A DCR provider for HTTP -- only properties not included in DcrProviderBase type: object properties: id: $ref: '#/components/schemas/UUID' name: $ref: '#/components/schemas/DcrProviderName' display_name: allOf: - $ref: '#/components/schemas/DcrProviderDisplayName' x-speakeasy-terraform-ignore: true provider_type: description: 'The type of DCR provider. Can be one of the following - auth0, azureAd, curity, okta, http' type: string const: http issuer: description: The issuer of the DCR provider. type: string format: url maxLength: 256 active: description: At least one active auth strategy is using this DCR provider. type: boolean readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/Labels' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' dcr_config: $ref: '#/components/schemas/DcrConfigHttpInResponse' additionalProperties: false required: - id - name - provider_type - issuer - active - created_at - updated_at - dcr_config title: DCR provider - HTTP x-speakeasy-name-override: http UpdateDcrProviderRequestAuth0: type: object properties: name: $ref: '#/components/schemas/DcrProviderName' display_name: $ref: '#/components/schemas/DcrProviderDisplayName' issuer: type: string format: url default: null maxLength: 256 nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/LabelsUpdate' provider_type: type: string enum: - auth0 dcr_config: $ref: '#/components/schemas/UpdateDcrConfigAuth0InRequest' additionalProperties: false required: - provider_type x-speakeasy-transform-to-api: jq: del(.provider_type) UpdateDcrProviderRequestAzureAd: type: object properties: name: $ref: '#/components/schemas/DcrProviderName' display_name: $ref: '#/components/schemas/DcrProviderDisplayName' issuer: type: string format: url default: null maxLength: 256 nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/LabelsUpdate' provider_type: type: string enum: - azureAd dcr_config: $ref: '#/components/schemas/UpdateDcrConfigAzureAdInRequest' additionalProperties: false required: - provider_type x-speakeasy-transform-to-api: jq: del(.provider_type) UpdateDcrProviderRequestCurity: type: object properties: name: $ref: '#/components/schemas/DcrProviderName' display_name: $ref: '#/components/schemas/DcrProviderDisplayName' issuer: type: string format: url default: null maxLength: 256 nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/LabelsUpdate' provider_type: type: string enum: - curity dcr_config: $ref: '#/components/schemas/UpdateDcrConfigCurityInRequest' additionalProperties: false required: - provider_type x-speakeasy-transform-to-api: jq: del(.provider_type) UpdateDcrProviderRequestOkta: type: object properties: name: $ref: '#/components/schemas/DcrProviderName' display_name: $ref: '#/components/schemas/DcrProviderDisplayName' issuer: type: string format: url default: null maxLength: 256 nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/LabelsUpdate' provider_type: type: string enum: - okta dcr_config: $ref: '#/components/schemas/UpdateDcrConfigOktaInRequest' additionalProperties: false required: - provider_type x-speakeasy-transform-to-api: jq: del(.provider_type) UpdateDcrProviderRequestHttp: type: object properties: name: $ref: '#/components/schemas/DcrProviderName' display_name: $ref: '#/components/schemas/DcrProviderDisplayName' issuer: type: string format: url default: null maxLength: 256 nullable: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/LabelsUpdate' provider_type: type: string enum: - http dcr_config: $ref: '#/components/schemas/UpdateDcrConfigHttpInRequest' additionalProperties: false required: - provider_type x-speakeasy-transform-to-api: jq: del(.provider_type) requestBodies: GroupMembershipAdd: content: application/json: schema: $ref: '#/components/schemas/GroupMembership' description: Request body for adding a list of child control planes to a control plane group membership. GroupMembershipRemove: content: application/json: schema: $ref: '#/components/schemas/GroupMembership' description: Request body for removing a list of child control planes from a control plane group membership. CreateAPIProductRequest: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAPIProductDTO' UpdateAPIProductRequest: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAPIProductDTO' CreateAPIProductVersionRequest: x-speakeasy-entity: APIProductVersion required: true content: application/json: schema: $ref: '#/components/schemas/CreateAPIProductVersionDTO' CreateAPIProductVersionSpecRequest: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAPIProductVersionSpecDTO' CreateAPIProductDocumentRequest: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAPIProductDocumentDTO' UpdateAPIProductVersionRequest: x-speakeasy-entity: APIProductVersion required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAPIProductVersionDTO' UpdateAPIProductDocumentRequest: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAPIProductDocumentDTO' UpdateAPIProductVersionSpecRequest: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateAPIProductVersionSpecDTO' CreateDcrProvider: required: true content: application/json: schema: $ref: '#/components/schemas/CreateDcrProviderRequest' UpdateDcrProvider: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateDcrProviderRequest' CreateAppAuthStrategy: required: true content: application/json: schema: $ref: '#/components/schemas/CreateAppAuthStrategyRequest' CreateTeam: description: |- The request schema for the create team request. If you pass the same `name` and `description` of an existing team in the request, a team with the same `name` and `description` will be created. The two teams will have different `team_id` values to differentiate them. content: application/json: schema: x-speakeasy-entity: Team type: object properties: name: description: The name of the team. type: string example: IDM - Developers maxLength: 250 minLength: 1 pattern: '^[\w \W]+$' writeOnly: true description: description: The description of the team. type: string example: The Identity Management (IDM) team. default: null maxLength: 250 minLength: 1 nullable: true writeOnly: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/Labels' konnect_managed: $ref: '#/components/schemas/KonnectManaged' required: - name UpdateTeam: description: The request schema for the update team request. content: application/json: schema: x-speakeasy-entity: Team type: object properties: name: description: The name of the team. type: string example: IDM - Developers default: null maxLength: 250 minLength: 1 nullable: true pattern: '^[\w \W]+$' writeOnly: true x-speakeasy-param-computed: false description: description: The description of the team. type: string example: The Identity Management (IDM) API team. default: null maxLength: 250 minLength: 1 nullable: true writeOnly: true x-speakeasy-param-computed: false labels: $ref: '#/components/schemas/LabelsUpdate' konnect_managed: $ref: '#/components/schemas/KonnectManaged' AddUserToTeam: description: The request schema for adding a user to a team. content: application/json: schema: type: object properties: id: description: The user ID for the user being added to a team. type: string format: uuid example: df120cb4-f60b-47bc-a2f8-6a28e6a3c63b writeOnly: true x-speakeasy-name-override: user_id required: - id CreateIdpTeamGroupMappingRequest: description: Request to create an IDP team group mapping. required: true content: application/json: schema: type: object properties: team_id: description: The Konnect team ID to associate with the identity provider group. type: string format: uuid example: 6801e673-cc10-498a-94cd-4271de07a0d3 group: description: The identity provider group name. Group names are case sensitive. type: string example: Tech Leads required: - team_id - group AssignRole: content: application/json: schema: description: An assigned role is a role that has been assigned to a user or team. Exactly one of `entity_id` or `entity_ids` must be provided. type: object properties: role_name: description: The desired role. type: string example: Viewer enum: - Admin - Appearance Maintainer - Application Registration - Certificate Admin - Cloud Gateway Cluster Admin - Cloud Gateway Cluster Viewer - Consumer Admin - Connector - Creator - Debug Session Creator - Deployer - Discovery Admin - Discovery Viewer - Editor - Gateway Service Admin - Integration Admin - Integration Viewer - Key Admin - Maintainer - Network Admin - Network Creator - Network Viewer - Plugin Admin - Plugins Admin - Product Publisher - Publisher - Route Admin - SNI Admin - Scorecard Admin - Scorecard Viewer - Service Admin - Service Creator - Service Viewer - Upstream Admin - Vault Admin - Viewer - Registration Approver - Content Editor - Add On Admin - Add On Viewer x-speakeasy-unknown-values: allow entity_id: description: The ID of the entity. Mutually exclusive with `entity_ids`. type: string format: uuid example: e67490ce-44dc-4cbd-b65e-b52c746fc26a deprecated: true x-speakeasy-conflicts-with: - entity_ids x-speakeasy-deprecation-message: Use entity_ids instead. entity_id is deprecated and will be removed in a future release. x-speakeasy-param-computed: true entity_ids: $ref: '#/components/schemas/EntityIds' entity_type_name: description: The type of entity. type: string example: Control Planes enum: - Add Ons - APIs - API Products - Application Auth Strategies - Audit Logs - Control Planes - Dashboards - DCR Providers - Mesh Control Planes - Networks - Portals - Reports - Service Hub - Auth Servers x-speakeasy-unknown-values: allow entity_region: description: Region of the team. type: string example: eu enum: - us - eu - au - me - in - sg - '*' x-speakeasy-unknown-values: allow description: The request schema for assigning a role. CreateSystemAccount: content: application/json: schema: x-speakeasy-entity: SystemAccount type: object properties: name: description: Name of the system account. type: string description: description: Description of the system account. Useful when the system account name is not sufficient to differentiate one system account from another. type: string konnect_managed: description: The system account is managed by Konnect (true/false). type: boolean default: null nullable: true x-speakeasy-param-computed: false required: - name - description description: The request schema to create a system account. UpdateSystemAccount: content: application/json: schema: x-speakeasy-entity: SystemAccount type: object properties: name: description: Name of the system account. type: string default: null nullable: true x-speakeasy-param-computed: false description: description: Description of the system account. type: string default: null nullable: true x-speakeasy-param-computed: false description: The request schema for the update system account request. UpdateSystemAccountAccessToken: content: application/json: schema: x-speakeasy-entity: SystemAccountAccessToken type: object properties: name: description: Name of the system account access token. type: string required: - name CreateSystemAccountAccessToken: content: application/json: schema: x-speakeasy-entity: SystemAccountAccessToken type: object properties: name: type: string expires_at: type: string format: date-time x-speakeasy-terraform-custom-type: imports: - github.com/Kong/shared-speakeasy/customtypes/timetypes schemaType: 'timetypes.RFC3339PreciseToSecondType{}' valueType: timetypes.RFC3339PreciseToSecond required: - name - expires_at description: The request body to create a system account access token. AddSystemAccountToTeam: content: application/json: schema: x-speakeasy-entity: SystemAccountTeam type: object properties: id: description: ID of the system account. type: string format: uuid x-speakeasy-name-override: account_id description: The request schema for adding a system account to a team. UpdateAuthenticationSettings: description: The request schema to update an organization's authentication settings. content: application/json: schema: type: object properties: basic_auth_enabled: description: The organization has basic auth enabled. type: boolean example: true default: null nullable: true x-speakeasy-param-computed: false oidc_auth_enabled: description: The organization has OIDC disabled. type: boolean example: false default: null nullable: true x-speakeasy-param-computed: false saml_auth_enabled: description: The organization has SAML disabled. type: boolean example: false default: null nullable: true x-speakeasy-param-computed: false idp_mapping_enabled: description: Whether IdP groups determine the Konnect teams a user has. type: boolean example: true default: null nullable: true x-speakeasy-param-computed: false konnect_mapping_enabled: description: Whether a Konnect Identity Admin assigns teams to a user. type: boolean example: false default: null nullable: true x-speakeasy-param-computed: false CreateIdentityProviderRequest: description: | An object representing the configuration for creating a new identity provider. This configuration may pertain to either an OIDC or a SAML identity provider. required: true content: application/json: schema: $ref: '#/components/schemas/CreateIdentityProvider' UpdateIdentityProviderRequest: description: | An object representing the configuration for updating an identity provider. This configuration may pertain to either an OIDC or a SAML identity provider. required: true content: application/json: schema: $ref: '#/components/schemas/UpdateIdentityProvider' UpdateAuditLogWebhook: description: The request schema to modify an audit log webhook. content: application/json: schema: x-speakeasy-entity: AuditLog type: object properties: endpoint: description: The endpoint that will receive audit log messages. type: string example: 'https://example.com/audit-logs' default: null nullable: true x-speakeasy-param-computed: false authorization: description: The value to include in the `Authorization` header when sending audit logs to the webhook. type: string example: Bearer sometoken default: null nullable: true x-speakeasy-param-computed: false enabled: description: Indicates if the data should be sent to the webhook. type: boolean example: true default: false log_format: $ref: '#/components/schemas/LogFormat' skip_ssl_verification: description: |- Indicates if the SSL certificate verification of the host endpoint should be skipped when delivering payloads. We strongly recommend not setting this to 'true' as you are subject to man-in-the-middle and other attacks. This option should be considered only for self-signed SSL certificates used in a non-production environment. type: boolean example: false default: false CreateAuditLogDestination: description: The request schema to create an audit log destination. content: application/json: schema: x-speakeasy-entity: AuditLogDestination type: object properties: name: description: The name of the audit log destination. type: string example: My Destination endpoint: description: The endpoint that will receive audit log messages. type: string example: 'https://example.com/audit-logs' authorization: description: The value to include in the `Authorization` header when sending audit logs to the webhook. type: string example: Bearer sometoken writeOnly: true log_format: $ref: '#/components/schemas/LogFormat' skip_ssl_verification: description: |- Indicates if the SSL certificate verification of the host endpoint should be skipped when delivering payloads. We strongly recommend not setting this to 'true' as you are subject to man-in-the-middle and other attacks. This option should be considered only for self-signed SSL certificates used in a non-production environment. type: boolean example: false default: false required: - name - endpoint - log_format - authorization UpdateAuditLogDestination: description: The request schema to modify an audit log destination. content: application/json: schema: type: object properties: name: description: The name of the audit log destination. type: string example: My Destination default: null nullable: true x-speakeasy-param-computed: false endpoint: description: The endpoint that will receive audit log messages. type: string example: 'https://example.com/audit-logs' default: null nullable: true x-speakeasy-param-computed: false authorization: description: The value to include in the `Authorization` header when sending audit logs to the webhook. type: string example: Bearer sometoken default: null nullable: true writeOnly: true x-speakeasy-param-computed: false log_format: $ref: '#/components/schemas/LogFormat' skip_ssl_verification: description: |- Indicates if the SSL certificate verification of the host endpoint should be skipped when delivering payloads. We strongly recommend not setting this to 'true' as you are subject to man-in-the-middle and other attacks. This option should be considered only for self-signed SSL certificates used in a non-production environment. type: boolean example: false default: false UpdateConsumer: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateConsumerPayload' CreateApiKey: required: true content: application/json: schema: $ref: '#/components/schemas/CreateApiKeyPayload' UpdateConsumerRealm: required: true content: application/json: schema: $ref: '#/components/schemas/ConsumerRealmUpdateRequest' CreateConsumerRealm: required: true content: application/json: schema: $ref: '#/components/schemas/ConsumerRealmCreateRequest' CreateConsumer: required: true content: application/json: schema: $ref: '#/components/schemas/ConsumerCreateRequest' ReplaceCMEK: description: CMEK to be replaced required: true content: application/json: schema: type: object properties: key_arn: $ref: '#/components/schemas/KMSARN' name: $ref: '#/components/schemas/CMEKName' description: $ref: '#/components/schemas/CMEKDescription' required: - key_arn - name CreateCatalogServiceRequest: required: true content: application/json: schema: $ref: '#/components/schemas/CreateCatalogService' UpdateCatalogServiceRequest: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateCatalogService' CreateIntegrationInstanceRequest: required: true content: application/json: schema: $ref: '#/components/schemas/CreateIntegrationInstance' UpdateIntegrationInstanceRequest: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateIntegrationInstance' CreateIntegrationInstanceAuthCredentialRequest: required: true content: application/json: schema: $ref: '#/components/schemas/CreateIntegrationInstanceAuthCredential' UpsertIntegrationInstanceAuthConfigRequest: required: true content: application/json: schema: $ref: '#/components/schemas/UpsertIntegrationInstanceAuthConfig' V2CreatePortal: description: Create a portal. required: true content: application/json: schema: $ref: '#/components/schemas/V2CreatePortalRequest' V2UpdatePortal: description: Update a portal's settings. required: true content: application/json: schema: $ref: '#/components/schemas/V2UpdatePortalRequest' V2ReplacePortalProductVersion: required: true content: application/json: schema: $ref: '#/components/schemas/V2ReplacePortalProductVersionPayload' V2UpdatePortalAppearance: description: Update a portal's appearance settings required: true content: application/json: schema: $ref: '#/components/schemas/V2UpdatePortalAppearanceRequest' CreatePortalForm: description: Create a custom form for a portal. required: true content: application/json: schema: $ref: '#/components/schemas/CreatePortalFormRequest' ReplacePortalForm: description: Replace a custom form for a portal. required: true content: application/json: schema: $ref: '#/components/schemas/UpdatePortalFormRequest' CreatePortalIdpTeamGroupMapping: description: Create a team group mapping for an identity provider. required: true content: application/json: schema: $ref: '#/components/schemas/CreatePortalIdpTeamGroupMappingRequest' CreatePortalCustomDomain: description: Create a portal custom domain. required: true content: application/json: schema: $ref: '#/components/schemas/CreatePortalCustomDomainRequest' UpdatePortalCustomDomain: description: Create a portal custom domain. required: true content: application/json: schema: $ref: '#/components/schemas/UpdatePortalCustomDomainRequest' CreatePortal: description: Create a portal. required: true content: application/json: schema: x-speakeasy-entity: Portal type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' name: description: 'The name of the portal, used to distinguish it from other portals. Name must be unique.' type: string maxLength: 255 minLength: 1 display_name: description: The display name of the portal. This value will be the portal's `name` in Portal API. type: string maxLength: 255 minLength: 1 nullable: false description: description: A description of the portal. type: string default: null maxLength: 512 nullable: true x-speakeasy-param-computed: false authentication_enabled: description: 'Whether the portal supports developer authentication. If disabled, developers cannot register for accounts or create applications.' type: boolean default: true rbac_enabled: description: 'Whether the portal resources are protected by Role Based Access Control (RBAC). If enabled, developers view or register for APIs until unless assigned to teams with access to view and consume specific APIs. Authentication must be enabled to use RBAC.' type: boolean default: false ai: $ref: '#/components/schemas/AISettings' sipr_enabled: description: Whether ip allow list is enabled for the portal. type: boolean example: true default: false default_api_visibility: description: 'The default visibility of APIs in the portal. If set to `public`, newly published APIs are visible to unauthenticated developers. If set to `private`, newly published APIs are hidden from unauthenticated developers.' type: string enum: - public - private x-speakeasy-unknown-values: allow default_page_visibility: description: 'The default visibility of pages in the portal. If set to `public`, newly created pages are visible to unauthenticated developers. If set to `private`, newly created pages are hidden from unauthenticated developers.' type: string enum: - public - private x-speakeasy-unknown-values: allow default_application_auth_strategy_id: description: 'The default authentication strategy for APIs published to the portal. Newly published APIs will use this authentication strategy unless overridden during publication. If set to `null`, API publications will not use an authentication strategy unless set during publication.' type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false auto_approve_developers: description: 'Whether developer account registrations will be automatically approved, or if they will be set to pending until approved by an admin.' type: boolean default: false auto_approve_applications: description: 'Whether requests from applications to register for APIs will be automatically approved, or if they will be set to pending until approved by an admin.' type: boolean default: false default_domain: description: The domain assigned to the portal by Konnect. This is the default place to access the portal and its API if not using a `custom_domain``. type: string format: hostname readOnly: true x-speakeasy-param-suppress-computed-diff: true canonical_domain: description: The canonical domain of the developer portal type: string format: hostname nullable: false readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/LabelsUpdate' notifications_developer_pii_visibility_enabled: description: 'When enabled, portal registration notifications include the registering developer''s identifying information (such as name and email).' type: boolean default: false theme_name: description: 'Name of the theme to use for the default content created upon creation of this portal. Must match an available theme name; if omitted or unrecognized, the default theme is used. Only applies when `create_default_content` is true.' type: string x-speakeasy-param-computed: false additionalProperties: false required: - name title: Portal UpdatePortal: description: Update a portal's settings. required: true content: application/json: schema: x-speakeasy-entity: Portal type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' name: description: 'The name of the portal, used to distinguish it from other portals. Name must be unique.' type: string default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false display_name: description: The display name of the portal. This value will be the portal's `name` in Portal API. type: string maxLength: 255 minLength: 1 nullable: false description: description: A description of the portal. type: string default: null maxLength: 512 nullable: true x-speakeasy-param-computed: false authentication_enabled: description: 'Whether the portal supports developer authentication. If disabled, developers cannot register for accounts or create applications.' type: boolean default: true rbac_enabled: description: 'Whether the portal resources are protected by Role Based Access Control (RBAC). If enabled, developers view or register for APIs until unless assigned to teams with access to view and consume specific APIs. Authentication must be enabled to use RBAC.' type: boolean default: false ai: $ref: '#/components/schemas/AISettings' sipr_enabled: description: Whether ip allow list is enabled for the portal. type: boolean example: true default: false default_api_visibility: description: 'The default visibility of APIs in the portal. If set to `public`, newly published APIs are visible to unauthenticated developers. If set to `private`, newly published APIs are hidden from unauthenticated developers.' type: string enum: - public - private x-speakeasy-unknown-values: allow default_page_visibility: description: 'The default visibility of pages in the portal. If set to `public`, newly created pages are visible to unauthenticated developers. If set to `private`, newly created pages are hidden from unauthenticated developers.' type: string enum: - public - private x-speakeasy-unknown-values: allow default_application_auth_strategy_id: description: 'The default authentication strategy for APIs published to the portal. Newly published APIs will use this authentication strategy unless overridden during publication. If set to `null`, API publications will not use an authentication strategy unless set during publication.' type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false auto_approve_developers: description: 'Whether developer account registrations will be automatically approved, or if they will be set to pending until approved by an admin.' type: boolean default: false auto_approve_applications: description: 'Whether requests from applications to register for APIs will be automatically approved, or if they will be set to pending until approved by an admin.' type: boolean default: false default_domain: description: The domain assigned to the portal by Konnect. This is the default place to access the portal and its API if not using a `custom_domain``. type: string format: hostname readOnly: true x-speakeasy-param-suppress-computed-diff: true canonical_domain: description: The canonical domain of the developer portal type: string format: hostname nullable: false readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/LabelsUpdate' notifications_developer_pii_visibility_enabled: description: 'When enabled, portal registration notifications include the registering developer''s identifying information (such as name and email).' type: boolean default: false additionalProperties: false title: Portal UpdateDeveloper: description: Update a developer. required: true content: application/json: schema: $ref: '#/components/schemas/UpdateDeveloperRequest' ReplacePortalImageAsset: description: Update an image asset for the portal. required: true content: application/json: schema: $ref: '#/components/schemas/ReplacePortalImageAsset' ReplacePortalCustomization: content: application/json: schema: $ref: '#/components/schemas/PortalCustomizationV3' CreatePortalPage: description: Create a page in a portal. required: true content: application/json: schema: $ref: '#/components/schemas/CreatePortalPageRequest' UpdatePortalPage: description: Update a page in a portal. required: true content: application/json: schema: $ref: '#/components/schemas/UpdatePortalPageRequest' CreatePortalSnippet: description: Create a snippet in a portal. required: true content: application/json: schema: $ref: '#/components/schemas/CreatePortalSnippetRequest' UpdatePortalSnippet: description: Update a snippet in a portal. required: true content: application/json: schema: $ref: '#/components/schemas/UpdatePortalSnippetRequest' CreateDeveloper: description: Create a developer for a portal. required: true content: application/json: schema: $ref: '#/components/schemas/CreateDeveloperRequest' CreateApplication: description: Create an application for a portal. required: true content: application/json: schema: $ref: '#/components/schemas/CreateApplicationRequest' CreateApplicationRegistration: description: Create an application registration for a portal application. required: true content: application/json: schema: $ref: '#/components/schemas/CreateApplicationRegistrationRequest' UpdateApplicationRegistration: description: Update an application registration. required: true content: application/json: schema: $ref: '#/components/schemas/UpdateApplicationRegistrationRequest' UpdateApplication: description: Update an application. required: true content: application/json: schema: $ref: '#/components/schemas/UpdateApplicationRequest' UpdatePortalAuditLogWebhook: description: The request schema to modify an portal audit log webhook. content: application/json: schema: type: object properties: enabled: description: Indicates if the data should be sent to the configured destination. type: boolean example: true default: false audit_log_destination_id: description: ID of the audit log destination. type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false include_principal_name: description: Whether to include the principal name in the audit log entries sent to the webhook. type: boolean example: true default: false PortalUpdateTeam: description: Update a team in a portal. content: application/json: schema: $ref: '#/components/schemas/PortalUpdateTeamRequest' PortalCreateTeam: description: Create a team in a portal. content: application/json: schema: $ref: '#/components/schemas/PortalCreateTeamRequest' UpdatePortalAuthenticationSettings: description: Update a portal's developer authentication settings. content: application/json: schema: $ref: '#/components/schemas/PortalAuthenticationSettingsUpdateRequest' PortalAssignRole: description: Assign a role to a team. content: application/json: schema: $ref: '#/components/schemas/PortalAssignRoleRequest' AddDeveloperToTeam: description: Add a developer to a team. content: application/json: schema: $ref: '#/components/schemas/AddDeveloperToTeamRequest' CreatePortalSourceIPRestriction: content: application/json: schema: type: object properties: allowed_ips: $ref: '#/components/schemas/PortalAllowedIPs' additionalProperties: false required: - allowed_ips PortalCreateIdentityProviderRequest: description: | An object representing the configuration for creating a new identity provider. This configuration may pertain to either an OIDC or a SAML identity provider. required: true content: application/json: schema: $ref: '#/components/schemas/PortalCreateIdentityProvider' PortalUpdateIdentityProviderRequest: description: | An object representing the configuration for updating an identity provider. This configuration may pertain to either an OIDC or a SAML identity provider. required: true content: application/json: schema: $ref: '#/components/schemas/PortalUpdateIdentityProvider' CreateApiRequest: required: true content: application/json: schema: type: object properties: id: description: The API identifier. type: string format: uuid example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: description: | The name of your API. The `name + version` combination must be unique for each API you publish. type: string example: MyAPI maxLength: 255 minLength: 1 description: description: A description of your API. Will be visible on your live Portal. type: string default: null nullable: true x-speakeasy-param-computed: false version: description: An optional version for your API. Leave this empty if your API is unversioned. type: string maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: true current_version_summary: $ref: '#/components/schemas/ApiVersionSummary' slug: description: | The `slug` is used in generated URLs to provide human readable paths. Defaults to `slugify(name + version)` type: string example: my-api-v1 nullable: true pattern: '^[\w-]+$' x-speakeasy-param-computed: true api_spec_ids: description: The list of API specification ids for the API. type: array items: type: string format: uuid description: The id of the API specification. example: 123e4567-e89b-12d3-a456-426614174000 deprecated: true readOnly: true x-speakeasy-param-suppress-computed-diff: true portals: description: The list of portals which this API is published to. type: array items: type: object additionalProperties: false required: - id - name - display_name properties: id: description: The portal identifier. type: string format: uuid example: 25a2624c-49fc-4764-99e1-224ed819f200 name: description: 'The name of the portal, used to distinguish it from other portals.' type: string example: My Portal display_name: description: The display name of the portal. This value will be the portal's `name` in Portal API. type: string example: My Portal nullable: false readOnly: true uniqueItems: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/Labels' implementation_mode: description: the implementations that are associated with this api either gateway_entity_binding or access_control_enforcement type: string nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true attributes: $ref: '#/components/schemas/ApiAttributes' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' spec_content: description: 'The content of the API specification. This is the raw content of the API specification, in json or yaml. By including this field, you can add a API specification without having to make a separate call to update the API specification.' type: string nullable: false writeOnly: true additionalProperties: false required: - name title: API CreateApiSpecRequest: required: true content: application/json: schema: type: object properties: id: description: The API specification identifier. type: string format: uuid example: 7710d5c4-d902-410b-992f-18b814155b53 readOnly: true x-speakeasy-param-suppress-computed-diff: true content: description: | The raw content of your API specification, in json or yaml format (OpenAPI or AsyncAPI). example: '{"openapi":"3.0.3","info":{"title":"Example API","version":"1.0.0"},"paths":{"/example":{"get":{"summary":"Example endpoint","responses":{"200":{"description":"Successful response"}}}}}}' type: string validation_messages: description: The errors that occurred while parsing the API specification. type: array items: type: object additionalProperties: false required: - message properties: message: type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true type: description: | The type of specification being stored. This allows us to render the specification correctly. type: string example: oas3 enum: - oas2 - oas3 - asyncapi title: API Spec Type x-speakeasy-unknown-values: allow created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - content title: API Specification CreateApiVersionRequest: required: true content: application/json: schema: type: object properties: version: description: The version of the api. type: string example: 1.0.0 default: null nullable: true x-speakeasy-param-computed: false spec: type: object additionalProperties: false properties: content: default: null description: 'The raw content of API specification, in json or yaml format (OpenAPI or AsyncAPI).' example: '{"openapi":"3.0.3","info":{"title":"Example API","version":"1.0.0"},"paths":{"/example":{"get":{"summary":"Example endpoint","responses":{"200":{"description":"Successful response"}}}}}}' nullable: true type: string x-speakeasy-param-computed: false additionalProperties: false required: - spec title: API Version Request CreateApiDocumentRequest: required: true content: application/json: schema: type: object properties: id: $ref: '#/components/schemas/ApiDocumentId' content: $ref: '#/components/schemas/ApiDocumentContent' title: $ref: '#/components/schemas/ApiDocumentTitle' slug: $ref: '#/components/schemas/ApiDocumentSlug' status: $ref: '#/components/schemas/ApiDocumentStatus' parent_document_id: $ref: '#/components/schemas/ApiDocumentParentDocumentId' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - content title: API Document UpdateApiRequest: required: true content: application/json: schema: type: object properties: id: description: The API identifier. type: string format: uuid example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 readOnly: true x-speakeasy-param-suppress-computed-diff: true name: description: | The name of your API. The `name + version` combination must be unique for each API you publish. type: string example: MyAPI default: null maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: false description: description: A description of your API. Will be visible on your live Portal. type: string default: null nullable: true x-speakeasy-param-computed: false version: description: An optional version for your API. Leave this empty if your API is unversioned. type: string maxLength: 255 minLength: 1 nullable: true x-speakeasy-param-computed: true current_version_summary: $ref: '#/components/schemas/ApiVersionSummary' slug: description: | The `slug` is used in generated URLs to provide human readable paths. Defaults to `slugify(name + version)` type: string example: my-api-v1 nullable: true pattern: '^[\w-]+$' x-speakeasy-param-computed: true api_spec_ids: description: The list of API specification ids for the API. type: array items: type: string format: uuid description: The id of the API specification. example: 123e4567-e89b-12d3-a456-426614174000 deprecated: true readOnly: true x-speakeasy-param-suppress-computed-diff: true portals: description: The list of portals which this API is published to. type: array items: type: object additionalProperties: false required: - id - name - display_name properties: id: description: The portal identifier. type: string format: uuid example: 25a2624c-49fc-4764-99e1-224ed819f200 name: description: 'The name of the portal, used to distinguish it from other portals.' type: string example: My Portal display_name: description: The display name of the portal. This value will be the portal's `name` in Portal API. type: string example: My Portal nullable: false readOnly: true uniqueItems: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/LabelsUpdate' implementation_mode: description: the implementations that are associated with this api either gateway_entity_binding or access_control_enforcement type: string nullable: true readOnly: true x-speakeasy-param-suppress-computed-diff: true attributes: $ref: '#/components/schemas/ApiAttributes' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false title: API UpdateApiDocumentRequest: required: true content: application/json: schema: $ref: '#/components/schemas/ApiDocument' UpdateApiSpecRequest: required: true content: application/json: schema: $ref: '#/components/schemas/ApiSpec' UpdateApiVersionRequest: required: true content: application/json: schema: $ref: '#/components/schemas/APIVersionRequest' PutApiPublicationRequest: required: true content: application/json: schema: $ref: '#/components/schemas/ApiPublication' CreateApiImplementationRequest: required: true content: application/json: schema: $ref: '#/components/schemas/ApiImplementation' CreateEventGatewayListenerRequest: description: The request schema for creating a listener. content: application/json: schema: type: object properties: name: description: The unique name of the listener. type: string maxLength: 255 minLength: 1 description: description: A human-readable description of the listener. type: string default: '' maxLength: 512 addresses: $ref: '#/components/schemas/EventGatewayListenerAddresses' ports: $ref: '#/components/schemas/EventGatewayListenerPorts' labels: $ref: '#/components/schemas/Labels' additionalProperties: false required: - name - addresses - ports UpdateEventGatewayListenerRequest: description: The request schema for updating a listener. content: application/json: schema: type: object properties: name: description: The unique name of the listener. type: string maxLength: 255 minLength: 1 description: description: A human-readable description of the listener. type: string default: '' maxLength: 512 addresses: $ref: '#/components/schemas/EventGatewayListenerAddresses' ports: $ref: '#/components/schemas/EventGatewayListenerPorts' labels: $ref: '#/components/schemas/Labels' additionalProperties: false required: - name - addresses - ports CreateVirtualClusterRequest: description: The request schema for creating a virtual cluster. content: application/json: schema: type: object properties: name: $ref: '#/components/schemas/VirtualClusterName' description: description: A human-readable description of the virtual cluster. type: string default: '' maxLength: 512 destination: $ref: '#/components/schemas/BackendClusterReferenceModify' authentication: $ref: '#/components/schemas/VirtualClusterAuthenticationSchemes' namespace: $ref: '#/components/schemas/VirtualClusterNamespace' topic_aliases: description: |- Topic aliases allow exposing backend topics under additional names. An alias creates a new entry point to the same physical data. The alias `topic` field references namespace-visible names (if namespace is configured). Aliases are independent of namespace and can be used without it. **Requires a minimum runtime version of `1.2`**. type: array items: $ref: '#/components/schemas/VirtualClusterTopicAlias' nullable: true x-min-runtime-version: '1.2' x-speakeasy-param-computed: false acl_mode: $ref: '#/components/schemas/VirtualClusterACLMode' dns_label: $ref: '#/components/schemas/VirtualClusterDNSLabel' labels: $ref: '#/components/schemas/Labels' additionalProperties: false required: - name - destination - authentication - dns_label - acl_mode UpdateVirtualClusterRequest: description: The request schema for updating a virtual cluster. content: application/json: schema: type: object properties: name: $ref: '#/components/schemas/VirtualClusterName' description: description: A human-readable description of the virtual cluster. type: string default: '' maxLength: 512 destination: $ref: '#/components/schemas/BackendClusterReferenceModify' authentication: $ref: '#/components/schemas/VirtualClusterAuthenticationSensitiveDataAwareSchemes' namespace: $ref: '#/components/schemas/VirtualClusterNamespace' topic_aliases: description: |- Topic aliases allow exposing backend topics under additional names. An alias creates a new entry point to the same physical data. The alias `topic` field references namespace-visible names (if namespace is configured). Aliases are independent of namespace and can be used without it. **Requires a minimum runtime version of `1.2`**. type: array items: $ref: '#/components/schemas/VirtualClusterTopicAlias' nullable: true x-min-runtime-version: '1.2' x-speakeasy-param-computed: false acl_mode: $ref: '#/components/schemas/VirtualClusterACLMode' dns_label: $ref: '#/components/schemas/VirtualClusterDNSLabel' labels: $ref: '#/components/schemas/Labels' additionalProperties: false required: - name - destination - authentication - dns_label - acl_mode CreateBackendClusterRequest: description: The request schema for creating a backend cluster. content: application/json: schema: type: object properties: name: $ref: '#/components/schemas/BackendClusterName' description: description: A human-readable description of the backend cluster. type: string default: '' maxLength: 512 authentication: $ref: '#/components/schemas/BackendClusterAuthenticationScheme' insecure_allow_anonymous_virtual_cluster_auth: description: | If true, virtual clusters can have allow anonymous authentication and use this backend cluster. This setting is not recommended for production use as it may create privilege escalation vulnerabilities. type: boolean default: false bootstrap_servers: $ref: '#/components/schemas/BootstrapServers' tls: $ref: '#/components/schemas/BackendClusterTLS' metadata_update_interval_seconds: $ref: '#/components/schemas/BackendMetadataUpdateIntervalSeconds' labels: $ref: '#/components/schemas/Labels' additionalProperties: false required: - name - authentication - bootstrap_servers - tls UpdateBackendClusterRequest: description: The request schema for updating a backend cluster. content: application/json: schema: type: object properties: name: $ref: '#/components/schemas/BackendClusterName' description: description: A human-readable description of the backend cluster. type: string default: '' maxLength: 512 authentication: $ref: '#/components/schemas/BackendClusterAuthenticationSensitiveDataAwareScheme' insecure_allow_anonymous_virtual_cluster_auth: description: | If true, virtual clusters can have allow anonymous authentication and use this backend cluster. This setting is not recommended for production use as it may create privilege escalation vulnerabilities. type: boolean default: false bootstrap_servers: $ref: '#/components/schemas/BootstrapServers' tls: $ref: '#/components/schemas/BackendClusterTLS' metadata_update_interval_seconds: $ref: '#/components/schemas/BackendMetadataUpdateIntervalSeconds' labels: $ref: '#/components/schemas/Labels' additionalProperties: false required: - name - authentication - bootstrap_servers - tls CreateSchemaRegistryRequest: description: The request schema for creating a schema registry. content: application/json: schema: $ref: '#/components/schemas/SchemaRegistryCreate' UpdateSchemaRegistryRequest: description: The request schema for updating a schema registry. content: application/json: schema: $ref: '#/components/schemas/SchemaRegistryUpdate' CreateEventGatewayDataPlaneCertificateRequest: content: application/json: schema: type: object properties: certificate: description: JSON escaped string of the certificate. type: string name: description: The name to identify of the certificate. type: string default: null nullable: true x-speakeasy-param-computed: false description: description: A description of the certificate. type: string x-speakeasy-param-computed: false required: - certificate description: Request body for creating a certificate. UpdateEventGatewayDataPlaneCertificateRequest: description: The request schema for updating a dataplane certificate. content: application/json: schema: type: object properties: certificate: description: JSON escaped string of the certificate. type: string name: description: The name to identify of the certificate. type: string default: null nullable: true x-speakeasy-param-computed: false description: description: A description of the certificate. type: string x-speakeasy-param-computed: false required: - certificate CreateEventGatewayStaticKeyRequest: description: The request schema for creating a static key. content: application/json: schema: $ref: '#/components/schemas/EventGatewayStaticKeyCreate' CreateTLSTrustBundleRequest: description: The request schema for creating a TLS trust bundle. required: true content: application/json: schema: type: object properties: name: $ref: '#/components/schemas/TLSTrustBundleName' description: description: A human-readable description of the TLS trust bundle. type: string default: '' maxLength: 512 config: $ref: '#/components/schemas/TLSTrustBundleConfig' labels: $ref: '#/components/schemas/Labels' additionalProperties: false required: - name - config UpdateTLSTrustBundleRequest: description: The request schema for updating a TLS trust bundle. required: true content: application/json: schema: type: object properties: name: $ref: '#/components/schemas/TLSTrustBundleName' description: description: A human-readable description of the TLS trust bundle. type: string default: '' maxLength: 512 config: $ref: '#/components/schemas/TLSTrustBundleConfig' labels: $ref: '#/components/schemas/Labels' additionalProperties: false CreateSecretPayload: description: Secret to be created required: true content: application/json: schema: $ref: '#/components/schemas/CreateSecretPayload' UpdateSecretPayload: description: Secret to be updated required: true content: application/json: schema: $ref: '#/components/schemas/UpdateSecretPayload' CreateAuthServer: description: Auth server to be created required: true content: application/json: schema: type: object properties: name: $ref: '#/components/schemas/AuthServerName' description: $ref: '#/components/schemas/AuthServerDescription' audience: $ref: '#/components/schemas/Audience' signing_algorithm: $ref: '#/components/schemas/Algorithm' labels: $ref: '#/components/schemas/Labels' trusted_origins: $ref: '#/components/schemas/TrustedOrigins' dcr: $ref: '#/components/schemas/CreateDcrSettings' required: - name - audience UpdateAuthServer: description: Auth server to be updated required: true content: application/json: schema: type: object properties: name: $ref: '#/components/schemas/AuthServerName' description: $ref: '#/components/schemas/AuthServerDescription' audience: $ref: '#/components/schemas/Audience' signing_algorithm: $ref: '#/components/schemas/UpdateAlgorithm' labels: $ref: '#/components/schemas/LabelsUpdate' trusted_origins: $ref: '#/components/schemas/TrustedOrigins' dcr: $ref: '#/components/schemas/UpdateDcrSettings' CreateClaim: description: Claim to be created required: true content: application/json: schema: type: object properties: name: $ref: '#/components/schemas/ClaimName' value: $ref: '#/components/schemas/ClaimValue' include_in_token: $ref: '#/components/schemas/ClaimIncludeInToken' include_in_all_scopes: $ref: '#/components/schemas/ClaimIncludeInAllScopes' include_in_scopes: $ref: '#/components/schemas/ClaimIncludeInScopes' enabled: $ref: '#/components/schemas/ClaimEnabled' required: - name - value UpdateClaim: description: Claim to be updated required: true content: application/json: schema: type: object properties: name: $ref: '#/components/schemas/ClaimName' value: $ref: '#/components/schemas/ClaimValue' include_in_token: $ref: '#/components/schemas/UpdateClaimIncludeInToken' include_in_all_scopes: $ref: '#/components/schemas/UpdateClaimIncludeInAllScopes' include_in_scopes: $ref: '#/components/schemas/ClaimIncludeInScopes' enabled: $ref: '#/components/schemas/UpdateClaimEnabled' CreateScope: description: Scope to be created required: true content: application/json: schema: type: object properties: name: $ref: '#/components/schemas/ScopeName' description: $ref: '#/components/schemas/ScopeDescription' default: $ref: '#/components/schemas/ScopeDefault' include_in_metadata: $ref: '#/components/schemas/ScopeIncludeInMetadata' enabled: $ref: '#/components/schemas/ScopeEnabled' required: - name UpdateScope: description: Scope to be update required: true content: application/json: schema: type: object properties: name: $ref: '#/components/schemas/ScopeName' description: $ref: '#/components/schemas/ScopeDescription' default: $ref: '#/components/schemas/UpdateScopeDefault' include_in_metadata: $ref: '#/components/schemas/UpdateScopeIncludeInMetadata' enabled: $ref: '#/components/schemas/UpdateScopeEnabled' CreateClient: description: Client to be created required: true content: application/json: schema: type: object properties: name: $ref: '#/components/schemas/ClientName' grant_types: $ref: '#/components/schemas/GrantTypes' response_types: $ref: '#/components/schemas/ResponseTypes' redirect_uris: $ref: '#/components/schemas/RedirectURIs' login_uri: $ref: '#/components/schemas/LoginURI' access_token_duration: $ref: '#/components/schemas/TokenDuration' id_token_duration: $ref: '#/components/schemas/TokenDuration' allow_all_scopes: $ref: '#/components/schemas/ClientAllowAllScopes' allow_scopes: $ref: '#/components/schemas/ClientAllowScopes' labels: $ref: '#/components/schemas/Labels' token_endpoint_auth_method: $ref: '#/components/schemas/TokenEndpointAuthMethod' id: description: The OAuth 2.0 client ID type: string example: kYa9iQFU5xPDSIUH9z1z maxLength: 48 pattern: '[-_\w]+' x-speakeasy-param-computed: true client_secret: description: Secret of the client - will be used when ID is also set. type: string x-speakeasy-param-computed: true required: - name - grant_types - response_types ReplaceClient: description: Client to be replaced required: true content: application/json: schema: type: object properties: name: $ref: '#/components/schemas/ClientName' client_secret: description: Secret of the client type: string minLength: 1 grant_types: $ref: '#/components/schemas/GrantTypes' response_types: $ref: '#/components/schemas/ResponseTypes' redirect_uris: $ref: '#/components/schemas/RedirectURIs' login_uri: $ref: '#/components/schemas/LoginURI' access_token_duration: $ref: '#/components/schemas/TokenDuration' id_token_duration: $ref: '#/components/schemas/TokenDuration' allow_all_scopes: $ref: '#/components/schemas/ClientAllowAllScopes' allow_scopes: $ref: '#/components/schemas/ClientAllowScopes' token_endpoint_auth_method: $ref: '#/components/schemas/TokenEndpointAuthMethod' labels: $ref: '#/components/schemas/Labels' required: - name - client_secret - grant_types - response_types PersonalAccessTokenSettingsUpdateRequest: description: Request body schema for updating personal access token settings. content: application/json: schema: x-speakeasy-entity: OrganizationPersonalAccessTokenSettings type: object properties: pats_enabled: type: boolean default: null nullable: true x-speakeasy-param-computed: false max_expiration_period_days: $ref: '#/components/schemas/MaxPATExpirationPeriodDays' additionalProperties: false minProperties: 1 CreateOrganizationVpceIdRestriction: description: The request schema to set an organization's VPCE ID restriction configuration. content: application/json: schema: $ref: '#/components/schemas/OrganizationVpceIdRestriction' CreateCatalogMCPRequest: required: true content: application/json: schema: $ref: '#/components/schemas/CreateCatalogMCP' ReplaceCatalogMCPRequest: required: true content: application/json: schema: $ref: '#/components/schemas/ReplaceCatalogMCP' CreateCatalogMCPVersionRequest: required: true content: application/json: schema: $ref: '#/components/schemas/CreateCatalogMCPVersion' ReplaceCatalogMCPVersionRequest: required: true content: application/json: schema: $ref: '#/components/schemas/ReplaceCatalogMCPVersion' CreateCatalogMCPImplementationRequest: required: true content: application/json: schema: $ref: '#/components/schemas/CreateCatalogMCPImplementation' CreateDirectoryRequest: description: Directory to be created required: true content: application/json: schema: $ref: '#/components/schemas/CreateDirectoryBody' ReplaceDirectoryRequest: description: Directory to be replaced required: true content: application/json: schema: $ref: '#/components/schemas/ReplaceDirectoryBody' CreatePrincipalRequest: description: Principal to be created required: true content: application/json: schema: $ref: '#/components/schemas/CreatePrincipalBody' ReplacePrincipalRequest: description: Principal to be replaced required: true content: application/json: schema: $ref: '#/components/schemas/ReplacePrincipalBody' CreateGroupRequest: description: Group to be created required: true content: application/json: schema: $ref: '#/components/schemas/CreateGroupBody' ReplaceGroupRequest: description: Group to be replaced required: true content: application/json: schema: $ref: '#/components/schemas/ReplaceGroupBody' CreateGroupMembershipEntryRequest: description: Member to add to a group's membership required: true content: application/json: schema: $ref: '#/components/schemas/CreateGroupMembershipEntryBody' CreateKeyRequest: description: Key to be created required: true content: application/json: schema: $ref: '#/components/schemas/CreatePrincipalKeyBody' UpdateKeyRequest: description: Key to be updated required: true content: application/json: schema: $ref: '#/components/schemas/UpdatePrincipalKeyBody' CreateBasicAuthRequest: description: Basic auth credential to be created required: true content: application/json: schema: $ref: '#/components/schemas/CreateBasicAuthBody' ReplaceBasicAuthRequest: description: Basic auth credential to be replaced required: true content: application/json: schema: $ref: '#/components/schemas/ReplaceBasicAuthBody' CreatePasswordRequest: description: Password to be created required: true content: application/json: schema: $ref: '#/components/schemas/CreatePasswordBody' ReplacePasswordRequest: description: Password to be replaced required: true content: application/json: schema: $ref: '#/components/schemas/ReplacePasswordBody' CreatePrincipalIdentityRequest: description: Identity to be created required: true content: application/json: schema: $ref: '#/components/schemas/KongPrincipalIdentityBody' ReplacePrincipalIdentityRequest: description: Identity to be replaced required: true content: application/json: schema: $ref: '#/components/schemas/KongPrincipalIdentityBody' CreateVaultProviderRequest: description: Vault provider to be created required: true content: application/json: schema: $ref: '#/components/schemas/CreateVaultProviderBody' ReplaceVaultProviderRequest: description: Vault provider configuration to replace the existing one required: true content: application/json: schema: $ref: '#/components/schemas/ReplaceVaultProviderBody' CreateVaultProviderCredentialRequest: description: Shared credential to be created for a vault provider required: true content: application/json: schema: $ref: '#/components/schemas/SetVaultProviderCredentialBody' UpdateVaultProviderCredentialRequest: description: Shared credential value to replace the existing one required: true content: application/json: schema: $ref: '#/components/schemas/SetVaultProviderCredentialBody' CreateVaultKeyRequest: description: Vault key to be created required: true content: application/json: schema: $ref: '#/components/schemas/CreateVaultKeyBody' PatchVaultKeyRequest: description: Fields to update on a vault key required: true content: application/json: schema: $ref: '#/components/schemas/PatchVaultKeyBody' CreateTrustedIdpRequest: description: Trusted IdP to be created required: true content: application/json: schema: $ref: '#/components/schemas/CreateTrustedIdpPayload' ReplaceTrustedIdpRequest: description: Trusted IdP to be replaced required: true content: application/json: schema: $ref: '#/components/schemas/ReplaceTrustedIdpBody' DestinationCreateRequest: description: Request body schema for creating a destination. required: true content: application/json: schema: $ref: '#/components/schemas/DestinationCreatePayload' DestinationUpdateRequest: description: Request body schema for updating a destination. required: true content: application/json: schema: $ref: '#/components/schemas/DestinationUpdatePayload' OrgSubscriptionCreateRequest: description: Request body schema for creating an org subscription. required: true content: application/json: schema: $ref: '#/components/schemas/OrgSubscriptionCreatePayload' OrgSubscriptionUpdateRequest: description: Request body schema for updating an org subscription. required: true content: application/json: schema: $ref: '#/components/schemas/OrgSubscriptionUpdatePayload' DataPlaneClientCertificateRequest: content: application/json: schema: type: object properties: cert: description: JSON escaped string of the certificate. type: string title: description: Title for the certificate. type: string default: null nullable: true x-speakeasy-param-computed: false required: - cert description: Request body for creating a dp-client-certificate. create-plugin-schemas: content: application/json: schema: x-speakeasy-entity: GatewayCustomPluginSchema type: object properties: lua_schema: description: | The custom plugin schema; `jq -Rs '.' schema.lua`. type: string example: 'return { name = "myplugin", fields = { { config = { type = "record", fields = { } } } } }' required: - lua_schema CreateConfigStoreRequest: required: true content: application/json: schema: $ref: '#/components/schemas/CreateConfigStore' CreateConfigStoreSecretRequest: required: true content: application/json: schema: $ref: '#/components/schemas/CreateConfigStoreSecret' UpdateConfigStoreRequest: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateConfigStore' UpdateConfigStoreSecretRequest: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateConfigStoreSecret' responses: RetrieveControlPlaneResponse: description: A response to retrieving a single control plane. content: application/json: schema: $ref: '#/components/schemas/ControlPlane' CreateControlPlaneResponse: description: A response to creating a control plane. content: application/json: schema: $ref: '#/components/schemas/ControlPlane' UpdateControlPlaneResponse: description: A response to updating a control plane. content: application/json: schema: $ref: '#/components/schemas/ControlPlane' ListControlPlanesResponse: description: A paginated list response for a collection of control planes. content: application/json: schema: type: object properties: meta: $ref: '#/components/schemas/PaginatedMeta' data: x-speakeasy-entity: GatewayControlPlaneList type: array items: $ref: '#/components/schemas/ControlPlane' additionalProperties: false required: - meta - data title: ListControlPlanesResponse ControlPlanesBadRequest: description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' ControlPlanePermissionDenied: description: Permission denied content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' ControlPlaneUnauthenticated: description: Unauthenticated content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' ControlPlaneNotFound: description: Not Found content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' ControlPlaneConflict: description: Conflict content: application/problem+json: schema: $ref: '#/components/schemas/ConflictError' KonnectCPLegacyBadRequest: description: Bad Request content: application/json: schema: $ref: '#/components/schemas/KonnectCPLegacyBadRequestError' KonnectCPLegacyUnauthorized: description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/KonnectCPLegacyUnauthorizedError' KonnectCPLegacyForbidden: description: Forbidden content: application/json: schema: $ref: '#/components/schemas/KonnectCPLegacyForbiddenError' KonnectCPLegacyNotFound: description: Not Found content: application/json: schema: $ref: '#/components/schemas/KonnectCPLegacyNotFoundError' KonnectCPLegacyConflict: description: Conflict content: application/json: schema: $ref: '#/components/schemas/KonnectCPLegacyConflictError' InternalServerError: description: Internal Server Error content: application/problem+json: schema: description: The error response object. type: object properties: status: description: The HTTP status code. type: integer format: int32 example: 500 enum: - 500 x-go-type: int32 title: description: The error response code. type: string example: Internal Server Error instance: description: The Konnect traceback code type: string example: 'konnect:trace:2287285207635123011' detail: description: Details about the error. type: string example: Could not propagate control plane changes to control plane cluster service. required: - status - title - instance title: InternalServerError ServiceUnavailable: description: Service Unavailable content: application/problem+json: schema: description: Error response for temporary service unavailability. type: object properties: status: description: The HTTP status code. type: integer format: int32 example: 503 enum: - 503 x-go-type: int32 title: description: The error response code. type: string example: Service Unavailable instance: description: The Konnect traceback code type: string example: 'konnect:trace:2287285207635123011' detail: description: Details about the error. type: string example: Could not retrieve permissions to check resource accessibility. readOnly: true x-speakeasy-param-suppress-computed-diff: true required: - status - title - instance title: ServiceUnavailableError ListWorkspacesResponse: description: A paginated list response for a collection of workspaces. content: application/json: schema: type: object properties: data: type: array items: $ref: '#/components/schemas/Workspace' next: $ref: '#/components/schemas/PaginationNextResponse' offset: $ref: '#/components/schemas/PaginationOffsetResponse' additionalProperties: false required: - data title: ListWorkspacesResponse CreateWorkspaceResponse: description: A response to creating a workspace. content: application/json: schema: $ref: '#/components/schemas/Workspace' RetrieveWorkspaceResponse: description: A response to retrieving a single workspace. content: application/json: schema: $ref: '#/components/schemas/Workspace' Internal: description: Internal content: application/problem+json: schema: $ref: '#/components/schemas/InternalError' BadRequest: description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' Unauthorized: description: Unauthorized content: application/problem+json: schema: description: The error response object. type: object properties: status: description: The HTTP status code. type: integer example: 403 default: null nullable: true x-speakeasy-param-computed: false title: description: The Error Response. type: string example: Unauthorized default: null nullable: true x-speakeasy-param-computed: false instance: description: The Konnect traceback code. type: string example: 'konnect:trace:952172606039454040' default: null nullable: true x-speakeasy-param-computed: false detail: description: Details about the error response. type: string example: You do not have permission to perform this action default: null nullable: true x-speakeasy-param-computed: false $ref: '#/components/schemas/UnauthorizedError' title: Unauthorized Response Forbidden: description: Forbidden content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' NotFound: description: Not Found content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' NotImplemented: description: Not Implemented content: application/problem+json: schema: $ref: '#/components/schemas/NotImplementedError' NotAvailable: description: Service not available content: application/problem+json: schema: $ref: '#/components/schemas/NotAvailableError' RetrieveConfigurationResponse: description: Response format for retrieving a configuration by ID. content: application/json: schema: $ref: '#/components/schemas/ConfigurationManifest' CreateConfigurationResponse: description: Response format for creating a configuration. content: application/json: schema: $ref: '#/components/schemas/ConfigurationManifest' ListNetworksResponse: description: A paginated list for a collection of networks. content: application/json: schema: type: object properties: meta: $ref: '#/components/schemas/PaginatedMeta' data: type: array items: $ref: '#/components/schemas/Network' required: - meta - data title: ListNetworksResponse RetrieveNetworkResponse: description: Response format for retrieving a network. content: application/json: schema: $ref: '#/components/schemas/Network' CreateNetworkResponse: description: Response format for creating a network. content: application/json: schema: $ref: '#/components/schemas/Network' PatchNetworkResponse: description: Response format for patching a network. content: application/json: schema: $ref: '#/components/schemas/Network' CreatePrivateDnsResponse: description: Response format for creating a Private DNS. content: application/json: schema: $ref: '#/components/schemas/PrivateDnsResponse' RetrievePrivateDnsResponse: description: Response format for retrieving a Private DNS. content: application/json: schema: $ref: '#/components/schemas/PrivateDnsResponse' CreateTransitGatewayResponse: description: Response format for creating a transit gateway. content: application/json: schema: $ref: '#/components/schemas/TransitGatewayResponse' PatchTransitGatewayResponse: description: Response format for updating a transit gateway. content: application/json: schema: oneOf: - $ref: '#/components/schemas/AwsResourceEndpointGatewayResponse' - $ref: '#/components/schemas/AwsTransitGatewayResponse' RetrieveTransitGatewayResponse: description: Response format for retrieving a transit gateway. content: application/json: schema: $ref: '#/components/schemas/TransitGatewayResponse' ListProviderAccountsResponse: description: A paginated list for a collection of provider accounts. content: application/json: schema: x-speakeasy-entity: CloudGatewayProviderAccountList type: object properties: meta: $ref: '#/components/schemas/PaginatedMeta' data: type: array items: $ref: '#/components/schemas/ProviderAccount' required: - meta - data title: ListCloudGatewayProviderAccountsResponse CreateCustomDomainResponse: description: Response format for creating a custom domain for a control-plane in the global API. content: application/json: schema: $ref: '#/components/schemas/CustomDomain' RetrieveCustomDomainResponse: description: Response format for retrieving a custom domain for a control-plane. content: application/json: schema: $ref: '#/components/schemas/CustomDomain' CloudGatewaysBadRequest: description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' CloudGatewaysForbidden: description: Forbidden content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' CloudGatewaysConflict: description: Conflict content: application/problem+json: schema: $ref: '#/components/schemas/ConflictError' CreateAddOnResponse: description: Response format for creating an add-on. content: application/json: schema: $ref: '#/components/schemas/AddOnResponse' RetrieveAddOnResponse: description: Response format for retrieving an add-on by ID. content: application/json: schema: $ref: '#/components/schemas/AddOnResponse' UpdateAddOnResponse: description: Response format for updating an add-on. content: application/json: schema: $ref: '#/components/schemas/AddOnResponse' Conflict: description: Conflict content: application/problem+json: schema: $ref: '#/components/schemas/ConflictError' RetrieveMeshControlPlaneResponse: description: A response to creating a control plane. content: application/json: schema: $ref: '#/components/schemas/MeshControlPlane' CreateMeshControlPlaneResponse: description: A response to creating a control plane. content: application/json: schema: $ref: '#/components/schemas/MeshControlPlane' CreateMeshControlPlaneValidationError: description: Validation Error content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' PutMeshControlPlaneValidationError: description: Validation Error content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' DeleteMeshControlPlaneValidationError: description: Validation Error content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' MeshControlPlaneForbiddenError: description: Permission denied content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' MeshControlPlaneUnauthorizedError: description: Unauthorized Error content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' MeshControlPlaneNotFoundError: description: Not found content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' PutMeshControlPlaneResponse: description: A response to updating a control plane. content: application/json: schema: $ref: '#/components/schemas/MeshControlPlane' ListMeshControlPlanesResponse: description: A paginated list response for a collection of control planes. content: application/json: schema: type: object properties: meta: $ref: '#/components/schemas/PaginatedMeta' data: type: array items: $ref: '#/components/schemas/MeshControlPlane' title: ListMeshControlPlanesResponse SlugConflict: description: Conflict - `slug` property must be unique content: application/problem+json: schema: type: object properties: status: type: number title: type: string type: type: string default: null nullable: true x-speakeasy-param-computed: false instance: type: string required: - status - title - instance VersionSpecConflict: description: Conflict - only one version specification can exist content: application/problem+json: schema: $ref: '#/components/schemas/ConflictError' VersionSpecHiddenConflict: description: Conflict - name attribute must be unique accross legacy version specifications content: application/problem+json: schema: $ref: '#/components/schemas/ConflictError' ApiProductImplementationConflict: description: Conflict - V3 API is currently linked to the target gateway service content: application/problem+json: schema: $ref: '#/components/schemas/ConflictError' ApiProductUnauthorized: description: Unauthorized content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' ApiProductNotFound: description: Not Found content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' APIProductResponse: description: API product content: application/json: schema: $ref: '#/components/schemas/APIProduct' APIProductVersionResponse: description: API product content: application/json: schema: $ref: '#/components/schemas/APIProductVersion' APIProductDocumentResponse: description: API product document content: application/json: schema: $ref: '#/components/schemas/APIProductDocument' APIProductVersionSpecResponse: description: API product version specification content: application/json: schema: $ref: '#/components/schemas/APIProductVersionSpec' UnsupportedMediaType: description: Unsupported Media Type content: application/problem+json: schema: $ref: '#/components/schemas/UnsupportedMediaTypeError' CreateDcrProvider: description: A response containing the newly created DCR provider object. content: application/json: schema: $ref: '#/components/schemas/DcrProviderResponseUnion' GetDcrProvider: description: A response containing a single DCR provider object. Sensitive fields will be removed from the response. content: application/json: schema: $ref: '#/components/schemas/DcrProviderResponseUnion' CreateAppAuthStrategy: description: A response containing the newly created application auth strategy object. content: application/json: schema: $ref: '#/components/schemas/CreateAppAuthStrategyResponse' GetAppAuthStrategy: description: A response containing a single application auth strategy object. content: application/json: schema: $ref: '#/components/schemas/GetAppAuthStrategyResponse' TeamSingle: description: A response including a single team. content: application/json: schema: $ref: '#/components/schemas/TeamResponse' TeamCollectionResponse: description: A paginated list response for a collection of teams. content: application/json: schema: type: object properties: meta: $ref: '#/components/schemas/PaginatedMeta' data: type: array items: $ref: '#/components/schemas/TeamResponse' default: null nullable: true x-speakeasy-param-computed: false title: Team Collection Response IdpTeamGroupMapping: description: A single team group mapping. content: application/json: schema: $ref: '#/components/schemas/IdpTeamGroupMapping' AssignedRoleSingle: description: A get action response of a single assigned role. content: application/json: schema: $ref: '#/components/schemas/AssignedRole' AuthenticationSettings: description: Response for authentication settings endpoint content: application/json: schema: type: object properties: basic_auth_enabled: description: The organization has basic auth enabled. type: boolean example: true default: null nullable: true x-speakeasy-param-computed: false oidc_auth_enabled: description: The organization has OIDC disabled. type: boolean example: false default: null nullable: true x-speakeasy-param-computed: false saml_auth_enabled: description: The organization has SAML disabled. type: boolean example: false default: null nullable: true x-speakeasy-param-computed: false idp_mapping_enabled: description: IdP groups determine the Konnect teams a user has. type: boolean example: true default: null nullable: true x-speakeasy-param-computed: false konnect_mapping_enabled: description: A Konnect Identity Admin assigns teams to a user. type: boolean example: false default: null nullable: true x-speakeasy-param-computed: false title: Authentication Settings Response IdentityBadRequest: description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' IdentityConflict: description: Conflict content: application/problem+json: schema: $ref: '#/components/schemas/ConflictError' CreateIdentityProviderPermissionDenied: description: Permission denied content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' IdentityPermissionDenied: description: Permission denied content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' IdentityUnauthenticated: description: Unauthenticated content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' IdentityNotFound: description: Not Found content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' SystemAccountCollection: description: A paginated list response for a collection of system accounts. content: application/json: schema: type: object properties: meta: $ref: '#/components/schemas/PaginatedMeta' data: type: array items: $ref: '#/components/schemas/SystemAccount' default: null nullable: true x-speakeasy-param-computed: false title: System Account Collection Response SystemAccountSingle: description: A response including a single system account. content: application/json: schema: $ref: '#/components/schemas/SystemAccount' SystemAccountAccessTokenSingle: description: A response including a single system account access token. content: application/json: schema: $ref: '#/components/schemas/SystemAccountAccessToken' SystemAccountAccessTokenCreated: description: A response including a single system account access token with the token. content: application/json: schema: x-speakeasy-entity: SystemAccountAccessToken type: object properties: id: description: ID of the system account access token. type: string format: uuid readOnly: true x-speakeasy-param-suppress-computed-diff: true name: description: Name of the system account access token. type: string default: null nullable: true x-speakeasy-param-computed: false created_at: description: Timestamp of when the system account access token was created. type: string format: date-time readOnly: true x-speakeasy-param-suppress-computed-diff: true updated_at: description: Timestamp of when the system account access token was last updated. type: string format: date-time readOnly: true x-speakeasy-param-suppress-computed-diff: true expires_at: description: Timestamp of when the system account access token will expire. type: string format: date-time readOnly: true x-speakeasy-param-suppress-computed-diff: true x-speakeasy-terraform-custom-type: imports: - github.com/Kong/shared-speakeasy/customtypes/timetypes schemaType: 'timetypes.RFC3339PreciseToSecondType{}' valueType: timetypes.RFC3339PreciseToSecond last_used_at: description: Timestamp of when the system account access token was last used. type: string format: date-time readOnly: true x-speakeasy-param-suppress-computed-diff: true token: description: The token of the system account access token. type: string readOnly: true x-sensitive: true x-speakeasy-param-sensitive: true x-speakeasy-param-suppress-computed-diff: true example: id: 497f6eca-6276-4993-bfeb-53cbbbba6f08 name: Sample Access Token created_at: '2022-08-01T14:16:09Z' updated_at: '2022-08-02T08:35:49Z' expires_at: '2022-12-31T12:52:23Z' last_used_at: '2022-10-24T13:05:42Z' token: spat_12345678901234567890123456789012345678901234567890 title: System Account Access Token Created Response IdentityProvider: description: | An identity provider configuration. This response represents the configuration of a specific identity provider, which can be either OIDC or SAML. content: application/json: schema: $ref: '#/components/schemas/IdentityProvider' IdentityProviders: description: | A collection of identity providers. This response contains a collection of identity providers, which may include both OIDC and SAML identity providers. content: application/json: schema: type: array items: $ref: '#/components/schemas/IdentityProvider' title: Identity Provider Collection Response RetrieveServerlessCloudGatewayResponse: description: A response to retrieving a serverless cloud gateway. content: application/json: schema: $ref: '#/components/schemas/ServerlessCloudGateway' CreateServerlessCloudGatewayResponse: description: A response to creating a serverless cloud gateway. content: application/json: schema: $ref: '#/components/schemas/ServerlessCloudGateway' AuditLogWebhook: description: Get response for audit log webhook content: application/json: schema: type: object properties: endpoint: description: The endpoint that will receive audit log messages. type: string example: 'https://example.com/audit-logs' default: null nullable: true x-speakeasy-param-computed: false enabled: description: Indicates whether audit data should be sent to the webhook. type: boolean example: true default: null nullable: true x-speakeasy-param-computed: false log_format: $ref: '#/components/schemas/LogFormat' skip_ssl_verification: description: Indicates if the SSL certificate verification of the host endpoint should be skipped when delivering payloads. type: boolean example: false default: false updated_at: description: 'Timestamp when this webhook was last updated. Initial value is 0001-01-01T00:00:0Z.' type: string format: date-time readOnly: true x-speakeasy-param-suppress-computed-diff: true AuditLogDestinationSingle: description: Audit log destination response content: application/json: schema: $ref: '#/components/schemas/AuditLogDestination' WebhookBadRequest: description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' AuditLogDestinationBadRequest: description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' CreateConsumerResponse: description: success content: application/json: schema: $ref: '#/components/schemas/CentralizedConsumer' CreateConsumerRealmResponse: description: success content: application/json: schema: $ref: '#/components/schemas/ConsumerRealm' CMEK: description: A CMEK content: application/json: schema: $ref: '#/components/schemas/CMEK' CatalogServiceResponse: description: A response containing a single service object. content: application/json: schema: $ref: '#/components/schemas/CatalogService' IntegrationInstanceResponse: description: A response containing a single integration instance object. content: application/json: schema: $ref: '#/components/schemas/IntegrationInstance' IntegrationInstanceAuthCredentialResponse: description: A response containing an integration instance auth credential. content: application/json: schema: $ref: '#/components/schemas/IntegrationInstanceAuthCredential' IntegrationInstanceAuthConfigResponse: description: A response containing integration instance auth config. content: application/json: schema: $ref: '#/components/schemas/IntegrationInstanceAuthConfig' V2ListPortals: description: A paginated list of portals in the current region of an organization. content: application/json: schema: $ref: '#/components/schemas/V2ListPortalsResponse' V2PortalProductVersion: description: A response containing a portal product version content: application/json: schema: $ref: '#/components/schemas/V2PortalProductVersion' V2GetPortal: description: Details about a portal and its current settings. content: application/json: schema: $ref: '#/components/schemas/V2GetPortalResponse' V2UpdatePortal: description: Details about the portal being updated. content: application/json: schema: $ref: '#/components/schemas/V2UpdatePortalResponse' V2CreatePortal: description: Details about the portal that was created. content: application/json: schema: $ref: '#/components/schemas/V2CreatePortalResponse' V2GetPortalAppearance: description: Details about a portal's current appearance settings. content: application/json: schema: $ref: '#/components/schemas/V2GetPortalAppearanceResponse' V2UpdatePortalAppearance: description: Details about the appearance settings being updated. content: application/json: schema: $ref: '#/components/schemas/V2UpdatePortalAppearanceResponse' PortalForm: description: A custom form belonging to a portal. content: application/json: schema: $ref: '#/components/schemas/PortalFormResponse' PortalIdpTeamGroupMapping: description: A team group mapping for an identity provider. content: application/json: schema: $ref: '#/components/schemas/PortalIdpTeamGroupMapping' PortalAuthenticationSettings: description: Details about a portal's authentication settings. content: application/json: schema: $ref: '#/components/schemas/PortalAuthenticationSettingsResponse' PortalAssignedRole: description: Details about the role assignment. content: application/json: schema: $ref: '#/components/schemas/PortalAssignedRoleResponse' PortalTeam: description: Details about a team of developers in a portal. content: application/json: schema: $ref: '#/components/schemas/PortalTeamResponse' CreateDeveloperResponse: description: Details about the created developer in a portal. content: application/json: schema: $ref: '#/components/schemas/PortalDeveloper' GetDeveloper: description: Details about a developer in a portal. content: application/json: schema: $ref: '#/components/schemas/PortalDeveloper' UpdateDeveloper: description: Details about the developer being updated. content: application/json: schema: $ref: '#/components/schemas/PortalDeveloper' PortalCustomDomain: description: Portal custom domain content: application/json: schema: $ref: '#/components/schemas/PortalCustomDomain' ListPortalsResponse: description: A paginated list of portals in the current region of an organization. content: application/json: schema: type: object properties: data: type: array items: x-speakeasy-entity: Portal title: Portal type: object additionalProperties: false properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' name: description: 'The name of the portal, used to distinguish it from other portals. Name must be unique.' type: string maxLength: 255 minLength: 1 display_name: description: The display name of the portal. This value will be the portal's `name` in Portal API. type: string maxLength: 255 minLength: 1 nullable: false description: description: A description of the portal. type: string default: null maxLength: 512 nullable: true x-speakeasy-param-computed: false authentication_enabled: description: 'Whether the portal supports developer authentication. If disabled, developers cannot register for accounts or create applications.' type: boolean default: true rbac_enabled: description: 'Whether the portal resources are protected by Role Based Access Control (RBAC). If enabled, developers view or register for APIs until unless assigned to teams with access to view and consume specific APIs. Authentication must be enabled to use RBAC.' type: boolean default: false ai: $ref: '#/components/schemas/AISettings' sipr_enabled: description: Whether ip allow list is enabled for the portal. type: boolean example: true default: false default_api_visibility: description: 'The default visibility of APIs in the portal. If set to `public`, newly published APIs are visible to unauthenticated developers. If set to `private`, newly published APIs are hidden from unauthenticated developers.' type: string enum: - public - private x-speakeasy-unknown-values: allow default_page_visibility: description: 'The default visibility of pages in the portal. If set to `public`, newly created pages are visible to unauthenticated developers. If set to `private`, newly created pages are hidden from unauthenticated developers.' type: string enum: - public - private x-speakeasy-unknown-values: allow default_application_auth_strategy_id: description: 'The default authentication strategy for APIs published to the portal. Newly published APIs will use this authentication strategy unless overridden during publication. If set to `null`, API publications will not use an authentication strategy unless set during publication.' type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false auto_approve_developers: description: 'Whether developer account registrations will be automatically approved, or if they will be set to pending until approved by an admin.' type: boolean default: false auto_approve_applications: description: 'Whether requests from applications to register for APIs will be automatically approved, or if they will be set to pending until approved by an admin.' type: boolean default: false default_domain: description: The domain assigned to the portal by Konnect. This is the default place to access the portal and its API if not using a `custom_domain``. type: string format: hostname readOnly: true x-speakeasy-param-suppress-computed-diff: true canonical_domain: description: The canonical domain of the developer portal type: string format: hostname nullable: false readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/Labels' notifications_developer_pii_visibility_enabled: description: 'When enabled, portal registration notifications include the registering developer''s identifying information (such as name and email).' type: boolean default: false required: - id - name - display_name - description - authentication_enabled - rbac_enabled - sipr_enabled - default_api_visibility - default_page_visibility - default_application_auth_strategy_id - auto_approve_applications - auto_approve_developers - default_domain - canonical_domain - created_at - updated_at - ai meta: $ref: '#/components/schemas/PaginatedMeta' additionalProperties: false required: - data - meta PortalResponse: description: Details about a portal. content: application/json: schema: x-speakeasy-entity: Portal type: object properties: id: $ref: '#/components/schemas/UUID' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' name: description: 'The name of the portal, used to distinguish it from other portals. Name must be unique.' type: string maxLength: 255 minLength: 1 display_name: description: The display name of the portal. This value will be the portal's `name` in Portal API. type: string maxLength: 255 minLength: 1 nullable: false description: description: A description of the portal. type: string default: null maxLength: 512 nullable: true x-speakeasy-param-computed: false authentication_enabled: description: 'Whether the portal supports developer authentication. If disabled, developers cannot register for accounts or create applications.' type: boolean default: true rbac_enabled: description: 'Whether the portal resources are protected by Role Based Access Control (RBAC). If enabled, developers view or register for APIs until unless assigned to teams with access to view and consume specific APIs. Authentication must be enabled to use RBAC.' type: boolean default: false ai: $ref: '#/components/schemas/AISettings' sipr_enabled: description: Whether ip allow list is enabled for the portal. type: boolean example: true default: false default_api_visibility: description: 'The default visibility of APIs in the portal. If set to `public`, newly published APIs are visible to unauthenticated developers. If set to `private`, newly published APIs are hidden from unauthenticated developers.' type: string enum: - public - private x-speakeasy-unknown-values: allow default_page_visibility: description: 'The default visibility of pages in the portal. If set to `public`, newly created pages are visible to unauthenticated developers. If set to `private`, newly created pages are hidden from unauthenticated developers.' type: string enum: - public - private x-speakeasy-unknown-values: allow default_application_auth_strategy_id: description: 'The default authentication strategy for APIs published to the portal. Newly published APIs will use this authentication strategy unless overridden during publication. If set to `null`, API publications will not use an authentication strategy unless set during publication.' type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false auto_approve_developers: description: 'Whether developer account registrations will be automatically approved, or if they will be set to pending until approved by an admin.' type: boolean default: false auto_approve_applications: description: 'Whether requests from applications to register for APIs will be automatically approved, or if they will be set to pending until approved by an admin.' type: boolean default: false default_domain: description: The domain assigned to the portal by Konnect. This is the default place to access the portal and its API if not using a `custom_domain``. type: string format: hostname readOnly: true x-speakeasy-param-suppress-computed-diff: true canonical_domain: description: The canonical domain of the developer portal type: string format: hostname nullable: false readOnly: true x-speakeasy-param-suppress-computed-diff: true labels: $ref: '#/components/schemas/Labels' notifications_developer_pii_visibility_enabled: description: 'When enabled, portal registration notifications include the registering developer''s identifying information (such as name and email).' type: boolean default: false additionalProperties: false required: - id - name - display_name - description - authentication_enabled - rbac_enabled - sipr_enabled - default_api_visibility - default_page_visibility - default_application_auth_strategy_id - auto_approve_applications - auto_approve_developers - default_domain - canonical_domain - updated_at - created_at title: Portal PortalAssetResponse: description: 'Image asset for the portal. Can be either png, jpeg or svg' content: application/json: schema: type: object properties: data: $ref: '#/components/schemas/PortalImageDataUri' additionalProperties: false required: - data PortalCustomizationResponse: description: The current customization options for a portal. content: application/json: schema: $ref: '#/components/schemas/PortalCustomizationV3' PortalPage: description: Details about a page in a portal. content: application/json: schema: $ref: '#/components/schemas/PortalPageResponse' PortalSnippet: description: Details about a snippet in a portal. content: application/json: schema: $ref: '#/components/schemas/PortalSnippetResponse' GetApplication: description: Details about an application in a portal. content: application/json: schema: $ref: '#/components/schemas/GetApplicationResponse' GetApplicationRegistration: description: Details about an application registration. content: application/json: schema: $ref: '#/components/schemas/GetApplicationRegistrationResponse' UpdateApplicationRegistration: description: Details about the application registration being updated. content: application/json: schema: $ref: '#/components/schemas/UpdateApplicationRegistrationResponse' PortalAuditLogWebhook: description: Portal audit log webhook response content: application/json: schema: type: object properties: enabled: description: Indicates if the data should be sent to the configured audit log destination. type: boolean example: true default: false audit_log_destination_id: description: ID of the audit log destination. type: string format: uuid default: null nullable: true x-speakeasy-param-computed: false include_principal_name: description: Whether to include the principal name in the audit log entries sent to the webhook. type: boolean example: true default: false PortalWebhookBadRequest: description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' PortalSourceIPRestriction: description: The portal's IP allow list configuration. content: application/json: schema: $ref: '#/components/schemas/IPEntry' PortalIdentityProvider: description: | An identity provider configuration. This response represents the configuration of a specific identity provider, which can be either OIDC or SAML. content: application/json: schema: $ref: '#/components/schemas/PortalIdentityProvider' ApiSlugConflict: description: Conflict - `slug` property must be unique content: application/problem+json: schema: type: object properties: status: type: number title: type: string type: type: string default: null nullable: true x-speakeasy-param-computed: false instance: type: string required: - status - title - instance ApiSpecConflict: description: Conflict - An API may only have one specification content: application/problem+json: schema: $ref: '#/components/schemas/ConflictError' ApiSpecHiddenConflict: description: Conflict - name attribute must be unique across specifications content: application/problem+json: schema: $ref: '#/components/schemas/ConflictError' ApiVersionPatchConflict: description: Conflict - May occur when constraints are violated content: application/problem+json: schema: $ref: '#/components/schemas/ConflictError' ApiImplementationConflict: description: Conflict - A gateway service can only be linked to a single API content: application/problem+json: schema: $ref: '#/components/schemas/ConflictError' ApiUnauthorized: description: ApiUnauthorized content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' ApiNotFound: description: Not Found content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' ApiForbidden: description: ApiForbidden content: application/problem+json: schema: $ref: '#/components/schemas/ForbiddenError' ApiPublicationBadRequest: description: Bad Request content: application/problem+json: schema: $ref: '#/components/schemas/BadRequestError' ApiResponse: description: API content: application/json: schema: $ref: '#/components/schemas/ApiResponseSchema' ApiDocumentResponse: description: API document content: application/json: schema: type: object properties: id: $ref: '#/components/schemas/ApiDocumentId' content: $ref: '#/components/schemas/ApiDocumentContent' title: $ref: '#/components/schemas/ApiDocumentTitle' slug: $ref: '#/components/schemas/ApiDocumentSlug' status: $ref: '#/components/schemas/ApiDocumentStatus' parent_document_id: $ref: '#/components/schemas/ApiDocumentParentDocumentId' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - id - parent_document_id - title - slug - status - content - updated_at - created_at title: API Document ApiSpecResponse: description: API specification (OpenAPI or AsyncAPI) content: application/json: schema: type: object properties: id: description: The API specification identifier. type: string format: uuid example: 7710d5c4-d902-410b-992f-18b814155b53 readOnly: true x-speakeasy-param-suppress-computed-diff: true content: description: | The raw content of your API specification, in json or yaml format (OpenAPI or AsyncAPI). example: '{"openapi":"3.0.3","info":{"title":"Example API","version":"1.0.0"},"paths":{"/example":{"get":{"summary":"Example endpoint","responses":{"200":{"description":"Successful response"}}}}}}' type: string validation_messages: description: The errors that occurred while parsing the API specification. type: array items: type: object additionalProperties: false required: - message properties: message: type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true type: description: | The type of specification being stored. This allows us to render the specification correctly. type: string example: oas3 enum: - oas2 - oas3 - asyncapi title: API Spec Type x-speakeasy-unknown-values: allow created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - id - content - type - created_at - updated_at - validation_messages title: API Specification ApiVersionResponse: description: API version (OpenAPI or AsyncAPI) content: application/json: schema: type: object properties: id: description: The API version identifier. type: string format: uuid example: 7710d5c4-d902-410b-992f-18b814155b53 readOnly: true x-speakeasy-param-suppress-computed-diff: true version: description: The version of the api. type: string example: 1.0.0 spec: type: object default: null additionalProperties: false nullable: true properties: content: default: null description: | The raw content of your API spec, in json or yaml format (OpenAPI or AsyncAPI). example: '{"openapi":"3.0.3","info":{"title":"Example API","version":"1.0.0"},"paths":{"/example":{"get":{"summary":"Example endpoint","responses":{"200":{"description":"Successful response"}}}}}}' nullable: true type: string x-speakeasy-param-computed: false type: description: | The type of specification being stored. This allows us to render the specification correctly. type: string example: oas3 enum: - oas2 - oas3 - asyncapi readOnly: true title: API Spec Type x-speakeasy-param-suppress-computed-diff: true x-speakeasy-unknown-values: allow validation_messages: description: The errors that occurred while parsing the API version spec. type: array items: type: object additionalProperties: false required: - message properties: message: type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true x-speakeasy-param-computed: false created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - id - version - created_at - updated_at title: API Version ApiPublicationResponse: description: An API publication in a portal content: application/json: schema: description: An API publication in a portal type: object properties: auto_approve_registrations: $ref: '#/components/schemas/AutoApproveRegistrations' auth_strategy_ids: $ref: '#/components/schemas/ApiPublicationAuthStrategyIds' visibility: $ref: '#/components/schemas/ApiPublicationVisibility' spec_renderer: description: Customization settings for the API spec renderer in the portal. type: object default: null additionalProperties: false nullable: true properties: try_it_ui: description: Enable in-browser testing for your API. All linked gateways must have the CORS plugin configured. type: boolean default: null nullable: true x-speakeasy-param-computed: false try_it_ui_audience: description: | The audience for the Try It UI feature. `all` means that the Try It UI will be available to all users, including unauthenticated users. `authenticated` means that the Try It UI will only be available to authenticated users. `registered` means that the Try It UI will only be available to users who have registered for the API. type: string enum: - all - authenticated - registered nullable: true x-speakeasy-unknown-values: allow required: - try_it_ui - try_it_ui_audience title: ApiPublicationSpecRenderer x-speakeasy-param-computed: false form_id: description: | UUID of portal form associated with API publication, must be linked to given portal and have type of 'api_registration' type: string format: uuid nullable: true x-speakeasy-param-computed: true warnings: description: Informational warnings (e.g. incompatible fields stripped for ACE). Empty if none. type: array items: type: string readOnly: true x-speakeasy-param-suppress-computed-diff: true created_at: $ref: '#/components/schemas/CreatedAt' updated_at: $ref: '#/components/schemas/UpdatedAt' additionalProperties: false required: - visibility - created_at - updated_at - auth_strategy_ids - form_id - spec_renderer title: API Publication ApiImplementationResponse: description: An API implementation content: application/json: schema: description: An entity that implements an API type: object oneOf: - $ref: '#/components/schemas/ApiImplementationGatewayServiceEntity' - $ref: '#/components/schemas/ApiImplementationControlPlaneEntity' required: - id - created_at - updated_at title: API Implementation CreateGatewayResponse: description: A response to creating a gateway. content: application/json: schema: $ref: '#/components/schemas/EventGatewayInfo' UpdateGatewayResponse: description: A response to updating a gateway. content: application/json: schema: $ref: '#/components/schemas/EventGatewayInfo' ClientSecretBody: description: A Client Secret item content: application/json: schema: $ref: '#/components/schemas/ClientSecretItem' AuthServer: description: An auth server content: application/json: schema: $ref: '#/components/schemas/AuthServer' Claim: description: A claim content: application/json: schema: $ref: '#/components/schemas/Claim' Scope: description: A scope content: application/json: schema: $ref: '#/components/schemas/Scope' Client: description: A client content: application/json: schema: $ref: '#/components/schemas/Client' CreatedClient: description: A client with a secret content: application/json: schema: $ref: '#/components/schemas/CreatedClient' OrganizationVpceIdRestriction: description: The organization's VPCE ID restriction configuration. content: application/json: schema: $ref: '#/components/schemas/OrganizationVpceIdRestriction' PersonalAccessTokenSettingsResponse: description: Response containing personal access token settings. content: application/json: schema: x-speakeasy-entity: OrganizationPersonalAccessTokenSettings type: object properties: pats_enabled: type: boolean default: true max_expiration_period_days: $ref: '#/components/schemas/MaxPATExpirationPeriodDays' additionalProperties: false required: - pats_enabled - max_expiration_period_days CatalogMCPResponse: description: Response schema for MCPs. content: application/json: schema: $ref: '#/components/schemas/CatalogMCP' CatalogMCPVersionResponse: description: Response schema for MCP versions. content: application/json: schema: $ref: '#/components/schemas/CatalogMCPVersion' CatalogMCPImplementationResponse: description: Response schema for MCP implementations. content: application/json: schema: $ref: '#/components/schemas/CatalogMCPImplementation' CreateAIGatewayResponse: description: AI Gateway created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGateway' GetAIGatewayResponse: description: A successful response returning an AI Gateway. content: application/json: schema: $ref: '#/components/schemas/AIGateway' UpdateAIGatewayResponse: description: AI Gateway updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGateway' CreateAIGatewayModelResponse: description: Model created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayModel' GetAIGatewayModelResponse: description: A successful response returning the AI Gateway Model. content: application/json: schema: $ref: '#/components/schemas/AIGatewayModel' UpdateAIGatewayModelResponse: description: Model updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayModel' CreateAIGatewayCACertificateResponse: description: AI Gateway CA Certificate created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayCACertificate' GetAIGatewayCACertificateResponse: description: A successful response returning an AI Gateway CA Certificate. content: application/json: schema: $ref: '#/components/schemas/AIGatewayCACertificate' UpdateAIGatewayCACertificateResponse: description: CA Certificate updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayCACertificate' CreateAIGatewayCertificateResponse: description: AI Gateway Certificate created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayCertificate' GetAIGatewayCertificateResponse: description: A successful response returning an AI Gateway Certificate. content: application/json: schema: $ref: '#/components/schemas/AIGatewayCertificate' UpdateAIGatewayCertificateResponse: description: Certificate updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayCertificate' CreateAIGatewaySNIResponse: description: AI Gateway SNI created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewaySNI' GetAIGatewaySNIResponse: description: A successful response returning an AI Gateway SNI. content: application/json: schema: $ref: '#/components/schemas/AIGatewaySNI' UpdateAIGatewaySNIResponse: description: SNI updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewaySNI' CreateAIGatewayDataPlaneCertificateResponse: description: Response body for creating a DataPlane certificate. content: application/json: schema: $ref: '#/components/schemas/AIGatewayDataPlaneClientCertificate' GetAIGatewayDataPlaneCertificateResponse: description: Response body for retrieving a DataPlane certificate. content: application/json: schema: $ref: '#/components/schemas/AIGatewayDataPlaneClientCertificate' CreateAIGatewayVaultResponse: description: AI Gateway Vault created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayVault' GetAIGatewayVaultResponse: description: A successful response returning an AI Gateway Vault. content: application/json: schema: $ref: '#/components/schemas/AIGatewayVault' UpdateAIGatewayVaultResponse: description: Vault updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayVault' CreateAIGatewayDatastoreResponse: description: AI Gateway Datastore created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayDatastore' GetAIGatewayDatastoreResponse: description: A successful response returning an AI Gateway Datastore. content: application/json: schema: $ref: '#/components/schemas/AIGatewayDatastore' UpdateAIGatewayDatastoreResponse: description: Datastore updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayDatastore' CreateAIGatewayPolicyResponse: description: Policy created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayPolicy' GetAIGatewayPolicyResponse: description: A successful response returning the AI Gateway Policy. content: application/json: schema: $ref: '#/components/schemas/AIGatewayPolicy' UpdateAIGatewayPolicyResponse: description: Policy updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayPolicy' CreateAIGatewayCustomPolicyResponse: description: Custom policy created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayCustomPolicy' GetAIGatewayCustomPolicyResponse: description: A successful response returning the AI Gateway Custom Policy. content: application/json: schema: $ref: '#/components/schemas/AIGatewayCustomPolicy' UpdateAIGatewayCustomPolicyResponse: description: Custom policy updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayCustomPolicy' CreateAIGatewayMCPServerResponse: description: MCP Server created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayMCPServer' GetMCPServerResponse: description: A successful response returning an MCP Server. content: application/json: schema: $ref: '#/components/schemas/AIGatewayMCPServer' UpdateAIGatewayMCPServerResponse: description: MCP Server updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayMCPServer' CreateAIGatewayAgentResponse: description: AI Agent created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayAgent' GetAIGatewayAgentResponse: description: A successful response returning an AI Gateway Agent. content: application/json: schema: $ref: '#/components/schemas/AIGatewayAgent' UpdateAIGatewayAgentResponse: description: Agent updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayAgent' CreateAIGatewayConsumerResponse: description: AI Gateway Consumer created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayConsumer' GetAIGatewayConsumerResponse: description: A successful response returning an AI Gateway Consumer. content: application/json: schema: $ref: '#/components/schemas/AIGatewayConsumer' UpdateAIGatewayConsumerResponse: description: Consumer updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayConsumer' CreateAIGatewayConsumerCredentialResponse: description: AI Gateway Consumer credential created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayConsumerCredentialWithKey' GetAIGatewayConsumerCredentialResponse: description: A successful response returning an AI Gateway Consumer credential. content: application/json: schema: $ref: '#/components/schemas/AIGatewayConsumerCredential' CreateAIGatewayConsumerGroupResponse: description: AI Gateway Consumer Group created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayConsumerGroup' GetAIGatewayConsumerGroupResponse: description: A successful response returning an AI Gateway Consumer Group. content: application/json: schema: $ref: '#/components/schemas/AIGatewayConsumerGroup' UpdateAIGatewayConsumerGroupResponse: description: Consumer Group updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayConsumerGroup' AddAIGatewayConsumerToGroupResponse: description: Consumer added to consumer group successfully. content: application/json: schema: type: object properties: consumer: description: The unique ID of the consumer that was added to the consumer group. type: string consumer_group: $ref: '#/components/schemas/AIGatewayConsumerGroup' required: - consumer - consumer_group x-speakeasy-transform-from-api: jq: .consumer = .consumer.id CreateAIGatewayConfigStoreResponse: description: AI Gateway Config Store created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayConfigStore' GetAIGatewayConfigStoreResponse: description: A successful response returning an AI Gateway Config Store. content: application/json: schema: $ref: '#/components/schemas/AIGatewayConfigStore' UpdateAIGatewayConfigStoreResponse: description: Config Store updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayConfigStore' CreateAIGatewayConfigStoreSecretResponse: description: AI Gateway Config Store Secret created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayConfigStoreSecret' GetAIGatewayConfigStoreSecretResponse: description: A successful response returning an AI Gateway Config Store Secret. content: application/json: schema: $ref: '#/components/schemas/AIGatewayConfigStoreSecret' UpdateAIGatewayConfigStoreSecretResponse: description: Config Store Secret updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayConfigStoreSecret' CreateAIGatewayModelProviderResponse: description: Model provider created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayModelProvider' GetAIGatewayModelProviderResponse: description: A successful response returning an AI Gateway Model Provider. content: application/json: schema: $ref: '#/components/schemas/AIGatewayModelProvider' UpdateAIGatewayModelProviderResponse: description: Model provider updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayModelProvider' CreateAIGatewayAuthStrategyResponse: description: Auth strategy created successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayAuthStrategy' GetAIGatewayAuthStrategyResponse: description: A successful response returning an AI Gateway Auth Strategy. content: application/json: schema: $ref: '#/components/schemas/AIGatewayAuthStrategy' UpdateAIGatewayAuthStrategyResponse: description: Auth strategy updated successfully. content: application/json: schema: $ref: '#/components/schemas/AIGatewayAuthStrategy' TooManyRequests: description: Too Many Requests content: application/problem+json: schema: $ref: '#/components/schemas/TooManyRequestsError' KongDirectoryResponse: description: A Directory content: application/json: schema: $ref: '#/components/schemas/KongDirectory' KongPrincipalResponse: description: Response containing a single principal object content: application/json: schema: $ref: '#/components/schemas/KongPrincipal' KongGroupResponse: description: Response containing a single group object content: application/json: schema: $ref: '#/components/schemas/KongGroup' KongGroupMembershipEntryResponse: description: Response containing a single group membership entry content: application/json: schema: $ref: '#/components/schemas/KongGroupMembershipEntry' KongPrincipalCreateKeyResponse: description: A Kong Principal Key content: application/json: schema: $ref: '#/components/schemas/KongPrincipalKeyWithSecret' KongPrincipalKeyResponse: description: A Kong Principal Key content: application/json: schema: $ref: '#/components/schemas/KongPrincipalKey' KongBasicAuthResponse: description: A basic auth credential content: application/json: schema: $ref: '#/components/schemas/KongBasicAuth' KongPasswordCreateResponse: description: 'A password with its secret value, returned only on creation' content: application/json: schema: $ref: '#/components/schemas/KongPasswordWithSecret' KongPasswordResponse: description: A password content: application/json: schema: $ref: '#/components/schemas/KongPassword' KongPrincipalIdentityResponse: description: A principal identity content: application/json: schema: $ref: '#/components/schemas/KongPrincipalIdentity' VaultProviderResponse: description: A vault provider content: application/json: schema: $ref: '#/components/schemas/VaultProvider' VaultKeyResponse: description: A vault key content: application/json: schema: $ref: '#/components/schemas/VaultKey' VaultProviderCredentialResponse: description: Shared credential metadata (never includes the value) content: application/json: schema: $ref: '#/components/schemas/VaultProviderCredential' VaultProviderCredentialSharedResponse: description: Shared credential metadata (never includes the value) content: application/json: schema: $ref: '#/components/schemas/VaultProviderCredentialShared' TrustedIdpResponse: description: A trusted IdP content: application/json: schema: $ref: '#/components/schemas/TrustedIdp' DestinationResponse: description: A single destination. content: application/json: schema: $ref: '#/components/schemas/Destination' DestinationWithSecretResponse: description: A single destination with its new signing secret. content: application/json: schema: $ref: '#/components/schemas/DestinationWithSecret' OrgSubscriptionResponse: description: A single org subscription. content: application/json: schema: $ref: '#/components/schemas/OrgSubscription' DataPlaneClientCertificateResponse: description: Response body for retrieving a dp-client-certificate. content: application/json: schema: type: object properties: item: $ref: '#/components/schemas/DataPlaneClientCertificate' plugin-schemas: description: A response for a single custom plugin schema. content: application/json: schema: type: object properties: item: x-speakeasy-entity: GatewayCustomPluginSchema type: object default: null nullable: true properties: lua_schema: description: The custom plugin schema; `jq -Rs '.' schema.lua`. type: string example: 'return { name = \"myplugin\", fields = { { config = { type = \"record\", fields = { } } } } }' default: null nullable: true x-speakeasy-param-computed: false name: description: The custom plugin name determined by the custom plugin schema. type: string example: myplugin default: null nullable: true x-speakeasy-param-computed: false created_at: description: An ISO-8604 timestamp representation of custom plugin schema creation date. type: integer example: 1422386534 updated_at: description: An ISO-8604 timestamp representation of custom plugin schema update date. type: integer example: 1422412345 x-speakeasy-param-computed: false ConfigStoreResponse: description: Config Store content: application/json: schema: $ref: '#/components/schemas/ConfigStore' ConfigStoreSecretResponse: description: Config Store Secret content: application/json: schema: $ref: '#/components/schemas/ConfigStoreSecret' ConfigStoreUnauthorized: description: Unauthorized content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' ConfigStoreSecretUnauthorized: description: Unauthorized content: application/problem+json: schema: $ref: '#/components/schemas/UnauthorizedError' ConfigStoreNotFound: description: Not Found content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' ConfigStoreSecretNotFound: description: Not Found content: application/problem+json: schema: $ref: '#/components/schemas/NotFoundError' GetPluginSchemaResponse: description: The schema for the plugin content: application/json: schema: type: object properties: fields: type: array items: additionalProperties: true type: object default: null nullable: true x-speakeasy-param-computed: false HTTP401Error: description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/GatewayUnauthorizedError' securitySchemes: personalAccessToken: type: http scheme: bearer bearerFormat: Token description: The personal access token is meant to be used as an alternative to basic-auth when accessing Konnect via APIs. You can generate a Personal Access Token (PAT) from the personal access token page in the Konnect dashboard. systemAccountAccessToken: type: http scheme: bearer bearerFormat: Token description: | The system account access token is meant for automations and integrations that are not directly associated with a human identity. You can generate a system account Access Token by creating a system account and then obtaining a system account access token for that account. The access token must be passed in the header of a request, for example: `curl -X GET 'https://global.api.konghq.com/v2/users/' --header 'Authorization: Bearer spat_i2Ej...'` konnectAccessToken: type: http scheme: bearer bearerFormat: JWT description: The Konnect access token is meant to be used by the Konnect dashboard and the decK CLI to authenticate with. serviceAccessToken: type: http scheme: bearer bearerFormat: JWT description: | The Service access token is meant to be used between internal services. tags: - name: Control Planes - name: Control Plane Groups - name: Data-Plane Group Configurations description: | A Cloud Gateway configuration declares the desired state of a control plane's data plane groups — where they run, how many instances, the gateway version, and the autoscaling strategy. Apply a configuration with PUT, and Kong reconciles the running data planes to match. - name: Networks description: | Networks are provider-backed VPC or VNet resources that host dedicated Cloud Gateway data plane groups. Each network is tied to a specific cloud provider account, region, and CIDR block. A network must reach the `ready` state before it can be referenced in a configuration. - name: Transit Gateways description: | Transit gateways connect a Cloud Gateway network to your cloud infrastructure. Supported attachment types span all three major cloud providers: AWS Transit Gateway, AWS VPC Peering, AWS Resource Endpoint (PrivateLink), Azure VNet Peering, Azure Virtual Hub Peering, and GCP VPC Peering. - name: Private DNS description: | Private DNS attachments enable a Cloud Gateway network to resolve private DNS zones hosted in your cloud provider — AWS Private Hosted Zones, AWS Outbound Resolvers, Azure Private Hosted Zones, Azure Outbound Resolvers, and GCP Private Hosted Zones. - name: Add-Ons description: | Optional services that extend the capabilities of a Cloud Gateway data plane group. The currently supported add-on type is managed cache (`managed-cache.v0`), which provisions a Redis-compatible in-memory cache co-located with your data planes. Each add-on is scoped to a control plane or control plane group, and is automatically deployed across all data plane groups that belong to that owner. - name: Provider Accounts description: | Provider Accounts link your Konnect organization to a cloud provider account (AWS, Azure, or GCP) so that Cloud Gateway networks can be provisioned in the dedicated cloud provider account. Each provider account maps a Konnect organization to a cloud provider account ID, which Konnect uses when creating network peering and hub-and-spoke attachments. - name: Custom Domains description: | Custom Domains let you assign bring-your-own hostnames to a Cloud Gateway control plane. After creation the domain moves through `initializing → ready` as Konnect provisions TLS certificates and configures SNI routing on the data planes. Use the online-status endpoint to confirm CNAME and SSL readiness before routing traffic. - name: Mesh - name: API Products - name: API Product Documentation - name: API Product Versions - name: API Product Version Specification - name: DCR Providers description: | Dynamic Client Registration Providers are configurations representing an external Identity Provider whose clients (i.e. Applications) Konnect will be authorized to manage. For instance, they will be able to perform dynamic client registration (DCR) with the provider. The DCR provider provides credentials to each DCR-enabled application in Konnect that can be used to access Product Versions that the app is registered for. - name: App Auth Strategies description: | Application Auth Strategies are sets of plugin configurations that represent how the gateway will perform authentication and authorization for a Product Version. Called “Auth Strategy” for short in the context of portals/applications. The plugins are synced to any Gateway Service that is currently linked or becomes linked to the Product Version. The optional `principals` property controls application-principal behavior for V3 API Catalog portals and applications. It defaults to disabled when omitted. - name: Auth Settings - name: Roles - name: Team Membership - name: Teams - name: System Accounts - name: System Accounts - Access Tokens - name: System Accounts - Roles - name: System Accounts - Team Membership - name: Personal Access Tokens - name: Serverless Cloud Gateways - name: Audit Logs - name: Realms description: | Use a realm to group consumers around an identity, defined by organizational boundaries, such as a production realm or a development realm. Realms are connected to a [geographic region](https://docs.konghq.com/konnect/geo/) in Konnect. Centrally managed consumers defined in realms can be used across multiple control planes. - name: Centrally Managed Consumers description: | Consumers can be scoped to a Konnect region and managed centrally, or be scoped to a control plane in Gateway Manager. Use centrally managed consumers to set up identity of the consumer once, and share it across multiple control planes. Consumers that are managed centrally aren’t part of the configuration that is pushed down from the control plane to the data planes, so it reduces config size and latency. - name: Centrally Managed Keys description: | Centrally managed consumers use key-auth mechanism to authenticate consumers. Keys refer to the API key credential used by the consumer to authenticate to your services. - name: CMEK description: 'Customer Managed Encryption Keys (CMEK) are used to encrypt and decrypt sensitive data in Konnect. They allow you to manage your own encryption keys using AWS Key Management Service (KMS). CMEKs provide an additional layer of security and compliance for your Konnect deployments, ensuring that your data is encrypted with keys that you control. Avoid revoking or deleting a KMS key and CMEK that is actively used by Konnect, as this can lead to data loss or service disruptions.' - name: Catalog Services description: | Create and maintain a centralized catalog of all services running in your organization. Add custom fields and map resources from across your organization to provide a 360-degree overview of your services. Custom fields allow you to surface key information such as: - `Owner`: The person or team responsible for the service - `Product Manager`: The person assigned to guide the service's direction for customer success - `Jira Project`: The Jira project which represents past, present and future work for the service Resources are discovered from the integrations you use within your organization to create, operate and manage your services. Mapping the resources relevant to your service will provide a rich view of the service's communication channels, dependencies and more. Types of resources which you can map to a service include: - `Code Repositories:` The software project(s) that make up the service - `Monitors and Dashboards:` Tools providing visibility into the health and performance of the service - `Communication Channels`: Virtual spaces where questions and concerns can be raised about the service - `Incident Management Resources`: Alerts setup within your incident management platform to notify individuals regarding issues with the service - name: Integration Instances description: | An integration instance represents a specific account of the integration which contains the resources used to manage and support your services. Some integrations provide configuration options to customize how it should behave once authorized (see the integration's manifest for details). Konnect-internal integrations are built-in and do not need to be installed. Once an integration instance is created, authorize the instance to allow the Service Catalog to discover its resources. Note that deleting an integration instance is a **destructive** operation. When an integration instance is deleted, all its resources and mappings will be deleted from the service catalog. In cases where the integration instance's credentials need to be updated, you may re-authorize the instance to retain all currently discovered resources and mappings. To set up and view a list of all the integrations we support, please view our [documentation](https://developer.konghq.com/service-catalog/integrations/). - name: Integration Instance Auth Credentials description: | Represents the credentials use to authorize an integration instance. You will want to configure the integration instance settings and authorization configuration before authorizing the instance. This will inform the authorization process on how to reach and authorize the account. Once the integration instance is authorized, the system will automatically discover all the relevant resources from the account. The integration instance's auth credentials can be removed or updated while retaining all resources which have already been discovered. - name: Integration Instance Auth Config description: | A integration instance may need to be provided with an auth config before authorizing the instance. Typically an auth config will be required when authorizing against a integration which is hosted within your organization. The integration instance's auth config will inform how the Service Catalog will authorize the integration instance. Note that updating the auth config for an instance which is already authorized will **remove the existing credential**, requiring you to re-authorize the instance. - name: Portal Appearance description: APIs related to Konnect Developer Portal Appearance Settings. - name: Portal Product Versions description: | Portal Product Versions hold metadata that describes how a Product Version is configured for a specific portal. They contain: - Lifecyle and deprecation statuses - Application registration settings like auto approve or whether application registration is enabled - The authentication strategy that is enabled for Application Registration - name: Portals description: APIs related to configuration of Konnect Developer Portals. - name: Portal Custom Domains description: APIs related to configuration of Konnect Developer Portals custom domains. - name: Portal Customization description: APIs related to customization of Konnect Developer Portals. - name: Portal Auth Settings description: APIs related to configuration of Konnect Developer Portal auth settings. - name: Portal Developers description: APIs related to Konnect Developer Portal developers. - name: Portal Teams description: APIs related to configuration of Konnect Developer Portal developer teams. - name: Portal Team Membership description: APIs related to Konnect Developer Portal developer team membership. - name: Portal Team Roles description: APIs related to Konnect Developer Portal developer team roles. - name: Assets description: APIs for managing static assets for Konnect Developer Portals. - name: Pages description: APIs related to Konnect Developer Portal Custom Pages. - name: Snippets description: APIs related to Konnect Developer Portal Custom Snippets. - name: Applications description: APIs related to Konnect Developer Portal Applications. - name: Application Registrations description: APIs related to Konnect Developer Portal Application Registrations. - name: Portals IP Allow List description: APIs related to Konnect Portal IP Allow List. - name: API - name: API Documentation - name: API Specification - name: API Publication - name: API Implementation - name: Platform IPs description: Konnect IP inventory - name: Platform Regions description: Konnect region availability - name: Event Gateways description: | Create an Event Gateway Control Plane, used to store Event Gateway configuration - name: Event Gateway Backend Clusters description: | A backend cluster is an abstraction of a real Kafka cluster. It stores the connection and configuration details required for Kong Event Gateway to proxy traffic to Kafka. Multiple Kafka clusters can be proxied through a single Kong Event Gateway. - name: Event Gateway Virtual Clusters description: | Virtual clusters are the primary way clients interact with the Event Gateway proxy. They allow you to isolate clients from each other when connecting to the same backend cluster, and provide each client with modified view while still appearing as a standard Kafka cluster. - name: Event Gateway Listeners description: | A listener represents hostname-port or IP-port combinations that connect to TCP sockets. Listeners need at least as many ports as backend brokers if you use port mapping in a Forward to Virtual Cluster policy. For SNI routing, you can route all brokers using a listener with only one port. Ports can be expressed as a single port or range. Addresses can be IPv4, IPv6, or hostnames. A listener can have policies that enforce TLS certificates and perform SNI routing. The listener runs at Layer 4 of the network stack. In Kong Event Gateway, listeners first take in the connection and then route the TCP connection to a virtual cluster based on conditions defined in listener policies. - name: Event Gateway Listener Policies description: | Policies control how Kafka protocol traffic is modified between the client and the backend cluster. Listener policies are routing policies that pass traffic to the virtual cluster. - name: Event Gateway Virtual Cluster Policies description: | Policies control how Kafka protocol traffic is modified between the client and the backend cluster. Cluster policies are transformation and validation policies that can be applied to Kafka messages. - name: Event Gateway Virtual Cluster Produce Policies description: | Produce policies operate on Kafka messages before they are written to the Kafka cluster. Where possible, apply transformations to the data using produce policies rather than consume policies for maximum efficiency. - name: Event Gateway Virtual Cluster Consume Policies description: | Consume policies operate on Kafka messages as they are read from a Kafka cluster. Transformations may be applied at consume time, but they are applied once per Consumer. Where possible, transofmrations should be applied as a Produce policy - name: Event Gateway DataPlane Certificates description: | DataPlane certificates control how your running Event Gateway instances connect to the Control Plane - name: Event Gateway Static Keys description: | Static Keys are used by the Encrypt and Decrypt policies to encrypt data at rest - name: Event Gateway Schema Registries description: | Configure a schema registry that can be used to validate payloads when producing/consuming messages - name: Event Gateway TLS Trust Bundles description: | A TLS trust bundle defines a set of trusted certificate authorities (CAs) used for client certificate verification during mutual TLS (mTLS). Trust bundles are referenced by TLS listener policies to determine which client certificates are accepted. - name: Auth Server description: 'Auth Servers expose an OAuth 2.0 and OpenID Connect server interface for generating access tokens. The management API will give you the ability to create, configure and manage multiple Auth Servers per Konnect organization. Auth Servers are a regional Konnect entity.' - name: Auth Server Clients description: 'Clients represent the identity of machines, such as microservices, mobile apps, or scripts entity. The management API will give you the ability to create, configure and manage multiple Clients per Auth Server.' - name: Auth Server Claims description: 'Claims are statements about the Client, included in tokens issued by the Auth Server. The management API will give you the ability to create, configure and manage multiple Claims per Auth Server, and include them in tokens based on the requested Scopes.' - name: Auth Server Scopes description: 'Scopes define the extent of access that an access token grants to a Client. The management API will give you the ability to create, configure and manage multiple Scopes per Auth Server, and restrict their usage by Client.' - name: Organizations description: API related to the management of Konnect Organizations - name: Catalog AI Models description: Manage AI Models - a catalogable proxy for AI Gateway models - name: Catalog AI Model Versions description: Manage an AI Model's version. - name: Catalog AI Model Specs description: Manage an AI Model version's oas specification. - name: Catalog AI Model Implementations description: Link an AI Model to an AI Gateway model. - name: Catalog MCPs description: Manage MCPs - a catalogable proxy for AI Gateway MCPs - name: Catalog MCP Versions description: Manage an MCP's version. - name: Catalog MCP Implementations description: Link an MCP to an AI Gateway MCP. - name: AI Gateways description: API related to the management of Konnect AI Gateway resources. - name: AI Gateway DataPlane Certificates description: API related to the management of AI Gateway DataPlane Certificates. - name: AI Gateway CA Certificates description: API related to the management of AI Gateway CA Certificates. - name: AI Gateway Certificates description: API related to the management of AI Gateway Certificates. - name: AI Gateway Config Stores description: API related to the management of AI Gateway Config Stores. - name: AI Gateway Vaults description: API related to the management of AI Gateway vaults for storing secrets. - name: AI Gateway Datastores description: 'Datastores that back AI Gateway policies and models, such as Redis and vector database connections.' - name: AI Gateway Agents description: AI Agents registered with the AI Gateway. - name: AI Gateway Consumers description: Individual consumers with credentials and group memberships for AI Gateway access control. - name: AI Gateway Consumer Groups description: Consumer groups for applying rate-limiting and access policies to AI Gateway traffic. - name: AI Gateway Auth Strategies description: Auth strategies for authenticating clients accessing AI Gateway resources. - name: AI Gateway Models description: 'Models that define routing, capabilities, and backend targets for the AI Gateway.' - name: AI Gateway Policies description: 'Policies that control security, rate-limiting, and guardrail behavior for the AI Gateway.' - name: AI Gateway Custom Policies description: Custom policies that let you bring your own Lua plugin schema and handler to the AI Gateway. - name: AI Gateway MCP Servers description: MCP Servers that expose tools for AI Gateway integrations. - name: AI Gateway Model Providers description: Model providers that define the backend AI service connections for the AI Gateway. - name: budgets description: 'Budgets set spending limits, or exemptions from them, for parts of the organization''s usage. These operations manage budgets and their notification rules, and read balances, firings, and notification events.' - name: notification-channels description: Notification channels are the email recipient lists and Slack incoming webhooks that budget alerts go to. These operations manage the channels and send test messages. - name: exports description: 'Exports copy the organization''s cost and usage data into files to download. These operations manage one-time exports and export schedules, and download the files.' - name: Kong Identity Directories description: | Use a directory to group consumers around an identity, defined by organizational boundaries, such as a production directory or a development directory. Directories are connected to a [geographic region](https://docs.konghq.com/konnect/geo/) in Konnect. Centrally managed consumers defined in directories can be used across multiple control planes. - name: KongPrincipal description: | Principals represent identities within a directory that can be authenticated and authorized. Each principal can have associated metadata and API keys for authentication purposes. - name: KongPrincipalCredential description: | Credentials are authentication secrets associated with principals. Supported credential types are API keys (system-generated or imported) and basic auth username/password pairs. - name: KongPrincipalIdentity description: | Identities represent external authentication associations for a principal. Each identity links a principal to an external system such as an OIDC provider, an auth server client, a control plane consumer, or a custom identifier. - name: TokenVaultProviders description: | Vault providers configure credential providers for token-vault enabled directories. - name: TokenVaultKeys description: | Vault keys are the public encryption keys used to protect token vault data for a token-vault enabled directory. - name: PrincipalGroup description: | Groups organize principals, or other groups, within a directory for authorization purposes. - name: Trusted IdPs description: | Trusted IdPs configure the external identity providers a token-vault enabled directory trusts when validating tokens. A directory can trust several IdPs, each with a distinct issuer. - name: Org Configurations description: 'Operations related to org scoped notifications and their org subscriptions. The webhook channel of an org scoped notification is set up for the whole organization, and no user can switch it on or off. Only an org admin can use these operations. The routes exist only when webhook destinations are enabled.' - name: Destinations description: Operations related to webhook destinations and their deliveries. Only an org admin can use these operations. The destination routes exist only when webhook destinations are enabled. - description: DP Certificates name: DP Certificates - description: Custom Plugin Schemas name: Custom Plugin Schemas - description: Config Stores name: Config Stores - description: Config Store Secrets name: Config Store Secrets - name: ACLs - name: API-keys - name: Basic-auth credentials - description: |- A CA certificate object represents a trusted certificate authority. These objects are used by Kong Gateway to verify the validity of a client or server certificate. name: CA Certificates - description: | A certificate object represents a public certificate, and can be optionally paired with the corresponding private key. These objects are used by Kong Gateway to handle SSL/TLS termination for encrypted requests, or for use as a trusted CA store when validating peer certificate of client/service. <br><br> Certificates are optionally associated with SNI objects to tie a cert/key pair to one or more hostnames. <br><br> If intermediate certificates are required in addition to the main certificate, they should be concatenated together into one string. name: Certificates - name: Cloned Plugins - description: |- Consumer groups enable the organization and categorization of consumers (users or applications) within an API ecosystem. By grouping consumers together, you eliminate the need to manage them individually, providing a scalable, efficient approach to managing configurations. name: Consumer Groups - description: | The consumer object represents a consumer - or a user - of a service. You can either rely on Kong Gateway as the primary datastore, or you can map the consumer list with your database to keep consistency between Kong Gateway and your existing primary datastore. name: Consumers - name: CustomPlugins - name: GraphQL Cost Decorations - name: HMAC-auth credentials - name: JWTs - description: | A JSON Web key set. Key sets are the preferred way to expose keys to plugins because they tell the plugin where to look for keys or have a scoping mechanism to restrict plugins to specific keys. name: KeySets - description: | A key object holds a representation of asymmetric keys in various formats. When Kong Gateway or a Kong plugin requires a specific public or private key to perform certain operations, it can use this entity. name: Keys - name: MTLS-auth credentials - description: 'Some entities in Kong Gateway share common configuration settings that often need to be repeated. For example, multiple plugins that connect to Redis may require the same connection settings. Without Partials, you would need to replicate this configuration across all plugins. If the settings change, you would need to update each plugin individually.' name: Partials - description: |- A plugin entity represents a plugin configuration that will be executed during the HTTP request/response lifecycle. Plugins let you add functionality to services that run behind a Kong Gateway instance, like authentication or rate limiting. You can find more information about available plugins and which values each plugin accepts at the [Plugin Hub](https://developer.konghq.com/plugins/). <br><br> When adding a plugin configuration to a service, the plugin will run on every request made by a client to that service. If a plugin needs to be tuned to different values for some specific consumers, you can do so by creating a separate plugin instance that specifies both the service and the consumer, through the service and consumer fields. name: Plugins - description: | Route entities define rules to match client requests. Each route is associated with a service, and a service may have multiple routes associated to it. Every request matching a given route will be proxied to the associated service. You need at least one matching rule that applies to the protocol being matched by the route. <br><br> The combination of routes and services, and the separation of concerns between them, offers a powerful routing mechanism with which it is possible to define fine-grained entrypoints in Kong Gateway leading to different upstream services of your infrastructure. <br><br> Depending on the protocol, one of the following attributes must be set: <br> - `http`: At least one of `methods`, `hosts`, `headers`, or `paths` - `https`: At least one of `methods`, `hosts`, `headers`, `paths`, or `snis` - `tcp`: At least one of `sources` or `destinations` - `tls`: at least one of `sources`, `destinations`, or `snis` - `tls_passthrough`: set `snis` - `grpc`: At least one of `hosts`, `headers`, or `paths` - `grpcs`: At least one of `hosts`, `headers`, `paths`, or `snis` - `ws`: At least one of `hosts`, `headers`, or `paths` - `wss`: At least one of `hosts`, `headers`, `paths`, or `snis` <br> A route can't have both `tls` and `tls_passthrough` protocols at same time. <br><br> Learn more about the router: - [Configure routes using expressions](https://developer.konghq.com/gateway/routing/expressions/) name: Routes - description: |- An SNI object represents a many-to-one mapping of hostnames to a certificate. <br><br> A certificate object can have many hostnames associated with it. When Kong Gateway receives an SSL request, it uses the SNI field in the Client Hello to look up the certificate object based on the SNI associated with the certificate. name: SNIs - description: | Service entities are abstractions of your microservice interfaces or formal APIs. For example, a service could be a data transformation microservice or a billing API. <br><br> The main attribute of a service is the destination URL for proxying traffic. This URL can be set as a single string or by specifying its protocol, host, port and path individually. <br><br> Services are associated to routes, and a single service can have many routes associated with it. Routes are entrypoints in Kong Gateway which define rules to match client requests. Once a route is matched, Kong Gateway proxies the request to its associated service. See the [Route documentation](https://developer.konghq.com/gateway/entities/route/) for a detailed explanation of how Kong proxies traffic. <br><br> Services can be both [tagged and filtered by tags](https://developer.konghq.com/admin-api/). name: Services - description: | A target is an IP address or hostname with a port that identifies an instance of a backend service. Every upstream can have many targets, and the targets can be dynamically added, modified, or deleted. Changes take effect on the fly. <br><br> To disable a target, post a new one with `weight=0`, or use the `DELETE` method to accomplish the same. name: Targets - description: |- The upstream object represents a virtual hostname and can be used to load balance incoming requests over multiple services (targets). <br><br> An upstream also includes a [health checker](https://developer.konghq.com/gateway/traffic-control/health-checks-circuit-breakers/), which can enable and disable targets based on their ability or inability to serve requests. The configuration for the health checker is stored in the upstream object, and applies to all of its targets. name: Upstreams - description: | Vault objects are used to configure different vault connectors for [managing secrets](https://developer.konghq.com/gateway/secrets-management/). Configuring a vault lets you reference secrets from other entities. This allows for a proper separation of secrets and configuration and prevents secret sprawl. <br><br> For example, you could store a certificate and a key in a vault, then reference them from a certificate entity. This way, the certificate and key are not stored in the entity directly and are more secure. <br><br> Secrets rotation can be managed using [TTLs](https://developer.konghq.com/gateway/entities/vault/). name: Vaults externalDocs: description: Documentation for Kong Gateway and its APIs url: 'https://developer.konghq.com' security: - personalAccessToken: [] - systemAccountAccessToken: [] - konnectAccessToken: [] - serviceAccessToken: [] x-speakeasy-retries: strategy: backoff backoff: initialInterval: 500 maxInterval: 60000 maxElapsedTime: 3600000 exponent: 1.5 statusCodes: - 429 retryConnectionErrors: true