Search bundles
search_bundlesSearch the index of OKF bundles: free text over name, tagline, description and origin; filter by provenance (github|domain), repository, version, language, license, root type or concept count; search root concept text. Paginate with limit/offset. Only live bundles. Free text matches the name, the tagline, the description and the origin identifier (owner/repo:path or the bundle URL). No total on purpose: GET /api/okf/stats has it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free text over name, tagline, description and origin identifier. | |
| repo | No | Only bundles of one repository, `owner/repo` (case-insensitive). | |
| sort | No | Result order: arrival, last content change, name or repository stars. | recent |
| type | No | Type declared by the root, not the types of every concept. Up to 5 comma-separated values, 40 characters each. | |
| limit | No | Bundles per page, at most 100. | |
| offset | No | How many bundles to skip. Use `next_offset` from the previous response; the list ends at 1000. | |
| origin | No | Provenance: found by the GitHub sweep, or submitted by a domain. | |
| concept | No | Text in the indexed root content, including listed concept names and summaries (first 1000 characters); up to 80 characters. | |
| license | No | Repository license. Up to 5 comma-separated values, 40 characters each. | |
| version | No | Only bundles declaring one of these `okf_version` values; comma-separated, up to 5. | |
| concepts | No | Number of entries listed by the root. Up to 5 comma-separated bands: 0,1-5,6-20,21-100,101+. | |
| language | No | Only bundles whose repository language is one of these; comma-separated, up to 5 (GitHub bundles). |