Get an ingest snippet
get_ingest_snippetCopy-paste server code that reports each request (method, route, status, latency, customer, plan) to API Meter. Batched, fail-open, never blocks your API.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"framework": "<framework>"
},
"name": "get_ingest_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Optional: your slug, filled into the snippet | |
| framework | Yes |