Organizations and Projects

Creates a project, makes the caller its admin, and returns it. The new project has no grants to organization models, machines, skills, or secrets. Reusing an idempotency key returns the current project even if the retry body differs. The retry body is not applied.

post/orgs/{orgID}/projects

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf

Path parameters

orgID, string required

Organization ID (org_...).

Headers

Idempotency-Key, string

Idempotency key for replay-safe mutating requests.

Request body

CreateProjectRequest required
name, string required

Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.

budgets, BudgetAttachment[]

Budgets for the new project, created atomically with it, one per interval. Replay never adds budgets.

Response

Idempotent replay of an existing project creation.

Project required

Shared project fields composed into project response schemas. Composing schemas close their final shape with unevaluatedProperties.

id, string required

Identifies the project.

org_id, string required

Organization that owns the project.

name, string required

Display name of the project.

created_at, string date-time required

When the project was created.

updated_at, string date-time required

When the project last changed.

Changes

    • info

      added the new optional request property budgets

    • info

      added the optional property current_digest to the response with the status

    • info

      added the optional property current_digest to the response with the status

    157 more changes in this revision