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

> ## Agent Instructions
> Phaseo Gateway base URL: https://api.phaseo.app/v1. Send `Authorization: Bearer $PHASEO_API_KEY` with every request.
> Model IDs look like `provider/model`, for example `openai/gpt-6-astra`. Do not guess IDs: list them with `GET /v1/models` or check https://phaseo.app/models. `phaseo/free` routes to an available free model and needs no wallet balance.
> For new text integrations prefer `POST /v1/responses`. `POST /v1/chat/completions` (OpenAI format) and `POST /v1/messages` (Anthropic format) suit existing code.
> The full API contract is https://phaseo.app/docs/openapi/v1/openapi.yaml. Official SDKs: `@phaseo/sdk` (TypeScript) and `phaseo` (Python), plus Go, C#, PHP, Ruby and Rust.
> Search these docs over MCP at https://phaseo.app/docs/mcp, and install Phaseo skills with `npx skills add https://phaseo.app/docs`. If a page is wrong or out of date, report it with the MCP `submit_feedback` tool.
> Manage Phaseo accounts with the `phaseo` CLI (`npm install -g @phaseo/cli`, then `phaseo login` or `phaseo login --device-code`), the `/v1` Management API or the MCP server at `https://mcp.phaseo.app/mcp?access=manage`. Do not send users to the dashboard for account tasks. A person is still needed for sign-up, approving a sign-in, paying the first top-up on the checkout link that `phaseo credits add` returns when no card is saved, confirming each saved-card top-up from the emailed link, and account security (password, MFA, passkeys). Create API keys with `phaseo keys create --name <name> --json`; never guess one. Credit top-ups need `phaseo login --scopes billing:write` first. Task map: https://phaseo.app/docs/v1/developers/manage-from-an-agent.md.

# Open Requests in Chat

> Open a logged request or session turn in Chat, choose what to carry over, and continue the conversation with any model.

When Gateway I/O logs are on, Phaseo stores the prompt and response of each request. You can open any stored Chat Completions, Responses or Messages request in Chat, check how it rendered, and continue the conversation from there with the same model or a different one.

## Before you start

* Turn on **Store request and response payloads** in **Settings → Privacy**. Only requests made while it is on can be opened.
* When **Require zero data retention** is on, the workspace never stores prompts or responses. Neither do requests made with an API key whose guardrail requires zero data retention, or requests that set `require_zero_data_retention` themselves. Their requests can't be opened.
* Requests sent to the [regional endpoints](https://phaseo.app/docs/v1/guides/regional-routing.md) (`eu.api.phaseo.app` and `us.api.phaseo.app`) aren't stored, so they can't be opened.
* You need to be a member of the workspace the request belongs to. If **Who can view contents** is set to **Owners and admins**, only owners and admins can open its requests.

## Open a request

| Where | How |
| - | - |
| Request details | Select **Open in Chat** at the top of the details. |
| Request logs | Right-click a request and select **Open in Chat**. |
| Session details | Select **Open in Chat** to continue from the latest turn, or the chat icon on a row to continue from that turn. |

Each turn of a session already contains the conversation up to that point, so opening a turn opens everything before it as well.

The link Chat opens carries only the request ID, so you can share it with other members of the workspace. Chat loads the request again for whoever opens it, using their own access.

## Choose what to carry over

Before the chat is created, Chat shows what the request contains and what will be kept.

| Option | What it does |
| - | - |
| Pin the provider | Sends the continued turns to the provider that served the request. Off by default, so routing picks a provider as usual. |
| Parameters | Keeps temperature, maximum tokens, top-p and top-k, seed, penalties, reasoning and service tier. |
| System prompt | Keeps the request's system or developer instructions. |
| Server tools | Keeps the Phaseo server tools the request used, such as web search. |
| Function tools | Declares the request's own function tools so earlier tool calls stay valid. Chat can't run them. When they're left out, earlier tool calls and results are sent as text. |
| The logged response | Includes the response the request received. Leave it out to generate a new response to the same conversation. |

If the request's model isn't available in Chat, the chat uses your current model instead. You can change models after the chat opens.

## How the chat continues

* The request opens as a new chat with its own session ID, saved in your browser like any other chat. Continued turns don't join the original session in Logs.
* Messages you haven't edited are sent in their original form, so tool calls, tool results, images, audio and files are kept on the next turn. Edited and new messages are sent as text, as in any chat.
* You can switch models, compare several models side by side, branch or edit, as in any chat.
* Continued turns run in your active workspace and are billed like any other Chat request.

## What can't be carried over

Chat lists anything it couldn't carry over before you continue:

* Turns kept by the provider through `previous_response_id` or a conversation ID. Only the turns in the request itself are stored.
* Attachments sent by file ID or remote reference rather than inline.
* Responses that failed, were cut short, or offered several choices (only the first is kept).
* Tool calls that never received a result. These are sent as text.
* Content types Chat can't show, such as provider-specific blocks.

Requests too large to store, and requests whose stored content has expired or been deleted, can't be opened. Only text requests can be opened in Chat. Image, audio, video and embeddings requests can't.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.