v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-0318386446.4 KB

Search Repositories

Fetch all public repos from Gitea, then apply local filtering / sorting / pagination. If task is given we keep only repos whose topics array contains that task (case-insensitive). Response now includes total_count.

get/api/v2/repos/search

Query parameters

repo_type'program' | 'dataset' nullable

Type of repository to search for

Type of repository to search for

qstring

Search query

Search query

tagsstring

Comma-separated list of tags to filter by

Comma-separated list of tags to filter by

sortstring

Sort by attribute

Sort by attribute

orderstring

Sort order

Sort order

pageinteger

Page number (1-based)

Page number (1-based)

limitinteger

Results per page

Results per page

licensestring nullable

Filter by licence

Filter by licence

taskstring nullable

Task keyword to match repo topics

Task keyword to match repo topics

autonomy_mininteger nullable

Minimum autonomy level (0-100)

Minimum autonomy level (0-100)

autonomy_maxinteger nullable

Maximum autonomy level (0-100)

Maximum autonomy level (0-100)

Headers

authorizationstring nullable

Cookies

modaic_sessionstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/v2/repos/search:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}