Request history and the linked grant state. List and detail reads include grant_state for approved requests. Decision responses record the decision. Read the request for current grant state.

Hierarchy

  • TemporaryGrantRequestAttributes

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
createdAt: Date

When the request was submitted.

decidedAt?: Date

When the decision or cancellation was recorded.

decidedByUserId?: string

UUID of the reviewer, or of the requester if the request was canceled.

entityKey: string

The requester identity resolved by the server.

expiresAt: Date

Immutable exclusive expiry, normalized to UTC microsecond precision.

Current state of the grant associated with an approved request. Replaced means a newer grant superseded this grant. The newer grant might no longer be active. This field is absent for requests that weren't approved.

justification: string

Reason for requesting temporary credits. Trimmed and limited to 4096 UTF-8 bytes.

quotaNamespace: string

The quota namespace. Only AI credits are supported.

requestedByUserId: string

UUID of the authenticated requester.

The durable request decision, independent of whether its grant is still active.

total: number

Target monthly AI credit limit in positive whole credits, not additional credits. Fractional credits are not accepted.

Generated using TypeDoc