Compare Crawl Activity Periods
seo.compare_crawl_activity_periods
Overview
Diff crawler activity groups across two supplied periods. We never fetch a URL, run a script, or choose a winner. A successful call costs 1 execution credit.
Period compare is a table diff on aggregates you send.
Reliability
seo.compare_crawl_activity_periods is stable for identical input. Identical input always produces identical JSON. SEO_INPUT_REQUIRED means a required field is missing or has the wrong shape, so send the published object rather than a guessed map; retrying unchanged will not help. SEO_INPUT_TOO_LARGE means a value exceeds its ceiling, so trim it. SEO_HTML_MALFORMED means the HTML could not be parsed under the offline HTML contract, so fix the markup. SEO_XML_MALFORMED means the XML is not well-formed, so correct it. SEO_XML_DOCTYPE_NOT_ALLOWED means the XML includes a DOCTYPE declaration, so strip the DOCTYPE and resend; we refuse DTDs rather than expanding entities. SEO_JSONLD_MALFORMED means a JSON-LD block is not usable JSON, so correct it. SEO_PROFILE_UNKNOWN means the named profile is not bundled, so send one of the published profile ids. SEO_TOO_MANY_RECORDS means a list exceeded its ceiling, so split the batch. SEO_GRAPH_LIMIT_EXCEEDED means the graph exceeded its node or edge ceiling, so shrink it. SEO_INVALID_URL means a URL string is not a usable RFC 3986 URI, so send an absolute URI. SEO_OBSERVATION_INCOMPLETE means required observation coverage is missing, so add the missing evidence. SEO_INPUT_CONFLICT means two fields that cannot be used together were both supplied, so drop one. Retrying an unchanged request will not help.
Context footprint
Returns a compact structured record. A successful call costs 1 execution credit.
When to use it
When you already have two crawler-activity aggregates and need a period diff.
When either period still needs aggregating, or you want in-period spikes.
Scope
Non-goals
- Does not fetch a URL, resolve DNS, or run a browser
- Does not predict ranking, choose a winner, or claim live index status
- Does not fetch logs
Properties
Capabilities
Cost & billing
Flat rate per invocation
File handling
How we handle your data
What this means
This skill may receive sensitive content and may return submitted, transformed, extracted, or reformatted content.
Squillify guarantees
- Runs inside Squillify
- This skill runs inside Squillify.
- Payloads are not sent to an external service by this skill.
- Squillify does not permanently store submitted payloads.
- Telemetry records metadata only, not submitted content.
- Submitted payloads are not used for training.
- Submitted payloads are not reviewed by humans.
- This skill does not target sensitive data.
- The response may contain submitted or transformed content.
Your responsibility
Squillify does not determine whether submitted content is sensitive. Your application is responsible for deciding what data it is allowed to submit. Your application is responsible for securing the response.
Input schema
| Field | Type | Required | Description |
|---|---|---|---|
| currentRecords | array | Yes | Required. Closed array 'currentRecords' with named properties or bounded items used by this skill, up to 10,000 entries or 64 properties. |
| previousRecords | array | Yes | Required. Closed array 'previousRecords' with named properties or bounded items used by this skill, up to 10,000 entries or 64 properties. |
| groupBy | array | No | Closed array 'groupBy' with named properties or bounded items used by this skill, up to 10,000 entries or 64 properties. Omit it and we treat groupBy as empty. |
| missingPolicy | string | No | The missingPolicy value for this offline analysis, up to 1 MiB. Omit it and we apply the published default for missingPolicy. |
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| groups | array | Yes | Required. Structured 'groups' value. Objects expose named properties; arrays list bounded rows or strings produced from the supplied artifacts, up to 10,000 entries. |
| additions | array | Yes | Required. Structured 'additions' value. Objects expose named properties; arrays list bounded rows or strings produced from the supplied artifacts, up to 10,000 entries. |
| removals | array | Yes | Required. Structured 'removals' value. Objects expose named properties; arrays list bounded rows or strings produced from the supplied artifacts, up to 10,000 entries. |
| groupBy | array | Yes | Required. Structured 'groupBy' value. Objects expose named properties; arrays list bounded rows or strings produced from the supplied artifacts, up to 10,000 entries. |
| missingPolicy | string | Yes | Required. Structured 'missingPolicy' value produced by this offline analysis. |
API contract
POST /v1/executecurl -sS -X POST "$BASE/v1/execute" -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"skillKey":"seo.compare_crawl_activity_periods","input":{"currentRecords":[{"bytes":2326,"clientAddress":"127.0.0.0","crawlerFamily":"googlebot","ip":"127.0.0.0","latencyMs":20,"path":"/index.html","status":200,"timestamp":"2000-10-10T13:55:36","url":"/index.html","userAgent":"Googlebot"}],"groupBy":["crawlerFamily"],"previousRecords":[{"bytes":2326,"clientAddress":"127.0.0.0","crawlerFamily":"googlebot","ip":"127.0.0.0","latencyMs":20,"path":"/index.html","status":200,"timestamp":"2000-10-10T13:55:36","url":"/index.html","userAgent":"Googlebot"}]}}'import { Squillify } from "@squillify/sdk";
const sq = new Squillify({ apiKey: process.env.SQUILLIFY_API_KEY });
const { output } = await sq.execute("seo.compare_crawl_activity_periods", {"currentRecords":[{"status":200,"bytes":2326,"userAgent":"Googlebot","timestamp":"2000-10-10T13:55:36","latencyMs":20,"url":"/index.html","crawlerFamily":"googlebot","clientAddress":"127.0.0.0","ip":"127.0.0.0","path":"/index.html"}],"previousRecords":[{"status":200,"bytes":2326,"userAgent":"Googlebot","timestamp":"2000-10-10T13:55:36","latencyMs":20,"url":"/index.html","crawlerFamily":"googlebot","clientAddress":"127.0.0.0","ip":"127.0.0.0","path":"/index.html"}],"groupBy":["crawlerFamily"]});Errors
| Code | HTTP | Retryable | Description |
|---|---|---|---|
| VALIDATION_ERROR | 400 | No | The request payload failed schema validation. |
| UNAUTHORIZED | 401 | No | Missing or invalid API key. |
| SKILL_NOT_ACCESSIBLE | 403 | No | The API key is not granted access to this skill. |
| SKILL_NOT_AVAILABLE_FOR_PLAN | 403 | No | This skill is not included in your current plan. |
| PLAN_ELIGIBILITY_UNAVAILABLE | 503 | Yes | Plan eligibility could not be decided. Retry after backoff. |
| SKILL_NOT_FOUND | 404 | No | The requested skill or version does not exist. |
| TENANT_RATE_LIMITED | 429 | Yes | Request rate limit exceeded. Retry after backoff. |
| QUOTA_EXCEEDED | 429 | Yes | Plan quota exhausted. Retryable once the quota period resets. |
| EXECUTION_TIMEOUT | 504 | Yes | Execution exceeded the allowed time budget. |
| SEO_INPUT_REQUIRED | 400 | No | The request payload failed this skill's input validation. |
| SEO_INPUT_TOO_LARGE | 429 | No | A size, quota, rate, or time limit was exceeded. |
| SEO_HTML_MALFORMED | 400 | No | The request payload failed this skill's input validation. |
| SEO_XML_MALFORMED | 400 | No | The request payload failed this skill's input validation. |
| SEO_XML_DOCTYPE_NOT_ALLOWED | 400 | No | The request payload failed this skill's input validation. |
| SEO_JSONLD_MALFORMED | 400 | No | The request payload failed this skill's input validation. |
| SEO_PROFILE_UNKNOWN | 400 | No | The request payload failed this skill's input validation. |
| SEO_TOO_MANY_RECORDS | 429 | No | A size, quota, rate, or time limit was exceeded. |
| SEO_GRAPH_LIMIT_EXCEEDED | 429 | No | A size, quota, rate, or time limit was exceeded. |
| SEO_INVALID_URL | 400 | No | The request payload failed this skill's input validation. |
Other limits
| Limit | Value |
|---|---|
| Recommended inline bytes | 32 KiB |
Limitations
- Does not fetch a URL, resolve DNS, or run a browser
- Does not predict ranking, choose a winner, or claim live index status
- Does not fetch logs
- Pulling logs
- Predicting next week's crawl
How to call
POST /v1/execute (requires authentication)
{
"skillKey": "seo.compare_crawl_activity_periods",
"input": {
"currentRecords": [
{
"status": 200,
"bytes": 2326,
"userAgent": "Googlebot",
"timestamp": "2000-10-10T13:55:36",
"latencyMs": 20,
"url": "/index.html",
"crawlerFamily": "googlebot",
"clientAddress": "127.0.0.0",
"ip": "127.0.0.0",
"path": "/index.html"
}
],
"previousRecords": [
{
"status": 200,
"bytes": 2326,
"userAgent": "Googlebot",
"timestamp": "2000-10-10T13:55:36",
"latencyMs": 20,
"url": "/index.html",
"crawlerFamily": "googlebot",
"clientAddress": "127.0.0.0",
"ip": "127.0.0.0",
"path": "/index.html"
}
],
"groupBy": [
"crawlerFamily"
]
}
}Examples
Primary business path
{
"currentRecords": [
{
"status": 200,
"bytes": 2326,
"userAgent": "Googlebot",
"timestamp": "2000-10-10T13:55:36",
"latencyMs": 20,
"url": "/index.html",
"crawlerFamily": "googlebot",
"clientAddress": "127.0.0.0",
"ip": "127.0.0.0",
"path": "/index.html"
}
],
"previousRecords": [
{
"status": 200,
"bytes": 2326,
"userAgent": "Googlebot",
"timestamp": "2000-10-10T13:55:36",
"latencyMs": 20,
"url": "/index.html",
"crawlerFamily": "googlebot",
"clientAddress": "127.0.0.0",
"ip": "127.0.0.0",
"path": "/index.html"
}
],
"groupBy": [
"crawlerFamily"
]
}{
"additions": [],
"groups": [
{
"group": "googlebot",
"current": 1,
"previous": 1,
"absoluteDelta": 0,
"relativeDelta": 0
}
],
"removals": [],
"groupBy": [
"crawlerFamily"
],
"missingPolicy": "zero"
}Boundary or option path
{
"currentRecords": [
{
"status": 200,
"bytes": 2326,
"userAgent": "Googlebot",
"timestamp": "2000-10-10T13:55:36",
"latencyMs": 20,
"url": "/index.html",
"crawlerFamily": "googlebot",
"clientAddress": "127.0.0.0",
"ip": "127.0.0.0",
"path": "/index.html"
}
],
"previousRecords": [],
"groupBy": [
"crawlerFamily"
]
}{
"additions": [
"googlebot"
],
"groups": [
{
"group": "googlebot",
"current": 1,
"previous": 0,
"absoluteDelta": 1,
"relativeDeltaUndefined": true
}
],
"removals": [],
"groupBy": [
"crawlerFamily"
],
"missingPolicy": "zero"
}Recommended use cases
- Show Googlebot volume change week over week
- Show new paths crawled in the later window
Avoid for
- Pulling logs
- Predicting next week's crawl
Related skills
Composable with
Safety & privacy
- Runs without calling any external service.
- Your payloads are never stored permanently.
- Telemetry captures metadata only — never your payload contents.
- We never train models on your payloads.
- No human reviews your payloads.