Bitbucket

Bitbucket logo

Bitbucket

This connector enables AI agents and RAG systems to retrieve context from Bitbucket through Airweave’s unified search layer.

Configuration

Bitbucket source connector integrates with the Bitbucket REST API to extract data.

Connects to your Bitbucket workspaces and repositories.

It supports syncing workspaces, repositories, directories, and code files with configurable filtering options for branches and file types.

Authentication

Supported authentication methods:

  • Direct Credentials
  • Auth Provider

Configuration Options

This connector does not have any additional configuration options.

Data Models

The following data models are available for this connector:

Schema for Bitbucket workspace entity.

FieldTypeDescription
uuidstrWorkspace UUID
display_namestrDisplay name of the workspace
created_onOptional[datetime]Workspace creation timestamp
slugstrWorkspace slug identifier
is_privateboolWhether the workspace is private
html_urlOptional[str]URL to view the workspace

Schema for Bitbucket repository entity.

FieldTypeDescription
uuidstrRepository UUID
repo_namestrRepository display name
created_ondatetimeRepository creation timestamp
updated_ondatetimeLast update timestamp
slugstrRepository slug
full_namestrFull repository name including workspace
descriptionOptional[str]Repository description
is_privateboolWhether the repository is private
fork_policyOptional[str]Fork policy of the repository
languageOptional[str]Primary language of the repository
sizeOptional[int]Size of the repository in bytes
mainbranchOptional[str]Main branch name
workspace_slugstrSlug of the parent workspace
html_urlOptional[str]URL to view the repository

Schema for Bitbucket directory entity.

FieldTypeDescription
path_idstrUnique identifier for the directory path
directory_namestrDisplay name of the directory
pathstrPath of the directory within the repository
branchOptional[str]Branch for this directory view
repo_slugstrSlug of the repository containing this directory
repo_full_namestrFull name of the repository
workspace_slugstrSlug of the workspace
html_urlOptional[str]URL to view the directory

Schema for Bitbucket code file entity.

FieldTypeDescription
file_idstrUnique identifier for the file path
file_namestrDisplay name of the file
branchOptional[str]Branch for this file version
commit_hashOptional[str]Commit hash of the file version
repo_slugstrSlug of the repository
repo_full_namestrFull name of the repository
workspace_slugstrSlug of the workspace
line_countOptional[int]Number of lines in the file