← Developer Hub
Agentic Finance

Agent Invocation History

Read hash-only MCP tool invocation audit metadata for the authenticated agent credential.

Version: v2
Stability: stable
Sandbox: Available
Production: Entitlement required
Target latency: ≤ 250 ms
GET/api/v2/agents/invocations

FinanceGPT stores invocation hashes and operational metadata; M23 does not persist raw MCP tool inputs or outputs in the agent audit ledger.

Required scope: agents:mcp:read
Try it in the FinanceGPT sandbox

The playground uses deterministic isolated sandbox fixtures. It never queries production workspace data and does not require you to paste an API secret into the browser.

Sign in to run
Example response
{
    "data": [
        {
            "tool_name": "financegpt.quant.models.run",
            "status": "completed",
            "input_hash": "sha256",
            "output_hash": "sha256"
        }
    ]
}
Code examples

curl

curl -X GET \
  https://equitygpt.app/api/v2/agents/invocations?limit=25 \
  -H "Authorization: Bearer $FINANCEGPT_API_KEY" \
  -H "Content-Type: application/json"

python

import os, requests

url = "https://equitygpt.app/api/v2/agents/invocations?limit=25"
headers = {"Authorization": f"Bearer {os.environ['FINANCEGPT_API_KEY']}"}
response = requests.request("GET", url, headers=headers)
response.raise_for_status()
print(response.json())

javascript

const response = await fetch('https://equitygpt.app/api/v2/agents/invocations?limit=25', {
  method: 'GET',
  headers: { Authorization: `Bearer ${process.env.FINANCEGPT_API_KEY}`, 'Content-Type': 'application/json' }
});
if (!response.ok) throw new Error(`FinanceGPT ${response.status}`);
console.log(await response.json());

php

<?php
$ch = curl_init('https://equitygpt.app/api/v2/agents/invocations?limit=25');
curl_setopt_array($ch, [CURLOPT_RETURNTRANSFER => true, CURLOPT_CUSTOMREQUEST => 'GET', CURLOPT_HTTPHEADER => ['Authorization: Bearer '.getenv('FINANCEGPT_API_KEY'), 'Content-Type: application/json']]);
$response = curl_exec($ch);
if (curl_getinfo($ch, CURLINFO_HTTP_CODE) >= 400) throw new RuntimeException($response);
echo $response;
Versions & changelog
v2 published
M23 publication of this governed FinanceGPT API operation.

Ready to build?

Explorer gives immediate isolated sandbox access. Production plans require a commercial entitlement.

Create account