feat: add examples to create workflow and use sdk

This commit is contained in:
Abhishek Kumar 2026-04-24 14:09:24 +05:30
parent 16587fd7e1
commit f041e6030d
18 changed files with 1038 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# generated by datamodel-codegen:
# filename: dograh-openapi-XXXXXX.json.oPRfLAwVZP
# timestamp: 2026-04-21T02:15:12+00:00
# filename: dograh-openapi-XXXXXX.json.YcuMTcSn5P
# timestamp: 2026-04-24T08:26:45+00:00
from __future__ import annotations
@ -16,6 +16,11 @@ class CallDispositionCodes(BaseModel):
)
class CreateWorkflowRequest(BaseModel):
name: Annotated[str, Field(title='Name')]
workflow_definition: Annotated[dict[str, Any], Field(title='Workflow Definition')]
class CreatedByResponse(BaseModel):
"""
Response schema for the user who created a tool.