CLIENT API / V1 RECOMMENDATIONS & FIXES
List proposed and approved fixes
GET
/sites/{site_id}/fixesfixes:readOVERVIEW
Requires `fixes:read`. Retrieval does not approve or apply changes.
| Request | GET https://satelliteai.io/api/v1/sites/{site_id}/fixes |
| Permission | fixes:read |
| Response | A list (cursor or offset paginated): data is array of Fix. |
| Operation ID | listFixes |
More context and worked examples are in the developer guide.
REQUEST
Example request
curl --fail-with-body \
'https://satelliteai.io/api/v1/sites/123/fixes' \
-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 |
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 |
page_id | query | integer | Optional registered page within this site. min 1 |
approval_status | query | string | one of: Pending, Approved, Rejected, Ignored |
Unknown or repeated query parameters return 400.
RESPONSE
Data dictionary
Stored results successfully retrieved. Proposed code/content changes with their actual approval and application state. Reading a fix does not approve or apply it.
[] 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 | integer | Satellite identifier for this record. |
data[].site_id | integer | Satellite site ID (from GET /sites). |
data[].page_id | integernullable | Satellite page ID (from GET /sites/{site_id}/pages). |
data[].task_id | integer | |
data[].fix_id | stringnullable | |
data[].original_code | stringnullable | |
data[].corrected_code | stringnullable | |
data[].original_text | stringnullable | |
data[].corrected_text | stringnullable | |
data[].explanation | stringnullable | |
data[].issue_summary | stringnullable | |
data[].affected_element | stringnullable | |
data[].action_label | stringnullable | |
data[].category | stringnullable | |
data[].approval_status | stringnullable | |
data[].fix_type | stringnullable | |
data[].verification_status | stringnullable | |
data[].time_estimate | integernullable | |
data[].fix_version | integernullable | |
data[].is_applied | booleannullable | |
data[].content_change | booleannullable | |
data[].requires_approval | booleannullable | |
data[].approved_at | string (date-time)nullable | |
data[].applied_at | string (date-time)nullable | |
data[].verified_at | string (date-time)nullable | |
data[].created_at | string (date-time)nullable | When Satellite created the record (UTC, RFC 3339). |
data[].updated_at | string (date-time)nullable | When Satellite last updated 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 |
ERRORS
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. |