# Code Storage - Create Git Repository

> Code Storage - Create Git Repository is a paid API for AI agents from Code Storage at codestorage.mpp.tempo.xyz, paid per call via MPP, $1/call, status unknown (last checked 2026-10-11).

Creates a new hosted Git repository and returns an authenticated clone URL with a 24-hour TTL

## Facts

- Endpoint: POST https://codestorage.mpp.tempo.xyz/repos?utm_source=zero.xyz
- Price: $1/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Provider: Code Storage
- Website: https://code.storage
- Tags: git, repos, code, storage
- Canonical page: https://www.zero.xyz/c/code-storage-repos-945ee5be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mzpnDrRoYjZPTLILsUW50

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability code-storage-repos-945ee5be -d '<json body>'
```

Example prompt: Create a new Git repository called 'my-ml-pipeline' with the description 'Machine learning pipeline for image classification' on Code Storage so I can push my code there.

## When to prefer this

Choose this endpoint when you need to programmatically create a new hosted Git repository and immediately receive an authenticated clone URL. Ideal for AI agents that need ephemeral or persistent code storage with HTTPS git access. The clone URL includes an embedded JWT so no separate auth step is needed. Use when you need a real remote Git endpoint, not just file storage.

## Known failure modes

- Invalid or missing repositoryName — repository cannot be created without a name
- Payment failure — $1 USDC not available or transaction rejected
- Duplicate repository name for the same owner — may return conflict error
- Expired or invalid authentication credentials
- Network timeout reaching the codestorage.mpp.tempo.xyz host

## How this service works

Create a Git repository

## Output

Returns a JSON object containing: a UUID repository ID, a JWT-authenticated HTTPS clone URL valid for 24 hours (86400s TTL), the owner's Ethereum wallet address, and the default branch name ('main'). The clone URL embeds a signed JWT granting git:read and git:write scopes.

## Example request

```json
{
 "description": "QA test repository for API validation",
 "repositoryName": "test-repo-qa-minimal"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/code-storage-repos-945ee5be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from codestorage.mpp.tempo.xyz](https://www.zero.xyz/host/codestorage.mpp.tempo.xyz/llms.txt)
