List records
import requests
url = "https://api.datagrid.com/v1/tables/{table_id}/records"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.datagrid.com/v1/tables/{table_id}/records', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.datagrid.com/v1/tables/{table_id}/records \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"object": "record",
"id": "<string>",
"table_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"data": {}
}
],
"cursor": "<string>",
"has_more": true
}{
"status_code": 123,
"error": "rate_limit_exceeded",
"message": "<string>",
"retryable": true,
"statusCode": 123,
"mitigation": "<string>",
"details": {
"reason": "<string>"
}
}Tables
List records
Returns a list of records for a table.
GET
/
tables
/
{table_id}
/
records
List records
import requests
url = "https://api.datagrid.com/v1/tables/{table_id}/records"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.datagrid.com/v1/tables/{table_id}/records', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.datagrid.com/v1/tables/{table_id}/records \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"object": "record",
"id": "<string>",
"table_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"data": {}
}
],
"cursor": "<string>",
"has_more": true
}{
"status_code": 123,
"error": "rate_limit_exceeded",
"message": "<string>",
"retryable": true,
"statusCode": 123,
"mitigation": "<string>",
"details": {
"reason": "<string>"
}
}Authorizations
Query Parameters
Response
List of records