---
title: "Get Interaction"
method: GET
path: "/interactions/{interaction_id}"
---

# Get Interaction

`GET /interactions/{interaction_id}`

## Request

- The document declares no server URL.
- Auth: none declared

Retrieves information about a specific interaction by its ID.

Args:
    interaction_id (str): The ID of the interaction to retrieve.

Returns:
    InteractionInfoResponse: An object containing information about the interaction.

## Path parameters

- `interaction_id` string, required

## Response `200`

Successful Response

- InteractionInfoResponse: The response model for /interactions/{interaction_id}.
  - `interaction` InteractionInfo: InteractionInfo models the interaction object.
    - `id` string, required
    - `user` string, required
    - `version_id` string, required
    - `created_at` integer, required
    - `updated_at` integer, required
    - `output` string
    - `data` object

## Other responses

- `422`: Validation Error

## Changes

- **2024-03-22** `1194d2174bed`: 1 warning
  - removed the optional property `interaction/error` from the response with the `200` status
- **2024-03-21** `f63be81429d4`: 1 info
  - added the required property `interaction/user` to the response with the `200` status
- **2024-03-13** `30dce2138b23`: 4 breaking, 3 warning, 1 info
  - removed the required property `createdAt` from the response with the `200` status
  - removed the required property `id` from the response with the `200` status
  - removed the required property `updatedAt` from the response with the `200` status
  - removed the required property `versionId` from the response with the `200` status
  - …4 more

[Operation history](https://skmtc.dev/pingcap/apis/pingcap-linguflow-api/changes/interactions/:interaction_id/get.md)

---

[API](https://skmtc.dev/pingcap/apis/pingcap-linguflow-api.md) - [All operations](https://skmtc.dev/pingcap/apis/pingcap-linguflow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pingcap/apis/pingcap-linguflow-api/revisions/1194d2174bed?raw)
