---
title: "POST /teams/{team_name}/usage"
method: POST
path: "/teams/{team_name}/usage"
tags: ["teams"]
---

# POST /teams/{team_name}/usage

`POST /teams/{team_name}/usage`

Increase the usage of a plugin. This can incur billing costs and should be used only by plugin SDKs.

## Path parameters

- `team_name` string, required — The unique name for the team.

## Request body

- UsageIncrease — Increase the usage of a plugin. This can incur billing costs and should be used only by plugins.
  - `plugin_team` string, required — The unique name for the team.
  - `plugin_kind` 'source' | 'destination' | 'transformer', required — The kind of plugin, ie. source or destination.
  - `plugin_name` string, required — The unique name for the plugin.
  - `tables` object[]
    - `name` string, required — The name of the table.
    - `rows` integer, required — The additional rows used by the table.
  - `rows` integer, required — The total number of additional rows used by the plugin.
  - `request_id` string, uuid, required — A unique ID associated with the usage increase.
  - `installation_id` string — Installation ID associated with the platform, for platform syncs.

## Response `204`

Success (the plugin usage was increased). It may take some time to reflect in the usage list.

## Other responses

- `401` — Requires authentication
- `403` — Forbidden
- `404` — Resource not found
- `422` — UnprocessableEntity
- `500` — Internal Error
- `503` — Service unavailable

---

[API](https://skmtc.net/cloudquery/apis/cloudquery-openapi-spec.md) · [All operations](https://skmtc.net/cloudquery/apis/cloudquery-openapi-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudquery/cloudquery-openapi-spec/versions/4af580f9023b/schema)
