---
title: "Validate Repository"
method: GET
path: "/api/repo/validate"
tags: ["repository"]
---

# Validate Repository

`GET /api/repo/validate`

## Request

- Base URL: `https://api.git.mari.zip` (the document declares no server; this is the origin it was published from)
- URL: `https://api.git.mari.zip/api/repo/validate`
- Auth: API key in cookie `gitarena-session`
- TypeScript: <https://skmtc.dev/mari/apis/gitarena/docs/api/repo/validate/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `namespace` string, nullable
- `name` string, required
- `description` string, nullable

## Response `200`

Validation result with optional per-field errors

- ValidateResponse
  - `description` string, nullable: Error message for the description field, if any
  - `name` string, nullable: Error message for the name field, if any
  - `valid` boolean, required: Whether both name and description are valid

## Other responses

- `401`: Authentication required

## Changes

- **2026-10-29** `efaeb85ac1be`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mari/apis/gitarena/changes/api/repo/validate/get.md)

---

[API](https://skmtc.dev/mari/apis/gitarena.md) - [All operations](https://skmtc.dev/mari/apis/gitarena/llms.txt) - [OpenAPI document](https://skmtc.dev/mari/apis/gitarena/revisions/437eec085d26?raw)
