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

# POST /admin/api/update/check



## OpenAPI

````yaml /generated/openapi.json post /admin/api/update/check
openapi: 3.1.0
info:
  description: >-
    Forwarding, management, portal and OAuth APIs generated from Rust types.
    Input and output schemas preserve their respective Serde contracts.
    Streaming events and WebSocket messages are documented alongside HTTP
    payloads.
  title: GPROXY HTTP API
  version: 4.2.1
servers: []
security:
  - bearer: []
  - anthropicKey: []
  - googleKey: []
  - queryKey: []
paths:
  /admin/api/update/check:
    post:
      tags:
        - Management
      summary: POST /admin/api/update/check
      parameters:
        - description: ''
          in: query
          name: channel
          required: false
          schema:
            type:
              - string
              - 'null'
        - description: ''
          in: query
          name: source
          required: false
          schema:
            type:
              - string
              - 'null'
        - description: Administrative scope selected by the caller.
          in: header
          name: x-gproxy-admin-scope
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Output_UpdateReport'
          description: Success
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Output_Envelope'
          description: Gateway error
      security:
        - consoleSession: []
        - bearer: []
        - anthropicKey: []
        - googleKey: []
components:
  schemas:
    Output_UpdateReport:
      description: One check's answer.
      properties:
        available:
          description: Whether `latest` is actually newer than `current`.
          type: boolean
        channel:
          type: string
        checked_at_ms:
          description: When this check completed, in milliseconds since the epoch.
          format: int64
          type: integer
        current:
          description: The version this process is running.
          type: string
        latest:
          description: The version the manifest offers for this channel.
          type: string
        notes:
          description: >-
            The notes themselves, when the host could fetch them. Never
            required:

            a release with no readable notes is still a release.
          type:
            - string
            - 'null'
        notes_url:
          description: Where a human reads what changed. Straight from the manifest.
          type:
            - string
            - 'null'
        restart:
          description: |-
            What the host will do to the process after an apply: `none`,
            `supervisor` or `re-exec`.
          type: string
        rollback_available:
          description: Whether a previous executable is still on disk to go back to.
          type: boolean
        source:
          type: string
        target:
          description: |-
            The artifact key the manifest was searched for, e.g.
            `x86_64-unknown-linux-gnu`.
          type: string
      required:
        - current
        - latest
        - available
        - channel
        - source
        - target
        - notes_url
        - notes
        - restart
        - rollback_available
        - checked_at_ms
      type: object
    Output_Envelope:
      properties:
        error:
          $ref: '#/components/schemas/Output_EnvelopeBody'
      required:
        - error
      type: object
    Output_EnvelopeBody:
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
      type: object
  securitySchemes:
    bearer:
      scheme: bearer
      type: http
    anthropicKey:
      in: header
      name: x-api-key
      type: apiKey
    googleKey:
      in: header
      name: x-goog-api-key
      type: apiKey
    queryKey:
      in: query
      name: key
      type: apiKey
    consoleSession:
      in: cookie
      name: gproxy_session
      type: apiKey

````

## Related topics

- [POST /admin/api/update/apply](https://gproxy.leenhawk.com/api-reference/management/post-adminapiupdateapply.md)
- [POST /admin/api/update/rollback](https://gproxy.leenhawk.com/api-reference/management/post-adminapiupdaterollback.md)
- [GET /admin/api/update](https://gproxy.leenhawk.com/api-reference/management/get-adminapiupdate.md)
- [POST /admin/api/api-keys/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiapi-keysbatch.md)
- [POST /admin/api/organizations/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiorganizationsbatch.md)


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