Quick Start
API List
- record
- space
- base
- view
- trash
- field
- dashboard
- aggregation
- table
- selection
- plan
- attachments
- user
- auth
- db-connection
- invitation
- share
- notification
- access-token
- import
- export
- pin
- billing
- admin
- usage
- oauth
- plugin
- comment
- organization
- ai
- integrity
record
Get table records history
record
Get table records history
Retrieve the change history of all records in a table, including field modifications and user information.
GET
/
table
/
{tableId}
/
record
/
history
curl --request GET \
--url https://app.teable.io/api/table/%7BtableId%7D/record/history \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"historyList": [
{
"id": "<string>",
"tableId": "<string>",
"recordId": "<string>",
"fieldId": "<string>",
"before": {
"meta": {
"name": "Tags",
"type": "singleSelect",
"cellValueType": "string",
"options": "<any>"
},
"data": "<any>"
},
"after": {
"meta": {
"name": "Tags",
"type": "singleSelect",
"cellValueType": "string",
"options": "<any>"
},
"data": "<any>"
},
"createdTime": "<string>",
"createdBy": "<string>"
}
],
"userMap": {},
"nextCursor": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200 - application/json
Get the history list of all records in a table
The name of the field. can not be duplicated in the table.
The field types supported by teable.
Available options:
singleLineText
, longText
, user
, attachment
, checkbox
, multipleSelect
, singleSelect
, date
, number
, duration
, rating
, formula
, rollup
, count
, link
, createdTime
, lastModifiedTime
, createdBy
, lastModifiedBy
, autoNumber
, button
The cell value type of the field.
Available options:
string
, number
, boolean
, dateTime
The name of the field. can not be duplicated in the table.
The field types supported by teable.
Available options:
singleLineText
, longText
, user
, attachment
, checkbox
, multipleSelect
, singleSelect
, date
, number
, duration
, rating
, formula
, rollup
, count
, link
, createdTime
, lastModifiedTime
, createdBy
, lastModifiedBy
, autoNumber
, button
The cell value type of the field.
Available options:
string
, number
, boolean
, dateTime
curl --request GET \
--url https://app.teable.io/api/table/%7BtableId%7D/record/history \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"historyList": [
{
"id": "<string>",
"tableId": "<string>",
"recordId": "<string>",
"fieldId": "<string>",
"before": {
"meta": {
"name": "Tags",
"type": "singleSelect",
"cellValueType": "string",
"options": "<any>"
},
"data": "<any>"
},
"after": {
"meta": {
"name": "Tags",
"type": "singleSelect",
"cellValueType": "string",
"options": "<any>"
},
"data": "<any>"
},
"createdTime": "<string>",
"createdBy": "<string>"
}
],
"userMap": {},
"nextCursor": "<string>"
}