TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation Company Assistant Ask A Question About Using Tnid

Ask A Question About Using Tnid

On this page

GraphQL endpoint: /company

Answers a natural-language question from the published documentation and names the pages the answer drew on. The reference documents both schemas; a company session is answered from the company half.

Supplying navigation also lets the answer point at where to go: it is answered against exactly the entries supplied, so it never names somewhere the caller wasn't offered.

The answer shown here comes from a stubbed model, so the wording is illustrative rather than something the service guarantees.

Query

mutation ($question: String!) {
  askDocsQuestion(question: $question) {
    answer
  }
}

Variables

{
  "question": "how do I upload a document"
}

Response

{
  "data": {
    "askDocsQuestion": {
      "answer": "Use the company mutation."
    }
  }
}