Retrieve
client.models.promptGuide.retrieve(stringmodelID, PromptGuideRetrieveParams { projectId } query?, RequestOptionsoptions?): PromptGuideRetrieveResponse { promptGuide }
GET/models/{modelId}/prompt-guide
Retrieve
import Scenario from '@scenario-labs/sdk';
const client = new Scenario({
apiKey: process.env['SCENARIO_SDK_API_KEY'], // This is the default and can be omitted
apiSecret: process.env['SCENARIO_SDK_API_SECRET'], // This is the default and can be omitted
});
const promptGuide = await client.models.promptGuide.retrieve('modelId');
console.log(promptGuide.promptGuide);{
"promptGuide": {
"value": "value"
}
}Returns Examples
{
"promptGuide": {
"value": "value"
}
}