curl --request GET \
--url https://app.apigene.ai/api/interaction/{interaction_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.apigene.ai/api/interaction/{interaction_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.apigene.ai/api/interaction/{interaction_id}', 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://app.apigene.ai/api/interaction/{interaction_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://app.apigene.ai/api/interaction/{interaction_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.apigene.ai/api/interaction/{interaction_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.apigene.ai/api/interaction/{interaction_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"api_name": "<string>",
"user_input": "<string>",
"actions_result": [
{
"action_name": "N/A",
"status_code": 555,
"raw_data": "<unknown>",
"response_content": "<unknown>",
"context": "<unknown>",
"customer_execution_context": "<unknown>",
"response_projection": "<string>"
}
],
"duration": 123,
"user_id": "N.A",
"app_name": "N.A",
"api_title": "N.A",
"is_cached": false,
"client_source": "<string>",
"operation_id": "<string>",
"raw_response_size": 123,
"response_content_size": 123,
"request_body_size": 123,
"recording_mode": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Get Interaction Detail
Get detailed interaction data by ID.
This endpoint returns the full interaction data including request/response details. Use this endpoint when you need to view the complete interaction information.
Parameters:
- interaction_id: Unique identifier of the interaction.
- current_user: Current user for authentication (required for org membership).
Returns:
- Full interaction data including request/response details.
- For admins: returns any interaction.
- For members: returns only interactions that belong to the member user.
Raises:
- HTTPException(404): If the interaction is not found.
- HTTPException(403): If the user is not authorized to view this interaction (members can only view their own).
- HTTPException(401): If the user is not authorized.
curl --request GET \
--url https://app.apigene.ai/api/interaction/{interaction_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.apigene.ai/api/interaction/{interaction_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.apigene.ai/api/interaction/{interaction_id}', 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://app.apigene.ai/api/interaction/{interaction_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://app.apigene.ai/api/interaction/{interaction_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.apigene.ai/api/interaction/{interaction_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.apigene.ai/api/interaction/{interaction_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"api_name": "<string>",
"user_input": "<string>",
"actions_result": [
{
"action_name": "N/A",
"status_code": 555,
"raw_data": "<unknown>",
"response_content": "<unknown>",
"context": "<unknown>",
"customer_execution_context": "<unknown>",
"response_projection": "<string>"
}
],
"duration": 123,
"user_id": "N.A",
"app_name": "N.A",
"api_title": "N.A",
"is_cached": false,
"client_source": "<string>",
"operation_id": "<string>",
"raw_response_size": 123,
"response_content_size": 123,
"request_body_size": 123,
"recording_mode": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'
Path Parameters
Response
Successful Response
Show child attributes
Show child attributes
Whether this interaction result came from cache.
The MCP client that initiated this interaction (e.g., Cursor, Claude, VS Code, ChatGPT).
The operation ID from the OpenAPI spec for this interaction.
Size of the raw HTTP response body in bytes.
Size of the processed response content in bytes.
Size of the request body (or MCP tool arguments) in bytes.
Recording mode applied when this interaction was stored (full, headers_only).
