APG PayAPG Paydocs

Reporting

Get report notebook

GET/report-notebooks/{reportNotebookId}
Request
GEThttps://api.tst.au.apgpay.dev/report-notebooks/{reportNotebookId}
curl -X GET https://api.tst.au.apgpay.dev/report-notebooks/{reportNotebookId} \
  -H "Authorization: Bearer $API_KEY"

Return one notebook the caller can read.

Permissions

Required permission
reports:query

Requires the `query` action on `reports` for the supplied runtime context

Path parameters

reportNotebookIdstring
required

Responses

The response is a tagged shape: type is always "RnbkViewAttributes". Switch on it; subtypes can be added, and a client that already reads it will not break.

Discriminated by type
type = "RnbkViewAttributes"
reportNotebookIdRnbkIdrequired

Identifier of a saved notebook.

Example rnbk_9f2Kd8QpLzXw

reportSpaceIdRspcIdrequired

Identifier of a report space.

Example rspc_9f2Kd8QpLzXw

titlestringrequired
accessRspcAccessrequired
PrivateSharedSystemUnknown
ownedByCallerbooleanrequired

Example true

editablebooleanrequired

Whether the caller may change, move or delete it.

Example true

createdAtstring (date-time)required

Example 2026-08-19T04:21:07Z

updatedAtstring (date-time)required

Example 2026-08-19T04:21:07Z

Example
{
  "type": "RnbkViewAttributes",
  "reportNotebookId": "rnbk_9f2Kd8QpLzXw",
  "reportSpaceId": "rspc_9f2Kd8QpLzXw",
  "title": "string",
  "cells": [
    {
      "type": "RnbkCellHidden",
      "cellId": "string"
    }
  ],
  "access": "Private",
  "tenant": {
    "type": "RspcTenantEnterprise",
    "enterpriseId": "ent_9f2Kd8QpLzXw"
  },
  "ownedByCaller": true,
  "editable": true,
  "createdAt": "2026-08-19T04:21:07Z",
  "updatedAt": "2026-08-19T04:21:07Z"
}

Error responses