Apps & Publishing

Save and publish web-domain routing config

Deprecated. Web-domain path routing was served by the Web Edge Router, which has been retired; publishing a config no longer affects request routing. These endpoints stop responding after 2026-12-15.

put/api/v1/domain/{id}/routing

Request

  • Base URL
    https://app.promptingco.com
  • URL
    https://app.promptingco.com/api/v1/domain/{id}/routing
  • Auth
    • API key in header x-api-key
    • or HTTP bearer
    • or API key in cookie better-auth.session_token

Path parameters

idstring required

Request body

mode'full_shadow' | 'path_routing' required

Response

Successful response

oktrue required

Changes

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