Analytics apiFeedback

Get All Feedback

GET
/feedback

Authorization

AuthorizationRequiredBearer <token>

The API key for an API integration

In: header

Query Parameters

limitinteger | null
Default: 10Minimum: 0Maximum: 100
offsetinteger | null
Default: 0Minimum: 0
curl -X GET "https://api.analytics.inkeep.com/feedback?limit=10&offset=0" \
  -H "Authorization: Bearer <token>"

All feedback retrieved successfully

{
  "positiveFeedbackCount": 0,
  "negativeFeedbackCount": 0,
  "positiveFeedback": [
    {
      "id": "string",
      "type": "positive",
      "messageId": "string",
      "createdAt": "string",
      "reasons": [
        {
          "label": "string",
          "details": "string"
        }
      ],
      "userProperties": {},
      "conversation": {
        "id": "string",
        "externalId": "string",
        "externalUrl": "string",
        "type": "openai",
        "supportTicketConversationId": "string",
        "createdAt": "string",
        "updatedAt": "string",
        "projectId": "string",
        "integrationId": "string",
        "properties": {},
        "userProperties": {},
        "tags": [
          "string"
        ],
        "visibility": "private",
        "messages": [
          {
            "id": "string",
            "type": "openai",
            "externalId": "string",
            "externalUrl": "string",
            "conversationId": "string",
            "createdAt": "string",
            "updatedAt": "string",
            "role": "system",
            "content": "string",
            "name": "string",
            "links": [
              {
                "label": "string",
                "url": "string",
                "title": "string",
                "description": "string",
                "type": "documentation",
                "breadcrumbs": [
                  "string"
                ]
              }
            ],
            "properties": {},
            "userProperties": {},
            "tool_calls": [
              {
                "id": "string",
                "type": "function",
                "function": {
                  "name": "string",
                  "arguments": "string"
                }
              }
            ]
          }
        ],
        "messagesOpenAIFormat": [
          {
            "role": "system",
            "name": "string",
            "content": "string",
            "tool_calls": [
              {
                "id": "string",
                "type": "function",
                "function": {
                  "name": "string",
                  "arguments": "string"
                }
              }
            ]
          }
        ]
      },
      "message": {
        "id": "string",
        "type": "openai",
        "externalId": "string",
        "externalUrl": "string",
        "conversationId": "string",
        "createdAt": "string",
        "updatedAt": "string",
        "role": "system",
        "content": "string",
        "name": "string",
        "links": [
          {
            "label": "string",
            "url": "string",
            "title": "string",
            "description": "string",
            "type": "documentation",
            "breadcrumbs": [
              "string"
            ]
          }
        ],
        "properties": {},
        "userProperties": {},
        "tool_calls": [
          {
            "id": "string",
            "type": "function",
            "function": {
              "name": "string",
              "arguments": "string"
            }
          }
        ]
      }
    }
  ],
  "negativeFeedback": [
    {
      "id": "string",
      "type": "positive",
      "messageId": "string",
      "createdAt": "string",
      "reasons": [
        {
          "label": "string",
          "details": "string"
        }
      ],
      "userProperties": {},
      "conversation": {
        "id": "string",
        "externalId": "string",
        "externalUrl": "string",
        "type": "openai",
        "supportTicketConversationId": "string",
        "createdAt": "string",
        "updatedAt": "string",
        "projectId": "string",
        "integrationId": "string",
        "properties": {},
        "userProperties": {},
        "tags": [
          "string"
        ],
        "visibility": "private",
        "messages": [
          {
            "id": "string",
            "type": "openai",
            "externalId": "string",
            "externalUrl": "string",
            "conversationId": "string",
            "createdAt": "string",
            "updatedAt": "string",
            "role": "system",
            "content": "string",
            "name": "string",
            "links": [
              {
                "label": "string",
                "url": "string",
                "title": "string",
                "description": "string",
                "type": "documentation",
                "breadcrumbs": [
                  "string"
                ]
              }
            ],
            "properties": {},
            "userProperties": {},
            "tool_calls": [
              {
                "id": "string",
                "type": "function",
                "function": {
                  "name": "string",
                  "arguments": "string"
                }
              }
            ]
          }
        ],
        "messagesOpenAIFormat": [
          {
            "role": "system",
            "name": "string",
            "content": "string",
            "tool_calls": [
              {
                "id": "string",
                "type": "function",
                "function": {
                  "name": "string",
                  "arguments": "string"
                }
              }
            ]
          }
        ]
      },
      "message": {
        "id": "string",
        "type": "openai",
        "externalId": "string",
        "externalUrl": "string",
        "conversationId": "string",
        "createdAt": "string",
        "updatedAt": "string",
        "role": "system",
        "content": "string",
        "name": "string",
        "links": [
          {
            "label": "string",
            "url": "string",
            "title": "string",
            "description": "string",
            "type": "documentation",
            "breadcrumbs": [
              "string"
            ]
          }
        ],
        "properties": {},
        "userProperties": {},
        "tool_calls": [
          {
            "id": "string",
            "type": "function",
            "function": {
              "name": "string",
              "arguments": "string"
            }
          }
        ]
      }
    }
  ]
}