mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-10 08:05:22 +02:00
docs: add developer and api reference tabs (#190)
* docs: add developer and api reference tabs * fix: remove duplicate image
This commit is contained in:
parent
1b03191cf8
commit
f075bcb623
57 changed files with 1609 additions and 57 deletions
9
docs/api-reference/agents/validate.mdx
Normal file
9
docs/api-reference/agents/validate.mdx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: "Validate Workflow"
|
||||
description: "Validate a workflow definition without executing it"
|
||||
openapi: "POST /api/v1/workflow/{workflow_id}/validate"
|
||||
---
|
||||
|
||||
Checks the current workflow definition for structural errors — missing required fields, invalid node configurations, broken edge references — without placing a call or creating a run.
|
||||
|
||||
If invalid, the response includes a list of errors each with a `kind` (`node`, `edge`, or `workflow`), the offending `id`, the `field`, and a human-readable `message`. See [Errors](/api-reference/errors) for the full error schema.
|
||||
Loading…
Add table
Add a link
Reference in a new issue