environments

Create Environment Proposal

post/api/environments/{env_id}/proposal

Request

  • Base URL: https://app.getdot.ai (the document declares no server; this is the origin it was published from)
  • URL: https://app.getdot.ai/api/environments/{env_id}/proposal
  • Auth: one of:
    • API key in header X-API-KEY
    • API key in cookie Authorization
    • OAuth 2 (password, token URL /api/auth/token)

Path parameters

env_idstring required

Request body

confirm_below_thresholdboolean
titlestring nullable

The change in one line; it titles the GitHub pull request.

summarystring nullable

What changed and why, and how it was checked, for reviewers in Dot and on GitHub.

Response

Successful Response

proposal_idstring required
proposal_source'environment' | 'training' required
merge_policy'full_environment' required
score_pctinteger nullable required
thresholdinteger nullable required
below_thresholdboolean required
pull_request_urlstring nullable
next_stepstring nullable

Changes

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