Trillet AI logo

Get a tenant's receptionist

Trillet OEM API: A customer's agents, their test results and whether they are cleared to take calls.

GEThttps://api.trillet.ai/partner/v1/tenants/{tenantId}/receptionist

Needs resources:read. A tenant that was never provisioned returns 404 receptionist_not_found.

Loading code example
Loading code example

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tenantIdstringrequired

The tenant ID.

Pattern: ^[a-fA-F0-9]{24}$

Response

application/json

The receptionist.

objectstringrequired
tenantIdstringrequired
Pattern: ^[a-fA-F0-9]{24}$
businessNamestring | null
status"building" | "ready" | "needs_review" | "failed"required
Allowed values: "building" | "ready" | "needs_review" | "failed"
reviewReason"tests_failed" | "tests_unavailable" | "approval_required" | null
Allowed values: "tests_failed" | "tests_unavailable" | "approval_required" | null
goLive"auto" | "approval"
Allowed values: "auto" | "approval"
frontDoorAgentIdstring | null

The agent callers reach first. Assign the customer's number to this one.

agentsarray<object>required
agents.languagestring
agents.labelstring | null
agents.agentIdstring
agents.callFlowIdstring
agents.knowledgeBaseIdstring | null
agents.voiceIdstring | null
agents.frontDoorboolean
testsobjectrequired
tests.totalinteger | null

Test calls that connected.

tests.passedFirstinteger | null

Passed before any fix.

tests.passedinteger | null

Passed after fixes.

tests.passRatenumber | null
tests.requiredPassRatenumber | null
tests.fixesAppliedinteger | null
tests.skippedboolean
tests.unavailableboolean

The test calls could not run.

openQuestionsarray<object>

Things the test calls could not settle from what was provided.

openQuestions.questionstring
openQuestions.whystring
workflowsarray<object>
templateobject | null

The template sent with the request, as sent.

jobIdstring | null
approvedAtstring | null<date-time>
createdAtstring | null<date-time>
updatedAtstring | null<date-time>

Last updated on