Skip to main content
Use inputs and outputs schemas to validate data on functions, endpoints, and task queues:
app.py
Send {"text": "hello", "repeat": 2} to the endpoint. The handler receives a validated Inputs instance. You can also accept a context argument.

Field Types

All fields are required. Use Schema.new(data) to validate locally and .dump() to serialize. File outputs become public URLs. Install Pillow to use image fields. Custom validation methods and image-field limits are not preserved remotely; check those limits in your handler.