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

# Read one declarative resident schedule



## OpenAPI

````yaml /api-reference/openapi.json get /v1/schedules/{id}
openapi: 3.1.0
info:
  description: >-
    Authenticated loopback remote execution and declarative schedules.
    Artifacts, schedule list/delete/trigger/backfill, /v1/arm, and POST /v1/run
    are absent.
  title: nika serve
  version: 0.116.2
servers:
  - url: http://127.0.0.1
security:
  - bearerAuth: []
paths:
  /v1/schedules/{id}:
    parameters:
      - in: path
        name: id
        required: true
        schema:
          maxLength: 255
          minLength: 1
          type: string
    get:
      summary: Read one declarative resident schedule
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleStatus'
          description: Fresh planned status
          headers:
            ETag:
              schema:
                type: string
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Error envelope
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Error envelope
components:
  schemas:
    ScheduleStatus:
      additionalProperties: true
      description: >-
        Normalized definition, origin, distinct schedule revision, active/pause
        state, due verdict, bounded next slots with shift evidence, earliest
        wake hint, and last durable decision.
      type: object
    Error:
      additionalProperties: false
      properties:
        error:
          additionalProperties: false
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object
  securitySchemes:
    bearerAuth:
      description: 'Exactly one Authorization: Bearer value from the token file'
      scheme: bearer
      type: http

````