Report a problem
curl --request POST \
--url https://api.mireye.com/v1/reports \
--header 'Content-Type: application/json' \
--data '
{
"expected": "<string>",
"fields": [
"<string>"
],
"operation_id": "<string>",
"request_id": "<string>"
}
'import requests
url = "https://api.mireye.com/v1/reports"
payload = {
"expected": "<string>",
"fields": ["<string>"],
"operation_id": "<string>",
"request_id": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
expected: '<string>',
fields: ['<string>'],
operation_id: '<string>',
request_id: '<string>'
})
};
fetch('https://api.mireye.com/v1/reports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mireye.com/v1/reports",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'expected' => '<string>',
'fields' => [
'<string>'
],
'operation_id' => '<string>',
'request_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mireye.com/v1/reports"
payload := strings.NewReader("{\n \"expected\": \"<string>\",\n \"fields\": [\n \"<string>\"\n ],\n \"operation_id\": \"<string>\",\n \"request_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mireye.com/v1/reports")
.header("Content-Type", "application/json")
.body("{\n \"expected\": \"<string>\",\n \"fields\": [\n \"<string>\"\n ],\n \"operation_id\": \"<string>\",\n \"request_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mireye.com/v1/reports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"expected\": \"<string>\",\n \"fields\": [\n \"<string>\"\n ],\n \"operation_id\": \"<string>\",\n \"request_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"duplicate": true,
"report_id": "<string>"
}{
"duplicate": true,
"report_id": "<string>"
}{
"detail": {
"error": "<string>",
"message": "<string>",
"action_url": "<string>",
"agent_instruction": "<string>",
"next_action": "retry_after",
"retry_after_s": 123,
"retryable": true,
"user_message": "<string>"
}
}{
"detail": {
"error": "<string>",
"message": "<string>",
"action_url": "<string>",
"agent_instruction": "<string>",
"next_action": "retry_after",
"retry_after_s": 123,
"retryable": true,
"user_message": "<string>"
}
}{
"detail": {
"error": "<string>",
"message": "<string>",
"action_url": "<string>",
"agent_instruction": "<string>",
"next_action": "retry_after",
"retry_after_s": 123,
"retryable": true,
"user_message": "<string>"
}
}Reference
POST /v1/reports
Report wrong data or an error on Mireye’s side, with the request ID of the call.
POST
/
v1
/
reports
Report a problem
curl --request POST \
--url https://api.mireye.com/v1/reports \
--header 'Content-Type: application/json' \
--data '
{
"expected": "<string>",
"fields": [
"<string>"
],
"operation_id": "<string>",
"request_id": "<string>"
}
'import requests
url = "https://api.mireye.com/v1/reports"
payload = {
"expected": "<string>",
"fields": ["<string>"],
"operation_id": "<string>",
"request_id": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
expected: '<string>',
fields: ['<string>'],
operation_id: '<string>',
request_id: '<string>'
})
};
fetch('https://api.mireye.com/v1/reports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mireye.com/v1/reports",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'expected' => '<string>',
'fields' => [
'<string>'
],
'operation_id' => '<string>',
'request_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mireye.com/v1/reports"
payload := strings.NewReader("{\n \"expected\": \"<string>\",\n \"fields\": [\n \"<string>\"\n ],\n \"operation_id\": \"<string>\",\n \"request_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mireye.com/v1/reports")
.header("Content-Type", "application/json")
.body("{\n \"expected\": \"<string>\",\n \"fields\": [\n \"<string>\"\n ],\n \"operation_id\": \"<string>\",\n \"request_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mireye.com/v1/reports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"expected\": \"<string>\",\n \"fields\": [\n \"<string>\"\n ],\n \"operation_id\": \"<string>\",\n \"request_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"duplicate": true,
"report_id": "<string>"
}{
"duplicate": true,
"report_id": "<string>"
}{
"detail": {
"error": "<string>",
"message": "<string>",
"action_url": "<string>",
"agent_instruction": "<string>",
"next_action": "retry_after",
"retry_after_s": 123,
"retryable": true,
"user_message": "<string>"
}
}{
"detail": {
"error": "<string>",
"message": "<string>",
"action_url": "<string>",
"agent_instruction": "<string>",
"next_action": "retry_after",
"retry_after_s": 123,
"retryable": true,
"user_message": "<string>"
}
}{
"detail": {
"error": "<string>",
"message": "<string>",
"action_url": "<string>",
"agent_instruction": "<string>",
"next_action": "retry_after",
"retry_after_s": 123,
"retryable": true,
"user_message": "<string>"
}
}Tell us when a value is wrong, data is missing, or a call failed on our side.
People at Mireye read every report.
Over MCP, the same thing is the
Report an error when its
mireye_report_problem tool, with the same
inputs and the same result.
What to report
category | Use it when |
|---|---|
wrong_data | A value is incorrect. For example, the owner differs from the county record. |
unexpected_error | A call failed in a way it should not have. |
missing_coverage | Data is absent where it should exist. |
other | Anything else about the data or the API. |
next_action is contact_support. Don’t report errors whose
next_action says to retry, fix the request or ask the user: a 429 means wait and
retry, and a 402 means the account owner has to act. See
Retries.
Request
{
"request_id": "req_0123456789ab",
"category": "wrong_data",
"fields": ["owner_name"],
"expected": "Owner should be ACME LLC per the county assessor site."
}
| Field | Required | Notes |
|---|---|---|
category | Yes | One of the four above. |
request_id | No, but send it | The X-Request-ID of the call you are reporting. It lets us find that exact call. Over MCP, an error that asks you to report it carries its own request_id. |
operation_id | No | The operation_id of a paid call, as its result or error returned it. Use it when the call returned no request ID, as hosted MCP results don’t. |
fields | No | Up to 50 field names the report is about. |
expected | No | Up to 2 KB of plain text: what you expected, and where the right value comes from. |
- Authenticate as for any other call: your API key, or sign in.
- Other keys are refused with
422 report_invalid. Don’t send contact details: we know which account filed the report. - Text in
expectedis read by people. Write it as plain text.
Response
201 Created:
{"report_id": "rpt_5f0c2d9e8a7b4c1d9e0f1a2b3c4d5e6f", "duplicate": false}
- Keep
report_idif you want to follow up. - Reporting the same
request_idoroperation_idagain returns the firstreport_idwith"duplicate": trueand status200. Nothing new is stored. - A report that names neither is stored every time it is sent.
- The response does not say whether the
request_idwas found. Report the ID you were given; we match it to your own calls.
Limits
- A report does not use your request rate limit, so you can report even while you are being rate limited.
- A daily limit applies per account. Over it, you get
429 report_limit_reached.Retry-Afteris the number of seconds until midnight UTC.
Errors
| Code | HTTP | What to do |
|---|---|---|
report_invalid | 422 | Fix the request. errors says which field was wrong. Not retryable. |
report_limit_reached | 429 | Wait for Retry-After (midnight UTC), then send it again. |
report_unavailable | 503 | The report was not saved. Back off and send it again. |
Body
application/json
One report. Only category is required.