> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Gateway Server Reply • AI Agent SDK

> GatewayServerReply: A client's correlated answer to a :class:`GatewayServerRequest`.

# GatewayServerReply

> Defined in the [**protocols**](../modules/protocols) module.

<Badge color="blue">AI Agent</Badge>

A client's correlated answer to a :class:`GatewayServerRequest`.

Attributes:
request\_id: The id of the request being answered.
value: `"allow"`/`"deny"` for approval, the chosen option for
choice, or the entered text for input.

## Properties

<ResponseField name="request_id" type="str">
  No description available.
</ResponseField>

<ResponseField name="value" type="str">
  No description available.
</ResponseField>

## Methods

<CardGroup cols={2}>
  <Card title="as_dict()" icon="function" href="../functions/GatewayServerReply-as_dict">
    Convert to a serializable dictionary.
  </Card>
</CardGroup>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L3532">
  `praisonaiagents/gateway/protocols.py` at line 3532
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Gateway Feature" icon="tower-broadcast" href="/docs/docs/features/gateway" />
</CardGroup>
