---
title: "Deprecated: the address of the web app running inside the session's pod [write]"
method: POST
path: "/sessions/{id}/studio"
deprecated: true
---

# Deprecated: the address of the web app running inside the session's pod \[write\]

`POST /sessions/{id}/studio`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/sessions/{id}/studio`
- Auth: HTTP bearer

> **Deprecated.**

Replaced by `PUT /sessions/{id}/ports/{port}` and `POST …/ports/{port}/grants`; kept for one release while the consumer app moves. Minted once per session and stable afterwards. `port` is what the app inside the pod listens on — 1024–65535, defaulting to the studio's own port. An archived session answers 400 session_archived.

## Path parameters

- `id` string, required

## Request body

- SessionStudioRequest
  - `port` integer: Omitted = the studio's default port

## Response `200`

OK

- SessionStudio
  - `url` string, required: https://studio-<token>.agentsky.dev — the token is the whole address
  - `port` integer, required

## Other responses

- `default`: Error — { error: { code, message, request_id } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 4 info
  - added the optional property `error/request_id` to the response with the `default` status
  - the response property `error` became required for the status `default`
  - the response property `error/code` became required for the status `default`
  - the response property `error/message` became required for the status `default`

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/sessions/:id/studio/post.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/8280a065ef6a?raw)
