Skip to main content
Table of Contents

Update build metadata API in Test Observability

Use this API to add more build tags to build runs that are already completed.

update build metadata

PATCH https://api-observability.browserstack.com/ext/v1/builds/{build_id}

Request parameters

No request parameters.

Request

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" -X PATCH -H "Content-Type: application/json" \
 https://api-observability.browserstack.com/ext/v1/builds/81yobvicuiuozd1bncaeegvubey7rbl8naevwets \
--header 'Content-Type: application/json' \
--data '{
   "build_tags": ["tag1", "tag2"]
}'

Response Attributes 200 OK JSON

Response

{
    "success": true,
    "message": "Build updated successfully"
}
  • success Boolean

    Returns true if the build was updated. Returns false if the build wasn’t updated.

  • message String

    A success message or error message depending on whether the build was updated.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback