Content

Get root public markdown content

Retrieves the root public markdown content. Supports standard x-api-key authentication (productId/productSlug via query param or X-Tpc-Product-* headers as fallback) as well as the legacy X-Tpc-* header model.

get/api/v1/md/by-path

Request

  • Base URL
    https://app.promptingco.com
  • URL
    https://app.promptingco.com/api/v1/md/by-path
  • Auth
    API key in header x-api-key

Headers

x-api-keystring

Standard API key authentication (preferred). When present, X-Tpc-* headers are ignored.

authorizationstring

Bearer API key (used with X-Tpc-* headers for legacy public access)

x-tpc-organization-idstring

Organization ID (used with legacy public auth)

x-tpc-organization-slugstring

Organization slug (used with legacy public auth)

x-tpc-product-idstring

Product ID (used with legacy public auth)

x-tpc-product-slugstring

Product slug (used with legacy public auth)

Response

Successful response

oktrue required

Changes

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