{"uid":"cap_mzpnDrRoYjZPTLILsUW50","slug":"code-storage-repos-945ee5be","name":"Code Storage - Create Git Repository","description":"Create a Git repository","url":"https://codestorage.mpp.tempo.xyz/repos?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":{"request":{"description":"QA test repository for API validation","repositoryName":"test-repo-qa-minimal"},"response":{"ttl":86400,"owner":"0x9cc42f3d9245b867acccd630b43f906c1665b176","repoId":"564ce0fd-a2a1-4977-b8f7-e0368c3ae237","cloneUrl":"https://t:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ0ZW1wbyIsInN1YiI6IkBwaWVycmUvc3RvcmFnZSIsInJlcG8iOiI1NjRjZTBmZC1hMmExLTQ5NzctYjhmNy1lMDM2OGMzYWUyMzciLCJzY29wZXMiOlsiZ2l0OnJlYWQiLCJnaXQ6d3JpdGUiXSwiaWF0IjoxNzgwMDE0NjM4LCJleHAiOjE3ODAxMDEwMzh9.Eew-XLQvsfm_kTa1Hj4XJocVcMLvQUaVOw6a-UJGbJHNLaz_ge2Fv6NLAwqcLM6Fk2odhthviSxyq6frkezF3g@tempo.code.storage/564ce0fd-a2a1-4977-b8f7-e0368c3ae237.git","defaultBranch":"main"}},"exampleRequest":{"description":"QA test repository for API validation","repositoryName":"test-repo-qa-minimal"},"tags":["git","repos","code","storage"],"displayCostAmount":"1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$1/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Dc7P2UmVoLc_w_iiffW6s","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x20c0000000000000000000000000000000000000","unit":"request","depositMicros":null,"planRef":null}],"brandName":"Code Storage","brandSlug":"code-storage","brandBaseUrl":"https://code.storage","brandDocsUrl":null,"whatItDoes":"Creates a new hosted Git repository and returns an authenticated clone URL with a 24-hour TTL","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Spin up repo for new project","prompt":"I'm starting a new microservices project called 'user-auth-service' — can you create a hosted Git repository for it so I can push my initial code right away?"},{"title":"Provision temporary repo for experiment","prompt":"I need a throwaway Git repository to test some refactoring ideas for my data processing scripts. Can you spin one up with an authenticated clone URL I can use immediately?"},{"title":"Create repo for AI-generated code","prompt":"You just generated a FastAPI backend for me — please create a new hosted Git repository called 'ai-generated-api' so we can push the code there and I have a proper remote to work from."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:14:43.165Z","isFirstParty":false,"canonicalSlug":"code-storage-repos-945ee5be"}