This page is Public
Some Working Groups define API definitions, with examples and are still using the W3C document license.
If you include WebIDL definitions, examples, code samples, the document license states (as of January 1st, 2023):
In addition, "Code Components" — Web IDL in sections clearly marked as Web IDL; and W3C-defined markup (HTML, CSS, etc.) and computer programming language code clearly marked as code examples— are licensed under the W3C Software License.
The W3C Software License is listed at the Open Source Initiative.
Feedback is to @w3c/guidebook and is welcome on GitHub