Search a project
Searches for content in a specified project.
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
The ID or URL-encoded path of the project
Query parameters
The expression it should be searched for
The scope of the search
The name of a repository branch or tag. If not given, the default branch is used
Filter results by state
Filter results by confidentiality
Filter work items by type. Only applies to work_items scope. Available types: issue, task, epic, incident, test_case, requirement, objective, key_result, ticket.
Array of fields you wish to search. Available with advanced search.
Number of context lines around each match. Available with advanced and exact code search. Introduced in GitLab 18.11.
Performs a regex code search. Available with exact code search. Introduced in GitLab 18.9
Current page number
Number of items per page
Response
Search a project
Changes
No recorded changes to this operation across all 5 revisions of this API.