User
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
POST |
List all user interviews
Also available via the PostHog MCP server:
user-interviews-list— List user interview responses
Required API key scopes
user_interview:readQuery parameters
- classificationsstring
- limitinteger
- offsetinteger
- topicstring
Response
Example request
GET /api /projects /:project_id /user_interviewsExample response
Status 200
RESPONSE
Create user interviews
Required API key scopes
user_interview:writeRequest parameters
- interviewee_emailsarray
- summarystring
- classificationsarray
- audiostring
Response
Example request
POST /api /projects /:project_id /user_interviewsExample response
Status 201
RESPONSE
Retrieve user interviews
Also available via the PostHog MCP server:
user-interviews-retrieve— Retrieve a user interview response
Required API key scopes
user_interview:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /user_interviews /:idExample response
Status 200
RESPONSE
Update user interviews
Required API key scopes
user_interview:writePath parameters
- idstring
Request parameters
- interviewee_emailsarray
- summarystring
- classificationsarray
- audiostring
Response
Example request
PATCH /api /projects /:project_id /user_interviews /:idExample response
Status 200
RESPONSE
Delete user interviews
Required API key scopes
user_interview:writePath parameters
- idstring
Example request
DELETE /api /projects /:project_id /user_interviews /:idExample response
Status 204 No response body
Create user interviews search
Embed query with the same model used to index interview transcripts and summaries, then return the top matches by cosine distance. Each match is a single (interview, document_type) pair — an interview can appear up to twice if both its transcript and summary score above other interviews. Useful for surfacing relevant interview snippets in natural language, without exact keyword matches.
Required API key scopes
user_interview:readRequest parameters
- querystring
- document_typesarray
- topic_idstringnull
- classificationsarray
- limitinteger
Example request
POST /api /projects /:project_id /user_interviews /searchExample response
Status 200 Matches ranked by cosine similarity (descending).
RESPONSE