Simple health check endpoint that returns "pong" when pinged. Use GET /v1/misc/ping via REST API or through MCP in Cursor/Claude to verify TinyFn connectivity. Perfect for testing integrations, monitoring uptime, or confirming your AI agent can reach TinyFn services before executing complex workflows.
curl "https://tinyfn.io/v1/misc/ping" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/misc/ping', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/misc/ping',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's miscellaneous tools:
{
"mcpServers": {
"tinyfn-misc": {
"url": "https://tinyfn.io/mcp/misc",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Returns a simple "pong" response with HTTP 200 status, confirming the service is reachable and operational.
Call the ping tool through MCP - if you get "pong" back, your TinyFn connection is working and you can proceed with other tools.
Yes, the GET /v1/misc/ping endpoint is perfect for health checks, monitoring scripts, and automated uptime verification.
Ping follows standard TinyFn rate limits but requires no special authentication - it's designed for frequent health checks.
Response time is typically under 50ms, making it suitable for real-time connectivity checks and low-latency monitoring.