Base URL
All API requests are made to:localhost:1234 with your Pupload controller’s host and port.
Authentication
The current version of the Pupload API does not require authentication. This may change in future versions for production deployments.Request format
The API accepts JSON-encoded request bodies for POST requests. Include the following header:Response format
All responses are JSON-encoded. Successful responses return a200 status code with the relevant data.
Error responses include an HTTP error status code and a plain text error message:
Common status codes
| Status code | Description |
|---|---|
200 | Success |
400 | Bad request - Invalid input or parameters |
404 | Not found - Resource does not exist |
500 | Internal server error |
Rate limiting
The API includes a 60-second timeout for all requests. Long-running flow executions are handled asynchronously - you receive a flow run ID immediately and can poll for status updates.API sections
The Pupload API is organized into the following sections:- Flows - Test flows and check execution status
- Projects - Manage projects and execute saved flows
- Upload - Handle file uploads (coming soon)
Next steps
Flow endpoints
Test and monitor flow executions
Project endpoints
Manage projects and run saved flows