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

# Mark a facility called, answered, or no answer



## OpenAPI

````yaml /contract/openapi.yaml post /runs/{id}/checkins
openapi: 3.1.0
info:
  title: Porch Light API
  version: 0.1.0
  summary: >-
    The shared contract every Porch Light agent builds against. Country
    agnostic: everything US specific sits behind the country adapter interface
    in contract/adapter.md.
  description: >-
    Porch Light takes a weather alert in, builds the warning area, ranks the
    facilities inside it with a fixed transparent formula, and returns a call
    sheet where every row carries its evidence trail. Zetaris is the only data
    path. Meterless is the only model path. Nemotron explains, the formula
    ranks.
  license:
    name: AGPL-3.0
servers: []
security:
  - bearerAuth: []
tags:
  - name: alerts
  - name: runs
  - name: health
paths:
  /runs/{id}/checkins:
    post:
      tags:
        - runs
      summary: Mark a facility called, answered, or no answer
      operationId: createCheckIn
      parameters:
        - $ref: '#/components/parameters/RunId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckIn'
      responses:
        '201':
          description: Check-in recorded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckIn'
        '400':
          description: Bad check-in
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: No such run or facility
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  parameters:
    RunId:
      name: id
      in: path
      required: true
      schema:
        type: string
        example: run_milton_12081_mock
  schemas:
    CheckIn:
      type: object
      required:
        - facility_id
        - status
        - by
        - at
      properties:
        facility_id:
          type: string
        status:
          $ref: '#/components/schemas/CheckInStatus'
        by:
          type: string
          description: Staff initials or role, never a patient or resident name.
        at:
          type: string
          format: date-time
        note:
          type: string
    ApiError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              $ref: '#/components/schemas/ErrorCode'
            message:
              type: string
            detail: {}
            retry_after_ms:
              type: integer
    CheckInStatus:
      type: string
      enum:
        - called
        - answered
        - no_answer
    ErrorCode:
      type: string
      enum:
        - not_found
        - bad_request
        - no_facilities
        - source_stale
        - zetaris_down
        - meterless_unauthorized
        - meterless_offline
        - timeout
        - export_refused
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.