DorkOS
ApiSessionsIdContinue options

List the accounts a session that ran out of usage could continue on

GET
/api/sessions/{id}/continue-options

The session's current plan, and the accounts to offer in order, each with its usage and a plain-words reason. The account that ran out is left out. advised says whether the account advisor's ranking was used. A person may pick any listed account, including one marked not eligible.

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08/continue-options"
{  "plan": {    "mode": "ask",    "carryOver": false  },  "ranking": {    "accounts": [      {        "runtime": "string",        "id": "string",        "label": "string",        "color": "string",        "usage": {          "runtime": "claude-code",          "accountId": "string",          "path": "string",          "label": "string",          "color": "string",          "subscriptionType": "string",          "plan": {            "name": "string",            "observedAt": "string",            "source": "statusline"          },          "credits": {            "hasCredits": true,            "unlimited": true,            "balance": null,            "observedAt": "string",            "source": "statusline"          },          "spend": {            "periodStart": "string",            "costUsd": 0,            "limitUsd": null,            "observedAt": "string",            "source": "statusline"          },          "windows": [            {              "key": "string",              "label": "string",              "usedPct": 0,              "resetsAt": "string",              "status": "allowed",              "expired": true,              "observedAt": "string",              "source": "statusline"            }          ],          "state": "ok",          "limit": {            "window": "string",            "resetsAt": "string"          },          "updatedAt": "string"        },        "eligible": true,        "reason": "string",        "badge": "recommended",        "notAllowed": true      }    ],    "recommendedId": "string"  },  "advised": true,  "credits": true}