---
title: "POST /v1/companies/{company_code_or_sid}/groups/reservation-metrics"
method: POST
path: "/v1/companies/{company_code_or_sid}/groups/reservation-metrics"
tags: ["groups", "companies"]
---

# POST /v1/companies/{company_code_or_sid}/groups/reservation-metrics

`POST /v1/companies/{company_code_or_sid}/groups/reservation-metrics`

## Request

- Base URL: `https://api.prod-us.streem.cloud`
- URL: `https://api.prod-us.streem.cloud/v1/companies/{company_code_or_sid}/groups/reservation-metrics`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/streem/apis/streem-api/docs/v1/companies/:company_code_or_sid/groups/reservation-metrics/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `company_code_or_sid` string, required

## Request body

- StreemInternalApiSaveGroupAverageCallLengthRequest
  - `company_sid` string
  - `group_sid` string
  - `metrics` StreemInternalApiGroupReservationWaitMetrics
    - `average_call_length` GoogleProtobufDuration
      - `seconds` integer
      - `nanos` integer
    - `estimated_wait_time` GoogleProtobufDuration
      - `seconds` integer
      - `nanos` integer
    - `queue_position` integer
  - `update_type` 'WAIT_TIME_UPDATE_TYPE_CREATED' | 'WAIT_TIME_UPDATE_TYPE_REQUEUED' | 'WAIT_TIME_UPDATE_TYPE_POLLING' | 'WAIT_TIME_UPDATE_TYPE_USER_AVAILABILITY_UPDATED' | 'WAIT_TIME_UPDATE_TYPE_GROUP_RESERVATION_UPDATED' | 'WAIT_TIME_UPDATE_TYPE_INVALID'

## Response `default`

default response

- StreemInternalApiSaveGroupAverageCallLengthResponse
  - `metrics` StreemInternalApiGroupReservationWaitMetrics
    - `average_call_length` GoogleProtobufDuration
      - `seconds` integer
      - `nanos` integer
    - `estimated_wait_time` GoogleProtobufDuration
      - `seconds` integer
      - `nanos` integer
    - `queue_position` integer

---

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