---
title: "Retrieve current user and system settings"
method: GET
path: "/info"
tags: ["Public"]
---

# Retrieve current user and system settings

`GET /info`

## Query parameters

- `refresh_cookie` boolean

## Response `200`

info received successful

- object
  - `data` object
    - `develop` boolean
    - `expires_at` string
    - `issued_at` string
    - `oauth` boolean
    - `privileges` string[]
    - `providers` string[]
    - `role` ModelsRole
      - `id` integer
      - `name` string, required
    - `type` string
    - `user` ModelsUser
      - `created_at` string
      - `hash` string
      - `id` integer
      - `mail` string, required
      - `name` string
      - `password_change_required` boolean
      - `provider` string
      - `role_id` integer, required
      - `status` string, required
      - `type` string, required
  - `status` string

## Other responses

- `403` — getting info not permitted
- `404` — user not found
- `500` — internal error on getting information about system and config

---

[API](https://skmtc.dev/vxcontrol/apis/pentagi-swagger-api.md) · [All operations](https://skmtc.dev/vxcontrol/apis/pentagi-swagger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vxcontrol/pentagi-swagger-api/revisions/7c1cbf7abaa1/schema)
