List stored rewrite revisions
/sites/{site_id}/pages/{page_id}/rewritesrewrites:readRequires `rewrites:read`. Metadata-only discovery of stored rewrite IDs and actual review state. Does not load artifacts or generate content.
| Request | GET https://satelliteai.io/api/v1/sites/{site_id}/pages/{page_id}/rewrites |
| Permission | rewrites:read |
| Response | A list (cursor or offset paginated): data is array of Rewrite. |
| Operation ID | listPageRewrites |
More context and worked examples are in the developer guide.
Example request
curl --fail-with-body \
'https://satelliteai.io/api/v1/sites/123/pages/4567/rewrites' \
-H "Authorization: Bearer $SATELLITE_API_KEY"Replace the example IDs with values returned by the discovery endpoints. Example values are placeholders, not real records.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
site_idrequired | path | integer | ID from GET /sites. min 1 |
page_idrequired | path | integer | Page ID from this site’s GET /pages. min 1 |
limit | query | integer | Maximum rows per page. default 50 · min 1 · max 100 |
cursor | query | string | Opaque next_cursor from the prior response. Expires after 24 hours; bound to integration, permissions, sites and unchanged filters. Restart pagination if access changes. max length 4096 |
Unknown or repeated query parameters return 400.
Data dictionary
Stored results successfully retrieved. Metadata for a stored generated rewrite. Use id as rewrite_id to retrieve a component. Review state is not a publication-approval claim.
[] marks an array element. nullable means the value can be null; treat it as unknown, not zero. always present means the key is always included in the object.
| Field | Type | Description |
|---|---|---|
data[].id | integeralways present | Satellite identifier for this record. |
data[].site_id | integeralways present | Satellite site ID (from GET /sites). |
data[].page_id | integeralways present | Satellite page ID (from GET /sites/{site_id}/pages). |
data[].url | string | Absolute URL as stored by Satellite. |
data[].revision_number | integernullable | |
data[].review_status | stringnullable | |
data[].reviewed_at | string (date-time)nullable | |
data[].applied_at | string (date-time)nullable | |
data[].updated_at | string (date-time)nullable | When Satellite last updated the record (UTC, RFC 3339). |
data[].created_at | string (date-time)nullable | When Satellite created the record (UTC, RFC 3339). |
Response metadata
| Field | Type | Description |
|---|---|---|
meta.request_id | stringalways present | Request identifier; also returned in X-Request-ID. Include it in support requests. |
meta.api_version | stringalways present | API version that produced the response. one of: v1 |
meta.limit | integer | Maximum records per page applied to this request. min 1 · max 100 |
meta.has_more | boolean | True when another page is available. |
meta.next_cursor | stringnullable | Opaque cursor for the next page; send as cursor. Null on the last page. |
meta.availability | string | available when stored data exists; not_available when it does not. one of: available, not_available |
meta.billing | object | Present for paid live SERP requests; replayed receipts describe the original debit, not an additional charge. |
meta.billing.operation | stringalways present | one of: client_api_serp_refresh |
meta.billing.credits_charged | integeralways present | min 0 |
meta.billing.transaction_id | integeralways present | |
meta.billing.replayed | booleanalways present |
Error responses
Errors return {"error": {"code", "message", "request_id"}}. See error handling for retry guidance.
| HTTP | When |
|---|---|
400 | Invalid or repeated query parameter, filter, limit, or cursor. |
401 | Missing, invalid, expired, or revoked credential. |
403 | Required scope, active integration, or company API entitlement is unavailable. |
404 | The resource is missing or outside the granted company/site boundary. |
413 | The response or stored artifact exceeds the configured retrieval limit. |
429 | API request quota exceeded. Retry after the indicated interval. |
503 | A required storage, rate-limit, or artifact dependency is unavailable. |