mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-13 08:15:21 +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/create-from-definition.mdx
Normal file
9
docs/api-reference/agents/create-from-definition.mdx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: "Create from Definition"
|
||||
description: "Create a voice agent from an explicit workflow definition"
|
||||
openapi: "POST /api/v1/workflow/create/definition"
|
||||
---
|
||||
|
||||
Creates an agent from a node and edge graph you provide directly. Use this when you want full control over the workflow structure, or when programmatically generating agents.
|
||||
|
||||
The `workflow_definition` object contains `nodes` (the steps in the conversation) and `edges` (transitions between steps). See [Editing a Workflow](/voice-agent/editing-a-workflow) for the full schema.
|
||||
Loading…
Add table
Add a link
Reference in a new issue