---
title: "Classify a path as a workspace file, a session artifact, or neither"
method: GET
path: "/api/v1/sessions/{sessionId}/workspace/resolve"
tags: ["sessions"]
---

# Classify a path as a workspace file, a session artifact, or neither

`GET /api/v1/sessions/{sessionId}/workspace/resolve`

## Request

- Base URL: `http://127.0.0.1:3001`
- URL: `http://127.0.0.1:3001/api/v1/sessions/{sessionId}/workspace/resolve`
- Auth: none declared

## Path parameters

- `sessionId` string, required: Session identifier, e.g. project-1.

## Query parameters

- `path` string, required: Absolute or workspace-relative file path to classify.

## Response `200`

OK

- WorkspacePathResolutionResponse
  - `kind` 'workspace' | 'artifact' | 'outside', required
  - `path` string, required
  - `sessionId` string, required

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error
- `501`: Not Implemented

## Changes

- **2026-10-21** `8f160e6183cd`: 4 info
  - removed the `agent_switch_saga` enum value from the `reporting_owner` response property for the response status `400`
  - removed the `agent_switch_saga` enum value from the `reporting_owner` response property for the response status `404`
  - removed the `agent_switch_saga` enum value from the `reporting_owner` response property for the response status `500`
  - removed the `agent_switch_saga` enum value from the `reporting_owner` response property for the response status `501`
- **2026-10-13** `e3a8de296fce`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/changes/api/v1/sessions/:sessionId/workspace/resolve/get.md)

---

[API](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon.md) - [All operations](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) - [OpenAPI document](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/revisions/61d7efd08578?raw)
