> ## Documentation Index
> Fetch the complete documentation index at: https://docs.endstate.io/llms.txt
> Use this file to discover all available pages before exploring further.

# session.sessionTokens.current

> What this session authorizes, and when it stops working.

```ts theme={null}
current(options?: RequestOptions): Promise<SessionTokenCurrentResponse>
```

|             |                                                                                                       |
| ----------- | ----------------------------------------------------------------------------------------------------- |
| Endpoint    | [`GET /v1/session-tokens/current`](/api-reference/session-tokens/introspect-the-bearer-session-token) |
| Credential  | Session token (`end_sess_...`)                                                                        |
| Retry class | `read`                                                                                                |

Retried on network failure, timeout, `429`, and `5xx`.

## Example

```ts theme={null}
const result = await session.sessionTokens.current();
```

## Returns

`200` - `SessionTokenCurrentResponse`.

<ResponseField name="expires_at" type="string" required>
  ISO-8601 UTC timestamp after which the token is no longer valid.
</ResponseField>

<ResponseField name="scope" type="object" required />

## Errors

Branch on `error.code`, never on the HTTP status - several codes share one.

| Code                               | HTTP | Retry         |
| ---------------------------------- | ---- | ------------- |
| `auth.forbidden`                   | 403  | Do not retry  |
| `auth.unauthorized`                | 401  | Do not retry  |
| `internal.error`                   | 500  | Safe to retry |
| `rate_limit.exceeded`              | 429  | Safe to retry |
| `session_token.invalid_or_expired` | 401  | Do not retry  |

See [Errors and retries](/sdks/core/errors-and-retries) for the error types and how to narrow them.
