---
title: "Returns data indicating whether a client should updates it service list"
method: GET
path: "/current-api-session/service-updates"
tags: ["Current API Session", "Services"]
---

# Returns data indicating whether a client should updates it service list

`GET /current-api-session/service-updates`

## Request

- Base URL: `https://demo.ziti.dev/edge/client/v1`
- URL: `https://demo.ziti.dev/edge/client/v1/current-api-session/service-updates`
- Auth: one of:
  - API key in header `zt-session`
  - OAuth 2
    - Authorization code: `/oidc/authorize`
    - Token URL: `/oidc/token` scopes: `openid`
- TypeScript: <https://skmtc.dev/openziti/apis/ziti-edge-client/docs/current-api-session/service-updates/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves data indicating the last time data relevant to this API Session was altered that would necessitate
service refreshes.

## Response `200`

Data indicating necessary service updates

- ListCurrentApiSessionServiceUpdatesEnvelope
  - `data` CurrentApiSessionServiceUpdateList, required
    - `lastChangeAt` string, date-time, required
  - `meta` Meta, required
    - `apiEnrollmentVersion` string
    - `apiVersion` string
    - `filterableFields` string[]
    - `pagination` Pagination
      - `limit` number, required
      - `offset` number, required
      - `totalCount` number, required

## Other responses

- `401`: The supplied session does not have the correct access rights to request this resource
- `429`: The resource requested is rate limited and the rate limit has been exceeded
- `503`: The request could not be completed due to the server being busy or in a temporarily bad state

## Changes

- **2025-01-24** `19dfd92f02a2`: 1 info
  - added the non-success response with the status `503`
- **2024-05-29** `cce2800c1357`: 3 warning, 1 info
  - the optional response header `WWW-Authenticate` removed for the status `200`
  - the optional response header `WWW-Authenticate` removed for the status `401`
  - the optional response header `WWW-Authenticate` removed for the status `429`
  - removed the non-success response with the status `503`

[Operation history](https://skmtc.dev/openziti/apis/ziti-edge-client/changes/current-api-session/service-updates/get.md)

---

[API](https://skmtc.dev/openziti/apis/ziti-edge-client.md) - [All operations](https://skmtc.dev/openziti/apis/ziti-edge-client/llms.txt) - [OpenAPI document](https://skmtc.dev/openziti/apis/ziti-edge-client/revisions/f7b51eaafbbb?raw)
