Skip to content

RequestStatusResponseStatus

Defined in: packages/core/src/agent/agent/http/types.ts:109

Possible values for the request status in the IC state tree.

https://internetcomputer.org/docs/references/ic-interface-spec#state-tree-request-status

Done: "done"

Defined in: packages/core/src/agent/agent/http/types.ts:121

The IC has pruned the response data but remembers the request to prevent replay attacks.


Processing: "processing"

Defined in: packages/core/src/agent/agent/http/types.ts:113

The initial effect of the call has happened or will happen.


Received: "received"

Defined in: packages/core/src/agent/agent/http/types.ts:111

The call has made it past the endpoint into the IC’s state.


Rejected: "rejected"

Defined in: packages/core/src/agent/agent/http/types.ts:117

The call failed; reject code and message are available at /request_status/<id>/reject_code and /request_status/<id>/reject_message.


Replied: "replied"

Defined in: packages/core/src/agent/agent/http/types.ts:115

The call completed successfully; the reply is available at /request_status/<id>/reply.


Unknown: "unknown"

Defined in: packages/core/src/agent/agent/http/types.ts:119

The request status path is absent from the state tree, the request is unknown to the IC (never received or pruned after expiry).