Access requests

List access requests (admin queue, or your own)

Lists access requests, for two audiences on one route. Without mine it is the org-wide admin queue and requires member:manage; a caller without it gets 403, never an empty page. Rows are the admin view (requester, resolved_by, can_resolve).

With mine=true it returns only the caller’s own requests and needs no permission, so the person who filed a request can find it again. Rows are the narrower self view (can_withdraw, and a bare resolved_by_user_id rather than a resolved name) for every caller, admins included.

limit, cursor, q and status apply to both. q matches the requested tool name or the requester’s note, not the requester themselves; to find requests by person, list members and filter on requester_user_id. It does not match tool_label.

get/access-request

Request

  • Base URL: https://api.elaichi.ai
  • URL: https://api.elaichi.ai/access-request
  • Auth: HTTP bearer

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

Case-insensitive substring match on the requested tool name or the requester’s note. LIKE wildcards are matched literally. Max 200 characters.

status'pending' | 'approved' | 'denied' | 'withdrawn' | 'all'

Filter by status. Defaults to pending. Any other value is a 400.

mine'true' | 'false' | '1' | '0'

Set true to list only the requests you filed (no permission required, self-view rows). Omitted or false means the org-wide admin queue, which requires member:manage. Any other value is a 400, so a typo cannot silently fall through to the queue.

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.