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

# Deploy Provider

> (Re)deploy an installed provider.

Looks up the installed provider, resolves the ProviderVersion, and
deploys the pre-built image.

Returns:
    Deployment result with current state.



## OpenAPI

````yaml https://api.pragmatiks.io/openapi.json post /providers/installed/{org}/{name}/deploy
openapi: 3.1.0
info:
  title: Pragma API
  version: 0.1.0
servers: []
security: []
paths:
  /providers/installed/{org}/{name}/deploy:
    post:
      tags:
        - providers
      summary: Deploy Provider
      description: |-
        (Re)deploy an installed provider.

        Looks up the installed provider, resolves the ProviderVersion, and
        deploys the pre-built image.

        Returns:
            Deployment result with current state.
      operationId: providers-deploy_provider
      parameters:
        - name: org
          in: path
          required: true
          schema:
            type: string
            title: Org
        - name: name
          in: path
          required: true
          schema:
            type: string
            title: Name
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_providers-deploy_provider'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeploymentResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_providers-deploy_provider:
      properties:
        version:
          anyOf:
            - type: string
            - type: 'null'
          title: Version
      type: object
      title: Body_providers-deploy_provider
    DeploymentResult:
      properties:
        deployment_name:
          type: string
          title: Deployment Name
        status:
          $ref: '#/components/schemas/DeploymentStatus'
        available_replicas:
          type: integer
          title: Available Replicas
          default: 0
        ready_replicas:
          type: integer
          title: Ready Replicas
          default: 0
        image:
          anyOf:
            - type: string
            - type: 'null'
          title: Image
        version:
          anyOf:
            - type: string
            - type: 'null'
          title: Version
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
      type: object
      required:
        - deployment_name
        - status
      title: DeploymentResult
      description: |-
        Internal result of a deployment status query from Kubernetes.

        Contains all K8s-specific details. Use ProviderStatus for external API.

        Attributes:
            deployment_name: Name of the Kubernetes Deployment.
            status: Current deployment status.
            available_replicas: Number of available replicas.
            ready_replicas: Number of ready replicas.
            image: Container image reference (e.g., registry/image:version).
            version: CalVer version string of deployed build.
            updated_at: Last update timestamp from deployment conditions.
            message: Status message or error details.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DeploymentStatus:
      type: string
      enum:
        - pending
        - progressing
        - available
        - failed
      title: DeploymentStatus
      description: Status of a provider deployment.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````