---
title: "Get Message Provenance Lookup"
method: GET
path: "/api/chats/{chat_id}/messages/{message_id}/provenance"
tags: ["chats"]
---

# Get Message Provenance Lookup

`GET /api/chats/{chat_id}/messages/{message_id}/provenance`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/chats/{chat_id}/messages/{message_id}/provenance`
- Auth: none declared

Return scoped provenance edges for a visible chat message.

## Path parameters

- `chat_id` string, uuid, required
- `message_id` string, uuid, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Response `200`

Successful Response

- MessageProvenanceLookupResponse
  - `message_id` string, uuid, required
  - `edges` ProvenanceEdgeResponse[], required
    - `id` string, uuid, required
    - `subject_ref` object, required
    - `predicate` string, required
    - `object_ref` object, required
    - `role` string, nullable
    - `activity_ref` object, nullable
    - `visibility_scope` string, required
    - `metadata` object, nullable
    - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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