v20

OpenAPI 3.1.0raw.githubusercontent.com2026-08-035471202.8 KB
Primitives

Read a resource

Reads a single resource by URI and returns its contents.

post/projects/{projectId}/servers/{serverId}/resources/read

Path parameters

projectIdstring required

ID of the hosted project that contains the server.

serverIdstring required

ID of the server inside the project.

Request body

uristring required

The resource URI, exactly as returned by the resources list.

Example request

{
  "uri": "file:///readme.md"
}

Response

The resource contents.