---
title: "Get service config for a specific host"
method: GET
path: "/system/services/{servicename}/{hostid}"
tags: ["System"]
---

# Get service config for a specific host

`GET /system/services/{servicename}/{hostid}`

## Path parameters

- `servicename` string, required
- `hostid` string, required

## Response `200`

Listing of registered services

- Service[] — A list of service objects
  - `hostid` string — The unique id of the host on which the service is executing
  - `servicename` string — Registered service name
  - `base_url` string — The url to reach the service, including port as needed
  - `status_message` string — A state indicating the condition of the service. Normal operation is 'registered'
  - `service_detail` StatusResponse — System status response
    - `available` boolean
    - `busy` boolean
    - `up` boolean
    - `message` string
    - `version` string
    - `db_version` string
    - `detail` object
  - `status` boolean
  - `version` string — The version of the service as reported by the service implementation on registration

## Other responses

- `500` — Internal error

---

[API](https://skmtc.net/anchore/apis/anchore-engine-api-server.md) · [All operations](https://skmtc.net/anchore/apis/anchore-engine-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anchore/anchore-engine-api-server/revisions/afb4f60ab44a/schema)
