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

# Register RDP

> Store RDP credentials for remote access to driver machine



## OpenAPI

````yaml post /api/driver/rdp-credentials
openapi: 3.1.0
info:
  title: Axion Backend API
  description: Backend API for Axion platform with desktop automation capabilities
  version: 1.0.0
servers:
  - url: https://api.getgranite.ai
    description: Production server
  - url: http://localhost:8000
    description: Local development server
security: []
tags:
  - name: Authentication
    description: User authentication and session management
  - name: Organizations
    description: Organization management and membership
  - name: Health
    description: API health and status monitoring
  - name: Automations
    description: Automation planning and execution
  - name: MIG
    description: Managed Instance Group operations
  - name: Agent
    description: Agent execution and streaming
  - name: Onboarding
    description: Organization onboarding flow
  - name: Organization Automations
    description: Organization automation endpoint management
  - name: Organization Endpoints
    description: Public endpoints for organization automations
  - name: Analytics
    description: Analytics and reporting endpoints
paths:
  /api/driver/rdp-credentials:
    post:
      tags:
        - Driver
        - Driver
      summary: Register RDP credentials for driver machine
      description: Store RDP credentials for remote access to driver machine
      operationId: register_rdp_credentials_api_driver_rdp_credentials_post
      parameters:
        - name: Authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RDPCredentialsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RDPCredentialsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RDPCredentialsRequest:
      properties:
        driver_machine_id:
          type: string
          title: Driver Machine Id
        rdp_username:
          type: string
          title: Rdp Username
        rdp_password:
          type: string
          title: Rdp Password
        rdp_external_ip:
          anyOf:
            - type: string
            - type: 'null'
          title: Rdp External Ip
        rdp_port:
          type: integer
          title: Rdp Port
          default: 3389
      type: object
      required:
        - driver_machine_id
        - rdp_username
        - rdp_password
      title: RDPCredentialsRequest
      description: Request to register RDP credentials for a driver machine
    RDPCredentialsResponse:
      properties:
        success:
          type: boolean
          title: Success
        driver_machine_id:
          type: string
          title: Driver Machine Id
        message:
          type: string
          title: Message
      type: object
      required:
        - success
        - driver_machine_id
        - message
      title: RDPCredentialsResponse
      description: Response from RDP credentials registration
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````