This section documents the API endpoints for using the ObservePoint Grid API, which provides access to ObservePoint data in row/column format.
Grid reports API by Observepoint
Sorts the result by the specified columns, in the same order as in the columns array.
- ObservePoint Production APIhttps://api.observepoint.com/v3/reports/grid/{gridEntityType}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.observepoint.com/v3/reports/grid/{gridEntityType}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"size": 10,
"page": 0,
"filters": {
"conditions": [
{
"negated": false,
"operator": "string_contains",
"filteredColumn": {
"groupBy": false,
"columnId": "string"
},
"fieldName": "id"
}
],
"conditionMatchMode": "all"
},
"columns": [
{
"groupBy": false,
"columnId": "string"
}
],
"sortBy": [
{
"columnIndex": 0,
"sortDesc": false
}
],
"totals": [
{
"columnIndex": 0,
"aggregateFunction": "avg"
}
]
}'Grid Data
Total number of items available from all result pages combined
Page size - number of items per result page configured by size query parameter or default page size
If true, the column is used for grouping
Depends on the Grid type:
- Audit Runs Grid: one of the
AuditRunsGridColumnEnumvalues - Web Journey Runs Grid: one of the
WebJourneyRunsGridColumnEnumvalues - Pages Grid: one of the
PagesGridColumnEnumvalues - Cookies Grid: one of the
CookiesGridColumnEnumvalues - Tags Grid: one of the
TagsGridColumnEnumvalues - Tag Variables Grid: one of the
TagVariablesGridColumnEnumvalues - Links Grid: one of the
LinksGridColumnEnumvalues - Network Requests Grid: one of the
NetworkRequestsGridColumnEnumvalues - Accessibility Issues Grid: one of the
AccessibilityIssuesGridColumnEnumvalues - Browser Logs Grid: one of the
BrowserLogsGridColumnEnumvalues - Rules Grid: one of the
RulesGridColumnEnumvalues
{ "metadata": { "pagination": { … }, "headers": [ … ] }, "rows": [ [ … ] ] }
- ObservePoint Production APIhttps://api.observepoint.com/v3/reports/grid/{gridEntityType}/schema
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.observepoint.com/v3/reports/grid/{gridEntityType}/schema' \
-H 'Authorization: YOUR_API_KEY_HERE'Grid Schema
Depends on the Grid type:
- Audit Runs Grid: one of the
AuditRunsGridColumnEnumvalues - Web Journey Runs Grid: one of the
WebJourneyRunsGridColumnEnumvalues - Pages Grid: one of the
PagesGridColumnEnumvalues - Cookies Grid: one of the
CookiesGridColumnEnumvalues - Tags Grid: one of the
TagsGridColumnEnumvalues - Tag Variables Grid: one of the
TagVariablesGridColumnEnumvalues - Links Grid: one of the
LinksGridColumnEnumvalues - Network Requests Grid: one of the
NetworkRequestsGridColumnEnumvalues - Accessibility Issues Grid: one of the
AccessibilityIssuesGridColumnEnumvalues - Browser Logs Grid: one of the
BrowserLogsGridColumnEnumvalues - Rules Grid: one of the
RulesGridColumnEnumvalues
- id
- entity_reference
- string
- number
- timestamp
- image
If not empty, then this column can be aggregated by the functions listed in this array. Default aggregation function is the first one in the list. If empty, then this column cannot be aggregated.
If true and no columns are specified in the request, this column will be included in the response.
{ "columns": [ { … } ] }
Request
A saved report contains information about the report, such as its name and permissions, and also the Grid API query definition that is applied when users view the report. The query definition uses the same JSON format as a Grid API request
Default Grid request body properties. Default behaviour:
- if no page number is specified, default is 0 (the first results page)
- if no size is specified, default is 100
- if no filters are specified, default is to return all runs Default behaviour for exports:
- if page and size are not specified, all available rows will be exported
Sorts the result by the specified columns, in the same order as in the columns array.
- ObservePoint Production APIhttps://api.observepoint.com/v3/reports/grid/saved
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.observepoint.com/v3/reports/grid/saved \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"isFavorite": true,
"visibility": "private",
"queryDefinition": {
"size": 10,
"page": 0,
"filters": {
"conditions": [
{
"negated": false,
"operator": "string_contains",
"filteredColumn": {
"groupBy": false,
"columnId": "string"
},
"fieldName": "id"
}
],
"conditionMatchMode": "all"
},
"columns": [
{
"groupBy": false,
"columnId": "string"
}
],
"sortBy": [
{
"columnIndex": 0,
"sortDesc": false
}
],
"totals": [
{
"columnIndex": 0,
"aggregateFunction": "avg"
}
]
},
"gridEntityType": "web_audit_runs",
"displayMetadata": {}
}'{ "id": 0 }
- ObservePoint Production APIhttps://api.observepoint.com/v3/reports/grid/saved
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.observepoint.com/v3/reports/grid/saved?name=string&isFavorite=true&isOwnedByCurrentUser=true&page=0&size=100&sortBy=type&sortDesc=false&isManagedByOP=true&visibility=private' \
-H 'Authorization: YOUR_API_KEY_HERE'List of saved reports
Common metadata for iterable
Total number of items available from all result pages combined
Page size - number of items per result page configured by size query parameter or default page size
Indicates if the saved report is marked as favorite by the current user
Date-time in RFC3339 profile ISO 8601 format with the following additional restrictions:
- An uppercase T must separate the date and time portions.
- An uppercase Z must denote that a numeric time zone offset isn't present.
In general, these timestamp requirements are the same in AWS Step Functions - Choice Rules
TRUE if specified saved report can be changed by the user who made the API request, FALSE otherwise
Default Grid request body properties. Default behaviour:
- if no page number is specified, default is 0 (the first results page)
- if no size is specified, default is 100
- if no filters are specified, default is to return all runs Default behaviour for exports:
- if page and size are not specified, all available rows will be exported
how many rows to include in the paginated response
Sorts the result by the specified columns, in the same order as in the columns array.
TRUE if specified saved report does not use cross-account grid querying mode, FALSE otherwise
TRUE if specified saved report is managed by ObservePoint, FALSE otherwise
Number of Scheduled Exports associated with this report
Ordering sequence number for ObservePoint-managed reports. Only available for ObservePoint-managed reports.
Indicates if the report should be displayed in the top row. Only available for ObservePoint-managed reports.
Indicates if the report is experimental and should only be visible to OpAdmin users. Only available for ObservePoint-managed reports.
{ "metadata": { "pagination": { … } }, "reports": [ { … } ] }
- ObservePoint Production APIhttps://api.observepoint.com/v3/reports/grid/saved/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.observepoint.com/v3/reports/grid/saved/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE'Saved report details
Date-time in RFC3339 profile ISO 8601 format with the following additional restrictions:
- An uppercase T must separate the date and time portions.
- An uppercase Z must denote that a numeric time zone offset isn't present.
In general, these timestamp requirements are the same in AWS Step Functions - Choice Rules
TRUE if specified saved report can be changed by the user who made the API request, FALSE otherwise
Default Grid request body properties. Default behaviour:
- if no page number is specified, default is 0 (the first results page)
- if no size is specified, default is 100
- if no filters are specified, default is to return all runs Default behaviour for exports:
- if page and size are not specified, all available rows will be exported
Sorts the result by the specified columns, in the same order as in the columns array.
TRUE if specified saved report does not use cross-account grid querying mode, FALSE otherwise
TRUE if specified saved report is managed by ObservePoint, FALSE otherwise
Ordering sequence number for ObservePoint-managed reports. Only available for ObservePoint-managed reports.
Indicates if the report should be displayed in the top row. Only available for ObservePoint-managed reports.
Indicates if the report is experimental and should only be visible to OpAdmin users. Only available for ObservePoint-managed reports.
{ "id": 0, "name": "string", "visibility": "private", "gridEntityType": "web_audit_runs", "isFavorite": true, "createdByUserId": 0, "myLastViewed": "2016-08-18T17:33:00Z", "isEditable": true, "displayMetadata": {}, "queryDefinition": { "size": 10, "page": 0, "filters": { … }, "columns": [ … ], "sortBy": [ … ], "totals": [ … ] }, "isSharable": true, "isManagedByOP": true, "scheduledExportCount": 0, "sequenceNumber": 0, "isHighlighted": true, "isExperimental": true, "visualizations": [ { … } ] }
Default Grid request body properties. Default behaviour:
- if no page number is specified, default is 0 (the first results page)
- if no size is specified, default is 100
- if no filters are specified, default is to return all runs Default behaviour for exports:
- if page and size are not specified, all available rows will be exported
- ObservePoint Production APIhttps://api.observepoint.com/v3/reports/grid/saved/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api.observepoint.com/v3/reports/grid/saved/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"isFavorite": true,
"visibility": "private",
"queryDefinition": {
"size": 10,
"page": 0,
"filters": {
"conditions": [
{
"negated": false,
"operator": "string_contains",
"filteredColumn": {
"groupBy": false,
"columnId": "string"
},
"fieldName": "id"
}
],
"conditionMatchMode": "all"
},
"columns": [
{
"groupBy": false,
"columnId": "string"
}
],
"sortBy": [
{
"columnIndex": 0,
"sortDesc": false
}
],
"totals": [
{
"columnIndex": 0,
"aggregateFunction": "avg"
}
]
},
"displayMetadata": {}
}'- ObservePoint Production APIhttps://api.observepoint.com/v3/reports/grid/saved/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api.observepoint.com/v3/reports/grid/saved/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE'- ObservePoint Production APIhttps://api.observepoint.com/v3/reports/grid/saved/{id}/favorites
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.observepoint.com/v3/reports/grid/saved/{id}/favorites' \
-H 'Authorization: YOUR_API_KEY_HERE'- ObservePoint Production APIhttps://api.observepoint.com/v3/reports/grid/saved/{id}/favorites
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api.observepoint.com/v3/reports/grid/saved/{id}/favorites' \
-H 'Authorization: YOUR_API_KEY_HERE'Request
Use this endpoint to start an export for a Grid request. After calling this endpoint, use the /v3/exports endpoint to poll the status of the export until it's finished. Then, you can download the results with the URL given by the /v3/exports endpoint.
Sorts the result by the specified columns, in the same order as in the columns array.
Dynamic Aggregation Row totals for columns. As for now, only one aggregation is supported for each column (same columnIndex) in the columns array.
- ObservePoint Production APIhttps://api.observepoint.com/v3/reports/grid/{gridEntityType}/exports
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.observepoint.com/v3/reports/grid/{gridEntityType}/exports' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"size": 10,
"page": 0,
"filters": {
"conditions": [
{
"negated": false,
"operator": "string_contains",
"filteredColumn": {
"groupBy": false,
"columnId": "string"
},
"fieldName": "id"
}
],
"conditionMatchMode": "all"
},
"columns": [
{
"groupBy": false,
"columnId": "string"
}
],
"sortBy": [
{
"columnIndex": 0,
"sortDesc": false
}
],
"totals": [
{
"columnIndex": 0,
"aggregateFunction": "avg"
}
],
"itemName": "string",
"customExportFileName": "string",
"fileFormat": "csv"
}'{ "exportId": 0 }