Match the identifier and name
Search MIT License within spdx-licenses. The recorded result identifies MIT and links the corresponding SPDX page. Similar names can describe different licenses, so check the identifier as well as the display name.
Retrieve an SPDX identifier and its source. Identification alone does not establish permission to use code.
Search MIT License within spdx-licenses. The recorded result identifies MIT and links the corresponding SPDX page. Similar names can describe different licenses, so check the identifier as well as the display name.
Keep the reported SPDX list version, deprecation status, and reference links. Follow the original license page for its text. Metadata describes the listed license; it does not establish which license applies to a particular repository.
An agent can cite the record to identify a license. It should not turn a registry match into permission to reuse code or a conclusion about license compatibility. If the passages do not support the question, report that limitation.
Run this in a POSIX shell with curl. Public reads need no account or API key.
curl --fail-with-body 'https://koskamo.com/api/v1/retrieve' -H 'Content-Type: application/json' --data-raw '{"query":"MIT License","dataset":"spdx-licenses","top_k":3}'{
"text": "MIT License (MIT) is a license on the SPDX License List version 3.29.0.\n\n- SPDX identifier: MIT\n- Full name: MIT License\n- OSI approved: yes\n- FSF libre: yes\n- Deprecated: no\n- License page: https://spdx.org/licenses/MIT.html\n- See also: https://opensource.org/license/MIT; https://gitlab.freedesktop.org/xorg/xserver/-/blob/dd5c2595a42d3ff0c4f18d9b53d1f6c3fd934fd4/COPYING#L365-389\n- SPDX License List version: 3.29.0",
"datasetSlug": "spdx-licenses",
"datasetVersion": 827,
"documentId": "7cf798d9-bcac-4076-a26c-ba0228850322",
"documentTitle": "MIT (MIT License)",
"documentVersion": 1,
"sourceUrl": "https://spdx.org/licenses/MIT.html"
}Keep documentId and documentVersion together with the dataset slug, document title, and original source URL. The dataset version describes the collection; it is not the document version. Preserve this evidence through summarization and show it with the final answer.
MIT (MIT License), document v1, spdx-licenses. https://koskamo.com/data/datasets/spdx-licenses/documents/7cf798d9-bcac-4076-a26c-ba0228850322?version=1 Source: https://spdx.org/licenses/MIT.html