← Back to Fiber AI
Poll GitHub lookup results
Polls the status of a GitHub lookup agent run.
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/github-lookup/poll",
body: {
"githubAgentRunId": "example"
}
});
console.log(output);Body parameters
githubAgentRunIdrequired
string
Agent run ID from the trigger endpoint.
Response
output.counts.found
number
output.counts.total
number
output.counts.failed
number
output.counts.pending
number
output.counts.notFound
number
output.counts.invalidInput
number
output.people.0.person.company
string
output.people.0.person.fullName
string
output.people.0.person.jobTitle
string
output.people.0.person.workEmail
null
output.people.0.person.linkedInUrl
string
output.people.0.person.linkedinUserId
null
output.people.0.person.customerProvidedId
null
output.people.0.githubProfile.bio
null
output.people.0.githubProfile.outcome
string
output.people.0.githubProfile.location
string
output.people.0.githubProfile.username
string
output.people.0.githubProfile.githubUrl
string
output.people.0.githubProfile.rationale
string
output.people.0.githubProfile.displayName
string
output.people.0.githubProfile.numFollowers
number
output.people.0.githubProfile.numRepositories
number
output.people.0.githubProfile.confidenceOutOf10
number
output.people.0.githubProfile.profilePictureUrl
string
output.overallStatus
string
output.githubAgentRunId
string
chargeInfo.method
string
chargeInfo.message
string
chargeInfo.creditsCharged
number