Properties
| Name | Type | Description |
|---|---|---|
| token | string | Shown once. Stored hashed; a lost token is replaced, not recovered. |
| tokenPrefix | string | Enough to recognise the token in settings, never enough to use it. |
| label | string | |
| endpoint | string | Where to POST log lines, with `Authorization: Bearer |
| revokedPrevious | integer | How many earlier tokens this one replaced. |
| setup | object | The three ways to get logs to the endpoint. Show the one that fits the site. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/shruwd-io/json-schema/shruwd-io-ingest-token-schema.json",
"title": "IngestToken",
"x-generated": "2026-11-24",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/shruwd-io-openapi.json#/components/schemas/IngestToken",
"type": "object",
"required": [
"token",
"tokenPrefix",
"label",
"endpoint",
"revokedPrevious",
"setup"
],
"properties": {
"token": {
"type": "string",
"description": "Shown once. Stored hashed; a lost token is replaced, not recovered."
},
"tokenPrefix": {
"type": "string",
"description": "Enough to recognise the token in settings, never enough to use it."
},
"label": {
"type": "string"
},
"endpoint": {
"type": "string",
"format": "uri",
"description": "Where to POST log lines, with `Authorization: Bearer <token>`."
},
"revokedPrevious": {
"type": "integer",
"description": "How many earlier tokens this one replaced."
},
"setup": {
"type": "object",
"description": "The three ways to get logs to the endpoint. Show the one that fits the site.",
"required": [
"httpDrain",
"cloudflareLogpush",
"cloudflareWorker"
],
"properties": {
"httpDrain": {
"type": "object",
"required": [
"endpoint",
"header",
"contentType",
"note"
],
"properties": {
"endpoint": {
"type": "string",
"format": "uri"
},
"header": {
"type": "string",
"const": "X-Shruwd-Ingest-Token"
},
"contentType": {
"type": "string",
"const": "application/x-ndjson"
},
"note": {
"type": "string"
}
}
},
"cloudflareLogpush": {
"type": "object",
"description": "A Logpush job with an HTTP destination (Cloudflare Enterprise zones).",
"required": [
"destinationUrl",
"dataset",
"fields",
"filter",
"note"
],
"properties": {
"destinationUrl": {
"type": "string",
"format": "uri",
"description": "The endpoint with the token as a `header_Authorization` URL parameter, which Logpush turns into a request header. Contains the token."
},
"dataset": {
"type": "string",
"const": "http_requests"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"filter": {
"type": "string",
"description": "The job's filter as the Logpush API takes it, a JSON string, keeping the job to the brand's domain and its www host."
},
"note": {
"type": "string"
}
}
},
"cloudflareWorker": {
"type": "object",
"description": "The reference forwarder Worker for any other Cloudflare plan or CDN-served site.",
"required": [
"note",
"ingestUrl",
"secretName"
],
"properties": {
"note": {
"type": "string"
},
"ingestUrl": {
"type": "string",
"format": "uri"
},
"secretName": {
"type": "string",
"const": "SHRUWD_INGEST_TOKEN"
}
}
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/shruwd-io-ingest-token"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.