chore: regenerate sdk

This commit is contained in:
Abhishek Kumar 2026-04-25 16:34:19 +05:30
parent 4171ad7a54
commit d6567eef28
4 changed files with 25 additions and 10 deletions

View file

@ -1,6 +1,6 @@
# generated by datamodel-codegen:
# filename: dograh-openapi-XXXXXX.json.YcuMTcSn5P
# timestamp: 2026-04-24T08:26:45+00:00
# filename: dograh-openapi-XXXXXX.json.e1fkh2B88V
# timestamp: 2026-04-25T11:03:19+00:00
from __future__ import annotations

View file

@ -16,10 +16,15 @@ from dograh_sdk.typed._base import TypedNode
@dataclass(kw_only=True)
class Trigger(TypedNode):
"""
Public HTTP endpoint that launches the workflow. LLM hint: Exposes a
public HTTP POST endpoint. External systems call the URL (derived from
the auto-generated `trigger_path`) to launch this workflow. Requires an
API key in the `X-API-Key` header.
Public HTTP endpoints that launch the workflow. LLM hint: Exposes two
public HTTP POST endpoints derived from the auto-generated
`trigger_path`: Production:
`<backend>/api/v1/public/agent/<trigger_path>` runs the published
agent. Use this from production systems. Test:
`<backend>/api/v1/public/agent/test/<trigger_path>` runs the latest
draft, useful for verifying changes before publishing. Falls back to the
published agent when no draft exists. Both require an API key in the
`X-API-Key` header.
"""
type: ClassVar[str] = 'trigger'
@ -37,6 +42,9 @@ class Trigger(TypedNode):
trigger_path: Optional[str] = None
"""
Auto-generated UUID-style path segment that uniquely identifies this
trigger. Do not edit manually.
trigger. Used in both URLs: Production:
`/api/v1/public/agent/<trigger_path>` executes the published agent.
Test: `/api/v1/public/agent/test/<trigger_path>` executes the latest
draft. Do not edit manually.
"""