---
title: "Get service ClientIntents"
method: POST
path: "/access-graph/service-client-intents/{id}"
tags: ["access graph"]
---

# Get service ClientIntents

`POST /access-graph/service-client-intents/{id}`

Get service ClientIntents

## Path parameters

- `id` string, required

## Request body

- object
  - `asServiceId` string
  - `clusterIds` string[]
  - `enableInternetIntents` boolean
  - `featureFlags` InputFeatureFlags
    - `enableFindingsV2` boolean
    - `enableIAMIntentsSuggestions` boolean
    - `enableInternetIntentsSuggestions` boolean
    - `enableNetworkPoliciesInAccessGraph` boolean
    - `isCloudSecurityEnabled` boolean
    - `isCloudServicesDetectionEnabled` boolean
    - `useClientIntentsV2` boolean
    - `useTypedIntentsCTE` boolean
  - `lastSeenAfter` string, date-time

## Response `200`

Get service ClientIntents

- ServiceClientIntents
  - `appliedIntentEvents` ClientIntentEvent[]
    - `count` integer, required
    - `firstTimestamp` string, date-time
    - `lastTimestamp` string, date-time
    - `message` string, required
    - `reason` string, required
    - `reportingComponent` string
    - `type` string, required
  - `appliedIntentStatus` ClientIntentStatus
    - `clientIntentName` string, required
    - `generation` integer, required
    - `observedGeneration` integer, required
    - `timestamp` string, date-time, required
    - `upToDate` boolean, required
  - `asClient` ClientIntentsFiles
    - `files` ClientIntentsFileRepresentation[], required
      - `content` string, required
      - `fileName` string, required
      - `namespacedFileName` string, required
      - `rows` ClientIntentsRow[], required
        - `calledServerId` string
        - `diff` 'ADDED' | 'REMOVED'
        - `text` string, required
      - `service` object, required
        - `id` string, required
    - `mergedYAMLFile` MergedYAMLFile
      - `content` string, required
      - `fileName` string, required
      - `rows` ClientIntentsRow[], required
        - `calledServerId` string
        - `diff` 'ADDED' | 'REMOVED'
        - `text` string, required
  - `asClientStatus` ClientIntentAccessStatus
    - `allowed` integer, required
    - `blocked` integer, required
    - `total` integer, required
    - `wouldBeBlocked` integer, required
  - `asServer` ClientIntentsFiles
    - `files` ClientIntentsFileRepresentation[], required
      - `content` string, required
      - `fileName` string, required
      - `namespacedFileName` string, required
      - `rows` ClientIntentsRow[], required
        - `calledServerId` string
        - `diff` 'ADDED' | 'REMOVED'
        - `text` string, required
      - `service` object, required
        - `id` string, required
    - `mergedYAMLFile` MergedYAMLFile
      - `content` string, required
      - `fileName` string, required
      - `rows` ClientIntentsRow[], required
        - `calledServerId` string
        - `diff` 'ADDED' | 'REMOVED'
        - `text` string, required
  - `asServerStatus` ClientIntentAccessStatus
    - `allowed` integer, required
    - `blocked` integer, required
    - `total` integer, required
    - `wouldBeBlocked` integer, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `408` — Request Timeout
- `409` — Conflict
- `422` — Unprocessable Entity
- `500` — Internal Server Error
- `default`

## Changes

- **2026-07-17** `ec9167824493` — 1 info
  - added the new optional request property `featureFlags/enableNetworkPoliciesInAccessGraph`
- **2025-04-16** `6b4369907cb8` — 5 info
  - added the new optional request property `featureFlags/enableIAMIntentsSuggestions`
  - added the new optional request property `featureFlags/enableInternetIntentsSuggestions`
  - added the non-success response with the status `408`
  - added the optional property `asClientStatus` to the response with the `200` status
  - …1 more
- **2024-12-30** `060fb77ea989` — 4 info
  - added the new optional request property `featureFlags/enableFindingsV2`
  - added the new optional request property `featureFlags/useTypedIntentsCTE`
  - added the required property `asClient/files/items/namespacedFileName` to the response with the `200` status
  - added the required property `asServer/files/items/namespacedFileName` to the response with the `200` status
- **2024-12-08** `9e71135dff58` — 1 info
  - added the new optional request property `featureFlags/useClientIntentsV2`
- **2024-10-21** `7aec65a7fcfd` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/otterize/apis/otterize-api-server/changes/access-graph/service-client-intents/:id/post.md)

---

[API](https://skmtc.dev/otterize/apis/otterize-api-server.md) · [All operations](https://skmtc.dev/otterize/apis/otterize-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/otterize/otterize-api-server/revisions/ec9167824493/schema)
