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

# Get Driver

> Resolves the suggested driver for a given URL or agent name. Exactly one of `url` or `agent` must be provided.



## OpenAPI

````yaml /api-reference/openapi.json get /v2/domain-knowledge/driver
openapi: 3.1.0
info:
  title: Nimble SDK
  version: 1.0.0
  description: The AI-Native SDK for Real-Time Web Data at scale
servers:
  - url: https://sdk.nimbleway.com
security: []
paths:
  /v2/domain-knowledge/driver:
    get:
      tags:
        - Domain Knowledge
      summary: Get Driver
      description: >-
        Resolves the suggested driver for a given URL or agent name. Exactly one
        of `url` or `agent` must be provided.
      parameters:
        - description: Target domain to resolve driver for (e.g. amazon.com).
          in: query
          name: url
          schema:
            description: Target domain to resolve driver for (e.g. amazon.com).
            examples:
              - amazon.com
            type: string
        - description: Agent name to resolve driver for (e.g. nimble-ecommerce).
          in: query
          name: agent
          schema:
            description: Agent name to resolve driver for (e.g. nimble-ecommerce).
            examples:
              - nimble-ecommerce
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DriverResolutionResponse'
          description: Driver resolution result
        '400':
          content:
            application/json:
              schema:
                additionalProperties: false
                properties:
                  msg:
                    type: string
                  status:
                    const: failed
                    type: string
                required:
                  - status
                  - msg
                type: object
          description: Bad Request — both or neither url/agent provided
        '404':
          content:
            application/json:
              schema:
                additionalProperties: false
                properties:
                  msg:
                    type: string
                  status:
                    const: failed
                    type: string
                required:
                  - status
                  - msg
                type: object
          description: Agent not found
      security:
        - BearerAuth: []
components:
  schemas:
    DriverResolutionResponse:
      additionalProperties: false
      properties:
        agent:
          description: The input agent name (present when agent query param was used)
          type: string
        antibots:
          description: List of detected antibots for the domain
          examples:
            - - cloudflare
              - datadome
          items:
            type: string
          type: array
        description:
          description: Description of the driver
          type: string
        driver:
          description: Resolved driver name
          examples:
            - vx10-pro
          type: string
        need_to_render:
          description: Whether the page needs to be rendered to be properly resolved.
          type: boolean
        url:
          description: The input URL (present when url query param was used)
          type: string
      required:
        - driver
        - antibots
        - description
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

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