---
title: "Retrieve my service usage detail"
method: GET
path: "/billing/active-services/{active_service_id}/usage/"
tags: ["active-service"]
---

# Retrieve my service usage detail

`GET /billing/active-services/{active_service_id}/usage/`

## Request

- Base URL: `https://api.angelcam.com/v1`
- URL: `https://api.angelcam.com/v1/billing/active-services/{active_service_id}/usage/`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://my.angelcam.com/oauth/authorize/`, token URL `https://my.angelcam.com/oauth/token/`
    - Password, token URL `https://api.angelcam.com/oauth/token/`
    - Scopes: `active_services_access`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/angelcam/apis/angelcam-api/docs/billing/active-services/:active_service_id/usage/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `active_service_id` integer, required

## Response `200`

Returns detail of my active service usage.

- ActiveServiceUsageObject
  - `id` integer, required
  - `in_use` boolean, required: Says if service is in use for example by a camera
  - `usage_detail` UsageDetailObject, required: In case of camera service show info for what camera the service is used.
    - `camera_id` integer
    - `camera_name` string

## Other responses

- `401`: Missing or invalid authorization.
- `403`: Missing permission.
- `404`: The specified resource was not found

---

[API](https://skmtc.dev/angelcam/apis/angelcam-api.md) - [All operations](https://skmtc.dev/angelcam/apis/angelcam-api/llms.txt) - [OpenAPI document](https://skmtc.dev/angelcam/apis/angelcam-api/revisions/dd1cdc3f2c23?raw)
