For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Logo
Resources
Log inGet a demo
GuidesAPI reference
GuidesAPI reference
  • API Overview
      • GETList Routing Policies
      • GETList Routing Strategies
      • POSTCreate Draft Policy
      • GETList Draft Policies
      • GETGet Draft Policy
      • DELDelete Draft Policy
      • POSTCommit Draft Policy
UnifiedAgent HandlerGateway
UnifiedAgent HandlerGateway
Resources
Log inGet a demo
API OverviewRouting

Get Draft Policy

GET
https://api-gateway.merge.dev/v1/routing/policies/draft/:draft_id
GET
/v1/routing/policies/draft/:draft_id
$curl https://api-gateway.merge.dev/v1/routing/policies/draft/draft_id
1{}
Get a draft policy by ID. This endpoint is also used internally by the routing system to resolve draft policies.
Was this page helpful?
Previous

List Draft Policies

Next

Delete Draft Policy

Built with

Path parameters

draft_idstringRequired

Response

Successful Response

Errors

422
Unprocessable Entity Error