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

# Update



## OpenAPI

````yaml /openapi.json put /v2/scribe/open-api/connectors/{connector_id}
openapi: 3.1.0
info:
  title: Cortexa Scribe Open API
  description: >-
    Authorized EHR access to Cortexa Scribe. All clinical resources are scoped
    to a partner grant.
  version: 2.0.0
servers:
  - url: https://sandbox.api.cortexanote.com
security: []
paths:
  /v2/scribe/open-api/connectors/{connector_id}:
    put:
      tags:
        - Scribe Open API
      summary: Update
      operationId: scribe_api_connector_update
      parameters:
        - name: connector_id
          in: path
          required: true
          schema:
            type: string
            title: Connector Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectorManifest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorRead'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Business rule violation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
      security:
        - CortexaApiKey: []
components:
  schemas:
    ConnectorManifest:
      properties:
        name:
          type: string
          maxLength: 200
          minLength: 1
          title: Name
        description:
          type: string
          maxLength: 4000
          minLength: 1
          title: Description
        transport:
          type: string
          enum:
            - rest
            - mcp
          title: Transport
        endpoint:
          type: string
          maxLength: 2048
          title: Endpoint
        profile:
          type: string
          enum:
            - tools
            - ehr
          title: Profile
          default: tools
        auth:
          type: string
          enum:
            - bearer
            - oauth2
          title: Auth
          default: bearer
        oauth:
          anyOf:
            - $ref: '#/components/schemas/OAuthConfiguration'
            - type: 'null'
        tools:
          items:
            $ref: '#/components/schemas/ToolDefinition'
          type: array
          maxItems: 100
          minItems: 1
          title: Tools
      additionalProperties: false
      type: object
      required:
        - name
        - description
        - transport
        - endpoint
        - tools
      title: ConnectorManifest
    ConnectorRead:
      properties:
        id:
          type: string
          title: Id
        manifest:
          $ref: '#/components/schemas/ConnectorManifest'
        manifest_hash:
          type: string
          title: Manifest Hash
        approved:
          type: boolean
          title: Approved
        enabled:
          type: boolean
          title: Enabled
      additionalProperties: false
      type: object
      required:
        - id
        - manifest
        - manifest_hash
        - approved
        - enabled
      title: ConnectorRead
    ApiErrorResponse:
      type: object
      properties:
        message:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ApiErrorDetail'
        context:
          type: object
          additionalProperties:
            type: string
          description: Explicitly public context for handling business errors.
      required:
        - message
        - errors
    OAuthConfiguration:
      properties:
        authorization_url:
          type: string
          title: Authorization Url
        token_url:
          type: string
          title: Token Url
        client_id:
          type: string
          maxLength: 255
          minLength: 1
          title: Client Id
        redirect_uri:
          type: string
          title: Redirect Uri
        scopes:
          items:
            type: string
          type: array
          maxItems: 30
          title: Scopes
      additionalProperties: false
      type: object
      required:
        - authorization_url
        - token_url
        - client_id
        - redirect_uri
      title: OAuthConfiguration
    ToolDefinition:
      properties:
        name:
          type: string
          pattern: ^[a-zA-Z][a-zA-Z0-9_.-]{0,127}$
          title: Name
        description:
          type: string
          maxLength: 4000
          minLength: 1
          title: Description
        input_schema:
          additionalProperties: true
          type: object
          title: Input Schema
        output_schema:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Output Schema
        write:
          type: boolean
          title: Write
        method:
          type: string
          enum:
            - GET
            - POST
            - PUT
            - PATCH
            - DELETE
          title: Method
          default: POST
        path:
          type: string
          maxLength: 1024
          title: Path
          default: ''
        annotations:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Annotations
      additionalProperties: false
      type: object
      required:
        - name
        - description
        - input_schema
        - write
      title: ToolDefinition
    ApiErrorDetail:
      type: object
      properties:
        field:
          type: string
        code:
          type: string
      required:
        - code
  securitySchemes:
    CortexaApiKey:
      type: apiKey
      in: header
      name: Cortexa-Api-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.