Integrations
Read the organization integration catalog with the published control-plane SDK, including optional category filtering and tenant-resolved connection state.
Endpoint contract
| Method | Path | Purpose |
|---|---|---|
| GET | /api/v1/integrations/catalog | Catalog plus configured/connected flags. |
| GET | /api/v1/integrations/connected | Tenant-connected integrations. |
| GET | /api/v1/integrations/stats | Connection summary statistics. |
Authentication, permission, and scope
| Control | Required contract |
|---|---|
| Authentication | Bearer access token. |
| Permission or scope | integrations:read scope. |
| Resource scope | Connected state and statistics are resolved for the caller’s tenant membership. |
Request fields
| Field | Type | Contract |
|---|---|---|
category | string query | Optional catalog category filter. |
| Request body | none | Read endpoints do not accept a JSON body. |
Code examples
import osfrom memorysync import ControlPlaneClientclient = ControlPlaneClient(base_url="https://api.memorysync.io",access_token=os.environ["MEMORYSYNC_ACCESS_TOKEN"],)integrations = client.list_integrations()
Response shape
[{"id":"notion","name":"Notion","description":"Import approved workspace content","category":"knowledge","features":["import"],"auth_type":"oauth","is_configured":false,"is_connected":true,"coming_soon":false}]
- Catalog entries and connected records use different response models.
- Connected integration configuration excludes keys whose names end in
_secret.
Status outcomes
Read the operation-specific response and persist only fields needed by the task.
Fix invalid path, query, or body fields before trying again.
Refresh authentication or verify the required organization permission and scope.
Treat the resource as unavailable without revealing whether it exists elsewhere.
Use returned retry metadata when present and reconcile uncertain mutations before repeating them.
Production handling
- 01
Authorize
APPConfirm the signed-in principal may perform this product action.
- 02
Validate
INPUTValidate identifiers and body fields before sending the request.
- 03
Call
SDKUse the named ControlPlaneClient method or equivalent HTTPS request from a trusted application context.
- 04
Inspect
RESULTTreat availability and connection status as separate fields.
- 05
Reconcile
SAFEUse the dedicated connected or stats endpoint when the task needs tenant state rather than catalog metadata.
Security notes
Required
Keep organization controls inside trusted boundaries.
- Do not expose provider credentials through your application response.
- Apply your source-system authorization before displaying imported content.
- Treat imported content as untrusted data when used in model context.
Avoid
Do not weaken the route contract in client code.
- Do not expose bearer or refresh tokens in URLs, logs, or public clients.
- Do not accept organization, member, project, or resource IDs without application authorization.
- Do not treat returned data as trusted HTML, prompt instructions, or proof of application authorization.