> ## Documentation Index
> Fetch the complete documentation index at: https://docs.korve.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Check

> Re-check the domain's DNS and certificate verification and return its current status.



## OpenAPI

````yaml /openapi.json post /v1/orgs/{orgId}/projects/{projectId}/domains/{domainId}/check
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/orgs/{orgId}/projects/{projectId}/domains/{domainId}/check:
    post:
      tags:
        - domains
      summary: Check
      description: >-
        Re-check the domain's DNS and certificate verification and return its
        current status.
      operationId: domains.check
      parameters:
        - name: orgId
          in: path
          required: true
          schema:
            type: string
          description: The organization's id (UUID) or slug — either form is accepted.
        - name: projectId
          in: path
          required: true
          schema:
            type: string
          description: The project's id (UUID) or slug — either form is accepted.
        - name: domainId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The domain with its refreshed status.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  hostname:
                    type: string
                    pattern: ^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z]{2,}$
                  environment:
                    type: string
                    pattern: ^[a-z][a-z0-9-]{0,38}$
                    description: Slug of the environment this domain routes to.
                  status:
                    type: string
                    description: >-
                      Verification state: pending_dns until the CNAME points at
                      the platform, pending_ssl while the certificate is issued,
                      then active. failed is terminal.
                    enum:
                      - pending_dns
                      - pending_ssl
                      - active
                      - failed
                  verificationErrors:
                    type:
                      - string
                      - 'null'
                    description: >-
                      Why verification is stuck, when the edge reported a
                      reason.
                  createdAt:
                    type: string
                    format: date-time
                required:
                  - id
                  - hostname
                  - environment
                  - status
                  - verificationErrors
        '404':
          description: No such domain on this project.
        '502':
          description: The edge could not be reached; the stored status is unchanged.
      security:
        - apiKey: []
        - session: []
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: korve_api_key
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````