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

# Create identity partner



## OpenAPI

````yaml POST /api/identity/partners
openapi: 3.0.3
info:
  title: NeuronSearchLab Platform API
  version: 1.0.0
  description: >-
    Control-plane API for the NeuronSearchLab console: contexts, rules,
    pipelines, models, training, analytics, and tenant administration.
servers:
  - url: https://console.neuronsearchlab.com
security:
  - bearerAuth: []
tags:
  - name: Catalog
    description: Item search, item details, and metadata key listings.
  - name: Identity
    description: >-
      Identity resolution, consent, partner-scoped NSL IDs, and data
      collaborations.
  - name: Segments
    description: User segments.
  - name: Events
    description: Event types, training templates, and event value configuration.
  - name: Contexts
    description: Recommendation contexts and active model resolution.
  - name: Rules
    description: Ranking rules engine.
  - name: Pipelines
    description: Recommendation pipeline configuration.
  - name: Rerank Controls
    description: Per-context rerank controls.
  - name: Experiments
    description: A/B experiments.
  - name: Models
    description: Model versions.
  - name: Model Families
    description: Grouped model versions.
  - name: Serving Endpoints
    description: Model-serving endpoint configuration.
  - name: Training
    description: Training runs and jobs.
  - name: Dashboard
    description: Console dashboard metrics.
  - name: Analytics
    description: Recommendation, event, and catalog analytics.
  - name: Search
    description: Console-wide search.
  - name: Explainability
    description: Recommendation explanation.
  - name: Assistant
    description: Console and Studio assistants.
  - name: API Keys
    description: Platform API key management.
  - name: Team
    description: Team membership.
  - name: Billing
    description: Stripe billing portal and plan changes.
  - name: Integrations
    description: Third-party integrations.
  - name: Catalog Ingest
    description: Scheduled catalog feeds.
paths:
  /api/identity/partners:
    post:
      tags:
        - Identity
      summary: Create identity partner
      operationId: createIdentityPartner
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IdentityPartnerInput'
      responses:
        '200':
          description: Created partner
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Object'
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
components:
  schemas:
    IdentityPartnerInput:
      type: object
      required:
        - name
      properties:
        name:
          type: string
        partnerType:
          type: string
        allowedPurposes:
          type: array
          items:
            type: string
    Object:
      type: object
      additionalProperties: true
    Error:
      type: object
      properties:
        error:
          type: string
  responses:
    Error400:
      description: Bad request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error401:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Platform API key issued from Console > Platform API Keys. Format:
        nsl_<prefix>_<token>.

````