> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runaether.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a team organization

> Creates a team organization with the caller as its owner and only member, and returns it.

Use this tool when you need to:
- Start a team organization to share projects and tasks with other people
- Get an organization to invite members into, apart from the caller's personal one

Examples:
- POST /orgs {"name": "Acme Robotics"}

Hints:
- name is required. The schema answers 422 for an empty name, one over 100 characters, or one made only of spaces, tabs, newlines, form feeds and carriage returns; the name is stored trimmed.
- A name the schema admits that holds NUL, or no visible character once trimmed (vertical tabs, Unicode spaces or zero-width characters alone), is refused with 400 invalid_org_name.
- Answers 201 with the Org: kind team, role owner, member_count 1, new_pull_request_proof_public true, pr_authorship aether and commit_attribution_policy per_person.
- Use createOrgInvite next to invite members, and updateOrg instead to rename an organization or change its settings.
- Any signed-in person may create one, with session credentials; any other, such as a platform API key, is refused with 403 credential_kind_not_admitted (an agent host's grant is refused before that with 403 agent_host_route_not_allowed).



## OpenAPI

````yaml api-reference/openapi.json POST /orgs
openapi: 3.1.0
info:
  title: Aether API
  version: 0.1.0
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /orgs:
    post:
      tags:
        - orgs
      summary: Create a team organization
      description: >-
        Creates a team organization with the caller as its owner and only
        member, and returns it.


        Use this tool when you need to:

        - Start a team organization to share projects and tasks with other
        people

        - Get an organization to invite members into, apart from the caller's
        personal one


        Examples:

        - POST /orgs {"name": "Acme Robotics"}


        Hints:

        - name is required. The schema answers 422 for an empty name, one over
        100 characters, or one made only of spaces, tabs, newlines, form feeds
        and carriage returns; the name is stored trimmed.

        - A name the schema admits that holds NUL, or no visible character once
        trimmed (vertical tabs, Unicode spaces or zero-width characters alone),
        is refused with 400 invalid_org_name.

        - Answers 201 with the Org: kind team, role owner, member_count 1,
        new_pull_request_proof_public true, pr_authorship aether and
        commit_attribution_policy per_person.

        - Use createOrgInvite next to invite members, and updateOrg instead to
        rename an organization or change its settings.

        - Any signed-in person may create one, with session credentials; any
        other, such as a platform API key, is refused with 403
        credential_kind_not_admitted (an agent host's grant is refused before
        that with 403 agent_host_route_not_allowed).
      operationId: createOrg
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateOrgRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Org'
          description: Created
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgsErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgsErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgAuthorizationErrorResponse'
          description: Forbidden
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgsErrorResponse'
          description: Gone
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgsErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgsErrorResponse'
          description: Internal Server Error
components:
  schemas:
    CreateOrgRequest:
      additionalProperties: false
      properties:
        name:
          maxLength: 100
          minLength: 1
          pattern: \S
          type: string
      required:
        - name
      type: object
    Org:
      additionalProperties: false
      properties:
        commit_attribution_policy:
          enum:
            - per_person
            - person_author
            - aether_author
            - aether_only
          type: string
        created_at:
          format: date-time
          type: string
        id:
          format: uuid
          type: string
        kind:
          enum:
            - personal
            - team
          type: string
        member_count:
          format: int64
          minimum: 1
          type: integer
        name:
          type: string
        new_pull_request_proof_public:
          type: boolean
        pr_authorship:
          enum:
            - aether
            - person
          type: string
        role:
          $ref: '#/components/schemas/OrgRole'
      required:
        - id
        - kind
        - name
        - role
        - member_count
        - new_pull_request_proof_public
        - pr_authorship
        - commit_attribution_policy
        - created_at
      type: object
    OrgsErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - already_org_member
            - bad_gateway
            - bad_request
            - cli_upgrade_required
            - client_outdated
            - conflict
            - default_actor_product_role_required
            - empty_org_update
            - forbidden
            - gateway_timeout
            - gone
            - internal_error
            - invalid_commit_attribution_policy
            - invalid_cursor
            - invalid_invite_email
            - invalid_invite_status
            - invalid_org_id
            - invalid_org_name
            - invalid_org_role
            - invalid_pr_authorship
            - invalid_seat_request_status
            - invalid_user_id
            - invite_already_pending
            - invite_delivery_failed
            - invite_delivery_unavailable
            - invite_expired
            - invite_not_pending
            - inviter_daily_invite_limit
            - member_role_changed
            - method_not_allowed
            - not_acceptable
            - not_found
            - not_implemented
            - org_default_actor_reassignment_required
            - org_has_members
            - org_has_subscription
            - org_not_found
            - org_pending_invite_limit
            - org_role_insufficient
            - owner_leave_forbidden
            - owner_removal_forbidden
            - owner_role_immutable
            - payment_required
            - personal_org_delete_forbidden
            - personal_org_immutable
            - personal_org_leave_forbidden
            - precondition_failed
            - rate_limited
            - request_canceled
            - request_timeout
            - request_too_large
            - seat_request_delivery_failed
            - seat_request_pending
            - service_unavailable
            - session_auth_required
            - team_org_required
            - unauthenticated
            - unsupported_media_type
            - validation_failed
            - viewer_limit_reached
          minLength: 1
          type: string
        error:
          minLength: 1
          type: string
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
      required:
        - error
        - code
      type: object
    OrgAuthorizationErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - org_membership_required
            - org_role_insufficient
            - org_suspended
            - account_deleting
            - agent_host_route_not_allowed
            - credential_kind_not_admitted
            - grant_scope_insufficient
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    OrgRole:
      enum:
        - owner
        - admin
        - member
        - billing
        - viewer
      type: string
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.