IntegrationsNotionActions
Get Notion data source
Retrieve a Notion data source and its property schema.
data_sources.get · Notion · v1
Details
Scopes
read_content
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
data_source_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 | — |
parent | object | No | additionalProperties false |
parent.type | string | No | minLength 1; maxLength 64 |
parent.page_id | string | No | minLength 1; maxLength 64 |
parent.database_id | string | No | minLength 1; maxLength 64 |
parent.data_source_id | string | No | minLength 1; maxLength 64 |
parent.workspace | boolean | No | — |
properties | array<object> | No | maxItems 64 |
properties[] | object | Yes | additionalProperties false |
properties[].name | string | Yes | minLength 1; maxLength 200 |
properties[].type | string | Yes | minLength 1; maxLength 64 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"data_source_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"data_source_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"
},
"parent": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"page_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"database_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"data_source_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"workspace": {
"type": "boolean"
}
}
},
"properties": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"type": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"name",
"type"
]
},
"maxItems": 64
}
},
"required": [
"id",
"object"
]
}