The grid entity type for which you want to query data
Grid reports API by Observepoint
This section documents the API endpoints for using the ObservePoint Grid API, which provides access to ObservePoint data in row/column format. Learn more about the Grid API
https://api.observepoint.com/
- ObservePoint Production API
https://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"
}
}
],
"conditionMatchMode": "all"
},
"columns": [
{
"groupBy": false,
"columnId": "string"
}
],
"sortBy": [
{
"columnIndex": 0,
"sortDesc": false
}
]
}'
Grid Data
Contains information about the response, such as pagination and returned columns/headers.
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
AuditRunsGridColumnEnum
values - Web Journey Runs Grid: one of the
WebJourneyRunsGridColumnEnum
values - Pages Grid: one of the
PagesGridColumnEnum
values - Cookies Grid: one of the
CookiesGridColumnEnum
values - Tags Grid: one of the
TagsGridColumnEnum
values - Tag Variables Grid: one of the
TagVariablesGridColumnEnum
values - Links Grid: one of the
LinksGridColumnEnum
values - Network Requests Grid: one of the
NetworkRequestGridColumnEnum
values - Accessibility Issues Grid: one of the
AccessibilityIssuesGridColumnEnum
values
{ "metadata": { "pagination": { … }, "headers": [ … ] }, "rows": [ [ … ] ] }
- ObservePoint Production API
https://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
AuditRunsGridColumnEnum
values - Web Journey Runs Grid: one of the
WebJourneyRunsGridColumnEnum
values - Pages Grid: one of the
PagesGridColumnEnum
values - Cookies Grid: one of the
CookiesGridColumnEnum
values - Tags Grid: one of the
TagsGridColumnEnum
values - Tag Variables Grid: one of the
TagVariablesGridColumnEnum
values - Links Grid: one of the
LinksGridColumnEnum
values - Network Requests Grid: one of the
NetworkRequestGridColumnEnum
values - Accessibility Issues Grid: one of the
AccessibilityIssuesGridColumnEnum
values
- 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
- ObservePoint Production API
https://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"
}
}
],
"conditionMatchMode": "all"
},
"columns": [
{
"groupBy": false,
"columnId": "string"
}
],
"sortBy": [
{
"columnIndex": 0,
"sortDesc": false
}
]
},
"gridEntityType": "web_audit_runs",
"displayMetadata": {}
}'
{ "id": 0 }
- ObservePoint Production API
https://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' \
-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
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 API
https://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
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": [ … ] }, "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 API
https://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"
}
}
],
"conditionMatchMode": "all"
},
"columns": [
{
"groupBy": false,
"columnId": "string"
}
],
"sortBy": [
{
"columnIndex": 0,
"sortDesc": false
}
]
},
"displayMetadata": {}
}'
- ObservePoint Production API
https://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 API
https://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 API
https://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.
- ObservePoint Production API
https://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"
}
}
],
"conditionMatchMode": "all"
},
"columns": [
{
"groupBy": false,
"columnId": "string"
}
],
"sortBy": [
{
"columnIndex": 0,
"sortDesc": false
}
],
"itemName": "string",
"customExportFileName": "string",
"fileFormat": "csv"
}'
{ "exportId": 0 }