Skip to main content

Get Records for View

GET

https://app.smartsuite.com/api/v1/applications/63b87cad645b3949631b55c1/records-for-report/?report=[report_id]&with_empty_values=false


Gets the records for a specified View.

Example Request

curl -X GET https://app.smartsuite.com/api/v1/applications/63b87cad645b3949631b55c1/records-for-report/?report=[reportId]&with_empty_values=false \
-H "Authorization: Token YOUR_API_KEY" \
-H "ACCOUNT-ID: WORKSPACE_ID" \
-H "Content-Type: application/json"

Query Parameters

ParamTypeDescription
reportIdstringThe View Id

Response

ParamTypeDescription
recordsarray of record objectsAn array containing SmartSuite record objects
related recordsarray of stringsAn array containing related record Ids
fieldsarray of stringsAn array containing the field slugs visible in the View
filterfilter objectThe filter applied to the view, if any
unfilteredbooleantrue if filtered, false if filter applied
Example Response
{
"records": [
{
"first_created": {
"by": "63a1f65723aaf6bcb564b1f1",
"on": "2023-01-06T20:00:15.470000Z"
},
"last_updated": {
"by": "63a1f65723aaf6bcb564b1f1",
"on": "2023-01-06T20:00:15.470000Z"
},
"autonumber": 1,
"title": "WORKSPACE_ID",
"comments_count": 0,
"deleted_date": {
"date": null,
"include_time": false
},
"ranking": {
"default": "aagckvjtea"
},
"assigned_to": [],
"status": {
"value": "backlog",
"updated_on": "2023-01-06T20:00:15.470000Z"
},
"due_date": {
"from_date": {
"date": null,
"include_time": false
},
"to_date": {
"date": null,
"include_time": false
},
"is_overdue": false,
"status_is_completed": false,
"status_updated_on": "2023-01-06T20:00:15.470000Z"
},
"priority": "",
"id": "63b87dcf7acde19eac1fe42a",
"application_slug": "ssb9kaxn",
"application_id": "63b87cad645b3949631b55c1"
},
{
"first_created": {
"by": "63a1f65723aaf6bcb564b1f1",
"on": "2023-06-21T21:14:06.247000Z"
},
"last_updated": {
"by": "63a1f65723aaf6bcb564b1f1",
"on": "2023-06-21T21:14:06.247000Z"
},
"autonumber": 2,
"title": "test",
"comments_count": 0,
"deleted_date": {
"date": null,
"include_time": false
},
"ranking": {
"default": "aagckvkhyq"
},
"assigned_to": [],
"status": {
"value": "backlog",
"updated_on": "2023-06-21T21:14:06.248000Z"
},
"due_date": {
"from_date": {
"date": null,
"include_time": false
},
"to_date": {
"date": null,
"include_time": false
},
"is_overdue": false,
"status_is_completed": false,
"status_updated_on": "2023-06-21T21:14:06.248000Z"
},
"priority": "",
"id": "6493681eba09b400816eb754",
"application_slug": "ssb9kaxn",
"application_id": "63b87cad645b3949631b55c1"
}
],
"related_records": [],
"fields": [
"title",
"due_date",
"comments_count",
"status",
"priority",
"assigned_to"
],
"filter": {},
"unfiltered": true
}