> ## Documentation Index
> Fetch the complete documentation index at: https://conductorone-lee-tschetter-gemini-enterprise-mcp.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Batch Import Subject Compatibility

> Validates or imports one bounded batch of compatibility-subject bindings.
 Clients parse source files and submit at most 50 rows per request so they
 can expose progress and retry from a known boundary.



## OpenAPI

````yaml https://spec.speakeasy.com/conductor-one/conductorone/my-source-with-code-samples post /api/v1/apps/{app_id}/sso/applications/{id}/subjects/import
openapi: 3.1.0
info:
  description: The C1 API is a HTTP API for managing C1 resources.
  title: C1 API
  version: 0.1.0-alpha
servers:
  - description: The C1 API server for the current tenant.
    url: https://{tenantDomain}.conductor.one
    variables:
      tenantDomain:
        default: example
        description: The domain of the tenant to use for this request.
security:
  - bearerAuth: []
    oauth: []
paths:
  /api/v1/apps/{app_id}/sso/applications/{id}/subjects/import:
    post:
      tags:
        - SSO
      summary: Batch Import Subject Compatibility
      description: >-
        Validates or imports one bounded batch of compatibility-subject
        bindings.
         Clients parse source files and submit at most 50 rows per request so they
         can expose progress and retry from a known boundary.
      operationId: c1.api.sso.v1.SSOApplicationService.BatchImportSubjectCompatibility
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            description: The application in your catalog that owns the SSO application.
            type: string
        - in: path
          name: id
          required: true
          schema:
            description: Unique identifier for the SSO application.
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/c1.api.sso.v1.SSOApplicationServiceBatchImportSubjectCompatibilityRequestInput
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/c1.api.sso.v1.SSOApplicationServiceBatchImportSubjectCompatibilityResponse
          description: >-
            SSOApplicationServiceBatchImportSubjectCompatibilityResponse
            summarizes one
             bounded validation or apply batch.
components:
  schemas:
    c1.api.sso.v1.SSOApplicationServiceBatchImportSubjectCompatibilityRequestInput:
      description: |-
        SSOApplicationServiceBatchImportSubjectCompatibilityRequest validates or
         imports a bounded batch of per-user subject bindings.
      properties:
        apply:
          description: >-
            When false, validate without writing. Clients should validate every
            batch
             before beginning the apply pass.
          type: boolean
        entries:
          description: Client-parsed rows. Each request is bounded to 50 entries.
          items:
            $ref: >-
              #/components/schemas/c1.api.sso.v1.SSOSubjectCompatibilityImportEntry
          type:
            - array
            - 'null'
        importId:
          description: >-
            Client-generated identifier shared by every batch from one source
            file.
          type: string
      title: Sso Application Service Batch Import Subject Compatibility Request
      type: object
      x-speakeasy-name-override: SSOApplicationServiceBatchImportSubjectCompatibilityRequest
    c1.api.sso.v1.SSOApplicationServiceBatchImportSubjectCompatibilityResponse:
      description: >-
        SSOApplicationServiceBatchImportSubjectCompatibilityResponse summarizes
        one
         bounded validation or apply batch.
      properties:
        blockingUserIds:
          description: >-
            Import-created binding owners that block one or more submitted
            corrections.
             This is a subset of recoverable_user_ids.
          items:
            type: string
          type:
            - array
            - 'null'
        importedRows:
          description: |-
            Number of bindings successfully written. Zero for validation-only
             requests; may be less than valid_rows if apply stops on a write failure.
          format: int32
          type: integer
        importedUserIds:
          description: >-
            Users whose bindings were created by this import, or were already
            created
             by an earlier retry carrying the same import_id.
          items:
            type: string
          type:
            - array
            - 'null'
        issues:
          description: Row-level validation or apply failures.
          items:
            $ref: >-
              #/components/schemas/c1.api.sso.v1.SSOSubjectCompatibilityImportIssue
          type:
            - array
            - 'null'
        recoverableUserIds:
          description: >-
            Users whose import-created binding is implicated by a submitted row.
            This
             may include the current owner of a submitted subject even when that owner
             was not itself submitted.
          items:
            type: string
          type:
            - array
            - 'null'
        totalRows:
          description: Number of entries in this batch.
          format: int32
          type: integer
        validRows:
          description: Number of rows that can be imported.
          format: int32
          type: integer
      title: Sso Application Service Batch Import Subject Compatibility Response
      type: object
      x-speakeasy-name-override: SSOApplicationServiceBatchImportSubjectCompatibilityResponse
    c1.api.sso.v1.SSOSubjectCompatibilityImportEntry:
      description: SSOSubjectCompatibilityImportEntry is one client-parsed source row.
      properties:
        row:
          description: One-based row number in the source file, including its header.
          format: int32
          type: integer
        subject:
          description: >-
            Exact legacy subject. C1 preserves these UTF-8 bytes without
            trimming.
          type: string
        userId:
          description: >-
            ConductorOne user ID resolved by the client before this batch is
            sent.
          type: string
      title: Sso Subject Compatibility Import Entry
      type: object
      x-speakeasy-name-override: SSOSubjectCompatibilityImportEntry
    c1.api.sso.v1.SSOSubjectCompatibilityImportIssue:
      description: |-
        SSOSubjectCompatibilityImportIssue describes one CSV row that cannot be
         imported.
      properties:
        reason:
          description: Human-readable reason this row cannot be imported.
          type: string
        row:
          description: One-based CSV row number, including the header row.
          format: int32
          type: integer
        subject:
          description: Legacy subject supplied by the batch entry.
          type: string
        userId:
          description: ConductorOne user ID supplied by the batch entry.
          type: string
      title: Sso Subject Compatibility Import Issue
      type: object
      x-speakeasy-name-override: SSOSubjectCompatibilityImportIssue
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http
    oauth:
      description: >-
        This API uses OAuth2 with the Client Credential flow.

        Client Credentials must be sent in the BODY, not the headers.

        For an example of how to implement this, refer to the
        [c1TokenSource.Token()](https://github.com/ConductorOne/conductorone-sdk-go/blob/3375fe7c0126d17e7ec4e711693dee7b791023aa/token_source.go#L101-L187)
        function.
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: /auth/v1/token
      type: oauth2

````