> ## 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 Linear route



## OpenAPI

````yaml api-reference/openapi.account.json POST /linear/routes
openapi: 3.1.0
info:
  title: Aether Account & Integrations API
  version: 0.1.0
  description: >-
    Account, billing, and integration-management endpoints used by the Aether
    web app and CLI. Root-mounted; NOT part of the versioned /v1 contract.
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /linear/routes:
    post:
      tags:
        - linear
      summary: Create Linear route
      operationId: createLinearRoute
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateLinearRouteInput'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinearRoute'
          description: Created
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Conflict
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
components:
  schemas:
    CreateLinearRouteInput:
      additionalProperties: false
      properties:
        aetherProjectId:
          format: uuid
          type: string
        agentProfileId:
          format: uuid
          type:
            - string
            - 'null'
        enabled:
          type: boolean
        linearProjectId:
          minLength: 1
          type:
            - string
            - 'null'
        linearTeamId:
          minLength: 1
          type: string
      required:
        - linearTeamId
        - aetherProjectId
        - enabled
      type: object
    LinearRoute:
      additionalProperties: false
      properties:
        aetherProjectId:
          format: uuid
          type: string
        agentProfileId:
          format: uuid
          type:
            - string
            - 'null'
        enabled:
          type: boolean
        id:
          format: uuid
          type: string
        linearProjectId:
          minLength: 1
          type: string
        linearProjectName:
          minLength: 1
          type: string
        linearTeamId:
          minLength: 1
          type: string
        linearTeamKey:
          minLength: 1
          type: string
        linearTeamName:
          minLength: 1
          type: string
      required:
        - id
        - linearTeamId
        - linearTeamKey
        - linearTeamName
        - aetherProjectId
        - enabled
      type: object
    ErrorResponse:
      additionalProperties: false
      properties:
        code:
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````