Skip to content
OpenCode
Esc
navigateopen⌘Jpreview

List loaded locations

List locations currently loaded by the server.

GET/api/debug/location
Responses
200Success
Array of Location.Ref
directorystringrequired
workspaceIDobject
Show properties
object
400InvalidRequestError
_tagstringrequired
Allowed:InvalidRequestError
messagestringrequired
kindstring | any
Show properties
Any of:
string
string
any
any
fieldstring | any
Show properties
Any of:
string
string
any
any
401UnauthorizedError
_tagstringrequired
Allowed:UnauthorizedError
messagestringrequired
Request
curl -X GET "/api/debug/location"
Response
[
  {
    "directory": "string",
    "workspaceID": {}
  }
]