# avatar.status

Source: https://docs.lightair.app/developers/remote-api/avatar.status

> Gives an avatar's model, whether it loaded, its expressions and costumes, and its current expression.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Avatars and co-host. Script plugins need the `project.read` permission.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `source` | `string` | no | The avatar's source id or name. Default: the only avatar in the workspace. |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `source` | `string` | no | Its source id. |
| `name` | `string` | no | Its name. |
| `file` | `string` | no | Its model file. |
| `library` | `{ id: string, name: string } | null` | no | Its library entry. |
| `expression` | `string` | no | The expression on; empty for none. |
| `loaded` | `boolean` | no | Whether the model loaded. |
| `model` | `string | null` | no | The model's name. |
| `error` | `string | null` | no | Why it didn't load. |
| `expressions` | `string[]` | no | Its expressions. |
| `costumes` | `string[]` | no | Its costumes. |
| `cohost` | `boolean` | no | Whether it's the AI co-host. |

## Errors

Not found (-32004) when the workspace has no avatar or the source doesn't exist. Invalid params (-32602) when there are several avatars and no `source`, or the source isn't an avatar.

## From an AI agent

The MCP server's `avatar (action: status)` reaches this method.

## Related

- [avatar.expression](https://docs.lightair.app/developers/remote-api/avatar.expression.md)
- [avatar.change](https://docs.lightair.app/developers/remote-api/avatar.change.md)
