Skip to main content
POST
/
api
/
v1
/
tap
/
cron
Generate CRON expression (AI)
curl --request POST \
  --url http://localhost:8080/api/v1/tap/cron \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "description": "Every weekday at 4pm ET"
}
'
{
  "cronExpression": "0 0 16 ? * MON-FRI"
}

Authorizations

x-api-key
string
header
required

Optional API key for authentication (enabled via application.yaml)

Body

application/json
description
string
required
Example:

"Every weekday at 4pm ET"

Response

200 - application/json

Generated CRON expression

cronExpression
string
Example:

"0 0 16 ? * MON-FRI"