---
title: "Get the list of Services in the given Namespace"
method: GET
path: "/mf/v1/services"
tags: ["modelDeploy"]
---

# Get the list of Services in the given Namespace

`GET /mf/v1/services`

Get Services list.

## Query parameters

- `page` integer
- `size` integer
- `query_str` string

## Response `200`

OK

- Service[]
  - `id` number — Id for the Service.
  - `service_name` string — Service Name.
  - `type` string — Service Type, Include Single, ABTest, Graph.
  - `namespace` string — Service NameSpace.
  - `creation_timestamp` string — creation timestamp of service.
  - `last_updated_timestamp` string — last update timestamp of this service.
  - `cpu` number, double — Serivce CPU resource.
  - `gpu` string — Serivce GPU resource.
  - `memory` number, double — Service memory resource.
  - `user_id` number — the owner id of this service.
  - `group_id` number — the group id of this service.
  - `log_path` string — The location of log path.
  - `remark` string — The location path of the model material.
  - `endpoint_type` string — Endpoint type
  - `modelversion` ServiceModelVersion[]
    - `id` number — Id for the ModelVersion.
    - `version` string, required — Model’s version number.
    - `creation_timestamp` string — Timestamp recorded when this model_version was created.
    - `latest_flag` integer — Timestamp recorded when metadata for this model_version was last updated.
    - `source` string, required — User that created this model_version.
    - `filepath` string, required — Running status of this model_version.
    - `model` ServiceModel
      - `id` number — id for the model.
      - `model_name` string — Name for the model.
      - `model_type` string — type of model, eg. tensorflow, sklearn, xgboost
      - `position` integer — Timestamp recorded when metadata for this model was last updated.
      - `creation_timestamp` string — Timestamp recorded when metadata for this model was last updated.
      - `user_id` number — User that created this model.
      - `group_id` number — Group Id of User.
      - `service_id` number — User that created this model.
      - `reamrk` string — Description of this model

## Other responses

- `401` — Unauthorized
- `404` — The Models cannot be found

---

[API](https://skmtc.dev/webankfintech/apis/mf-server.md) · [All operations](https://skmtc.dev/webankfintech/apis/mf-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/webankfintech/mf-server/revisions/5ad7fc23d2c6/schema)
