8090
_8090Read organization-wide usage and manage member, default, and on-demand spend limits in 8090 with an Organization Admin API key.
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ónReturn current-billing-period organization spend, commercial model, usage freshness, and self-serve included/on-demand usage details when applicable.
_8090_GET_ORGANIZATION_SPEND_STATUSAcciónReturn 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Organization Usage_8090_GET_ORGANIZATION_USAGEAcciónReturn 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.
_8090_GET_ORGANIZATION_USAGEAcciónReturn 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
dailybooleanWhether to split usage into separate UTC usage days.
cursorstringOpaque next_cursor from the preceding page; reuse it with the same filters, or omit it to start over.
user_idarrayUser IDs to include; use the literal 'none' to include usage that no user initiated.
end_datestringObligatoriodateLast 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_sizeintegerMaximum 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_datestringObligatoriodateFirst UTC usage date to include, in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List User Spend Limits_8090_LIST_USER_SPEND_LIMITSAcciónList current organization members with their individual, organization-default, and effective spend limits plus current-period spend; returns one page and a continuation cursor.
_8090_LIST_USER_SPEND_LIMITSAcciónList 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
cursorstringOpaque next_cursor from the preceding page; omit it to restart if the billing period or active member set changed.
page_sizeintegerMaximum members to return in this page (1-1000).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Lookup Organization Members_8090_LOOKUP_ORGANIZATION_MEMBERSAcciónResolve 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.
_8090_LOOKUP_ORGANIZATION_MEMBERSAcciónResolve 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[]ObligatorioEmail addresses to resolve. Each address may contain at most 320 characters; repeated addresses are looked up once.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove Default User Spend Limit_8090_REMOVE_DEFAULT_USER_SPEND_LIMITAcciónDelete 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.
_8090_REMOVE_DEFAULT_USER_SPEND_LIMITAcciónDelete 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove On-Demand Usage Limit_8090_REMOVE_ON_DEMAND_USAGE_LIMITAcciónDelete 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.
_8090_REMOVE_ON_DEMAND_USAGE_LIMITAcciónDelete 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove User Spend Limit_8090_REMOVE_USER_SPEND_LIMITAcciónDelete 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.
_8090_REMOVE_USER_SPEND_LIMITAcciónDelete 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_idstringObligatoriouuidSoftware Factory user ID of a current member whose individual spend-limit override will be removed.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Default User Spend Limit_8090_SET_DEFAULT_USER_SPEND_LIMITAcciónSet 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.
_8090_SET_DEFAULT_USER_SPEND_LIMITAcciónSet 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_usdanyObligatorioNon-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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set On-Demand Usage Limit_8090_SET_ON_DEMAND_USAGE_LIMITAcciónSet 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.
_8090_SET_ON_DEMAND_USAGE_LIMITAcciónSet 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_usdanyObligatorioNon-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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set User Spend Limit_8090_SET_USER_SPEND_LIMITAcciónSet 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.
_8090_SET_USER_SPEND_LIMITAcciónSet 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_idstringObligatoriouuidSoftware Factory user ID of a current member in the organization.
limit_usdanyObligatorioNon-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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not