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

# Get import steps

> Get the steps required for importing an OpenAPI specification



## OpenAPI

````yaml /swagger/5.12/ai-studio-swagger.yml get /providers/{id}/import-steps
openapi: 3.0.1
info:
  title: Midsommar API
  description: This is the API for the Midsommar user and group management system.
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    url: http://www.swagger.io/support
    email: support@swagger.io
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
  - url: //localhost:8080/api/v1
security: []
paths:
  /providers/{id}/import-steps:
    get:
      tags:
        - providers
      summary: Get import steps
      description: Get the steps required for importing an OpenAPI specification
      parameters:
        - name: id
          in: path
          description: Provider ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/providers.ImportStep'
components:
  schemas:
    providers.ImportStep:
      type: object
      properties:
        current_step:
          type: integer
          description: Current step number
        methods:
          type: array
          description: Available import methods for this step
          items:
            $ref: '#/components/schemas/providers.ImportMethod'
        provider:
          type: string
          description: Provider ID
        total_steps:
          type: integer
          description: Total number of steps
        type:
          type: string
          description: '"config", "select_api", "import_method"'
    providers.ImportMethod:
      type: object
      properties:
        description:
          type: string
          description: Description of the import method
        name:
          type: string
          description: Display name for the method
        needs_config:
          type: boolean
          description: Whether this method needs configuration
        provider:
          type: string
          description: Provider ID ("tyk", "direct", etc.)
        type:
          type: string
          description: '"provider", "url", or "file"'

````