# Get

Launch stage: GA

`GET /api/2.0/workspace/get-status`

Gets the status of an object or a directory.
 If `path` does not exist, this call returns an error `RESOURCE_DOES_NOT_EXIST`.

API scopes: workspace

## Query parameters

- `path` (string, optional)
  The absolute path of the notebook or directory.

## Returns

Returns the ObjectInfo object.

## Response

```json
{
  "object_type": "string",
  "path": "string",
  "language": "string",
  "created_at": 0,
  "modified_at": 0,
  "object_id": 0,
  "size": 0,
  "resource_id": "string",
  "directory_info": {
    "is_git_folder": true
  }
}
```

