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

# Generate CRON expression (AI)

> Converts a plain-English schedule description to a Quartz CRON expression.



## OpenAPI

````yaml /openapi.yaml post /api/v1/tap/cron
openapi: 3.0.3
info:
  title: Datris API
  description: >
    REST API for the Datris AI Data Platform. Ingest, validate, transform,
    store, and retrieve data.


    For AI agent integration, use the [MCP
    Server](https://docs.datris.ai/mcp-server) instead.
  version: 1.0.0
  contact:
    name: Datris
    url: https://datris.ai
  license:
    name: Apache 2.0
servers:
  - url: http://localhost:8080
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /api/v1/tap/cron:
    post:
      tags:
        - Taps
      summary: Generate CRON expression (AI)
      description: >-
        Converts a plain-English schedule description to a Quartz CRON
        expression.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - description
              properties:
                description:
                  type: string
                  example: Every weekday at 4pm ET
      responses:
        '200':
          description: Generated CRON expression
          content:
            application/json:
              schema:
                type: object
                properties:
                  cronExpression:
                    type: string
                    example: 0 0 16 ? * MON-FRI
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Optional API key for authentication (enabled via application.yaml)

````