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

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# GetIntervalsBehindForCounterParticipants

Participant Administration

›

[Protobuf](https://docs.canton.network/reference/admin-api/protobuf/overview.md)

›

[com.digitalasset.canton.admin.participant.v30](https://docs.canton.network/reference/admin-api/protobuf/packages/com-digitalasset-canton-admin-participant-v30.md)

›

GetIntervalsBehindForCounterParticipants

com.digitalasset.canton.admin.participant.v30

# GetIntervalsBehindForCounterParticipants

gRPC

RPC

`/com.digitalasset.canton.admin.participant.v30.ParticipantInspectionService/GetIntervalsBehindForCounterParticipants`

## Protocol Details

Protocol
gRPC

Service
ParticipantInspectionService

RPC
GetIntervalsBehindForCounterParticipants

Client stream
No

Server stream
No

## Inputs

### GetIntervalsBehindForCounterParticipantsRequest

Message
com.digitalasset.canton.admin.participant.v30.GetIntervalsBehindForCounterParticipantsRequest

Client stream
No

`counter_participant_ids`
repeated string

`synchronizer_ids`
repeated string

`threshold`
uint64

## Outputs

### GetIntervalsBehindForCounterParticipantsResponse

Message
com.digitalasset.canton.admin.participant.v30.GetIntervalsBehindForCounterParticipantsResponse

Server stream
No

`intervals_behind`
repeated CounterParticipantInfo

## Related Schemas

> [accordion] com.digitalasset.canton.admin.participant.v30.GetIntervalsBehindForCounterParticipantsRequest
>
> `counter_participant_ids`
> repeated string
>
> `synchronizer_ids`
> repeated string
>
> `threshold`
> uint64

> [accordion] com.digitalasset.canton.admin.participant.v30.GetIntervalsBehindForCounterParticipantsResponse
>
> `intervals_behind`
> repeated CounterParticipantInfo

> [accordion] com.digitalasset.canton.admin.participant.v30.CounterParticipantInfo
>
> `counter_participant_uid`
> string
>
> `synchronizer_id`
> string
>
> `intervals_behind`
> uint64
>
> `behind_since`
> Duration
>
> `as_of_sequencing_timestamp`
> Timestamp

grpcurl

```bash grpcurl theme={"theme":{"light":"github-light","dark":"github-dark"}}
# Add -plaintext if the server is not using TLS.
grpcurl \
  -d @ \
  <HOST:PORT> \
  com.digitalasset.canton.admin.participant.v30.ParticipantInspectionService/GetIntervalsBehindForCounterParticipants <<'EOF'
{
  "counterParticipantIds": [
    "string"
  ],
  "synchronizerIds": [
    "string"
  ],
  "threshold": "0"
}
EOF
```

OK

application/json

```json OK theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "intervalsBehind": [
    {
      "counterParticipantUid": "string",
      "synchronizerId": "string",
      "intervalsBehind": "0",
      "behindSince": "string",
      "asOfSequencingTimestamp": "string"
    }
  ]
}
```
