# Read the Ticket Properly First: Investigation Profiles and Questions Worth Asking

> “API authentication is failing” can mean a dozen different problems. TR-AI now records what it understood about each ticket, drops details the customer never said, flags contradictions, and asks only the questions that would change the diagnosis, all in the same single AI call.

Source: https://www.ticketresolve.ai/blog/ticket-investigation-profile-clarifying-questions · Published 2026-11-14 · TicketResolve AI

**"API authentication is failing." Is it the token endpoint or every endpoint? An API key or OAuth? Did something change yesterday? A generic answer to that ticket wastes a round trip. So does a reply that asks five questions when the customer already answered two of them.**

Here's how that ticket often goes, at a company that sells a shipping-rates API to online stores:

- **The ticket:** *"API authentication is failing since this morning. We're on the Node SDK. Nothing changed on our side."*
- **Reply 1:** a general article about API keys, plus *"Which SDK are you using? Which language? When did this start? Have you changed anything?"*
- **The customer:** *"As I said: Node SDK, this morning, nothing changed."* Visibly annoyed.
- **Reply 2:** *"Thanks! Could you tell us your operating system?"*

Three messages in, nobody has asked the questions that would actually narrow it down: is it every endpoint or one? An API key or OAuth? Is the token being refreshed? And an answer drafted somewhere along the way had confidently mentioned *"on Windows 11"*, which the customer never said.

## First, the basics

- **An investigation profile** is what TR-AI understood about a ticket: the problem, the environment, what changed, the impact.
- **Expected and actual behaviour** are what should have happened and what did.
- **The environment** is the product, version, operating system, browser, runtime, infrastructure, configuration and integrations.
- **A suspected cause** is a hypothesis, not a finding.
- **A contradiction** is two statements in the ticket that can't both be true.
- **A clarifying question** asks for a detail that would change the diagnosis.
- **A structured answer** follows a predictable shape for "something isn't working" tickets.
- **An AI call** is one request to the AI model; **output tokens** are what it writes.

**Why does this matter?** Customers notice when they're asked something they already said, and when a reply assumes something they never did. A profile that keeps only what was stated, and questions that skip what's known, make every reply shorter and more useful.

## The problem, in plain terms

1. **Generic answers** ignore the details that matter.
2. **Questions repeat** what the customer already said.
3. **Guessed details** creep into answers.
4. **Contradictions** go unnoticed.
5. **Technical answers** have no consistent shape.

## A profile for every ticket

**When it answers, TR-AI now also records what it understood: the actual problem, expected and actual behaviour, the error messages, product, version, operating system, browser, runtime, infrastructure, configuration, integrations, recent changes, business impact, severity, how to reproduce it, the symptoms, and a suspected cause.**

**The suspected cause is always labelled a hypothesis. Environment details the customer never stated are removed, not guessed. If the model fills in "Windows 11" and the customer never mentioned Windows, the profile drops it.**

**Contradictions are flagged too. For example: "it never worked" in one sentence, and "it broke after Tuesday's update" in the next.**

## Questions worth asking

**When the knowledge base doesn't cover an error report, TR-AI asks for the details that would change the diagnosis, most useful first, in one message. It skips anything already in the thread and anything your team has already asked. Customers get fewer, better questions.**

## Answers with structure

**For "something isn't working" tickets, answers follow a shape engineers recognise: what's happening, what to do (with a warning before anything risky), what you need first, what you should see, how to check it's fixed, and any limitations. Anything the sources don't state is labelled as a possibility.**

## Still one AI call

**All of this comes from the same single AI call that writes the answer. There's no extra call per ticket, just a few hundred more output tokens. Admins can turn it off.**

## A worked example, start to finish

Here's the shipping-rates API ticket, with the investigation profile. The details are illustrative.

**09:30, the ticket.** *"API authentication is failing since this morning. We're on the Node SDK. Nothing changed on our side."*

**The profile TR-AI records:**

- **Problem:** API requests rejected as unauthenticated.
- **Expected:** requests succeed. **Actual:** authentication fails.
- **Runtime:** Node SDK. **Recent changes:** *none, according to the customer*.
- **When:** since this morning.
- **Operating system:** **removed**. The draft had filled in "Windows 11"; the customer never mentioned it.
- **Suspected cause:** *expired or rotated credential*, **labelled a hypothesis**.
- **Missing:** which endpoints fail, API key or OAuth, the exact error.

**The knowledge base doesn't cover this exact error**, so TR-AI asks **clarifying questions**, most useful first, **in one message**:

1. *Is it every endpoint, or only some (for example the token endpoint)?*
2. *Are you using an API key or OAuth?*
3. *What's the exact error message or status code?*

It **doesn't ask** about the SDK, the start time or recent changes, because they're **already in the thread**.

**10:05, the reply.** *"Every endpoint. OAuth. 401 'invalid_token'. Actually, we did deploy a new version of our app yesterday, but it shouldn't touch auth."*

**A contradiction flagged.** *"Nothing changed on our side"* versus *"we did deploy a new version yesterday"*. The profile **flags it**; it's useful, not an accusation.

**The structured answer:**

- **What's happening:** OAuth access tokens are being rejected as invalid on every endpoint.
- **Before you start:** access to your app's token storage.
- **What to do:** check that your app refreshes the token before it expires. **Warning:** clearing stored tokens will sign out connected stores until they reconnect.
- **What you should see:** requests succeed with a fresh token.
- **How to check it's fixed:** call the rates endpoint and expect a 200.
- **Limitations:** the sources don't say whether the SDK refreshes tokens automatically in every version; **this is a possibility**, not a statement.

**10:40.** The customer finds that yesterday's deploy reset their token cache configuration. Fixed in two replies, without repeated questions or a made-up operating system.

## Five more real-world scenarios

### 1. A question already answered

**Situation.** The customer gave their browser version in the first message.

**How TR handles it.** TR-AI doesn't ask for it again.

### 2. A question your team already asked

**Situation.** An agent asked for a screenshot in an earlier reply.

**How TR handles it.** TR-AI skips it.

### 3. A guessed version

**Situation.** The draft profile says "version 5.2"; the customer never said a version.

**How TR handles it.** The profile drops it.

### 4. Contradictory reports

**Situation.** "It never worked" and "it broke on Tuesday".

**How TR handles it.** The contradiction is flagged in the profile.

### 5. Turning it off

**Situation.** An admin wants to save the extra output tokens.

**How TR handles it.** Admins can turn the analysis off under Resolution intelligence → Settings.

## Before and after

**Before.** A generic article, questions the customer had already answered, a guessed operating system, and three messages without progress.

**After.** A profile of what was actually said, three questions that narrow it down in one message, a contradiction that turned out to be the clue, and a structured answer that warned before the risky step.

## How to tell it's working

- **Fewer back-and-forth messages** on technical tickets.
- **No repeated questions.**
- **No environment details** customers never gave.

## Who it's for

- **Support teams** with technical products and APIs.
- **Reviewers** checking held answers.
- **Engineers** who receive tickets with a clear profile.

## How it fits with the rest of TicketResolve

The profile is part of TR-AI's **Investigation** on each ticket, alongside **adaptive troubleshooting** and **explained confidence**. It appears in **Resolution intelligence**, and feeds hand-offs to **Level 3** and **TR Investigate**.

## Why remove, not guess

A guessed detail looks exactly like a stated one once it's in a profile or an answer. If TR-AI assumes Windows and the customer is on macOS, every step that follows is wrong, and the customer has to correct it, which feels like not being listened to. Removing anything the customer didn't state keeps the profile honest. If a detail matters, the better move is to ask for it, which is exactly what clarifying questions do.

## What makes a good clarifying question

A good clarifying question changes what you'd do next. *"Every endpoint or only some?"* splits the problem in two. *"API key or OAuth?"* points to entirely different fixes. *"What's your operating system?"*, for a server-side API problem, usually doesn't. Asking the most useful questions first, together in one message, respects the customer's time and gets you to a diagnosis faster than a drip of single questions.

## Reading a profile when you review an answer

When an answer is held for review, the profile is the fastest way to see whether TR-AI understood the ticket.

1. **Start with the problem and expected vs actual.** If those are wrong, the answer will be too; fix the understanding before editing the wording.
2. **Check the environment fields.** Anything listed should appear in the conversation. If a field is empty, that's honest: the customer didn't say.
3. **Read flagged contradictions.** Decide whether to ask about them. Often a gentle "you mentioned a deploy yesterday; could that have changed your token settings?" is the most useful line in the reply.
4. **Look at the clarifying questions.** Are they the ones you'd ask? Are they in the right order? Remove any that wouldn't change what you'd do.
5. **Check the suspected cause stays a hypothesis** in the reply. Customers should never read a guess as a diagnosis.

## Mistakes to avoid

- **Asking what's already in the thread.**
- **Presenting the suspected cause** as a finding.
- **Ignoring contradictions.** They're often the clue.

## Do it in TicketResolve, step by step

**Where:** a ticket's **Investigation** (next to "How TR-AI handled it"), or a case in Resolution intelligence (`/dashboard/resolution-intelligence`). **You'll need:** TR-AI answering tickets. **Full guides:** [Investigation profile, clarifying questions and adaptive troubleshooting](https://www.ticketresolve.ai/docs/guide/investigation-and-troubleshooting) and [Ticket investigation: possible causes ranked by evidence](https://www.ticketresolve.ai/docs/guide/ticket-investigation).

1. **Open a ticket** and click **Investigation**.
2. **Read the profile**: problem, expected and actual, environment, changes, impact.
3. **Check what was removed**: details the customer never stated.
4. **Check flagged contradictions.**
5. **Read the clarifying questions**, if any, and confirm they skip what's known.
6. **Read the structured answer**: what's happening, what to do, before you start, what you should see, how to check, limitations.
7. **Turn it off** under **Resolution intelligence → Settings** if you need to.

**How to check it worked:** the profile shows only stated details, and clarifying questions skip anything already in the thread.

## Frequently asked questions

**What's in the profile?**
The problem, expected and actual behaviour, errors, environment, configuration, integrations, recent changes, impact, severity, reproduction, symptoms and a suspected cause.

**Is the suspected cause a conclusion?**
No. It's always labelled a hypothesis.

**What happens to details the customer didn't give?**
They're removed, not guessed.

**Are contradictions flagged?**
Yes.

**When does TR-AI ask questions?**
When the knowledge base doesn't cover an error report.

**Will it ask what the customer already said?**
No. It skips anything already in the thread or already asked by your team.

**Does this cost an extra AI call?**
No. It's the same single call, with a few hundred more output tokens.

**Can admins turn it off?**
Yes, under Resolution intelligence → Settings.

**Where do I see the profile?**
Open a ticket and click Investigation next to "How TR-AI handled it", or open a case in Resolution intelligence.

**Does every ticket get clarifying questions?**
No. Only when the knowledge base doesn't cover an error report.
