Skip to content
NorthstarPlatformPricingLogin

Retrieve Responses

client.responses.retrieve(stringresponseID, ResponseRetrieveParams { starting_after, stream } query?, RequestOptionsoptions?): ResponseRetrieveResponse
GET/v1/responses/{response_id}

Retrieve Responses

ParametersExpand Collapse
responseID: string
query: ResponseRetrieveParams { starting_after, stream }
starting_after?: number | null
stream?: boolean | null
ReturnsExpand Collapse
ResponseRetrieveResponse = unknown

Retrieve Responses

import Lightcone from '@tzafon/lightcone';

const client = new Lightcone({
  apiKey: process.env['TZAFON_API_KEY'], // This is the default and can be omitted
});

const response = await client.responses.retrieve('response_id');

console.log(response);
{}
Returns Examples
{}