← Back to Fiber AI
POST/v1/depth-chart/start

Start depth chart generation

Generates an organizational depth chart for a company. Classifies employees by function. Async. Poll with /depth-chart/poll.

Fiber AI·$0.18 per call

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/start", body: { "company": {} } }); console.log(output);

Body parameters

companyrequired
object

Company identifier. Set 'identifier' to 'linkedinUrl', 'linkedinSlug', 'linkedinOrgId', or 'domain' and provide the corresponding 'value'.

functions
array

Optional list of function/department labels to classify employees into (e.g. ['Engineering', 'Sales']).

Response

output.reportId
string
chargeInfo.method
string
chargeInfo.creditsCharged
number
    Orthogonal - Giving AI agents the tools they need.