Skip to main content
GET
/
v1
/
org
/
categories
/
{category_id}
/
prompts
JavaScript
import Profound from '@profoundai/client';

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);
{
  "info": {
    "total_rows": 123,
    "limit": 123,
    "next_cursor": "<string>"
  },
  "data": [
    {
      "id": "<string>",
      "prompt": "<string>",
      "language": "<string>",
      "status": "active",
      "topic": {
        "id": "<string>",
        "name": "<string>"
      },
      "regions": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ],
      "platforms": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ],
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "analysis_types": [],
      "prompt_type": "",
      "tags": [],
      "personas": []
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.tryprofound.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Path Parameters

category_id
string<uuid>
required

Query Parameters

limit
integer
default:10000

Maximum number of prompts to return.

Required range: x <= 10000
cursor
string | null

Pagination cursor from a previous response.

order_dir
enum<string>
default:desc

Sort direction by creation date.

Available options:
asc,
desc
analysis_type
enum<string>[]

Filter by analysis type (visibility, sentiment, accuracy).

Available options:
visibility,
sentiment,
sentiment_v2,
accuracy
prompt_type
enum<string>[]
deprecated

Deprecated. Use analysis_type instead.

Available options:
visibility,
sentiment
status
enum<string>[]

Filter by prompt status. Defaults to active only.

Available options:
active,
disabled
topic_id
string<uuid>[]

Filter by topic IDs.

tag_id
string<uuid>[]

Filter by tag IDs.

region_id
string<uuid>[]

Filter by region IDs.

platform_id
string<uuid>[]

Filter by platform IDs.

persona_id
string<uuid>[]

Filter by persona IDs.

Response

Successful Response

info
PaginationInfo · object
required
data
Prompt · object[]
required