Health check endpoint
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://dad-jokes-agent-production.up.railway.app/entrypoints/health/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {}
}
'
Get a random dad joke
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"category": {
"type": "string"
}
},
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://dad-jokes-agent-production.up.railway.app/entrypoints/joke/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"category": "string"
}
}
'
Get multiple random dad jokes
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"count": {
"default": 3,
"type": "number",
"minimum": 1,
"maximum": 10
}
},
"required": [
"count"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://dad-jokes-agent-production.up.railway.app/entrypoints/jokes/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"count": 1
}
}
'