Read content generation revisions
/sites/{site_id}/content-generations/{generation_id}/revisions/{record_id}content:readRead content generation revisions. Only explicitly granted sites and permissions are accessible. No credentials or raw worker payloads are returned. Lists omit large bodies; detail calls return stored payloads with bounded exports. Parent/child ownership is checked before artifact retrieval. GET never generates, revises, reviews or publishes content.
| Request | GET https://satelliteai.io/api/v1/sites/{site_id}/content-generations/{generation_id}/revisions/{record_id} |
| Permission | content:read |
| Response | A single object: data is ContentRevision. |
| Operation ID | getContentRevision |
More context and worked examples are in the developer guide.
Example request
curl --fail-with-body \
'https://satelliteai.io/api/v1/sites/123/content-generations/456/revisions/123' \
-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 | Authorized site id. Parent and site grants must also match. min 1 · max 9223372036854775807 |
generation_idrequired | path | integer | Authorized generation id. Parent and site grants must also match. min 1 · max 9223372036854775807 |
record_idrequired | path | integer | Authorized record id. Parent and site grants must also match. min 1 · max 9223372036854775807 |
Unknown or repeated query parameters return 400.
Data dictionary
Scoped result. Lists return pagination metadata; unavailable records return 404. Stored authorized record. Fields depend on source availability and may be absent/null. Detail exports are capped at 2 MiB; larger artifacts return 413. Lists omit large bodies and structured review payloads.
[] 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 | integernullable | Id. |
data.generation_id | integernullable | Generation id. |
data.job_id | stringnullable | Job id. |
data.revision_type | stringnullable | Revision type. |
data.revision_request | stringnullable | Revision request. |
data.revised_content | stringnullable | Revised content. Detail only; omitted from list rows. |
data.word_count | integernullable | Word count. |
data.confidence | number | stringnullable | Confidence. Decimal values may be serialized as strings. |
data.compliance_report_json | anynullable | Compliance report json. Detail only; omitted from list rows. Stored structured JSON; shape depends on the generation pipeline. |
data.status | stringnullable | Status. |
data.revision_number | integernullable | Revision number. |
data.created_at | stringnullable | Created at. Stored UTC ISO 8601 timestamp; legacy values may omit a timezone suffix. |
data.updated_at | stringnullable | Updated at. Stored UTC ISO 8601 timestamp; legacy values may omit a timezone suffix. |
data.completed_at | stringnullable | Completed at. Stored UTC ISO 8601 timestamp; legacy values may omit a timezone suffix. |
data.truncated_fields | array of string | Scalar text fields truncated at 200000 characters. Empty when no scalar was truncated. |
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 parameters |
401 | Invalid credentials |
403 | Missing permission |
404 | Missing or inaccessible resource |
413 | artifact_too_large: the authorized stored export exceeds 2 MiB or bounded retrieval limits. |
503 | artifact_unavailable or ownership_unavailable: stored artifact cannot be safely retrieved. |