curl --request GET \
--url https://app.tryspecter.com/api/v1/logs-mcp \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.tryspecter.com/api/v1/logs-mcp"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://app.tryspecter.com/api/v1/logs-mcp', 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.tryspecter.com/api/v1/logs-mcp",
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-API-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://app.tryspecter.com/api/v1/logs-mcp"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-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://app.tryspecter.com/api/v1/logs-mcp")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.tryspecter.com/api/v1/logs-mcp")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"timestamp": "2026-12-02T09:15:30.123456Z",
"tool_name": "get_company_profile",
"status": "SUCCESS",
"duration_ms": 420,
"error_message": "<string>",
"credits_consumed": 123,
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"caller": {
"user_id": "user_2abc123",
"name": "Jane Doe",
"kind": "person",
"key_id": "ak_2abc123",
"key_name": "Warehouse sync"
}
}
],
"total": 123
}{
"errorCode": "API_KEY_MISSING",
"message": "No API Key was presented on the header X-API-KEY"
}{
"errorCode": "NOT_PERMITTED",
"message": "API key present, but you are not permitted"
}{
"errorCode": "VALIDATION_ERROR",
"message": "Field required (body.name)"
}{
"errorCode": "RATE_LIMITED",
"message": "You have been rate-limited"
}{
"errorCode": "clerk_unavailable",
"message": "Key verification is temporarily unavailable"
}Get MCP call logs
Returns a paginated log of the MCP tool calls your organization has made, newest first, with who made each.
Free. This call does not consume credits.
What you need
Nothing beyond your API key. Available from 2026-12-01.
Behavior
-
A member’s personal key lists only the calls that member made. An admin’s personal key, your organization key and the team key list every call.
-
Each entry has a
callerwith theuser_idthat Get organization members returns, the user’snameandkind, and thekey_idandkey_nameof the API key used.key_idandkey_nameare null for a call made through OAuth. No email is returned. -
Narrow the log to one user with
called_by. An id you may not read, or that matches no user, returns an empty page. -
Ordered newest first. Page through with
pageandlimit, and filter by time window withfrom/to(ISO 8601 datetime, minute granularity). -
The response carries an
X-Total-Countheader and RFC 5988Linkpagination links.
What you do next
- Chase a specific call. Quote an entry’s
request_idwhen contacting API support to point them at that exact call.
curl --request GET \
--url https://app.tryspecter.com/api/v1/logs-mcp \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.tryspecter.com/api/v1/logs-mcp"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://app.tryspecter.com/api/v1/logs-mcp', 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.tryspecter.com/api/v1/logs-mcp",
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-API-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://app.tryspecter.com/api/v1/logs-mcp"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-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://app.tryspecter.com/api/v1/logs-mcp")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.tryspecter.com/api/v1/logs-mcp")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"timestamp": "2026-12-02T09:15:30.123456Z",
"tool_name": "get_company_profile",
"status": "SUCCESS",
"duration_ms": 420,
"error_message": "<string>",
"credits_consumed": 123,
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"caller": {
"user_id": "user_2abc123",
"name": "Jane Doe",
"kind": "person",
"key_id": "ak_2abc123",
"key_name": "Warehouse sync"
}
}
],
"total": 123
}{
"errorCode": "API_KEY_MISSING",
"message": "No API Key was presented on the header X-API-KEY"
}{
"errorCode": "NOT_PERMITTED",
"message": "API key present, but you are not permitted"
}{
"errorCode": "VALIDATION_ERROR",
"message": "Field required (body.name)"
}{
"errorCode": "RATE_LIMITED",
"message": "You have been rate-limited"
}{
"errorCode": "clerk_unavailable",
"message": "Key verification is temporarily unavailable"
}Query Parameters
Only calls made by this user. Use an id from Get organization members.
^user_[A-Za-z0-9]{1,64}$"user_2abc123"
Was this page helpful?