Skip to main content

request

Send a raw HTTP request to the Dataverse Web API. Note: on Git Bash/MSYS a leading-slash --path (e.g. /api/data/v9.2/accounts) is rewritten into a Windows path before it reaches the CLI; prefix with MSYS_NO_PATHCONV=1, set MSYS2_ARG_CONV_EXCL='*', or run from PowerShell/cmd.

Usage​

ppds api request [options]

Options​

LongShortTypeDefaultDescription
--bodystringRequest body as inline JSON string
--body-filestringRequest body from file (mutually exclusive with --body)
--confirmboolBypass write protection on production environments
--correlation-idstringCorrelation ID for distributed tracing
--debugboolShow trace-level diagnostic output
--environment-envstringTarget environment URL (default: active profile)
--header-HString[]Additional header, repeatable (format: "Name: Value")
--include-iboolInclude HTTP status line and response headers in output
--method-XstringHTTP method (default: GET)
--output-format-fOutputFormatOutput format
--pathstringRelative URL path (e.g., /api/data/v9.2/accounts)
--profile-pstringAuthentication profile to use (default: active profile)
--quiet-qboolShow only warnings and errors
--verbose-vboolShow detailed output including debug messages