Claude Platform Docs

증액 요청

지출 한도 증액 요청 목록 조회
client.Organization.SpendLimits.IncreaseRequests.List(ctx, query) (*PageCursor[SpendLimitIncreaseRequest], error)
GET/v1/organizations/spend_limit_increase_requests

지출 한도 증액 요청 목록을 최신순으로 조회합니다.

지출 한도 증액 요청 조회
client.Organization.SpendLimits.IncreaseRequests.Get(ctx, spendLimitIncreaseRequestID) (*SpendLimitIncreaseRequest, error)
GET/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}

지출 한도 증액 요청을 조회합니다.

지출 한도 증액 요청 승인
client.Organization.SpendLimits.IncreaseRequests.Approve(ctx, spendLimitIncreaseRequestID, body) (*OrganizationSpendLimitIncreaseRequestApproveResponse, error)
POST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/approve

대기 중인 지출 한도 증액 요청을 승인합니다.

지출 한도 증액 요청 거부
client.Organization.SpendLimits.IncreaseRequests.Deny(ctx, spendLimitIncreaseRequestID, body) (*SpendLimitIncreaseRequest, error)
POST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/deny

대기 중인 지출 한도 증액 요청을 거부합니다.

Models
type SpendLimitIncreaseRequest struct { Type: "spend_limit_increase_request"; ID; Actor; /* 6 more */ }
type SpendLimitIncreaseRequestActorUnion interface{…}

Who submitted the increase request.

One of the following:
type SpendLimitUserActor struct { Type: "user_actor"; Deleted; EmailAddress; /* 2 more */ }

A user within the organization. name and email_address are null when the underlying account is unavailable or has been deleted; deleted is true only for deleted accounts.

Type UserActor

Actor type. Always user_actor.

defaultuser_actor
Deleted bool

True only when the underlying account has been deleted.

defaultfalse
EmailAddress string

The user's email address. Null when the account is unavailable or has been deleted.

Name string

The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

UserID string

Tagged ID of the user.

type SpendLimitScopedAPIKeyActor struct { Type: "scoped_api_key_actor"; ScopedAPIKeyID }

A scoped Admin API key acting on behalf of the organization.

Type ScopedAPIKeyActor
defaultscoped_api_key_actor
ScopedAPIKeyID string
type SpendLimitIncreaseRequestResolvedByUnion interface{…}

Who approved or denied the increase request.

One of the following:
type SpendLimitUserActor struct { Type: "user_actor"; Deleted; EmailAddress; /* 2 more */ }

A user within the organization. name and email_address are null when the underlying account is unavailable or has been deleted; deleted is true only for deleted accounts.

Type UserActor

Actor type. Always user_actor.

defaultuser_actor
Deleted bool

True only when the underlying account has been deleted.

defaultfalse
EmailAddress string

The user's email address. Null when the account is unavailable or has been deleted.

Name string

The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.

UserID string

Tagged ID of the user.

type SpendLimitScopedAPIKeyActor struct { Type: "scoped_api_key_actor"; ScopedAPIKeyID }

A scoped Admin API key acting on behalf of the organization.

Type ScopedAPIKeyActor
defaultscoped_api_key_actor
ScopedAPIKeyID string
type SpendLimitIncreaseRequestStatus string
One of the following:
const SpendLimitIncreaseRequestStatusApproved SpendLimitIncreaseRequestStatus = "approved"
const SpendLimitIncreaseRequestStatusDenied SpendLimitIncreaseRequestStatus = "denied"
const SpendLimitIncreaseRequestStatusPending SpendLimitIncreaseRequestStatus = "pending"