Get Responses
This endpoint lists all responses for a given study.GET https://listenlabs.ai/api/public/responses/{link_id}
Path Parameters
link_id string
The link ID of the study. You can find this in the study URL or via the List Studies endpoint. For example, in https://listenlabs.ai/s/abc123 the link ID is abc123.
Query Parameters
page integer default:"0"
The page number for pagination.
per_page integer default:"1000"
Number of responses to return per page.
updated_since string
ISO 8601 date string to filter responses updated after this date (e.g., 2023-08-18T11:51:54.649916Z).
include_in_progress boolean default:"true"
Whether to include responses that who’s analysis is still in progress.
Response
Returns a list of responses for the given study. Each response is an object with the following fields:id uuid
Unique identifier for the response.
response_number number
The ordered number of the response.
created_at string
UTC timestamp of when the response was created.
updated_at string
UTC timestamp of when the response was last updated.
answers object
Answers to all questions of the study.
Summary string— A summary of the entire conversation. Available for all studys.Question 1 string— Everything the user said in response to question 1.Question 2 string— Everything the user said in response to question 2.
answers_array Response[]
Answers to all questions of the study as an array.
answer_id string— The answer ID. Matches theanswer_idon transcript rows from the single response endpoint, enabling cross-referencing.discussion_guide_question_id string— The discussion guide question ID.concept_id string | null— The concept ID. Null if not concept-specific.question_id string deprecated— Deprecated. Useanswer_idinstead.question string— The question text.answer string— The answer to the question.
attributes object
URL parameters that were passed to the study.
id string— An id that is passed to study e.g.https://listenlabs.ai/s/abc123?id=123.
short_transcript string
A transcript of the entire conversation where the assistant messages are shortened to a couple of words.
Example Request
Example Response
Get Single Response
This endpoint retrieves a single response for a specific study.GET https://listenlabs.ai/api/public/responses/{link_id}/{response_id}
Path Parameters
link_id string
The link ID of the study. You can find this in the study URL or via the List Studies endpoint. For example, in https://listenlabs.ai/s/abc123 the link ID is abc123.
response_id string
The unique ID of the specific response you want to retrieve.
Response
Returns a single response with detailed information:id string
Unique identifier for the response.
survey string
The link ID of the survey this response belongs to.
transcript array
A complete transcript of the conversation, with each entry containing:
moderator string— The message from the assistant/moderator.user string— The response from the user.discussion_guide_question_id string— The discussion guide question ID for this row.concept_id string | null— The concept ID for this row. Null if the question isn’t concept-specific.answer_id string | null— The answer ID for this question. Matches theanswer_idin the list endpoint’sanswers_array, enabling cross-referencing between endpoints.audio string— A signed URL to the audio recording of the user’s response, if available. This URL is valid for 1 hour.video object— Video playback information, if available. If no video recording exists, this will be null.-
stream_url string— HLS stream URL for the video recording.mp4_url string— Direct MP4 download URL for the video recording.
Example Request
Example Response — Audio and Text
Example Response — Video and Text
Example Response — Text Only
List Studies
This endpoint lists all studies.GET https://listenlabs.ai/api/public/list_surveysResponse
Returns a list of studies. Each study is an object with the following fields:id uuidPermanent unique identifier for the study.link_id stringThe link id of the study. This is editable in the study settings so it might change.title stringThe title of the study.created_at stringUTC timestamp of when the study was created.desc stringA description of the study. E.g. “My study (10 Responses)”.Example Request
Example Response
-