SearchResponse
Shape
itemsarray of SearchHit
- The SearchHit schema
- idstringThe resource's own identifier, as its domain names it (an issue
uid, a repository id, a group id, a releasetag_name). - kindSearchHitKindissuemerge_requestrepositorygroupreleasecommentservicespecwikiWhat kind of thing a search result is.
- ranknumber · floatHow well the result matches the query; results are ordered by it, highest first.
- titlestring
- updated_atstring
- excerptstring or nulloptionalA short excerpt of the matching body, when the kind has one.
- iidinteger · int64 or nulloptional0–∞The per-scope sequential number, for the kinds that have one. A comment carries the number of the work item or merge request it was written on.
- onSearchHitKindissuemerge_requestrepositorygroupreleasecommentservicespecwikior nulloptionalFor a comment: what it was written on,
issueormerge_request. Withscopeandiidit addresses the thread the comment belongs to. - pathstring or nulloptionalFor a spec: the document's file in its repository. For a wiki page: the page's path, which is what reads it.
- scopeScopeRef or nulloptionalThe group or repository the result belongs to — a service's group, a comment's work item's or merge request's scope. Absent for a group and a repository, which are one themselves.
- next_tokenstring or nulloptional
Example
Synthesized example{
"items": [
{
"id": "id-ac30",
"kind": "issue",
"rank": 74,
"title": "Label every synthesized example",
"updated_at": "2026-10-09T21:01:15Z"
}
],
"next_token": "next-token-5589"
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 0 operations
No operation returns it directly.