Projects

Provision a new project

Creates a new database project. Requires wallet auth (EIP-4361 signature). Free within your active tier. The wallet must have an active tier.

post/projects/v1

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/projects/v1
  • Auth: API key in header SIGN-IN-WITH-X

Headers

SIGN-IN-WITH-Xstring required

SIWX auth header — base64-encoded JSON payload containing a signed CAIP-122 (EIP-4361) message. See https://docs.x402.org/extensions/sign-in-with-x.

Request body

namestring

Optional project name

org_idstring uuid

Optional owning org. Caller must hold developer+ membership. Omit for the wallet's own org.

Response

Project created

project_idstring

Run402 project ID. Public IDs are not UUIDs.

org_idstring uuid

Owning org for the created project. Use this for member management and org-scoped follow-up calls.

anon_keystring

JWT for client-side access (apikey header)

service_keystring

JWT for admin access (Authorization: Bearer)

schema_slotstring
tier'prototype' | 'hobby' | 'team'
lease_expires_atstring date-time

Example response

{
  "project_id": "prj_1741340000_0042"
}

Changes

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