Skip to content
StudyFetch API

Performance Insights

List conversations

Returns a summary list of all Performance Insights conversations for the current user, ordered by most recent.

OpenAPI specification
GET/api/v1/performance-insights/sessions

Authentication

x-api-key

Request

curl --globoff --request GET \
  --url 'https://api.example.com/api/v1/performance-insights/sessions' \
  --header 'x-api-key: <API_KEY>'

Replace credential and <field> placeholders with your own values. URL placeholders appear as %3Cfield%3E. Review the example values before sending your request.

Replace https://api.example.com with the API server URL.

Parameters

limitquery · string

Maximum number of conversations to return (default 50)

x-user-idheader · string

User ID (used when authenticating via API key)

Responses

200List of conversation summaries
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "description": "Conversation / session ID"
      },
      "userId": {
        "type": "string",
        "description": "Owner user ID"
      },
      "organizationId": {
        "type": "string",
        "description": "Organization ID"
      },
      "groupId": {
        "type": "string",
        "description": "Group ID composite key (sorted, comma-separated) when sessions are scoped to a group"
      },
      "title": {
        "type": "string",
        "description": "Conversation title"
      },
      "createdAt": {
        "format": "date-time",
        "type": "string",
        "description": "Creation timestamp"
      },
      "updatedAt": {
        "format": "date-time",
        "type": "string",
        "description": "Last update timestamp"
      },
      "messageCount": {
        "type": "number",
        "description": "Total number of messages in the conversation"
      }
    },
    "required": [
      "id",
      "userId",
      "organizationId",
      "title",
      "createdAt",
      "updatedAt",
      "messageCount"
    ]
  }
}