← Back to Fiber AI
Poll depth chart generation result
Polls the status of a depth chart generation. Returns the org chart when complete.
Fiber AI·Free
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "fiber",
path: "/v1/depth-chart/poll",
body: {
"reportId": "example"
}
});
console.log(output);Body parameters
reportIdrequired
string
Report ID returned by the /depth-chart/start endpoint.
Response
output.status
string
chargeInfo.method
string
chargeInfo.message
string