Proteside Docs
Endpoint referencePCI reports

A specific snapshot (JSON, PDF or CSV)

GET
/reports/pci/snapshots/{id}

Authorization

bearerAuth
headerAuthorizationBearer <token>

API token created in Settings → API. Scopes are attached to the token; each operation lists its required scope in x-scope.

Path Parameters

id*string
Formatuuid

Query Parameters

org_id?string

Partners only (orgs:manage): act on this child organization. May also be sent as org_id in JSON bodies.

Formatuuid
format?string
Default"json"
Value in"json""pdf""csv"
csv_table?string
Default"scripts"
Value in"scripts""headers""alerts"

Response Body

Snapshot with data

  1. response
id?string
Formatuuid
store_id?string
Formatuuid
kind?string
Value in"weekly""on_demand""monthly"
period_start?string
Formatdate-time
period_end?string
Formatdate-time
locale?string
Value in"pt-BR""en"
schema_version?integer
sha256?string|null
generated_by?string
has_pdf?boolean
csv_tables?array<string>
created_at?string
Formatdate-time
generated?boolean

true when this request generated the snapshot

data?

Report data schema_version 2: meta, scope, summary_643, summary_1161, scripts[], headers[], alerts[], policies[], periodic_checks[], data_access[]

curl -X GET "https://example.com/reports/pci/snapshots/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "store_id": "7fe87115-950c-4ae8-bd7e-970406bc9ac0",  "kind": "weekly",  "period_start": "2019-08-24T14:15:22Z",  "period_end": "2019-08-24T14:15:22Z",  "locale": "pt-BR",  "schema_version": 0,  "sha256": "string",  "generated_by": "string",  "has_pdf": true,  "csv_tables": [    "string"  ],  "created_at": "2019-08-24T14:15:22Z",  "generated": true,  "data": {}}