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

# Get organisations schemas components

> Retrieve the set of all schema components available for the Schema specified by id.




## OpenAPI

````yaml get /organisations/{organisationId}/schemas/{id}/components
openapi: 3.0.3
info:
  title: Switchboard API
  description: >-
    The Switchboard API provides users the ability to manage their Apps,
    Integrations and Workflows
  version: 0.0.1-alpha.0
servers:
  - url: https://platform.versori.com/api/switchboard/v1alpha1/
    description: Production server
  - url: http://localhost:8080/v1alpha1/
    description: Localhost
security:
  - apiKey: []
paths:
  /organisations/{organisationId}/schemas/{id}/components:
    get:
      tags:
        - schemas
      description: >
        Retrieve the set of all schema components available for the Schema
        specified by id.
      operationId: GetSchemaComponents
      parameters:
        - name: organisationId
          in: path
          required: true
          schema:
            type: string
          example: '101'
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          $ref: '#/components/responses/GetSchemaComponentsResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
components:
  responses:
    GetSchemaComponentsResponse:
      description: >
        GetSchemaComponentsResponse is the response definition containing the
        schema types for a given App.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SchemaComponentsPage'
    ErrorResponse:
      description: The default error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    SchemaComponentsPage:
      type: object
      allOf:
        - $ref: '#/components/schemas/PageInfo'
        - type: object
          properties:
            items:
              type: array
              items:
                $ref: '#/components/schemas/SchemaComponent'
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        extensions:
          type: object
      required:
        - code
        - message
    PageInfo:
      type: object
      properties:
        totalCount:
          type: integer
        next:
          type: string
        prev:
          type: string
      required:
        - totalCount
    SchemaComponent:
      type: object
      properties:
        schemaId:
          type: string
          description: |
            The ID of the schema this object belongs to.
        ref:
          type: string
          description: >
            The ref of the schema object, for OpenAPI this will be how
            operations ref to this object with the ref field.
        definition:
          description: The definition of the schema object following OpenAPI specification.
          type: object
      required:
        - ref
        - definition
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization

````