Skip to content
StudyFetch API

Performance Insights

Export one conversation's prompts as CSV

Streams the questions asked in a single session, read from the stored GCS transcript.

OpenAPI specification
GET/api/v1/performance-insights/session/{sessionId}/export

Authentication

x-api-key

Request

curl --globoff --request GET \
  --url 'https://api.example.com/api/v1/performance-insights/session/%3CsessionId%3E/export' \
  --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

sessionIdpath · string · required

Conversation / session ID

x-user-idheader · string

User ID (used when authenticating via API key)

Responses

200CSV export of the session's prompts
{
  "type": "string",
  "format": "binary"
}
404Conversation not found