integrations

Set Resources

Narrow this connection to the given resources. Owner-only.

Owner-only because it decides what the tenant pays to ingest and what becomes readable to everyone in the workspace — the same reason connecting and disconnecting are owner-only.

All three states are accepted (a connector with selection_allows_all false refuses null and [], and refuses ids in refused_resource_ids and beyond max_selected_resources, with a 422), and they are three different answers: null stops narrowing (everything, including what is added later), [] narrows to nothing, a list narrows to exactly those. An empty list is a valid, meaningful choice and is not the same as never having chosen.

account_id picks one connection when the tenant holds several to the same provider (CLO-528); omitted, this is the pre-existing "most recently connected wins" behavior.

put/api/v1/integrations/{provider}/resources

Request

  • Base URL
    https://api.aws.cognee.ai (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header X-Api-Key

Path parameters

providerstring required

Query parameters

tenant_idstring uuid required
account_idstring nullable

Request body

resource_idsstring[] nullable required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.