지출 한도 조회
GET/v1/organizations/spend_limits/{spend_limit_id}
ID로 지출 한도를 조회합니다.
Parameters
Returns
지출 한도 조회
using System;
using Anthropic.Models.Beta.Organization.SpendLimits;
SpendLimitRetrieveParams parameters = new() { SpendLimitID = "spend_limit_id" };
var betaSpendLimit = await client.Beta.Organization.SpendLimits.Retrieve(parameters);
Console.WriteLine(betaSpendLimit);Response 200
{
"id": "id",
"amount": "50000",
"created_at": "2019-12-27T18:11:19.117Z",
"currency": "USD",
"is_enabled": true,
"period": "daily",
"scope": {
"type": "user",
"user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
},
"type": "spend_limit",
"updated_at": "2019-12-27T18:11:19.117Z"
}Returns Examples
Response 200
{
"id": "id",
"amount": "50000",
"created_at": "2019-12-27T18:11:19.117Z",
"currency": "USD",
"is_enabled": true,
"period": "daily",
"scope": {
"type": "user",
"user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
},
"type": "spend_limit",
"updated_at": "2019-12-27T18:11:19.117Z"
}