> ## 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.

# Ask the organization's admins for a seat

> Records the calling viewer's request for a seat, emails every owner and admin of the organization, and returns the request, pending for 24 hours.

Use this tool when you need to:
- Ask an organization's owners and admins for a seat, as a viewer who needs a product role
- Ask again once an earlier request has expired

Examples:
- POST /orgs/{orgID}/seat-requests

Hints:
- orgID is the organization's uuid (422 otherwise); no body. Answers 201 with the OrgSeatRequest: id, user_id, status pending, requested_at and expires_at.
- An owner or admin fulfils it by giving the viewer a product role; a request made after the last was fulfilled or expired replaces it under a new id.
- While the caller's last request is pending the next is refused with 409 seat_request_pending and sends nothing.
- Without organization email delivery the request is refused with 503 invite_delivery_unavailable before anything is written; a request whose email fails is withdrawn and refused with 502 seat_request_delivery_failed, so the caller may ask again.
- Use listOrgSeatRequests instead to read the organization's requests as an owner or admin, and updateOrgMemberRole to fulfil one.
- Viewers of the organization only: every other caller, a non-member included, is refused with 403 org_role_insufficient, as the product gate refuses a role; credentials other than a session, such as a platform API key, are 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/{orgID}/seat-requests
openapi: 3.1.0
info:
  title: Aether API
  version: 0.1.0
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /orgs/{orgID}/seat-requests:
    post:
      tags:
        - orgs
      summary: Ask the organization's admins for a seat
      description: >-
        Records the calling viewer's request for a seat, emails every owner and
        admin of the organization, and returns the request, pending for 24
        hours.


        Use this tool when you need to:

        - Ask an organization's owners and admins for a seat, as a viewer who
        needs a product role

        - Ask again once an earlier request has expired


        Examples:

        - POST /orgs/{orgID}/seat-requests


        Hints:

        - orgID is the organization's uuid (422 otherwise); no body. Answers 201
        with the OrgSeatRequest: id, user_id, status pending, requested_at and
        expires_at.

        - An owner or admin fulfils it by giving the viewer a product role; a
        request made after the last was fulfilled or expired replaces it under a
        new id.

        - While the caller's last request is pending the next is refused with
        409 seat_request_pending and sends nothing.

        - Without organization email delivery the request is refused with 503
        invite_delivery_unavailable before anything is written; a request whose
        email fails is withdrawn and refused with 502
        seat_request_delivery_failed, so the caller may ask again.

        - Use listOrgSeatRequests instead to read the organization's requests as
        an owner or admin, and updateOrgMemberRole to fulfil one.

        - Viewers of the organization only: every other caller, a non-member
        included, is refused with 403 org_role_insufficient, as the product gate
        refuses a role; credentials other than a session, such as a platform API
        key, are refused with 403 credential_kind_not_admitted (an agent host's
        grant is refused before that with 403 agent_host_route_not_allowed).
      operationId: requestOrgSeat
      parameters:
        - in: path
          name: orgID
          required: true
          schema:
            format: uuid
            type: string
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgSeatRequest'
          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
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgsErrorResponse'
          description: Conflict
        '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
        '502':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgsErrorResponse'
          description: Bad Gateway
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgsErrorResponse'
          description: Service Unavailable
components:
  schemas:
    OrgSeatRequest:
      additionalProperties: false
      properties:
        expires_at:
          format: date-time
          type: string
        id:
          format: uuid
          type: string
        requested_at:
          format: date-time
          type: string
        status:
          enum:
            - pending
            - fulfilled
            - expired
          type: string
        user_id:
          format: uuid
          type: string
      required:
        - id
        - user_id
        - status
        - requested_at
        - expires_at
      type: object
    OrgsErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - already_org_member
            - bad_gateway
            - bad_request
            - 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
    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.