Crego APIs
APIs Doc
Home Page
Web Apps
Jupiter
Venus
APIs Doc
Home Page
Web Apps
Jupiter
Venus
Design
Copy Page
Back to home
Flow
Design
Create Design
POST
List Designs
GET
Update Design
PUT
Get Design
GET
Mark as Current Design
PUT
Duplicate Design
POST
Get Expanded Design
GET
Graph Validation
GET
Runner
Create Runner
POST
Execute Runner
POST
Get Runner
GET
List Runners
GET
Runner Callback Handler
POST
Runner activity
GET
Runner Store
GET
Update Runner design
PUT
Update Store
PUT
No Auth Runner Flow info
GET
Parse Template
POST
Get Current Nodes
GET
Create and Execute Runner
POST
Customer Auth
Refresh Token
POST
Send OTP
POST
Verify OTP
POST
Auth Ping
GET
Exchange Token
POST
Utility
Get Schema
Warehouse
Store
Get Store
List Store
Create Store
Document
Create Document
Get Storage Document
Add files to document
Download files
CheckList
CheckList Template
Create Checklist Template
Get CheckList Template
List CheckList Template
Update CheckList Template
Delete CheckList Template
Workflow CheckList
Get checklist at runner stage
Update Check List Item
Approvals
Approval List
Pending Approval
Create Approvals
Get Approval
Update Approvals
Current user approval list
Get approval request by resource
Approve approval
Reject Approval
Design
Copy Page
Create Design
Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
POST
/v1/rego/designs/
Try it
Run in Apidog
Run in Apidog
Last modified:
2024-12-03 08:27:48
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params
application/json
Generate Code
flow_id
string
Â
<uuid>
Flow ID
required
Globally unique identifier for the specific instance of the flow.
Example:
123e4567-e89b-12d3-a456-426614174001
secret_id
string
Â
<uuid>
required
is_current
boolean
Â
Is Current
required
Indicates if this design is the currently active one.
Examples:
true
false
graph
object
Â
Flow Graph
required
Graph structure defining the nodes and edges of the flow.
nodes
array
[object (Base Node) {5}]Â
Nodes
required
List of nodes in the graph. Each node must be a non-empty string.
Examples:
node1
node2
node3
edges
$ref(#/definitions/4291925)[]
Edges
optional
Connections between nodes in the graph. Each edge must be a non-empty string.
Examples:
edge1
edge2
edge3
Could not resolve '#/definitions/4291925'
start_node
string
Â
Start Node
required
Default starting node in the graph.
Example:
node1
store_schema
object