Admin APIs
block-data-approvals
Shift Trial Window
Changed onQA lever: time-warp a request's trial window so it ends N seconds from now, with trial_start_date derived from trial_duration_months so the row stays internally consistent. Disabled in production.
Seconds is the wire unit so callers can pick any granularity (days, hours, minutes, seconds). Useful for two test cases without waiting real time:
- "Trial has X left" — pass a small positive seconds_until_end.
- "Trial starts in X" (cancellation-cutoff UI) — pass trial_duration_months * 30 * 86400 + X.
put/api/v1/admin/block/requests/{request_id}/trial-window
Request
- Base URL: https://carbonarc.ai (the document declares no server; this is the origin it was published from)
- URL: https://carbonarc.ai/api/v1/admin/block/requests/{request_id}/trial-window
- Auth: OAuth 2 (authorization code, authorization URL authorize, token URL token)
Path parameters
request_idstring uuid required
Request body
Response
Successful Response
Changes
- info
added the required property
to the response with the status
- info