kibana/oas_docs
Kibana Machine c98b3abeaf
[8.18] Remove tech preview designation from session invalidation API (#224076) (#224104)
# Backport

This will backport the following commits from `main` to `8.18`:
- [Remove tech preview designation from session invalidation API
(#224076)](https://github.com/elastic/kibana/pull/224076)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Larry
Gregory","email":"larry.gregory@elastic.co"},"sourceCommit":{"committedDate":"2025-06-16T16:30:51Z","message":"Remove
tech preview designation from session invalidation API (#224076)\n\n##
Summary\n\nRemoves the tech preview designation from the session
invalidation API.\n\nResolves
https://github.com/elastic/kibana/issues/224070\n\n## Release Note\nThe
Session Invalidation API is now marked as
Stable.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"39818955b943010d7b0b8e195f3534261d98e18a","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:Security","backport:prev-major","v9.1.0"],"title":"Remove
tech preview designation from session invalidation
API","number":224076,"url":"https://github.com/elastic/kibana/pull/224076","mergeCommit":{"message":"Remove
tech preview designation from session invalidation API (#224076)\n\n##
Summary\n\nRemoves the tech preview designation from the session
invalidation API.\n\nResolves
https://github.com/elastic/kibana/issues/224070\n\n## Release Note\nThe
Session Invalidation API is now marked as
Stable.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"39818955b943010d7b0b8e195f3534261d98e18a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/224076","number":224076,"mergeCommit":{"message":"Remove
tech preview designation from session invalidation API (#224076)\n\n##
Summary\n\nRemoves the tech preview designation from the session
invalidation API.\n\nResolves
https://github.com/elastic/kibana/issues/224070\n\n## Release Note\nThe
Session Invalidation API is now marked as
Stable.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"39818955b943010d7b0b8e195f3534261d98e18a"}}]}]
BACKPORT-->

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2025-06-16 20:12:41 +02:00
..
examples [8.x] [DOCS] Remove inference connector docs (#198633) (#199846) 2024-11-12 13:56:59 -06:00
linters [8.18] [DOCS] Removes Serverless API x-beta overlay (#215587) (#215601) 2025-03-25 11:06:59 +01:00
output [8.18] Remove tech preview designation from session invalidation API (#224076) (#224104) 2025-06-16 20:12:41 +02:00
overlays [8.18] [DOCS] Microsoft Defender for Endpoint connector (#219999) (#220595) 2025-05-09 08:48:39 -04:00
scripts [8.18] [DOCS] Add minimal synthetic APIs (#214518) (#217902) 2025-04-11 10:53:31 -04:00
bundle.json [8.x] Store gaps info in event log (#192347) (#208936) 2025-01-30 07:08:09 -08:00
kibana.info.yaml [DOCS] Update branch detail in API docs (#218316) 2025-04-16 00:05:40 +02:00
makefile [8.18] [DOCS] Removes Serverless API x-beta overlay (#215587) (#215601) 2025-03-25 11:06:59 +01:00
package-lock.json [8.x] Update dependency @redocly/cli to ^1.27.2 (main) (#207527) (#207948) 2025-01-23 00:19:21 +00:00
package.json [8.x] Update dependency @redocly/cli to ^1.27.2 (main) (#207527) (#207948) 2025-01-23 00:19:21 +00:00
README.md [8.18] SKA: Relocate "platform" packages that remain on /packages (208704) (#212751) 2025-03-05 19:22:58 +03:00

Kibana API reference documentation

Documentation about our OpenAPI bundling workflow and configuration. See Kibana's hosted stateful and serverless docs.

Workflow

The final goal of this workflow is to produce an OpenAPI bundle containing all Kibana's public APIs.

Step 0

OAS from Kibana's APIs are continuously extracted and captured in bundle.json and bundle.serverless.json as fully formed OAS documentation. See node scripts/capture_oas_snapshot --help for more info.

These bundles form the basis of our OpenAPI bundles to which we append and layer extra information before publishing.

Step 1

Append pre-existing bundles not extracted from code using kbn-openapi-bundler to produce the final resulting bundles.

To add more files into the final bundle, edit the appropriate oas_docs/scripts/merge*.js files.

Step 2

Apply any final overalys to the document that might include examples or final tweaks (see the "Scripts" section for more details).

Scripts

The oas_docs/scripts folder contains scripts that point to the source domain-specific OpenAPI bundles and specify additional parameters for producing the final output bundle. Currently, there are the following scripts:

  • merge_ess_oas.js script produces production an output bundle for ESS

  • merge_serverless_oas.js script produces production an output bundle for Serverless

Output Kibana OpenAPI bundles

The oas_docs/output folder contains the final resulting Kibana OpenAPI bundles

  • kibana.yaml production ready ESS OpenAPI bundle
  • kibana.serverless.yaml production ready Serverless OpenAPI bundle

Bundling commands

Besides the scripts in the oas_docs/scripts folder, there is an oas_docs/makefile to simplify the workflow. Use make help to see available commands.