autessa.connectors.notion
9 methods in the connectors.notion namespace.
autessa.connectors.notion.allREAD
autessa.connectors.notion.all({ pageSize, pageToken })List every Notion connector you can access in your current company.
List every Notion connector you can access in your current company. Takes no arguments and returns each connector you have at least READ access to. Use a connector's connectorId with the other Notion connector methods. Stored credentials are never included.
Request fields
- Name
pageSize- Type
- number
- Description
- Name
pageToken- Type
- string
- Description
Response fields
- Name
connectors- Type
- NotionConnectorDto[]
- Description
- Name
nextPageToken- Type
- string
- Description
autessa.connectors.notion.deleteMUTATE
autessa.connectors.notion.delete({ connectorId })Permanently delete a Notion connector and its stored credential.
Permanently delete a Notion connector and its stored credential. Removes the connector for connectorId, revoking every tool and script that relied on it. The stored credential is destroyed and cannot be recovered — reconnecting requires the full OAuth flow again. Restricted to the connector's owner. High-risk and irreversible.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
message- Type
- string
- Description
autessa.connectors.notion.getREAD
autessa.connectors.notion.get({ connectorId })Fetch one Notion connector by id.
Fetch one Notion connector by id. Returns the full connector for connectorId — including the linked workspace and its sharing and active state — but never the stored credential. Fails if you lack READ access to the connector.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
connector- Type
- NotionConnectorDto
- Description
autessa.connectors.notion.getSharingDetailsREAD
autessa.connectors.notion.getSharingDetails({ connectorId })Read the current sharing configuration of a Notion connector.
Read the current sharing configuration of a Notion connector. Returns how the connector is shared — the overall sharingLevel, the companyPermissionLevel granted for COMPANY sharing, the explicit sharedWith members, and your own userAccessLevel. Use it before share to see the current state. Requires at least READ access.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
sharingLevel- Type
- "PRIVATE" | "SPECIFIC_MEMBER" | "COMPANY"
- Description
- Name
companyPermissionLevel- Type
- "READ" | "WRITE" | "PUBLISH" | "ADMIN"
- Description
- Name
sharedWith- Type
- UserShareWrapper[]
- Description
- Name
userAccessLevel- Type
- "READ" | "WRITE" | "PUBLISH" | "ADMIN"
- Description
autessa.connectors.notion.lookupDatabasesREAD
autessa.connectors.notion.lookupDatabases({ connectorId, query, pageSize, pageToken })List the databases in a Notion connector's workspace.
Returns the databases the connector's Notion integration can see, each with its Notion id, title, and last-edited time. Pass query to filter by a case-insensitive title substring. This is a live read against the Notion API using the connector's OAuth token. Use the returned database id with lookup.databaseSchema. Requires READ access to the connector.
Request fields
- Name
connectorId- Type
- string
- Description
- Name
query- Type
- string
- Description
- Name
pageSize- Type
- number
- Description
- Name
pageToken- Type
- string
- Description
Response fields
- Name
databases- Type
- NotionDatabaseRef[]
- Description
- Name
nextPageToken- Type
- string
- Description
autessa.connectors.notion.lookupDatabaseSchemaREAD
autessa.connectors.notion.lookupDatabaseSchema({ connectorId, databaseId })Fetch the column schema of one Notion database.
Returns the title and property (column) schema of the Notion database identified by databaseId, so a script knows the columns and their types before reading or writing rows. Each property carries its name, Notion type, and — for select/multi-select/status columns — the list of allowed option names. databaseId is the raw Notion database id (from lookup.databases), not an Autessa resource id. This is a live read using the connector's OAuth token; requires READ access to the connector.
Request fields
- Name
connectorId- Type
- string
- Description
- Name
databaseId- Type
- string
- Description
Response fields
- Name
databaseId- Type
- string
- Description
- Name
title- Type
- string
- Description
- Name
properties- Type
- NotionPropertySchema[]
- Description
autessa.connectors.notion.lookupPagesREAD
autessa.connectors.notion.lookupPages({ connectorId, query, pageSize, pageToken })List the pages in a Notion connector's workspace.
Returns the pages the connector's Notion integration can see, each with its Notion id, title, parent type, and last-edited time. Pass query to filter by a case-insensitive title substring. This is a live read against the Notion API using the connector's OAuth token. Requires READ access to the connector.
Request fields
- Name
connectorId- Type
- string
- Description
- Name
query- Type
- string
- Description
- Name
pageSize- Type
- number
- Description
- Name
pageToken- Type
- string
- Description
Response fields
- Name
pages- Type
- NotionPageRef[]
- Description
- Name
nextPageToken- Type
- string
- Description
autessa.connectors.notion.updateMUTATE
autessa.connectors.notion.update({ connectorId, connectorName, isActive })Rename a Notion connector or toggle whether it is active.
Rename a Notion connector or toggle whether it is active. Applies a sparse patch to the connector for connectorId — send connectorName to rename it, send isActive to enable or disable it. Omit a field to leave it unchanged. Does not touch the stored credential or sharing. Requires WRITE access.
Request fields
- Name
connectorId- Type
- string
- Description
- Name
connectorName- Type
- string
- Description
- Name
isActive- Type
- boolean
- Description
Response fields
- Name
message- Type
- string
- Description
- Name
connector- Type
- NotionConnectorDto
- Description