> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/ai-dlc-insights/use-ai-dlc-insights/setup/integrations/bitbucket/metadata.md).

# Bitbucket Metadata

A complete list of metadata ingested by Harness AIDI from Bitbucket.

Harness SEI uses Rest APIs to connect to Bitbucket. Using these API calls, Harness SEI ingests metadata for commits and pull requests from Bitbucket.

#### Bitbucket commits <a href="#bitbucket-commits" id="bitbucket-commits"></a>

| Metadata                                                                                                                                                                                                                                                                                                             |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <ul><li>id</li><li>displayId</li><li>author</li><li>author</li><li>authorTimestamp</li><li>committer</li><li>committerTimestamp</li><li>message</li><li>projectName</li><li>repoName</li><li>commitUrl</li><li>additions</li><li>deletions</li><li>files</li><li>parents</li><li>pullRequests</li><li>tags</li></ul> |

#### Bitbucket pull requests <a href="#bitbucket-pull-requests" id="bitbucket-pull-requests"></a>

| Metadata                                                                                                                                                                                                                                                                                                                                                                                                   |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <ul><li>id</li><li>version</li><li>title</li><li>description</li><li>state</li><li>open</li><li>closed</li><li>creationDate</li><li>updatedDate</li><li>fromRef</li><li>toRef</li><li>author</li><li>reviewers</li><li>participants</li><li>links</li><li>properties</li><li>commits</li><li>activities</li><li>additions</li><li>deletions</li><li>files\_ct</li><li>merge\_commit</li><li>tags</li></ul> |

#### Bitbucket repositories <a href="#bitbucket-repositories" id="bitbucket-repositories"></a>

| Metadata                                                                                                                                                                                                                                                                                          |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <ul><li>slug</li><li>id</li><li>name</li><li>description</li><li>hierarchyId</li><li>scmId</li><li>state</li><li>statusMessage</li><li>forkable</li><li>project</li><li>public</li><li>links</li><li>defaultBranch</li><li>commits</li><li>pullRequests</li><li>properties</li><li>tags</li></ul> |

#### Bitbucket tags <a href="#bitbucket-tags" id="bitbucket-tags"></a>

| Metadata                                                                                                      |
| ------------------------------------------------------------------------------------------------------------- |
| <ul><li>id</li><li>displayId</li><li>type</li><li>latestCommit</li><li>latestChangeSet</li><li>hash</li></ul> |

{% @harness-feedback/feedback %}
