---
title: "Get graph-ingest job status"
description: "Report the status of an async graph-ingest job (from POST /memories/graph\nwith ``wait=false``).\n\nLets callers poll until ingestion completes before searching — the async\ncounterpart to ``wait=true``. ``done`` is true once the job reaches a\nterminal state; ``succeeded`` distinguishes success from failure."
---

> Documentation Index
> Fetch the complete documentation index at: https://truememory-docs.mvstg.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: AI Gateway API › Memory

`GET /memories/graph/status/{job_id}`

Report the status of an async graph-ingest job (from POST /memories/graph
with ``wait=false``).

Lets callers poll until ingestion completes before searching — the async
counterpart to ``wait=true``. ``done`` is true once the job reaches a
terminal state; ``succeeded`` distinguishes success from failure.

## Authentication

- `HTTPBearer`, http, header `Authorization`

## Path parameters

- `job_id` (`get_graph_ingest_status.path.job_id`; string, required)

## Header parameters

- `X-On-Behalf-Of` (`get_graph_ingest_status.header.X-On-Behalf-Of`; any of, optional)
  - any of: `string`, `null`
- `X-External-User-Id` (`get_graph_ingest_status.header.X-External-User-Id`; any of, optional)
  - any of: `string`, `null`
- `X-App-Id` (`get_graph_ingest_status.header.X-App-Id`; any of, optional)
  - any of: `string`, `null`

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://truememory-api.mvstg.com/memories/graph/status/<job_id>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://truememory-api.mvstg.com/memories/graph/status/<job_id>';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://truememory-api.mvstg.com/memories/graph/status/<job_id>"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Successful Response

#### Example

```json
{
  "job_id": "string",
  "status": "string",
  "done": true,
  "succeeded": true
}
```

- `job_id` (`get_graph_ingest_status.response.200.job_id`; string, required)
- `status` (`get_graph_ingest_status.response.200.status`; string, required) — Raw job state: todo, doing, succeeded, failed, cancelled or aborted.
- `done` (`get_graph_ingest_status.response.200.done`; boolean, required) — True once the job has reached a terminal state.
- `succeeded` (`get_graph_ingest_status.response.200.succeeded`; boolean, required) — True only when the job finished successfully.

### 422

Validation Error

#### Example

```json
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
```

- `detail` (`get_graph_ingest_status.response.422.detail`; array<object>, optional)
  - `loc` (`get_graph_ingest_status.response.422.detail.loc`; array<any of>, required)
    - any of: `string`, `integer`
  - `msg` (`get_graph_ingest_status.response.422.detail.msg`; string, required)
  - `type` (`get_graph_ingest_status.response.422.detail.type`; string, required)
  - `input` (`get_graph_ingest_status.response.422.detail.input`; unknown, optional)
  - `ctx` (`get_graph_ingest_status.response.422.detail.ctx`; object, optional)


Source: https://truememory-docs.mvstg.com/api/memories/graph/status/get/index.md
