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

# Get a model

> One charger model Plugchoice publishes, by its id as `list_models` and a charger's model show
it. One that is not published, or no such model, is a 404. Open to anyone: no token needed.



## OpenAPI

````yaml api-reference/v4/v4.openapi.json GET /models/{model}
openapi: 3.1.0
info:
  title: Plugchoice API
  description: >-
    Every request sends an access token as `Authorization: Bearer …`, unless an
    operation says otherwise.


    Errors are problems (RFC 9457, `application/problem+json`): `code` says what
    went wrong, and a failed validation lists the fields in `errors`.


    A list answers one page: `{"data": [...], "next_cursor": ...,
    "previous_cursor": ...}`. Pass a cursor back as `cursor` to get that page,
    and `limit` (1 to 100, default 25) for its size.


    Within v4, changes only add: new operations, new optional parameters, new
    fields and new enum values. Ignore fields you do not know, and accept enum
    values you do not know. Requests that send a field the operation does not
    know are refused, so a typo does not pass unnoticed.
  version: '4'
servers:
  - url: https://api.plugchoice.com/v4
security:
  - bearer: []
paths:
  /models/{model}:
    get:
      tags:
        - catalogue
      summary: A charger model
      description: >-
        One charger model Plugchoice publishes, by its id as `list_models` and a
        charger's model show

        it. One that is not published, or no such model, is a 404. Open to
        anyone: no token needed.
      operationId: show_model
      parameters:
        - name: model
          in: path
          description: 'The model''s id: a number, as text'
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The charger model
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Model'
        default:
          description: >-
            A problem (RFC 9457). `code` says which; the field errors come with
            `validation_failed`.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      security:
        - {}
components:
  schemas:
    Model:
      type: object
      description: A charger model, as Plugchoice publishes it.
      required:
        - id
        - vendor
        - name
        - images
        - current_type
        - display_name
        - image_url
        - meter_certifications
      properties:
        current_type:
          oneOf:
            - $ref: '#/components/schemas/CurrentType'
              description: >-
                Whether it charges with alternating or direct current (a fast
                charger); null when that is

                not known.
            - type: 'null'
        display_name:
          type:
            - string
            - 'null'
          description: >-
            The name it is sold under, such as `Eve Single Pro-line`; null when
            it has none of its own.
        id:
          type: string
          description: >-
            The model's id. Unlike other ids it is no uuid but a number, as
            text: a model is the same

            for everyone.
        image_url:
          type:
            - string
            - 'null'
          description: 'A picture of it: the first of `images`; null when it has none.'
        images:
          type: array
          items:
            $ref: '#/components/schemas/ModelImage'
          description: Its pictures, in the order to show them.
        meter_certifications:
          type:
            - array
            - 'null'
          items:
            $ref: '#/components/schemas/MeterCertification'
          description: >-
            What its meter is certified for: `mid` when it is MID certified (the
            EU's Measuring

            Instruments Directive), so its energy may be billed. Empty when it
            has no certification,

            null when that is not known.
        name:
          type: string
          description: >-
            Its name as its chargers report it when they start (OCPP's
            `chargePointModel`), such as

            `NG910-60023`.
        vendor:
          type: string
          description: Its brand.
    Problem:
      type: object
      description: An error response body (RFC 9457).
      required:
        - type
        - title
        - status
        - code
      properties:
        code:
          type: string
          description: >-
            The kind of problem, for code to act on, such as
            `validation_failed`. Treat a code you do

            not know by the status.
        detail:
          type: string
          description: >-
            What went wrong with this request, when there is more to say than
            the title; left out

            when there is not.
        errors:
          type: array
          items:
            $ref: '#/components/schemas/FieldError'
          description: >-
            With `validation_failed`: the fields that broke a rule; left out
            when there are none.
        status:
          type: integer
          format: int32
          description: The HTTP status code.
          minimum: 0
        title:
          type: string
          description: A short summary of the kind of problem.
        type:
          type: string
          description: >-
            The page that explains this kind of problem: its `code` with
            hyphens, as

            `https://developer.plugchoice.com/api/errors/validation-failed`.
    CurrentType:
      type: string
      description: >-
        Whether a charger model charges with alternating or direct current.
        Accept values you do not

        know: more may come (OCPI tells alternating current apart by its
        phases).
      enum:
        - ac
        - dc
    ModelImage:
      type: object
      description: A picture of a charger model.
      required:
        - role
        - url
        - height
        - width
      properties:
        height:
          type:
            - integer
            - 'null'
          format: int32
          description: Its height in pixels; null when it is not known.
        role:
          type: string
          description: >-
            Which side it shows, such as `front`, `side`, `angle`, `back` or
            `detail`. Accept others:

            more may come.
        url:
          type: string
        width:
          type:
            - integer
            - 'null'
          format: int32
          description: Its width in pixels; null when it is not known.
    MeterCertification:
      type: string
      description: >-
        A certification of a charger model's meter. Accept values you do not
        know: more may come.
      enum:
        - mid
    FieldError:
      type: object
      description: One field that broke a rule.
      required:
        - field
        - code
        - message
      properties:
        code:
          type: string
          description: >-
            The rule it broke, for code to act on: `missing_field`,
            `unknown_field`, `invalid_type`,

            `invalid`, or `taken` (a value that must be unique, such as a card's
            id at a location,

            and is not).
        field:
          type: string
          description: >-
            Where the field is in the request, such as `name` or
            `connectors[0].max_current`.
        message:
          type: string
          description: What is wrong, in English.
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        An access token from `accounts.plugchoice.com`, for a personal API
        token, a person signed in through an app, or an OAuth client.

````

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