> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mesa.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# changes.get()

> Get a change by ID.

Fetch a change and its path-level metadata.

**Required scope: `read`**

```ts theme={null}
const change = await mesa.changes.get({
  repo: 'app',
  change_id: 'zyxwvutsrqponmlkzyxwvutsrqponmlk',
});

console.log(change.files);
console.log(change.conflicts);
```

## Options

**repo** `string` *required*

Repository name.

**change\_id** `string` *required*

Change ID.

## Response

**id** `string`

Change ID.

**current\_commit\_oid** `string`

Current commit OID for the change.

**is\_conflicted** `boolean`

Whether the current commit still contains unresolved conflicts.

**message** `string`

Current change description. Empty string means the change has no description.

**authors** `CommitIdentity[]`

Complete ordered commit attribution. Every entry is an equal contributor.

**authored\_at** `string`

Shared ISO 8601 authored timestamp. The virtual root uses the Unix epoch.

**committer** `CommitSignature`

Committer identity. The virtual root has an empty name and email at the Unix epoch.

The deprecated REST `author` field is not returned by the SDK; read `authors` and `authored_at`.

**parents** `string[]`

Parent change IDs for this change.

**created\_at** `string`

Creation time.

**updated\_at** `string`

Last update time.

For Mesa's virtual root, `authors` is `[]` and the signature fields are empty at the Unix epoch. Check `authors.length` to detect the root.

**files** `string[]`

Repository-relative paths changed by this change.

**conflicts** `string[]`

Repository-relative paths that still contain unresolved conflicts.

### CommitIdentity

**name** `string`

Author display name.

**email** `string | null`

Author email address, or `null` when no email was supplied.

### CommitSignature

**name** `string`

Committer display name.

**email** `string`

Email address, or `""` when none was supplied. This string form is retained for compatibility.

**date** `string | undefined`

Timestamp for this signature when provided.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.