Connections

List connection variables

Lists the connection's context variables: the setup values the customer supplied when they connected the account (subdomain, region, instance URL), one row per top-level key, plus one valueless row for every value Elaichi stores as a secret. Requires can_manage, not just read access: a view or use grantee runs tools through the connection, but the answers its owner typed into the connect form are not part of that, so a caller without it gets 403, deliberately not an empty 200. An unbound connection answers an empty list. can_manage here means the owner or a holder of an edit grant.

get/connection/{id}/variables

Request

  • Base URL: https://api.elaichi.ai
  • URL: https://api.elaichi.ai/connection/{id}/variables
  • 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.

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.