Claude Platform Docs

Permintaan Kenaikan

Daftar Permintaan Kenaikan Batas Pengeluaran
$client->organization->spendLimits->increaseRequests->list(?list<string> actorIDs, ?int limit, ?string page, ?list<SpendLimitIncreaseRequestStatus> status): PageCursor<SpendLimitIncreaseRequest>
GET/v1/organizations/spend_limit_increase_requests

Menampilkan daftar permintaan kenaikan batas pengeluaran, terbaru lebih dulu.

Dapatkan Permintaan Kenaikan Batas Pengeluaran
$client->organization->spendLimits->increaseRequests->retrieve(string spendLimitIncreaseRequestID): SpendLimitIncreaseRequest
GET/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}

Mengambil permintaan kenaikan batas pengeluaran.

Setujui Permintaan Kenaikan Batas Pengeluaran
$client->organization->spendLimits->increaseRequests->approve(string spendLimitIncreaseRequestID, string amount, ?SpendLimitPeriod period, ?bool suppressNotification): IncreaseRequestApproveResponse
POST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/approve

Menyetujui permintaan kenaikan batas pengeluaran yang tertunda.

Tolak Permintaan Kenaikan Batas Pengeluaran
$client->organization->spendLimits->increaseRequests->deny(string spendLimitIncreaseRequestID, ?bool suppressNotification): SpendLimitIncreaseRequest
POST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/deny

Menolak permintaan kenaikan batas pengeluaran yang tertunda.

Models
class SpendLimitIncreaseRequest { $type = 'spend_limit_increase_request'; $id; $actor; /* 6 more */ }
"spend_limit_increase_request" type
string id

Who submitted the increase request.

\Datetime createdAt
?\Datetime resolvedAt

Who approved or denied the increase request.

?SpendSummary spendSummary

Per-member effective-limit report row (GET /spend_limits/effective).

One of the following:
class SpendLimitUserActor { $type = 'user_actor'; $deleted; $emailAddress; /* 2 more */ }
"user_actor" type

Actor type. Always user_actor.

bool deleted

True only when the underlying account has been deleted.

?string emailAddress

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

?string name

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

string userID

Tagged ID of the user.

class SpendLimitScopedAPIKeyActor { $type = 'scoped_api_key_actor'; $scopedAPIKeyID; }
"scoped_api_key_actor" type
string scopedAPIKeyID
One of the following:
class SpendLimitUserActor { $type = 'user_actor'; $deleted; $emailAddress; /* 2 more */ }
"user_actor" type

Actor type. Always user_actor.

bool deleted

True only when the underlying account has been deleted.

?string emailAddress

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

?string name

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

string userID

Tagged ID of the user.

class SpendLimitScopedAPIKeyActor { $type = 'scoped_api_key_actor'; $scopedAPIKeyID; }
"scoped_api_key_actor" type
string scopedAPIKeyID
One of the following:
"approved"
"denied"
"pending"