v1

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

Create Repository

Create a new repository for the authenticated user or organization.

post/api/v2/repos

Headers

authorizationstring nullable

Cookies

modaic_sessionstring nullable

Request body

usernamestring required
namestring required
descriptionstring nullable
privateboolean
licensestring nullable
issue_labelsstring[] nullable
auto_initboolean
gitignoresstring nullable
readmestring nullable
default_branchstring nullable
templateboolean nullable
trust_modelstring nullable
topicsstring[] nullable

Response

Successful Response

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