Agents
Get an agent's graph
Changed onRetrieve an agent's full workflow graph ({nodes, edges}).
The graph is returned verbatim in the canonical dialect — the same shape POST /v1/agents and PATCH /v1/agents/{agent_id} accept — so a known-good agent can be read back, copied, and edited. Tool-backed nodes appear in their lowered tool form rather than the friendly v1 node types. A draft is visible only to its creator; the published version is visible across its organization.
get/v1/agents/{agent_id}/graph
Request
- Base URLhttps://api.tryprofound.com
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScripthttps://skmtc.dev/cooper-square-technologies/apis/external-api/docs/v1/agents/:agent_id/graph/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
agent_idstring uuid required
The ID of the agent whose graph to retrieve.
Query parameters
version'published' | 'draft'
Version selector for retrieving a specific agent.
Version of the agent whose graph to retrieve. Use published for the live version, or draft for the latest unpublished changes. Defaults to published.
Response
Successful Response
Changes
- info
endpoint added
- info