Workflows API
Create and monitor end-to-end workflows for contract generation, auditing, and deployment.
Create Workflow
Terminal
POST /api/v1/workflows
Request Body:
{
"nlp_description": "Create an ERC20 token",
"contract_type": "token",
"network": "mantle-testnet"
}
Response:
{
"workflow_id": "uuid",
"status": "pending"
}Get Workflow Status
Terminal
GET /api/v1/workflows/{workflow_id}
Response:
{
"workflow_id": "uuid",
"status": "running",
"progress_percentage": 45,
"current_stage": "auditing"
}