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

---
title: "Check domain status"
description: "Fetch the latest status from Cloudflare and update the local record. When the domain becomes active, the KV mapping is written so the hosting worker starts serving traffic."
api: "GET /api/v0/domains/{projectId}/{domainId}/status"
gridGap: 30
---

<Aside full>
  <RequestExample>
    ```bash title="cURL" lines=false
    curl -X GET "https://api.example.com/api/v0/domains/<projectId>/<domainId>/status"
    ```
  </RequestExample>
</Aside>

<OpenAPIEndpoint {...{"method":"get","path":"/api/v0/domains/{projectId}/{domainId}/status","summary":"Check domain status","description":"Fetch the latest status from Cloudflare and update the local record. When the domain becomes active, the KV mapping is written so the hosting worker starts serving traffic.","parameters":[{"name":"projectId","in":"path","required":true,"description":"Project ULID.","schema":{"type":"string"}},{"name":"domainId","in":"path","required":true,"description":"Domain ULID.","schema":{"type":"string"}}],"responses":[{"status":"200","description":"","schema":{"type":"object","required":["id","hostname","status","sslStatus","cnameTarget","createdAt"],"properties":{"id":{"type":"string"},"hostname":{"type":"string"},"status":{"type":"string"},"sslStatus":{"anyOf":[{"type":"string"},{"type":"null"}]},"cnameTarget":{"type":"string","description":"CNAME target for DNS configuration."},"createdAt":{"type":"number"}}},"examples":[]},{"status":"404","description":"","schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}},"examples":[]},{"status":"default","description":"","examples":[]}],"security":[],"servers":[]}} />
