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

# Get a cycler's open service event, if any

> Return the cycler's current service, or ``null`` when it is in service.

A dedicated read rather than making the caller scan the history: that list is
ordered newest-created first and paginated, so an event recorded after the
fact sorts ahead of an older open one and would eventually hide it — the
cycler would read as in service while it is out. At most one open event can
exist, so this is exact.



## OpenAPI

````yaml https://api.ionworks.com/openapi.json get /cyclers/{cycler_id}/service_events/open
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.ionworks.com
    description: Production
security: []
paths:
  /cyclers/{cycler_id}/service_events/open:
    get:
      tags:
        - Cyclers
      summary: Get a cycler's open service event, if any
      description: >-
        Return the cycler's current service, or ``null`` when it is in service.


        A dedicated read rather than making the caller scan the history: that
        list is

        ordered newest-created first and paginated, so an event recorded after
        the

        fact sorts ahead of an older open one and would eventually hide it — the

        cycler would read as in service while it is out. At most one open event
        can

        exist, so this is exact.
      operationId: >-
        get_open_cycler_service_event_cyclers__cycler_id__service_events_open_get
      parameters:
        - name: cycler_id
          in: path
          required: true
          schema:
            type: string
            title: Cycler Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````