Content

List site pages

Deprecated, will be removed in future versions. Please use GET /api/v1/content instead.

get/api/v1/site/pages

Request

  • Base URL
    https://app.promptingco.com
  • URL
    https://app.promptingco.com/api/v1/site/pages
  • Auth
    • API key in header x-api-key
    • or HTTP bearer
    • or API key in cookie better-auth.session_token

Query parameters

productIdstring

Product ID. Provide exactly one of productId or productSlug (the server enforces this at runtime).

productSlugstring

Product slug. Provide exactly one of productId or productSlug (the server enforces this at runtime).

pageinteger
pageSizeinteger
orderBy'createdAt' | 'updatedAt' | 'deletedAt'
orderByDirection'asc' | 'desc'
querystring
qstring
status'draft' | 'published'
typestring
isManualboolean
pathPrefixstring
hasContentboolean
domainIdstring
domainstring
promptIdstring
archivedStatus'active' | 'archived' | 'all'

Response

Successful response

oktrue required

Changes

No recorded changes to this operation across all 1 revision of this API.