Skip to main content
The P2HS API is a versioned HTTP API for account, workspace, project, codegen, deployment, configuration, and approved runtime operations.

Public contract

The P2HS API publishes a filtered public OpenAPI document at:
Use the deployment’s configured API base URL in non-production environments. The public document excludes internal and administrative operations. Do not infer public availability from implementation files.

Request conventions

  • send Authorization: Bearer <access_token> for authenticated operations;
  • keep project IDs associated with the caller’s workspace;
  • treat asynchronous operations as stateful resources and poll their status;
  • use idempotency support where an endpoint documents it;
  • never log or return secret values.

Authentication

Learn the token and session header model.