Rensei docs

Look up agent sessions by Linear issue identifier.

Look up agent sessions by Linear issue identifier. - Rensei REST API operation reference.

GET
/api/cli/session

Authorization

AuthorizationBearer <token>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

In: header

Query Parameters

linearIssueIdentifier*string

e.g. REN-1234 (alphanumeric + dash, max 32 chars).

Response Body

application/json

curl -X GET "https://example.com/api/cli/session?linearIssueIdentifier=string"
{
  "matches": [
    {
      "sessionId": "string",
      "agentSessionId": 0,
      "projectId": "string",
      "status": "string",
      "startedAt": "string",
      "completedAt": "string",
      "costUsd": 0,
      "durationMs": 0,
      "workerId": "string",
      "linearIssueIdentifier": "string"
    }
  ]
}
Empty
Empty
Empty