Volver al catálogo

8090

_8090

Read organization-wide usage and manage member, default, and on-demand spend limits in 8090 with an Organization Admin API key.

Acciones
10
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (10)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Get Organization Spend Status_8090_GET_ORGANIZATION_SPEND_STATUSAcción

Return current-billing-period organization spend, commercial model, usage freshness, and self-serve included/on-demand usage details when applicable.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Organization Usage_8090_GET_ORGANIZATION_USAGEAcción

Return organization-wide token usage and cost for an inclusive UTC date range of at most 31 days, optionally grouped and filtered; returns one page and a continuation cursor.

Parámetros de entrada

  • dailyboolean

    Whether to split usage into separate UTC usage days.

  • cursorstring

    Opaque next_cursor from the preceding page; reuse it with the same filters, or omit it to start over.

  • user_idarray

    User IDs to include; use the literal 'none' to include usage that no user initiated.

  • end_datestringObligatoriodate

    Last UTC usage date to include, in YYYY-MM-DD format; the inclusive range cannot exceed 31 days.

  • group_bystring[]

    Dimensions to group results by. Multiple values are sent as repeated group_by query parameters.

  • agent_keystring[]

    Agent keys to include; use the literal 'none' to include usage without an agent.

  • model_keystring[]

    Model keys to include; use the literal 'unknown' to include usage whose model cannot be identified.

  • page_sizeinteger

    Maximum usage records to return in this page (1-1000).

  • project_idstring[]

    Project IDs to include. Multiple values are sent as repeated project_id query parameters.

  • start_datestringObligatoriodate

    First UTC usage date to include, in YYYY-MM-DD format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List User Spend Limits_8090_LIST_USER_SPEND_LIMITSAcción

List current organization members with their individual, organization-default, and effective spend limits plus current-period spend; returns one page and a continuation cursor.

Parámetros de entrada

  • cursorstring

    Opaque next_cursor from the preceding page; omit it to restart if the billing period or active member set changed.

  • page_sizeinteger

    Maximum members to return in this page (1-1000).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Lookup Organization Members_8090_LOOKUP_ORGANIZATION_MEMBERSAcción

Resolve up to 100 email addresses to current organization member user IDs, returning both matches and addresses not found. Matching is case-insensitive and does not modify members.

Parámetros de entrada

  • emailsstring[]Obligatorio

    Email addresses to resolve. Each address may contain at most 320 characters; repeated addresses are looked up once.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove Default User Spend Limit_8090_REMOVE_DEFAULT_USER_SPEND_LIMITAcción

Delete the organization-wide default user spend limit. Every current and future member without an individual limit becomes unlimited; individual member limits remain unchanged. Repeating the removal succeeds when no default is set.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove On-Demand Usage Limit_8090_REMOVE_ON_DEMAND_USAGE_LIMITAcción

Delete the organization-wide self-serve on-demand usage cap, allowing unlimited spend beyond included usage unless another spend limit applies. This does not remove member-level or default-user limits. Enterprise organizations cannot use this action, and free trials cannot remove their required zero limit.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove User Spend Limit_8090_REMOVE_USER_SPEND_LIMITAcción

Delete one current organization member's individual spend-limit override; the member immediately falls back to the organization default, or becomes unlimited if no default exists. Repeating the removal succeeds while the user remains a member.

Parámetros de entrada

  • user_idstringObligatoriouuid

    Software Factory user ID of a current member whose individual spend-limit override will be removed.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Default User Spend Limit_8090_SET_DEFAULT_USER_SPEND_LIMITAcción

Set or replace the organization-wide default USD spend limit for every current and future member without an individual limit; 0 blocks model usage for all affected members.

Parámetros de entrada

  • limit_usdanyObligatorio

    Non-negative organization-default USD limit with at most two decimal places; do not use exponent notation. A value of 0 blocks all affected members' model usage.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set On-Demand Usage Limit_8090_SET_ON_DEMAND_USAGE_LIMITAcción

Set or replace the organization-wide cap on self-serve spend beyond included usage. This does not apply to enterprise organizations; during a free trial, only 0 is allowed.

Parámetros de entrada

  • limit_usdanyObligatorio

    Non-negative self-serve on-demand USD cap with at most two decimal places; do not use exponent notation. During a free trial this must be 0.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set User Spend Limit_8090_SET_USER_SPEND_LIMITAcción

Set or replace one current organization member's individual USD spend limit; this immediately changes that member's paid-model access, and a limit of 0 blocks all model usage.

Parámetros de entrada

  • user_idstringObligatoriouuid

    Software Factory user ID of a current member in the organization.

  • limit_usdanyObligatorio

    Non-negative USD limit with at most two decimal places; do not use exponent notation. A value of 0 blocks this member's model usage.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not