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

# Get the version

> Returns the running build. It needs no key and costs nothing.



## OpenAPI

````yaml /openapi.json get /v1/version
openapi: 3.1.1
info:
  title: Morse API
  version: '1'
  description: >-
    The Morse API serves chat, image, web search, and page-reading models
    through an OpenAI-compatible interface. Each request pays with your Morse
    account's credits.


    Send an API key from the Morse app with every request, in the Authorization
    header as Bearer sk_morse_.... A key acts for its account and always pays
    with credits, never with a plan's included use. One credit is $0.01. GET
    /v1/models lists prices in micro-dollars, 10,000 to the credit. Keep keys on
    your server. Browsers on other sites cannot call the API.


    All of an account's keys and its owner's use of the Morse app share one
    budget of requests per minute and one limit on requests in flight. The
    account's plan sets both. A request refused for either limit carries
    Retry-After, the number of seconds to wait. A retried POST is a new request,
    and the API charges it again.


    An error reply is JSON in the Error shape, with a stable code. A path the
    API does not serve returns 404 as plain text, and a wrong method returns 405
    as plain text.
servers:
  - url: https://api.trymorse.ai
security:
  - apiKey: []
paths:
  /v1/version:
    get:
      summary: Get the version
      description: Returns the running build. It needs no key and costs nothing.
      operationId: getVersion
      responses:
        '200':
          description: The build.
          headers:
            X-Morse-Version:
              $ref: '#/components/headers/X-Morse-Version'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Version'
              example:
                version: v1.4.0
                pins: pins@ed3a680
      security: []
components:
  headers:
    X-Morse-Version:
      description: The running build. Every reply carries it.
      schema:
        type: string
  schemas:
    Version:
      type: object
      required:
        - version
      additionalProperties: false
      properties:
        version:
          type: string
          description: The running build, the same value as the X-Morse-Version header.
        pins:
          type: string
          description: >-
            The revision of the attestation data this build checks enclaves
            against. Absent when the build has none.
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: sk_morse_...
      description: An API key from the Morse app. It starts with sk_morse_.

````

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