---
title: "Read the « Index in Context » switch and sync progress of a Notion connection"
method: GET
path: "/integrations/connections/{id}/context-index"
tags: ["Integrations"]
---

# Read the « Index in Context » switch and sync progress of a Notion connection

`GET /integrations/connections/{id}/context-index`

## Request

- Base URL: `https://api.atako.ai`
- URL: `https://api.atako.ai/integrations/connections/{id}/context-index`
- Auth: HTTP bearer

Any member who sees the connection can read it. Counters are zero until the first synchronisation runs.

## Path parameters

- `id` string, required

## Response `200`

- object
  - `enabled` boolean: The « Indexer dans le Contexte » switch (`config.indexInContext`, off by default).
  - `phase` 'idle' | 'discovering' | 'indexing' | 'error'
  - `discovered` integer
  - `indexable` integer
  - `indexed` integer
  - `skipped` integer
  - `failed` integer
  - `cursor` string, date-time, nullable
  - `lastFullScanAt` string, date-time, nullable
  - `startedAt` string, date-time, nullable
  - `finishedAt` string, date-time, nullable
  - `error` string, nullable

## Other responses

- `400`: not_notion — only Notion connections can be indexed in the Context
- `401`: Missing, malformed, or invalid bearer token / API key, or revoked session (SESSION_REVOKED).
- `404`: Not found, or the caller is not authorized to access this resource.

---

[API](https://skmtc.dev/atako/apis/atako-api.md) · [All operations](https://skmtc.dev/atako/apis/atako-api/llms.txt) · [OpenAPI document](https://skmtc.dev/atako/apis/atako-api/revisions/aa555c56fbd7?raw)
