AI Support Lab
Understand the request.
Follow the evidence.
Explain the next step.
Build confidence with APIs, logs, troubleshooting and customer communication. Learn the ideas, practise a decision, then handle a complete support case.
Only progress is saved in this browser. Your written drafts are not stored.
Start with the foundations
No coding experience is required. Open a stage, explore the examples and use the investigation workspace when you feel ready.
Phase 1 — Understand How APIs Work
1. What is an API?
API stands for Application Programming Interface. It is a defined way for one software application to communicate with another.
Think of a restaurant. A customer places an order, a waiter carries it to the kitchen, and the kitchen prepares a meal. The waiter brings the result back to the customer. An API plays a similar communication role between software systems.
A simple AI request journey
Visitor
│ "Please explain my report."
▼
Website or App
│ Prepares the request
▼
API Endpoint
│ Sends the request to the AI service
▼
AI Service
│ Processes the request
▼
API Response
│ Returns a result or an error
▼
Website or App
│ Displays the result
▼
Visitor
Remember: An API is not the AI model itself. It is the interface through which a website or application requests a service.
2. What is an API request?
A request is a message one application sends to another, asking it to perform an action or return information.
For example, a website might send this simplified request body:
{
"model": "example-model",
"message": "Explain this Excel report"
}
modelindicates which AI model should be used.messagecontains the user's question or instruction.
Real APIs also specify information such as a destination endpoint, HTTP method, headers, and sometimes an authentication credential. The example above is illustrative, not a copy-and-paste request for a particular provider.
What is an endpoint?
An endpoint is a specific address where an API accepts requests. For example, an application might send chat requests to a path such as /api/chat.
3. What is an API response?
A response is what the service sends back after receiving a request.
A simplified successful response might look like this:
{
"answer": "Your sales increased this month."
}
A response may also include a status code, error details, or other metadata. An HTTP success response means the technical request succeeded; it does not guarantee that an AI-generated answer is factually correct.
4. What is an API key?
An API key is a credential used to identify or authenticate access to a service, depending on how the provider implements it.
You can think of it as an access pass. If a required credential is missing, invalid, or no longer valid, a request may be rejected.
Security note: Never place real API keys in public repositories, screenshots, client-side code, support tickets, or shared logs. Use your application's secure secret-management method.
Phase 2 — Investigate with Logs
5. What are logs?
Logs are records of events that happen inside a software system. They help support teams reconstruct what happened and when.
For example:
10:30:01 Request received
10:30:02 Connecting to AI service
10:30:03 HTTP 401 Unauthorized
10:30:03 Request failed
This tells us that a request reached the application, an AI service was contacted, and the service rejected the request with an authentication-related status. It does not, by itself, prove exactly which credential or configuration is responsible.
6. Common HTTP status codes
An HTTP status code helps describe the outcome of a web request. These are useful starting points for investigation, not complete diagnoses.
| Code | Meaning | Possible cause | First investigation step |
|---|---|---|---|
| 200 — OK | The HTTP request succeeded | Normal service response | Check the response content and whether it meets the user's need |
| 400 — Bad Request | The server could not process the request as sent | Invalid JSON, missing field, unsupported parameter | Compare the request with the API documentation |
| 401 — Unauthorized | Required authentication was not accepted | Missing, expired, or invalid credential | Check authentication configuration securely |
| 403 — Forbidden | The request is not permitted | Insufficient roles or permissions | Review authorized account permissions |
| 404 — Not Found | The requested endpoint or resource was not found | Incorrect URL or resource identifier | Verify the endpoint and identifier |
| 429 — Too Many Requests | A request limit has been reached | Rate limits or quotas | Review usage, limits, and retry guidance |
| 500 — Internal Server Error | The server encountered an unexpected error | Backend failure | Collect request details and check service health |
| 503 — Service Unavailable | The service is temporarily unable to handle the request | Maintenance, overload, or service incident | Check service status and recommended retry behavior |
Example: Understanding a 401 error
10:30:01 Chat request sent
10:30:02 HTTP 401 Unauthorized
10:30:02 Message: Invalid API key
What we know: The request failed during authentication.
What we investigate: Whether the application is using the correct credential and authorization settings.
What we avoid: Sharing the secret key or declaring the root cause confirmed before checking it.
7. What information should you look for in logs?
| Log field | What it tells you |
|---|---|
| Timestamp | When an event happened |
| Request ID | Which specific request to trace across systems |
| Status code | Whether the request succeeded or how it failed |
| Error message | What the service reported |
| Duration / latency | How long the request took |
| Endpoint | Which API operation was called |
| Retry count | How many times the operation was attempted again |
Example log
Time: 10:30:02
Request ID: req-4721
Endpoint: /api/chat
Status: 429
Duration: 85 ms
Message: Rate limit exceeded
A useful initial support summary would be:
“The chat request was rejected with an HTTP 429 rate-limit response at 10:30. The request ID is
req-4721. We should review account limits, recent request volume, and recommended retry behavior.”
This is more helpful than saying only, “The AI is broken.”
Phase 3 — Troubleshoot and Communicate
8. Step 1 — Understand the customer's problem
Suppose a customer says:
“My AI assistant is not responding.”
Start by asking focused questions:
- When did the problem begin?
- Does it affect one user or several users?
- What message appears on screen?
- Was the same feature working before?
- Did any settings or permissions recently change?
Goal: Define the impact and scope before looking for a solution.
9. Step 2 — Reproduce the issue
Reproducing means safely trying to observe the same problem again in an approved testing environment.
For example, if a customer reports that a file upload fails, try uploading a safe sample file using a test account with appropriate permissions.
- If the same issue appears, you have a repeatable test case.
- If it does not appear, investigate differences in account settings, file type, size, permissions, or browser environment.
Goal: Turn a general complaint into something you can observe and describe.
Privacy note: Do not reuse sensitive customer files or private data without authorization. Use test data whenever possible.
10. Step 3 — Inspect relevant logs
Suppose the log shows:
Upload started
File validation completed
HTTP 413 Content Too Large
Upload rejected
HTTP 413 indicates that the request content exceeds a limit set by the server or another component handling the request.
The useful next step is to check the application's upload limits and the file's size, rather than changing unrelated settings.
Goal: Use evidence to narrow the investigation.
11. Step 4 — Identify the likely cause
Connect the customer's experience with the available evidence.
- 401: Investigate authentication and credentials.
- 403: Investigate account permissions.
- 429: Investigate rate limits and usage.
- 503: Investigate service availability.
Avoid claiming certainty without enough evidence.
Good professional wording:
“The current evidence suggests that requests may be reaching a rate limit. We are checking account usage and service settings before confirming the cause.”
Goal: Separate a probable explanation from a verified root cause.
12. Step 5 — Escalate with useful evidence
Escalation means handing an issue to another person or team with the access or expertise needed to resolve it.
Instead of writing “AI does not work,” provide a structured ticket.
Example technical support ticket
| Field | Example |
|---|---|
| Issue | AI chat requests fail |
| Impact | One customer account affected |
| First observed | 10:30 AM |
| Error | HTTP 429 |
| Request ID | req-4721 |
| Reproduction | Three authorized test requests returned the same response |
| Initial finding | Possible account-level rate limit |
| Requested help | Verify quota settings and rate-limit events |
Goal: Help the technical team continue the investigation without starting again from zero.
13. Step 6 — Communicate clearly with the customer
The customer does not need every technical detail. They need to know what is happening and what the next step will be.
Example customer update
“We found that your requests are being limited by the service. Our technical team is reviewing the account settings. We will share another update once we have confirmed the cause and the appropriate next steps.”
Good communication should be:
- Clear: Avoid unnecessary technical jargon.
- Accurate: State what is known and what remains under investigation.
- Calm: Explain the process without creating unnecessary concern.
- Responsible: Do not promise a fix or resolution time that has not been confirmed.
Goal: Build trust while the technical investigation continues.
Make decisions from evidence
HTTP Error Explorer
Select a code. Read the observation, identify the uncertainty and choose a useful check.
Troubleshooting Missions
Each mission has a different log. Try a decision and review the reason. Retry only this mission whenever you need to.
Support Ticket Builder
Create an actionable engineering handover from fictional details. The form stays in this page; it does not submit a real support request.
Your practice ticket will appear here.
Customer Update Coach
“My AI assistant stopped responding this morning. Is it fixed yet?”
Write two or three short sentences. Then review your wording against the checklist. This is self-review, not an AI assessment.
See a professional example
Thank you for reporting this. We have observed failed requests and are investigating the cause. We will share an update once we have confirmed the next steps.
Your message must match the evidence available in your own case.
From customer report to verified next step
Work through a fictional case. No request is sent to a provider or customer.
“The chat stopped working.”
One test account reports that every chat request now fails. A model configuration was changed earlier today. No wider impact has been confirmed.
10:14:02Z Website: HTTP 503 10:14:02Z Provider: HTTP 404 model_not_found model=example-model-old request_id=req-case-104 Available to the test account: example-model-current
1. Separate observations from assumptions
Select only the statements directly supported by this case.
2. Choose a controlled next check
3. Prepare the handover and customer update
Include scope, time, request ID, expected/actual behaviour, the model mismatch and the check you want an authorized colleague to perform. Describe the likely explanation as a hypothesis until verified.
Compare with a professional example
Engineering handover
One test account reports chat failures at 10:14:02 UTC. Request req-case-104 returned website 503 and provider 404 model_not_found. Chat should return a response; it currently fails. The configured ID differs from the account’s available model list. Please verify the intended model and authorized access, then run one controlled test.
Customer update
Thank you for reporting this. We found a configuration-related error in the failed requests and are checking the model settings. We will confirm the outcome after a controlled test.
4. Verify before saying “resolved”
The download contains your current drafts. They are not sent or saved by this website.
Build your practical skill map
Explore eight skills, then practise their knowledge checks. Exploring a skill is tracked separately from answering its check. Neither is a professional certification.