GET
/
v1
/
app
/
project
/
{projectId}
/
interaction
{
  "data": [
    {
      "id": "<string>",
      "project_id": "<string>",
      "thread_id": "<string>",
      "state": "Processing",
      "user_input": {
        "role": "system",
        "content": [
          {
            "data": "<string>",
            "mime_type": "<string>",
            "filename": "<string>",
            "start_timestamp": "<string>",
            "stop_timestamp": "<string>",
            "_meta": {}
          }
        ],
        "_meta": {}
      },
      "assistant_output": {
        "id": "<string>",
        "created": 123,
        "model": "<string>",
        "stop_reason": "stop",
        "content": [
          {
            "data": "<string>",
            "mime_type": "<string>",
            "filename": "<string>",
            "start_timestamp": "<string>",
            "stop_timestamp": "<string>",
            "_meta": {}
          }
        ],
        "usage": {
          "input_tokens": 123,
          "output_tokens": 123
        },
        "errors": [
          {
            "type": "<string>",
            "message": "<string>"
          }
        ]
      },
      "artifact_ids": [
        "<string>"
      ],
      "all_artifacts": true,
      "created_at": "<string>",
      "created_by": {
        "id": "<string>",
        "org_id": "<string>",
        "account_id": "<string>",
        "profile_picture": "<string>",
        "name": "<string>",
        "email": "<string>",
        "job_position_name": "<string>",
        "job_position_description": "<string>",
        "state": "Active",
        "roles": [
          "AppGuest"
        ],
        "created_at": "<string>"
      },
      "pgpt": {
        "messages": [
          {
            "role": "system",
            "content": [
              {
                "data": "<string>",
                "mime_type": "<string>",
                "filename": "<string>",
                "start_timestamp": "<string>",
                "stop_timestamp": "<string>",
                "_meta": {}
              }
            ],
            "_meta": {}
          }
        ],
        "stream": true,
        "tools": [
          {
            "name": "<string>",
            "type": "<string>",
            "description": "<string>",
            "inputSchema": {
              "properties": {},
              "required": [
                "<string>"
              ],
              "type": "<string>"
            }
          }
        ],
        "tool_choice": {
          "type": "<string>",
          "name": "<string>",
          "disable_parallel_tool_use": true
        },
        "mcp_servers": [
          {
            "url": "<string>",
            "name": "<string>",
            "authorization_token": "<string>",
            "tool_configuration": {
              "enabled": true,
              "allowed_tools": [
                "<string>"
              ]
            },
            "type": "<string>"
          }
        ],
        "response_format": {
          "type": "text",
          "json_schema": {}
        },
        "system": {
          "use_default_prompt": true,
          "text": "<string>",
          "citations": {
            "enabled": true,
            "known_citations": [
              {
                "id": "<any>",
                "index": "<any>",
                "artifact_id": "<any>",
                "source_id": "<any>",
                "correlation_id": "<any>"
              }
            ]
          }
        },
        "thinking": {
          "enabled": true
        },
        "priority": 123,
        "seed": 123,
        "min_p": 123,
        "top_p": 123,
        "temperature": 123,
        "top_k": 123,
        "repetition_penalty": 123,
        "presence_penalty": 123,
        "frequency_penalty": 123,
        "max_tokens": 123,
        "correlation_id": "<string>",
        "tool_context": [
          {
            "content": "<string>",
            "content_type": "<string>",
            "doc_metadata": {
              "file_name": "<any>",
              "file_type": "<any>"
            },
            "start_timestamp": "<string>",
            "stop_timestamp": "<string>",
            "_meta": {}
          }
        ]
      }
    }
  ],
  "next_cursor": "<string>",
  "previous_cursor": "<string>",
  "has_next_page": true,
  "has_previous_page": true,
  "total_count": 123
}

Path Parameters

projectId
string
required

The ID of the project to retrieve interactions from

Query Parameters

include
enum<string>[]
pageParams
any
threadId
string

Response

200 - application/json

Paginated list of interactions

data
object[]
required
has_next_page
boolean
required
has_previous_page
boolean
required
next_cursor
string
previous_cursor
string
total_count
number