Get a multi-step flow
GET
/assistants /{id} /edgesThe steps of a multi-step assistant and the transitions between them. Transitions are found by walking the flow outward from the given assistant, so pass the multi-step assistant's id to get the whole flow.
Path parameters
idstringrequiredID of the assistant, as returned by
GET /assistants.
Request body
No body: send the request without one.
Response
200edgesarray of objectThe flow's transitions, each taken when its condition is met.
stepsarray of objectThe flow's steps (sub-assistants), the start step excluded: its id is the flow's own.
Errors
- 404Not found in your organization
{ "error": string }
Error bodies carry an error (or message) string; a 400 adds bodyErrors.issues. See Errors.