Skip to main content
GET
/
api
/
v2
/
ai
/
feedback
/
{request_id}
/
{status}
Feedback
curl --request GET \
  --url https://aquilax.ai/api/v2/ai/feedback/{request_id}/{status} \
  --header 'X-AX-KEY: <api-key>'
import requests

url = "https://aquilax.ai/api/v2/ai/feedback/{request_id}/{status}"

headers = {"X-AX-KEY": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'X-AX-KEY': '<api-key>'}};

fetch('https://aquilax.ai/api/v2/ai/feedback/{request_id}/{status}', 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://aquilax.ai/api/v2/ai/feedback/{request_id}/{status}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-AX-KEY: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://aquilax.ai/api/v2/ai/feedback/{request_id}/{status}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("X-AX-KEY", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://aquilax.ai/api/v2/ai/feedback/{request_id}/{status}")
.header("X-AX-KEY", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://aquilax.ai/api/v2/ai/feedback/{request_id}/{status}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-AX-KEY"] = '<api-key>'

response = http.request(request)
puts response.read_body
"A valid organization_id is required in the URL path"
{
"code": 123,
"message": "<string>"
}
{
"code": 123,
"message": "<string>"
}
{
"code": 123,
"message": "<string>"
}
"Failed to make request to downstream API"
{
"code": 123,
"message": "<string>"
}
{
"code": 123,
"message": "<string>"
}
{
"code": 123,
"message": "<string>"
}

Authorizations

X-AX-KEY
string
header
required

Path Parameters

request_id
string<uuid>
required

Unique identifier of the AI request to provide feedback for

Example:

"77e81bbc-3e7f-47b9-87fa-681b5d2f54e6"

status
enum<string>
required

Feedback status for the request

Available options:
true,
false
Example:

"false"

Query Parameters

org
string
required

Organization identifier

Example:

"65dd3e835a669e3347654200"

group
string
required

Group identifier

Example:

"67e86d036e9921509f730483"

Response

Feedback submitted successfully