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

# スキルを一覧表示

> 認証済みユーザーの会社に属するスキルを取得します。承認済みでインストール可能なバージョンを持つスキルのみを返すには、status=approvedを指定します。



## OpenAPI

````yaml /ja/api-reference/openapi.json get /skills
openapi: 3.0.0
info:
  title: Corgea API
  version: 1.0.0
  description: Corgeaのスキャン機能および脆弱性管理機能を操作するためのAPI
servers:
  - url: https://www.corgea.app/api/v1
    description: 本番サーバー
security:
  - CorgeaToken: []
  - BearerAuth: []
paths:
  /skills:
    get:
      tags:
        - スキル
      summary: スキルを一覧表示
      description: >-
        認証済みユーザーの会社に属するスキルを取得します。承認済みでインストール可能なバージョンを持つスキルのみを返すには、status=approvedを指定します。
      operationId: listSkills
      parameters:
        - name: status
          in: query
          required: false
          schema:
            type: string
            enum:
              - approved
          description: approvedを指定すると、承認済みバージョンを持つスキルのみを返します。
        - name: page
          in: query
          required: false
          schema:
            type: integer
            default: 1
          description: ページネーションのページ番号
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            default: 20
          description: 1ページあたりの結果件数
      responses:
        '200':
          description: スキルを正常に取得しました
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: ok
                  page:
                    type: integer
                  total_pages:
                    type: integer
                  total_skills:
                    type: integer
                  skills:
                    type: array
                    items:
                      $ref: '#/components/schemas/Skill'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: 権限がありません
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Permission denied
components:
  schemas:
    Skill:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
          example: secure-review
        slug:
          type: string
          example: secure-review
        description:
          type: string
          example: Review code for security issues.
        status:
          type: string
          nullable: true
          enum:
            - pending_review
            - approved
            - rejected
            - failed
        is_installable:
          type: boolean
          description: スキルにインストール可能な承認済みバージョンがあるかどうか
        latest_version:
          type: string
          nullable: true
          example: 1.0.1
        latest_approved_version:
          type: string
          nullable: true
          example: 1.0.0
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  responses:
    Unauthorized:
      description: トークンが無効か、指定されていません
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Missing or invalid authorization header
  securitySchemes:
    CorgeaToken:
      type: apiKey
      in: header
      name: CORGEA-TOKEN
      description: 認証用のAPIキー
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Authorizationヘッダーで使用するOAuth2アクセストークン（JWT）

````