Proteside Docs
Referência de endpointsScripts

Inventário de scripts

GET
/scripts

Autorização

bearerAuth
headerAutorizaçãoBearer <token>

Token de API criado em Configurações → API. Os escopos ficam vinculados ao token; cada operação lista o escopo exigido em x-scope.

Parâmetros de consulta

org_id?string

Somente parceiros (orgs:manage): atua sobre esta organização filha. Também pode ser enviado como org_id em corpos JSON.

Formatouuid
store_id?string

Filtrar por loja

Formatouuid
status?string
Valor em"trusted""needs_review""suspicious""malicious""authorized""blocked"
type?string
Valor em"first_party""known_third""unknown"
integrity_status?string
Valor em"match""mismatch""pending""monitored""blocked"
category?string
limit?integer
Intervalo1 <= value <= 100
Padrão50
cursor?string

Cursor opaco obtido de next_cursor

Corpo da resposta

Scripts ordenados por first_seen_at desc

application/json
  1. response
data?array<>
next_cursor?string|null
curl -X GET "https://example.com/scripts"
{  "data": [    {      "id": "b1c2d3e4-5555-4666-8777-888899990000",      "store_id": "0c1d2e3f-1111-4222-8333-444455556666",      "src": "https://www.googletagmanager.com/gtm.js?id=GTM-ABC1234",      "type": "known_third",      "category": "tag_manager",      "status": "needs_review",      "integrity_status": "monitored",      "current_hash": null,      "authorized_hash": null,      "hash_source": "none",      "sri_hash": null,      "integrity_attr": false,      "size_bytes": null,      "vendor_id": "googletagmanager.com",      "gtm_container": "GTM-ABC1234",      "authorization_method": null,      "authorized_by": null,      "justification": null,      "policy_id": null,      "policy_version": null,      "reviewed_at": null,      "expires_at": null,      "review_due_at": null,      "first_seen_at": "2026-09-20T08:00:00.000Z",      "last_seen_at": "2026-09-27T09:58:00.000Z",      "last_verified_at": null,      "last_hash_change_at": null    }  ],  "next_cursor": null}