Skip to content

listBots API does not return botUser field #25878

@PHIL-FIELDING

Description

@PHIL-FIELDING

Affected module
Backend, Python SDK only.

Describe the bug
listBots API = /bots 
I am calling the listBots API as a workaround for this issue (unable to retrieve bots via list_all_items). The data returned by /bots does not include botUser, even when adding ?fields=botUser to the path. The Swagger docs indicate that botUser should be included in the results.

To Reproduce
Basic API call. Makes no difference whether fields is present.

path = "/bots?fields=botUser"
bots_payload = self.om_server.client.get(path=path)

Example data returned from /bots for one bot:

{'id': '25774bc1-f6c5-49d1-9b16-27004da4d5af', 'name': 'ingestion-bot', 
'fullyQualifiedName': 'ingestion-bot', 'displayName': 'IngestionBot', 
'description': 'Bot used for ingesting metadata.', 'provider': 'system', 
'version': 0.1, 'updatedAt': 1770906449765, 'updatedBy': 'admin', 
'href': 'http://localhost:8585/v1/bots/25774bc1-f6c5-49d1-9b16-27004da4d5af', 'deleted': False}

Expected behavior
Returned data should include botUser as indicated in the Swagger docs.

Version:

  • OS: macOS Tahoe 26.3 (25D125)
  • Python version: 3.11.13
  • OpenMetadata version: 1.11.7
  • OpenMetadata Ingestion package version: openmetadata-ingestion[bigquery,postgres,dbt,looker,presidio-analyzer]==1.11.7.0

Additional context
Nothing.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions