Evaluate a Bifrost Graph in the Cloud
A 4-step recipe with Autodesk. We can help you get access.
Recipe · 4 steps
Evaluate a Bifrost Graph in the Cloud
with Autodesk
Upload a graph, run it against inputs, and collect the result.
- Upload the Bifrost graph. The response declares the graph's input and output ports, which is what the job's inputs must be keyed by.
- Queue an evaluation job against the uploaded graph, binding values to its input ports. A callback URL avoids the polling loop entirely for callers that can receive one.
- Poll the job until it succeeds. The endpoint returns 200 while queued or running, so the terminal state is read from the body, and the workflow ends with the error message if the evaluation fails or is cancelled.
- Retrieve the evaluation outputs. Returns 404 if called before the job reaches a completed state, which the poll above guarantees it has.
What you'll need to have ready
- graphFile: The Bifrost graph file (.bif) to upload.
- graphName: Display name for the uploaded graph.
- graphDescription: Description of what the graph computes.
- graphInputs: Input parameter values keyed by the graph's input port names, as reported by the upload step.
- callbackUrl: Optional URL notified when the job completes.
For your developer
Arazzo workflow autodesk:evaluate-bifrost-graph, 4 operations: uploadGraph → createJob → getJob → getJobResult. Specs on APIs.io.