Skip to content

Overview

Workspace-aware API for TestPerch configuration, whole runs, tests, and diagnostics. Project keys have Read only or Read + write permissions; OAuth and workspace keys remain read-only. Configuration writes cannot manage credentials.

Try the API

Information

  • OpenAPI version: 3.1.1

A real Better Auth account session (Secure deployments use the __Secure- prefix). Requires a matching Origin header; guest sessions do not qualify.

Security scheme type: apiKey

Cookie parameter name: better-auth.session_token

The separate claim_secret returned at provisioning. Never place it in a URL. Revoked by claim, expiry, or purge; project keys and account sessions cannot substitute for it.

Security scheme type: apiKey

Header parameter name: X-Onboarding-Claim

Security scheme type: apiKey

Header parameter name: X-API-Key

Security scheme type: oauth2

Flow type: authorizationCode

Authorization URL: /api/auth/oauth2/authorize

Token URL: /api/auth/oauth2/token

Scopes:

  • test-results:read - Read tests, executions, logs, and artifact links.