Skip to content
ContentSurface
Search
Ctrl
K
Cancel
Select theme
Dark
Light
Auto
Menu
Getting started
What ContentSurface is
Creating your tenant
Signing in
First setup
Product facts
What ContentSurface is and is not
Plans and limits
Connectors
Trust facts
Concepts
The repository tree
How access works
When changes appear
Data
Browsing the repository
Searching
Item details and attributes
Opening content
Folder access
Deleted items
Your account
Users and access
Users
Groups
Access labels
Client applications
Repository
Connections and mount points
connectors
File shares
SharePoint Online
OneDrive for Business
SharePoint Server
Google Drive
Exchange Online
Exchange Server
Salesforce
Databases
Mount folders
Agents
Attributes
Document types and hierarchy
Relations
Tenant
Settings and plan
Statistics
Notices
Audit log
Billing
Ownership
AI applications (MCP)
Packages
Developers
API essentials
Quickstart
OAuth and tokens
Postman collection
Reference
Roles and rights
Plan limits
Glossary
Error codes
API reference
Overview
OAuth
Overview
The public token signing keys (JWKS).
GET
Authorization server metadata (RFC 8414) of the addressed tenant.
GET
Protected resource metadata (RFC 9728) of the MCP endpoint: the global one or a tenant's.
GET
The consent page's answer for an AI application (MCP client); posted by the page itself.
POST
The global sign-in page's answer: the workspace an AI application connects to; posted by the page itself.
POST
Authorization code + PKCE: sign in and redirect back with a code.
GET
Login page step 1: send a one-time code to an email address.
POST
Login page step 2: verify the one-time code.
POST
Token endpoint: authorization_code, refresh_token and token exchange (RFC 8693).
POST
Federated sign-in step 1: redirect to Microsoft Entra ID or Google.
POST
The providers' one redirect URI: forwards to the tenant address named in the state.
GET
Federated sign-in step 2, on the tenant address: verify, match the user, sign in.
GET
Entra ID's redirect after an admin consent: records the consenting organisation, from its validated ID token, in the connection.
GET
Google's redirect after a Workspace admin's sign-in: binds the admin's Workspace domain to the Google Drive connection.
GET
Ends this browser's login session; the Portal may name its redirect URI as post_logout_redirect_uri.
POST
Content
Overview
Downloads through a content link. The link is the credential; access is re-checked on every use.
GET
A node's details: standard fields, type and returned attributes. `root` is the tenant's root folder.
GET
Filtered queries and folder browsing without text; keyword, semantic and hybrid search with it.
POST
The node's relations: visible related nodes per relation definition and side.
GET
The nodes related to this one through a definition, keyset-paged.
GET
The node's content, streamed from the source; with representation=text, its stored text. The single retrieval endpoint.
GET
A short-lived link to the content endpoint, for browser downloads and handing to end users.
POST
The attributes search can filter and sort on: key, name, data type, roles and sort index state, by key, keyset-paged.
GET
Me
Overview
The calling user, their roles and the token's client and scopes.
GET
Replaces the caller's security stamp: every token, refresh token and login session of the user stops working.
POST
The AI applications (MCP clients) the caller allowed to read content as them.
GET
Withdraws an AI application's access; it stops working at its next request.
DELETE
Admin: users
Overview
Live users, by name, keyset-paged.
GET
Invites a user by email address. The user starts Invited, never with a role.
POST
A user; the ETag is its version.
GET
Deletes a user: memberships, labels and client relations removed, handle and name erased (tombstone).
DELETE
Changes the display name and/or the login handle (email). A handle change signs the user out everywhere.
PATCH
Resets an invited user's invitation expiry and sends the invitation again.
POST
Suspends a user: authentication and impersonation fail, outstanding tokens stop working.
POST
Reactivates a suspended user.
POST
Replaces the user's roles. Tenant admins only; only active users may be granted a role.
PUT
The user's groups, the implicit Everyone group included.
GET
Adds and removes group memberships.
PATCH
The labels the user holds directly.
GET
Adds and removes labels the user holds directly.
PATCH
The user's effective labels: direct, through groups and through Everyone.
GET
The impersonating clients that may act for the user, directly or through a group.
GET
Adds and removes direct client–user impersonation relations.
PATCH
The federated sign-ins linked to the user: provider and directory.
GET
Removes a federated sign-in link; the user is signed out everywhere and links again on the next sign-in with that provider.
DELETE
Admin: groups
Overview
Groups, by name, keyset-paged.
GET
Creates a group.
POST
A group; the ETag is its version.
GET
Deletes a group; its memberships, labels and client relations go with it.
DELETE
Renames a group or changes its description.
PATCH
The group's explicit members, keyset-paged. The Everyone group lists every user.
GET
Adds and removes members.
PATCH
The labels the group holds.
GET
Adds and removes labels the group holds; labels on Everyone reach every user.
PATCH
The impersonating clients related to the group.
GET
Adds and removes client–group relations: the client may act for members holding no role.
PATCH
Admin: access labels
Overview
Access labels, by name, keyset-paged.
GET
Creates an access label.
POST
An access label; the ETag is its version.
GET
Deletes a label from every ACL, user and group. When it is an override's only grant, answers 409 with the impact; repeat with ?confirm={impactToken}.
DELETE
Renames a label or changes its description.
PATCH
Label usage: the ACL overrides granting the label, with the nodes they govern.
GET
Label usage: users holding the label directly.
GET
Label usage: groups holding the label.
GET
Admin: client applications
Overview
Client applications, by name, keyset-paged.
GET
Registers a login client (redirect URIs, PKCE) or an impersonating client (secrets, token exchange). The kind is fixed.
POST
A client application with its OAuth client_id; the ETag is its version.
GET
Deletes a client: secrets, relations and outstanding grants removed (tombstone).
DELETE
Changes name, description and a login client's redirect URIs; those of a client with admin access are a tenant admin's.
PATCH
Gives or takes a login client's admin access (the cs.admin scope). Tenant admins only.
PUT
Disables a client: no tokens or refreshes; impersonated tokens fail on their next request.
POST
Enables a disabled client.
POST
An impersonating client's secrets by slot: hint, expiry and last use, never the secret.
GET
Creates a secret in the free slot and returns it once.
POST
Deletes a secret; tokens already issued live at most their lifetime.
DELETE
Users the client may act for directly, keyset-paged.
GET
Adds and removes client–user relations; relating to a role holder is a tenant admin action.
PATCH
Groups whose members holding no role the client may act for.
GET
Adds and removes client–group relations.
PATCH
Admin: permissions
Overview
The node's governing ACL, its own override if any, and the number of overrides below it. The ETag is the override's version; a node that inherits has none.
GET
Creates the node's ACL override (no If-Match: the node inherits) or replaces it (If-Match: the override's ETag). It may grant any label. An override granting nothing, or a change taking away labels that overrides below still grant, needs confirmation (409 with impactToken); removeBelow=true also removes them there.
PUT
Removes the node's override (If-Match: its ETag): the subtree inherits from the parent again. When that takes away labels overrides below still grant, it needs confirmation (409 with impactToken); removeBelow=true also removes them there. The root ACL cannot be removed.
DELETE
The ACL overrides below a folder, deleted nodes included.
GET
The why-endpoint: for a user and a node, the deciding node, matching labels, how the user holds them, and the inheritance chain.
GET
Admin: folders
Overview
Creates a virtual folder below a virtual folder (`root` included). It inherits the parent's access.
POST
A virtual or mount folder, deleted ones included; the ETag is its version.
GET
Logically deletes a virtual or mount folder and its subtree for the retention period. With live content below, answers 409 with the impact; repeat with ?confirm.
DELETE
Renames a virtual or mount folder — the only change a CS folder allows.
PATCH
Deletion roots, newest first, with their purge date and the ACL overrides below them.
GET
Undoes an admin deletion of a virtual or mount folder within retention.
POST
Physically deletes a deletion root and its subtree now, instead of at the end of retention. Irreversible; confirmed through an impact token.
POST
Admin: sources
Overview
The connector types, the source locations each supports, and whether the plan includes it.
GET
The vendor certificate a Salesforce org's External Client App trusts: its public part as PEM, never the key.
GET
Connections, by name, keyset-paged.
GET
Creates a connection; its connector type and source location are fixed.
POST
A connection with its settings; never its credentials.
GET
Deletes a connection no node references any more (purge its deleted mount folders first).
DELETE
Changes name, description and settings; resumes jobs that failed as source unavailable.
PATCH
Pauses crawling; retrieval keeps working.
POST
Resumes crawling on the schedule.
POST
Restarts the connection's jobs that failed as source unavailable.
POST
Tests reachability and authentication of the source.
POST
Where browsing starts: the connector's source roots.
GET
The child containers of a source location, for choosing a mount point.
GET
Scan and index state and failures of the connection's nodes.
GET
The connection's mount points.
GET
Validates a location through the connector and creates a mount point on it.
POST
A mount point with its location.
GET
Deletes a mount point no mount folder uses.
DELETE
Renames a mount point or changes its description.
PATCH
Moves a mount point to another location; mount folders on it are rescanned. Confirmed through an impact token when it has mount folders.
PUT
Microsoft Entra ID's admin consent URL for a SharePoint Online or OneDrive connection; valid for 30 minutes.
POST
A Google Drive connection's domain binding, with the client ID and scopes to authorize under domain-wide delegation.
GET
A Google sign-in link with which a super admin of the Workspace binds its domain to a Google Drive connection; valid for 30 minutes.
POST
Unbinds a Google Drive connection's Workspace domain: the connection stops reading until a super admin binds it again.
DELETE
Admin: mount folders
Overview
Mount folders in ID order, keyset-paged.
GET
Creates a Draft mount folder on a mount point below a virtual folder. Counts against the plan's mount folder limit.
POST
A mount folder with its status, filters and mount point health.
GET
Draft → Active: the first scan is requested.
POST
Active → Paused: its scan and index jobs stop.
POST
Paused → Active: its jobs resume on the schedule.
POST
Replaces the filters. On an active mount folder the change deletes and restores content by rescan; confirmed through an impact token.
PUT
The preview's state and its last result, together.
GET
Requests a dry-run preview; poll GET …/preview for its state and result.
POST
Scan and index state, failures and the last scan of the mount folder.
GET
Requests a scan of every live folder of the mount folder now.
POST
Admin: catalogue
Overview
Tenant-wide attributes, by key, keyset-paged.
GET
An attribute with its roles and the state of its sort index.
GET
Deletes an attribute and removes its values from every node. With values stored, answers 409 with the impact; repeat with ?confirm.
DELETE
Renames an attribute or changes its filterable and sortable roles; sortable indexes are built by a job and the attribute reads pending meanwhile.
PATCH
Document type definitions: per connection, or shared by a connector type for static types.
GET
Defines an offered type for a connection, or once for its connector type when the type is static.
POST
A document type with its mappings in position order.
GET
Deletes a definition; its nodes return to undefined and lose its mappings' values. With nodes, answers 409 with the impact; repeat with ?confirm.
DELETE
Deletes a mapping and removes its values from the type's nodes.
DELETE
Changes a mapping's roles. A keyword or embedded change rebuilds search text for every node of the type: confirmed through an impact token.
PATCH
Puts the mappings in order; the order lists every mapped attribute.
PUT
The document types the connection offers, read from its connector, each with its definition if any.
GET
One offered type's source fields, with the standard source fields and, for a content type, the content properties.
GET
Replaces an assigned type's standard field assignments. A changed sourceId, content or parentId gives every node a new identity: with nodes, answers 409 with the impact; repeat with ?confirm and a reason.
PUT
Maps a field to an existing or a new attribute. A content mapping on a type with content nodes re-indexes them: confirmed through an impact token.
POST
The connection's hierarchy definitions: per document type, the levels its records are arranged into below mount folders.
GET
A document type's hierarchy definition on the connection.
GET
Creates (without If-Match) or replaces (with it) a hierarchy definition. Each level names a relation definition within the connection, the side the parent occupies and a group folder; the child side maps a field the connector can filter on. Removing levels answers 409 with the impact; repeat with ?confirm and a reason.
PUT
Deletes a hierarchy definition; the next scans delete its group folders and copies. Answers 409 with the impact; repeat with ?confirm and a reason.
DELETE
Relation definitions, keyset-paged.
GET
Creates a relation definition between two document types; an active one computes its keys at once.
POST
A relation definition.
GET
Deletes an admin-created relation definition and its keys. One hierarchy levels use answers 409 with the impact; repeat with ?confirm and a reason.
DELETE
Changes names, match or status; activation and a match change recompute the keys. Deactivating one hierarchy levels use answers 409 with the impact; repeat with ?confirm and a reason.
PATCH
Admin: change log
Overview
The change log, newest first, filtered by object (either side), actor, change type and time; keyset-paged.
GET
Admin: statistics
Overview
Current counters of the tenant and its usage against the plan's limits.
GET
Current counters of one connection.
GET
Current counters of one mount folder.
GET
Repository activity per UTC day over a period, for the tenant, a connection or a mount folder.
GET
Tenant usage per UTC day over a period: searches and retrieval.
GET
Admin: settings
Overview
The tenant's settings: stored values, the values in force and their bounds.
GET
Changes settings within their bounds; null returns a setting to its default.
PATCH
Search profiles: embedding settings (fixed) and search defaults (changeable).
GET
Changes a profile's search defaults: default mode and result limits.
PATCH
Every AI application (MCP client) access of the tenant's users, or one user's.
GET
Withdraws a user's AI application access, with a reason for the change log.
POST
Admin: agents
Overview
The tenant's agents, by name, keyset-paged.
GET
Creates an agent record, Pending until enrolled.
POST
An agent with its reported version, plugins, certificates and online state.
GET
Deletes an agent: certificates and connection links removed (tombstone). Confirmed when connections are left without one.
DELETE
Renames an agent or changes its description.
PATCH
Issues a one-time enrollment file (72 hours); a new one replaces the outstanding one. Shown once.
POST
Disables an agent: the hub refuses it. Confirmed through an impact token when connections would be left without a usable agent.
POST
Enables a disabled agent.
POST
Revokes a certificate; the hub checks on every connect.
DELETE
The agents an on-prem connection uses.
GET
Adds and removes the agents an on-prem connection uses; an added agent must be enrolled and report the connector's plugin. The answer names the mount points each added agent covers.
PATCH
The agent's current installation packages per platform, with size, SHA-256 and short-lived download links.
GET
Admin: billing
Overview
The licence: plan, interval, status, trial end or period end, add-ons, cancellation pending.
GET
The plans and self-serve add-ons the owner may choose, with Stripe's prices.
GET
Owner: a Stripe Checkout address to subscribe, from a trial or while suspended.
POST
Owner: changes plan, interval or self-serve add-ons; a downgrade needs the impact token.
PUT
Owner: a Stripe Checkout address to pay once for bandwidth packs for the current month.
POST
Owner: a Stripe Customer Portal address for payment methods and invoices.
POST
Owner: cancels at the end of the period.
POST
Owner: undoes a cancellation before the period ends.
POST
Admin: ownership
Overview
The owner and the pending ownership change, if any.
GET
Owner: transfers ownership to an active tenant admin, who confirms with a code emailed to them. Replaces a pending change.
POST
The transfer's target: confirms with the emailed code; the caller becomes owner.
POST
A tenant admin claims ownership; the owner is emailed and may refuse during the waiting period.
POST
The claimant, after the waiting period: completes the takeover; the caller becomes owner.
POST
Ends the pending change: the owner cancels or refuses it, the target declines, the claimant withdraws.
DELETE
Admin: setup
What the tenant's setup still needs: a connection, notice recipients, and each unfinished connection's steps.
GET
A connection's setup checklist, each step read from its current state.
GET
Admin: notices
Operational notices, newest first: open, resolved or all.
GET
Acknowledges a notice: no more reminders and no banner; lost overrides count as reviewed.
POST
When and to whom the notice e-mails go.
GET
Changes the notice schedule, reminders, time zone and recipients.
PUT
Access overrides lost by scans, with the items they may have moved to.
GET
Admin: packages
The assets your roles may export and their dependency graph, for choosing what to export.
GET
Builds a package from the selected assets and their dependencies, those left out or outside your roles as references.
POST
The packages installed in this tenant, for choosing one to update.
GET
What importing a package would do, asset by asset, with the limit checks and an impact token. Changes nothing.
POST
Applies an import plan in one transaction, confirmed by its impact token; 409 when the tenant changed since the plan.
POST
Select theme
Dark
Light
Auto
Overview
Admin: change log
Section titled “Admin: change log”
The append-only change log of every administrative change, with its reason.
User manual
Operations
Section titled “Operations”
GET
/v1/admin/change-log