Skip to main content
GET
/
api
/
v1
/
views
List views
curl --request GET \
  --url https://app.promptingco.com/api/v1/views \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {
    "data": [
      {
        "id": "<string>",
        "name": "<string>",
        "description": "<string>",
        "brandId": "<string>",
        "organizationId": "<string>",
        "isDefault": true,
        "createdAt": "<string>",
        "updatedAt": "<string>",
        "deletedAt": "<string>",
        "conversationCount": 1,
        "brand": {
          "id": "<string>",
          "name": "<string>",
          "slug": "<string>"
        }
      }
    ],
    "totalPages": 1,
    "totalItems": 1
  }
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

Bearer session or OAuth access token. Available OAuth scopes:

  • content:read: Read site pages, markdown content, and llms.txt files
  • content:write: Create, update, and delete site pages and content
  • prompts:read: Read prompts, topics, and prompt analysis results
  • prompts:write: Create, update, archive prompts
  • simulations:read: Read agent-simulation tasks, runs, environments, and analytics
  • simulations:write: Create and trigger simulation runs
  • logs:read: Read AI-traffic logs and request-level audit events
  • analytics:read: Read analytics aggregates (rankings, mentions, sources, SOV)
  • products:read: Read product metadata and competitor data
  • products:write: Update product settings and competitor lists

Query Parameters

page
integer
Required range: x >= 1
pageSize
integer
Required range: 1 <= x <= 500
brandId
string

Response

Successful response

ok
enum<boolean>
required
Available options:
true
data
object
required