Connections

List connection shares

Lists who a connection is shared with, cursor-paginated. This is the only place the full grant list is served; other responses carry only a short summary. Each entry carries a resolved grantee (name, email, and a member count for teams), so rendering a page needs no extra lookups. Filter with grantee_type; search member names and emails and team names with q. Requires being able to share the connection (owner, edit access, or a team admin on a team-granted one); a bare connection:manage permission with no grant of the caller's own does not open it.

get/connection/{id}/share

Request

  • Base URL: https://api.elaichi.ai
  • URL: https://api.elaichi.ai/connection/{id}/share
  • Auth: HTTP bearer

Path parameters

idstring required

Connection id (conn_…).

Query parameters

limitinteger

Page size. Defaults to 50. Values above 200 are silently clamped to 200 rather than rejected; a value below 1, or a non-integer, is a 400. Ignored by the endpoints documented as unpaginated.

cursorstring

Opaque cursor — pass the next_cursor from a previous response. Ignored by unpaginated endpoints.

qstring

Match member name or email, or team name. LIKE wildcards are matched literally. Max 200 characters.

grantee_type'user' | 'team' | 'org'

Restrict to one kind of grantee.

Headers

X-Organization-Idstring

Target organization (org_…). Required for cookie/session auth on org-scoped routes; optional for API tokens, which carry their organization, and rejected when it names a different one.

Response

OK

next_cursorstring nullable required
prev_cursorstring nullable required

Changes

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