IntegrationsNotionActions
Get Notion database
Retrieve a Notion database container and its data sources.
databases.get · Notion · v1
Details
Scopes
read_content
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
database_id | string | Yes | minLength 1; maxLength 64 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
id | string | Yes | minLength 1; maxLength 64 |
object | string | Yes | minLength 1; maxLength 64 |
title | string | No | maxLength 2000 |
url | string | No | maxLength 2048 |
in_trash | boolean | No | — |
data_sources | array<object> | No | maxItems 32 |
data_sources[] | object | Yes | additionalProperties false |
data_sources[].id | string | Yes | minLength 1; maxLength 64 |
data_sources[].name | string | No | maxLength 2000 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"database_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"database_id"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"object": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"title": {
"type": "string",
"maxLength": 2000
},
"url": {
"type": "string",
"maxLength": 2048
},
"in_trash": {
"type": "boolean"
},
"data_sources": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"name": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"id"
]
},
"maxItems": 32
}
},
"required": [
"id",
"object"
]
}