Create a type
POST/v2/spaces/:space_id/types
A property_definitions entry naming a property that does not exist creates it alongside the type. The body is either the flat type body or an AnyBlock document with kind "object_type"; formatVersion, kind or type_settings picks the document form.
Requestโ
Responsesโ
- 200
- 201
- 400
- 401
- 403
- 404
- 409
- 429
Dry run; validation result without committing
Created type id + key
Validation failure
Missing, unknown, revoked or expired key; shared authentication envelope
The shared key-scope gate uses the legacy envelope; an operation-specific refusal may use the v2 error envelope
The space does not exist, or is not available (deleted, left, or still joining)
Idempotency-Key conflict, or an operation-specific concurrency conflict
Shared write rate limit; legacy error envelope