import Profound from 'profoundai';
const client = new Profound({
apiKey: process.env['PROFOUND_API_KEY'], // This is the default and can be omitted
});
const response = await client.organizations.categories.prompts('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
console.log(response.data);{
"data": [
{
"prompt_type": "<string>",
"prompt": "<string>",
"id": "<string>",
"topic": {
"id": "<string>",
"name": "<string>"
},
"regions": [
{
"id": "<string>",
"name": "<string>"
}
],
"platforms": [
{
"id": "<string>",
"name": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"tags": []
}
]
}import Profound from 'profoundai';
const client = new Profound({
apiKey: process.env['PROFOUND_API_KEY'], // This is the default and can be omitted
});
const response = await client.organizations.categories.prompts('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
console.log(response.data);{
"data": [
{
"prompt_type": "<string>",
"prompt": "<string>",
"id": "<string>",
"topic": {
"id": "<string>",
"name": "<string>"
},
"regions": [
{
"id": "<string>",
"name": "<string>"
}
],
"platforms": [
{
"id": "<string>",
"name": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"tags": []
}
]
}Was this page helpful?