> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/002_company/020_assistant/001__ask_docs_question_as_company.md).

# Ask A Question About Using Tnid

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

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

```

## Variables

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

## Response

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