> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "Register deployment"
description: "Updates the key's project with GitHub metadata. Authenticated via API key (Bearer holo_xxx). The project is resolved from the key. Called automatically by the Holocron Vite plugin at build time."
api: "POST /api/v0/register-deployment"
gridGap: 30
---

<Aside full>

<RequestExample>

```bash
curl -X POST "https://api.example.com/api/v0/register-deployment" \
  -H "Content-Type: application/json" \
  -d '{
  "githubOwner": "string",
  "githubRepo": "string"
}'
```

</RequestExample>

</Aside>

<OpenAPIEndpoint {...{"method":"post","path":"/api/v0/register-deployment","summary":"Register deployment","description":"Updates the key's project with GitHub metadata. Authenticated via API key (Bearer holo_xxx). The project is resolved from the key. Called automatically by the Holocron Vite plugin at build time.","parameters":[],"requestBody":{"required":true,"contentType":"application/json","schema":{"type":"object","properties":{"githubOwner":{"type":"string"},"githubRepo":{"type":"string"}}}},"responses":[{"status":"200","description":"","schema":{"type":"object","required":["ok"],"properties":{"ok":{"type":"boolean"}}}},{"status":"401","description":"","schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}},{"status":"default","description":""}],"security":[],"servers":[]}} />

---

*Powered by [holocron.so](https://holocron.so)*
