---
title: "Get Problems"
method: GET
path: "/problem/all"
---

# Get Problems

`GET /problem/all`

Get information on all the current user's problems.

Args:
    user (Annotated[User, Depends): the current user.

Returns:
    list[ProblemInfoSmall]: a list of information on all the problems.

## Response `200`

Successful Response

- ProblemInfoSmall[]
  - `name` string, required
  - `description` string, required
  - `is_convex` boolean, nullable, required
  - `is_linear` boolean, nullable, required
  - `is_twice_differentiable` boolean, nullable, required
  - `scenario_keys` string[], nullable, required
  - `variable_domain` 'continuous' | 'binary' | 'integer' | 'mixed', required — An enumerator for the possible variable type domains of a problem.
  - `id` integer, required
  - `user_id` integer, required
  - `problem_metadata` ProblemMetaDataPublic, required — Response model for ProblemMetaData.
    - `problem_id` integer, required
    - `forest_metadata` ForestProblemMetaData[], nullable, required
      - `id` integer, nullable
      - `metadata_id` integer, nullable
      - `metadata_type` string
      - `map_json` string, required
      - `schedule_dict` object, required
      - `years` string[], required
      - `stand_id_field` string, required
      - `stand_descriptor` object, nullable
      - `compensation` number, nullable
    - `representative_nd_metadata` RepresentativeNonDominatedSolutions[], nullable, required
      - `id` integer, nullable
      - `metadata_id` integer, nullable
      - `metadata_type` string
      - `name` string, required — The name of the representative set.
      - `description` string, nullable — A description of the representative set. Optional.
      - `solution_data` object, required — The non-dominated solutions. It is assumed that columns exist for each variable and objective function. For functions, the `_min` variant should be present, and any tensor variables should be unrolled.
      - `ideal` object, required — The ideal objective function values of the representative set.
      - `nadir` object, required — The nadir objective function values of the representative set.

---

[API](https://skmtc.net/industrial-optimization-group/apis/desdeo-fast-api.md) · [All operations](https://skmtc.net/industrial-optimization-group/apis/desdeo-fast-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/industrial-optimization-group/desdeo-fast-api/versions/c24fa4e23380/schema)
