Rensei docs
API ReferenceIntegrations

List the caller’s Linear identity across the org’s connected workspaces.

Human-only profile read: every live Linear workspace installed in the authorized org, each annotated with the caller’s own link (linked / unverified) or unlinked. Keyset-paginated by workspace id; zero installations return an empty list.

GET
/api/integrations/linear/identity

Authorization

headerAuthorizationBearer <WorkOS user access token>

WorkOS user access token created by the Rensei CLI. The authenticated organization is resolved from membership and may be narrowed with X-Rensei-Org.

Query Parameters

after?string

Keyset cursor: return workspaces with an id strictly greater than this value (use the previous page’s nextCursor).

Length1 <= length <= 256

Response Body

Caller link states per live workspace, plus the pagination cursor.

application/json
  1. response
workspaces*array<>
nextCursor*|

Last returned workspaceId when more rows exist, otherwise null.

Example Request
curl -X GET 'https://app.rensei.ai/api/integrations/linear/identity'
Example Response
{  "workspaces": [    {      "workspaceId": "string",      "status": "linked",      "identity": {        "linearUserId": "string",        "linearEmail": "string",        "linearName": "string",        "verifiedAt": "string"      }    }  ],  "nextCursor": "string"}