autessa.connectors.ghost
8 methods in the connectors.ghost namespace.
autessa.connectors.ghost.allREAD
autessa.connectors.ghost.all({ pageSize, pageToken })List every Ghost connector you can access in your current company.
List every Ghost 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 Ghost connector methods. Stored credentials are never included.
Request fields
- Name
pageSize- Type
- number
- Description
- Name
pageToken- Type
- string
- Description
Response fields
- Name
connectors- Type
- GhostConnectorDto[]
- Description
- Name
nextPageToken- Type
- string
- Description
autessa.connectors.ghost.deleteMUTATE
autessa.connectors.ghost.delete({ connectorId })Permanently delete a Ghost connector and its stored credential.
Permanently delete a Ghost 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 creating it again with the Admin API key. 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.ghost.getREAD
autessa.connectors.ghost.get({ connectorId })Fetch one Ghost connector by id.
Fetch one Ghost connector by id. Returns the full connector for connectorId — including its site URL and 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
- GhostConnectorDto
- Description
autessa.connectors.ghost.getSharingDetailsREAD
autessa.connectors.ghost.getSharingDetails({ connectorId })Read the current sharing configuration of a Ghost connector.
Read the current sharing configuration of a Ghost 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.
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.ghost.testConnectionMUTATE
autessa.connectors.ghost.testConnection({ connectorId })Verify a stored Ghost connector still authenticates against its site.
Re-checks an existing Ghost connector's stored Admin API key against the Ghost site and returns connectionSuccessful. Takes the connectorId (not a raw key) — use it to confirm a connector still works after key rotation or a site change. Does not persist anything.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
connectionSuccessful- Type
- boolean
- Description
- Name
message- Type
- string
- Description
autessa.connectors.ghost.updateMUTATE
autessa.connectors.ghost.update({ connectorId, connectorName, isActive })Rename a Ghost connector or toggle whether it is active.
Rename a Ghost 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. The Admin API key and site URL cannot be changed here — create a new connector instead. 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
- GhostConnectorDto
- Description
autessa.ghost.connectors.createMUTATENot scriptable
Scripts can't call this method: it isn't on the autessa global. It's listed for reference; do this in the Autessa app or over the API instead.
Create a Ghost connector from an Admin API key and site URL.
Stores a Ghost Admin API key and site API URL as a new connector for your company. HIGH risk: it persists a credential that grants full admin access to the Ghost site's content and members. After creating, verify it with connectors.testConnection. The key is stored encrypted and never returned.