Skip to main content

Get Organization Usage Handler

GET 

/v1/organization/:organization_id_or_slug/usage2

Fetches the organization usage for the given period.

Request

Path Parameters

    organization_id_or_slug Organization Id Or Slugrequired

Query Parameters

    billing_period any

    The exact start date of the period to fetch usage for.

    offset_number Offset Number

    Default value: 0

    limit any

Responses

Successful Response

Schema

    plan_type Plan Type (string)required

    billing_period

    object

    required

    anyOf

    string

    text_tokens

    object

    required

    used Used (integer)

    Default value: 0

    total units used

    offered

    object

    units included in plan

    anyOf

    integer

    unit_price

    object

    price per unit of usage over included amount

    anyOf

    number

    unit_price_str

    object

    exact price per unit as a string

    anyOf

    string

    billable

    object

    billable overage price in USD

    anyOf

    string

    image_embeddings

    object

    required

    used Used (integer)

    Default value: 0

    total units used

    offered

    object

    units included in plan

    anyOf

    integer

    unit_price

    object

    price per unit of usage over included amount

    anyOf

    number

    unit_price_str

    object

    exact price per unit as a string

    anyOf

    string

    billable

    object

    billable overage price in USD

    anyOf

    string

    seats

    object

    required

    used Used (integer)

    Default value: 0

    total units used

    offered

    object

    units included in plan

    anyOf

    integer

    unit_price

    object

    price per unit of usage over included amount

    anyOf

    number

    unit_price_str

    object

    exact price per unit as a string

    anyOf

    string

    billable

    object

    billable overage price in USD

    anyOf

    string

    storage

    object

    required

    used Used (integer)

    Default value: 0

    total units used

    offered

    object

    units included in plan

    anyOf

    integer

    unit_price

    object

    price per unit of usage over included amount

    anyOf

    number

    unit_price_str

    object

    exact price per unit as a string

    anyOf

    string

    billable

    object

    billable overage price in USD

    anyOf

    string

Loading...