跳转到主要内容
GET
/
template
/
by-base
/
{baseId}
cURL
curl --request GET \
  --url https://app.teable.ai/api/template/by-base/%7BbaseId%7D \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "id": "<string>",
  "snapshot": {
    "baseId": "<string>",
    "snapshotTime": "2023-11-07T05:31:56Z",
    "spaceId": "<string>",
    "name": "<string>"
  },
  "cover": {
    "token": "xxxxxxxxxxx",
    "size": 1024,
    "url": "/bucket/xxxxx",
    "path": "/table/xxxxxx",
    "mimetype": "video/mp4",
    "name": "<string>",
    "id": "<string>",
    "presignedUrl": "<string>",
    "width": 100,
    "height": 100,
    "thumbnailPath": {
      "lg": "<string>",
      "sm": "<string>"
    }
  },
  "usageCount": 123,
  "visitCount": 123,
  "createdBy": {
    "id": "<string>",
    "name": "<string>",
    "avatar": "<string>",
    "email": "<string>"
  },
  "name": "<string>",
  "categoryId": [
    "<string>"
  ],
  "isSystem": true,
  "featured": true,
  "isPublished": true,
  "description": "<string>",
  "baseId": "<string>",
  "markdownDescription": "<string>",
  "publishInfo": {
    "nodes": [
      "<string>"
    ],
    "includeData": true,
    "defaultActiveNodeId": "<string>",
    "defaultUrl": "<string>"
  }
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

响应

200 - application/json
object | null

Successfully get template.

id
string
必填
snapshot
object
必填
cover
object
必填
usageCount
number
必填
visitCount
number
必填
createdBy
object
必填
name
string
categoryId
string[]
isSystem
boolean
isPublished
boolean
description
string
baseId
string
markdownDescription
string
publishInfo
object
Last modified on March 5, 2026