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

# List Linear projects

> Lists the projects of one team of the organization's Linear workspace, as Linear lists them now: the projects a route can narrow to.

Use this tool when you need to:
- Find a Linear project's id to pass to createLinearRoute as linear_project_id
- Show a Linear team's projects by name before narrowing a route to one

Examples:
- GET /orgs/{orgID}/linear/projects?team_id=9cfb482a-81e3-4154-b5b9-2c805e70a02d

Hints:
- orgID is the organization's uuid; team_id is required, a Linear team's id from listLinearTeams (the schema answers 422 when it is missing or empty). items holds each project's id, name and team_id, read live from Linear.
- It is one read with no paging, so a team with more projects than Linear returns in one page lists only that page; createLinearRoute resolves linear_project_id against the same read.
- team_id goes to Linear unchecked: an unknown team is not refused here with linear_team_not_found, and any Linear read that fails is a 502.
- Use listLinearTeams first to find team_id, then createLinearRoute with linear_project_id to route the project's issues.
- Refused with 404 not_connected when Linear is not installed; a Linear that fails to answer is a 502, and it is a 500 when Linear refuses the stored refresh token or a disconnect is under way.
- Owners, admins and members of the organization in the path, with a session or a platform API key: a viewer or billing member is refused with 403 org_role_insufficient, a non-member with 403 org_membership_required, an orgID that is not a uuid with 400, and an agent host's grant with 403 agent_host_route_not_allowed.



## OpenAPI

````yaml api-reference/openapi.json GET /orgs/{orgID}/linear/projects
openapi: 3.1.0
info:
  title: Aether API
  version: 0.1.0
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /orgs/{orgID}/linear/projects:
    get:
      tags:
        - linear
      summary: List Linear projects
      description: >-
        Lists the projects of one team of the organization's Linear workspace,
        as Linear lists them now: the projects a route can narrow to.


        Use this tool when you need to:

        - Find a Linear project's id to pass to createLinearRoute as
        linear_project_id

        - Show a Linear team's projects by name before narrowing a route to one


        Examples:

        - GET
        /orgs/{orgID}/linear/projects?team_id=9cfb482a-81e3-4154-b5b9-2c805e70a02d


        Hints:

        - orgID is the organization's uuid; team_id is required, a Linear team's
        id from listLinearTeams (the schema answers 422 when it is missing or
        empty). items holds each project's id, name and team_id, read live from
        Linear.

        - It is one read with no paging, so a team with more projects than
        Linear returns in one page lists only that page; createLinearRoute
        resolves linear_project_id against the same read.

        - team_id goes to Linear unchecked: an unknown team is not refused here
        with linear_team_not_found, and any Linear read that fails is a 502.

        - Use listLinearTeams first to find team_id, then createLinearRoute with
        linear_project_id to route the project's issues.

        - Refused with 404 not_connected when Linear is not installed; a Linear
        that fails to answer is a 502, and it is a 500 when Linear refuses the
        stored refresh token or a disconnect is under way.

        - Owners, admins and members of the organization in the path, with a
        session or a platform API key: a viewer or billing member is refused
        with 403 org_role_insufficient, a non-member with 403
        org_membership_required, an orgID that is not a uuid with 400, and an
        agent host's grant with 403 agent_host_route_not_allowed.
      operationId: listLinearProjects
      parameters:
        - in: path
          name: orgID
          required: true
          schema:
            format: uuid
            type: string
        - explode: false
          in: query
          name: team_id
          required: true
          schema:
            minLength: 1
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListLinearProject'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinearErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinearErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgAuthorizationErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinearErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinearErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinearErrorResponse'
          description: Internal Server Error
        '502':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinearErrorResponse'
          description: Bad Gateway
components:
  schemas:
    ListLinearProject:
      additionalProperties: false
      properties:
        items:
          items:
            $ref: '#/components/schemas/LinearProject'
          type: array
      required:
        - items
      type: object
    LinearErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - agent_profile_not_found
            - bad_gateway
            - bad_request
            - conflict
            - default_actor_not_member
            - forbidden
            - gateway_timeout
            - gone
            - internal_error
            - linear_project_not_found
            - linear_team_not_found
            - method_not_allowed
            - not_acceptable
            - not_connected
            - not_found
            - not_implemented
            - payment_required
            - precondition_failed
            - project_not_found
            - project_repo_disconnected
            - rate_limited
            - request_canceled
            - request_timeout
            - request_too_large
            - route_exists
            - route_not_found
            - service_unavailable
            - unauthenticated
            - unsupported_media_type
            - validation_failed
          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
    LinearProject:
      additionalProperties: false
      properties:
        id:
          minLength: 1
          type: string
        name:
          minLength: 1
          type: string
        team_id:
          minLength: 1
          type: string
      required:
        - id
        - name
        - team_id
      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.