Get a try account's latest run
GET/try/runs/latest
How the latest run of the key's try account (opened through "Try without an account") stands: the run still going, else the newest one the chat session started. Once ended, ending says how, and retryable, anotherStore and signUp are the ways on the /try page offers for it. Only for a try account that has not been kept yet.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK. The latest run and how it ended.
Unauthorized. Missing, malformed, unknown, revoked, or expired bearer token — or the token owner no longer holds the required entitlement (ENTITLEMENT_LOST). A uniform problem body is returned with a distinct code; no owner/condition detail (no-leak).
Forbidden. The key lacks the chat scope (API_TOKEN_SCOPE_DENIED), or its account is not a try account that is still to be kept (TRY_NOT_TRY_ACCOUNT).
Not Found (TRY_RUN_NOT_FOUND). The account has no run still going, and the session started none.
Unprocessable Content. A query parameter failed field validation (e.g. a non-string shape); the offending fields are enumerated in errors[].
Too Many Requests. The per-token sliding window of 30 requests/minute was exceeded. The body is express-rate-limit's DEFAULT plain-text message (NOT the JSON problem+json envelope).
Response Headers
IETF draft-7 rate-limit policy/state (limit, remaining, reset).
Seconds to wait before retrying.