- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
tabledata.list the content of a table in rows.
HTTP request
GET https://bigquery.googleapis.com/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| projectId | 
 Required. Project id of the table to list. | 
| datasetId | 
 Required. Dataset id of the table to list. | 
| tableId | 
 Required. Table id of the table to list. | 
Query parameters
| Parameters | |
|---|---|
| startIndex | 
 Start row index of the table. | 
| maxResults | 
 Row limit of the table. | 
| pageToken | 
 To retrieve the next page of table data, set this field to the string provided in the pageToken field of the response body from your previous call to tabledata.list. | 
| selectedFields | 
 Subset of fields to return, supports select into sub fields. Example: selectedFields = "a,e.d.f"; | 
| formatOptions | 
 Output timestamp field value in usec int64 instead of double. Output format adjustments. | 
Request body
The request body must be empty.
Response body
The response of a tabledata.list request.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| { "kind": string, "etag": string, "totalRows": string, "pageToken": string, "rows": [ { object } ] } | 
| Fields | |
|---|---|
| kind | 
 Will be set to "bigquery#tableDataList". | 
| etag | 
 Etag to the response. | 
| totalRows | 
 Total rows of the entire table. In order to show default value "0", we have to present it as string. | 
| pageToken | 
 When this field is non-empty, it indicates that additional results are available. To request the next page of data, set the pageToken field of your next tabledata.list call to the string returned in this field. | 
| rows[] | 
 Repeated rows as result. The REST-based representation of this data leverages a series of JSON f,v objects for indicating fields and values. | 
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/bigquery
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/bigquery.readonly
- https://www.googleapis.com/auth/cloud-platform.read-only
For more information, see the Authentication Overview.