{
  "info": {
    "_postman_id": "bbbd54b4-bc54-4625-a07a-667c03c2af66",
    "name": "Bitbucket Addon Search API",
    "description": "Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework.\n\nContact Support:\n Name: Bitbucket Support\n Email: support@bitbucket.org",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:14:42.000Z",
    "updatedAt": "2026-07-28T01:14:43.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-bbbd54b4-bc54-4625-a07a-667c03c2af66"
  },
  "item": [
    {
      "name": "teams",
      "item": [
        {
          "name": "{username}",
          "item": [
            {
              "name": "search",
              "item": [
                {
                  "name": "code",
                  "item": [
                    {
                      "name": "Search for code in a team's repositories",
                      "id": "666af1c5-0c13-41d3-97ba-cb3d7a1d0fdb",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "repository repository:write repository:admin repository:delete project project:admin email account account:write team team:write pipeline pipeline:write pipeline:variable runner runner:write test test:write pullrequest pullrequest:write webhook issue issue:write snippet snippet:write wiki",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://bitbucket.org/site/oauth2/access_token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://bitbucket.org/site/oauth2/authorize",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/teams/:username/search/code?search_query=<string>&page=1&pagelen=10",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "teams",
                            ":username",
                            "search",
                            "code"
                          ],
                          "query": [
                            {
                              "description": "(Required) The search query",
                              "key": "search_query",
                              "value": "<string>"
                            },
                            {
                              "description": "Which page of the search results to retrieve",
                              "key": "page",
                              "value": "1"
                            },
                            {
                              "description": "How many search results to retrieve per page",
                              "key": "pagelen",
                              "value": "10"
                            }
                          ],
                          "variable": [
                            {
                              "id": "ece7dd99-f91c-43e5-a692-9ed25199d17e",
                              "key": "username",
                              "value": "<string>",
                              "description": "(Required) The account to search in; either the username or the UUID in curly braces"
                            }
                          ]
                        },
                        "description": "Search for code in the repositories of the specified team.\n\nNote that searches can match in the file's text (`content_matches`),\nthe path (`path_matches`), or both.\n\nYou can use the same syntax for the search query as in the UI.\nE.g. to search for \"foo\" only within the repository \"demo\",\nuse the query parameter `search_query=foo+repo:demo`.\n\nSimilar to other APIs, you can request more fields using a\n`fields` query parameter. E.g. to get some more information about\nthe repository of matched files, use the query parameter\n`search_query=foo&fields=%2Bvalues.file.commit.repository`\n(the `%2B` is a URL-encoded `+`).\n\nTry `fields=%2Bvalues.*.*.*.*` to get an idea what's possible.\n"
                      },
                      "response": [
                        {
                          "id": "949a4f66-4790-4cea-a44e-e7f93e6621d9",
                          "name": "Successful search",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/teams/:username/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "teams",
                                ":username",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"size\": \"<long>\",\n  \"page\": \"<integer>\",\n  \"pagelen\": \"<integer>\",\n  \"query_substituted\": \"<boolean>\",\n  \"next\": \"<uri>\",\n  \"previous\": \"<uri>\",\n  \"values\": [\n    {\n      \"type\": \"<string>\",\n      \"content_match_count\": \"<long>\",\n      \"content_matches\": [\n        {\n          \"lines\": [\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            },\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            }\n          ]\n        },\n        {\n          \"lines\": [\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            },\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            }\n          ]\n        }\n      ],\n      \"path_matches\": [\n        {\n          \"text\": \"<string>\",\n          \"match\": \"<boolean>\"\n        },\n        {\n          \"text\": \"<string>\",\n          \"match\": \"<boolean>\"\n        }\n      ],\n      \"file\": {\n        \"type\": \"<string>\",\n        \"path\": \"<string>\",\n        \"commit\": {\n          \"type\": \"<string>\",\n          \"hash\": \"\",\n          \"date\": \"<dateTime>\",\n          \"author\": {\n            \"type\": \"<string>\",\n            \"raw\": \"<string>\",\n            \"user\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"consectetur83\": 74069383,\n                \"occaecat_d42\": 61547061.4536449,\n                \"mollit_d7b\": -41287669.364308454\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            }\n          },\n          \"committer\": {\n            \"type\": \"<string>\",\n            \"raw\": \"<string>\",\n            \"user\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"nullaef_\": 73057317.86176848\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            }\n          },\n          \"message\": \"<string>\",\n          \"summary\": {\n            \"raw\": \"<string>\",\n            \"markup\": \"creole\",\n            \"html\": \"<string>\"\n          },\n          \"parents\": [\n            {\n              \"value\": \"<Circular reference to #/components/schemas/base_commit detected>\"\n            },\n            {\n              \"value\": \"<Circular reference to #/components/schemas/base_commit detected>\"\n            }\n          ],\n          \"repository\": {\n            \"type\": \"<string>\",\n            \"links\": {\n              \"self\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"html\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"avatar\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"pullrequests\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"commits\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"forks\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"watchers\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"downloads\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"clone\": [\n                {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              ],\n              \"hooks\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              }\n            },\n            \"uuid\": \"<string>\",\n            \"full_name\": \"<string>\",\n            \"is_private\": \"<boolean>\",\n            \"parent\": {\n              \"value\": \"<Circular reference to #/components/schemas/repository detected>\"\n            },\n            \"scm\": \"git\",\n            \"owner\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"amet44\": true,\n                \"uta\": -30417881\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            },\n            \"name\": \"<string>\",\n            \"description\": \"<string>\",\n            \"created_on\": \"<dateTime>\",\n            \"updated_on\": \"<dateTime>\",\n            \"size\": \"<integer>\",\n            \"language\": \"<string>\",\n            \"has_issues\": \"<boolean>\",\n            \"has_wiki\": \"<boolean>\",\n            \"fork_policy\": \"no_public_forks\",\n            \"project\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"html\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              },\n              \"uuid\": \"<string>\",\n              \"key\": \"<string>\",\n              \"owner\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"self\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"html\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"members\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"projects\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"repositories\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  }\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"name\": \"<string>\",\n              \"description\": \"<string>\",\n              \"is_private\": \"<boolean>\",\n              \"created_on\": \"<dateTime>\",\n              \"updated_on\": \"<dateTime>\",\n              \"has_publicly_visible_repos\": \"<boolean>\"\n            },\n            \"mainbranch\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"self\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"commits\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"html\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              },\n              \"name\": \"<string>\",\n              \"target\": {\n                \"value\": \"<Circular reference to #/components/schemas/commit detected>\"\n              },\n              \"merge_strategies\": [\n                \"rebase_fast_forward\",\n                \"rebase_merge\"\n              ],\n              \"default_merge_strategy\": \"<string>\"\n            }\n          },\n          \"participants\": [\n            {\n              \"type\": \"<string>\",\n              \"user\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"sint317\": \"irure enim Ut dolore ut\",\n                  \"Lorem2\": 68784661.42924443\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"role\": \"REVIEWER\",\n              \"approved\": \"<boolean>\",\n              \"state\": \"undefined\",\n              \"participated_on\": \"<dateTime>\"\n            },\n            {\n              \"type\": \"<string>\",\n              \"user\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"veniam86\": \"labore consequat aliqua eiusmod pariatur\",\n                  \"ex_153\": -44999133.466216534\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"role\": \"REVIEWER\",\n              \"approved\": \"<boolean>\",\n              \"state\": \"changes_requested\",\n              \"participated_on\": \"<dateTime>\"\n            }\n          ]\n        },\n        \"attributes\": \"lfs\",\n        \"escaped_path\": \"<string>\"\n      }\n    },\n    {\n      \"type\": \"<string>\",\n      \"content_match_count\": \"<long>\",\n      \"content_matches\": [\n        {\n          \"lines\": [\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            },\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            }\n          ]\n        },\n        {\n          \"lines\": [\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            },\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            }\n          ]\n        }\n      ],\n      \"path_matches\": [\n        {\n          \"text\": \"<string>\",\n          \"match\": \"<boolean>\"\n        },\n        {\n          \"text\": \"<string>\",\n          \"match\": \"<boolean>\"\n        }\n      ],\n      \"file\": {\n        \"type\": \"<string>\",\n        \"path\": \"<string>\",\n        \"commit\": {\n          \"type\": \"<string>\",\n          \"hash\": \"\",\n          \"date\": \"<dateTime>\",\n          \"author\": {\n            \"type\": \"<string>\",\n            \"raw\": \"<string>\",\n            \"user\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"Ut982\": \"consectetur ea incididunt et est\",\n                \"proident6\": 32600461\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            }\n          },\n          \"committer\": {\n            \"type\": \"<string>\",\n            \"raw\": \"<string>\",\n            \"user\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"velit_f1\": false\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            }\n          },\n          \"message\": \"<string>\",\n          \"summary\": {\n            \"raw\": \"<string>\",\n            \"markup\": \"plaintext\",\n            \"html\": \"<string>\"\n          },\n          \"parents\": [\n            {\n              \"value\": \"<Circular reference to #/components/schemas/base_commit detected>\"\n            },\n            {\n              \"value\": \"<Circular reference to #/components/schemas/base_commit detected>\"\n            }\n          ],\n          \"repository\": {\n            \"type\": \"<string>\",\n            \"links\": {\n              \"self\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"html\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"avatar\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"pullrequests\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"commits\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"forks\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"watchers\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"downloads\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"clone\": [\n                {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              ],\n              \"hooks\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              }\n            },\n            \"uuid\": \"<string>\",\n            \"full_name\": \"<string>\",\n            \"is_private\": \"<boolean>\",\n            \"parent\": {\n              \"value\": \"<Circular reference to #/components/schemas/repository detected>\"\n            },\n            \"scm\": \"git\",\n            \"owner\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"incididunt0c\": -85176016\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            },\n            \"name\": \"<string>\",\n            \"description\": \"<string>\",\n            \"created_on\": \"<dateTime>\",\n            \"updated_on\": \"<dateTime>\",\n            \"size\": \"<integer>\",\n            \"language\": \"<string>\",\n            \"has_issues\": \"<boolean>\",\n            \"has_wiki\": \"<boolean>\",\n            \"fork_policy\": \"no_forks\",\n            \"project\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"html\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              },\n              \"uuid\": \"<string>\",\n              \"key\": \"<string>\",\n              \"owner\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"self\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"html\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"members\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"projects\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"repositories\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  }\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"name\": \"<string>\",\n              \"description\": \"<string>\",\n              \"is_private\": \"<boolean>\",\n              \"created_on\": \"<dateTime>\",\n              \"updated_on\": \"<dateTime>\",\n              \"has_publicly_visible_repos\": \"<boolean>\"\n            },\n            \"mainbranch\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"self\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"commits\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"html\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              },\n              \"name\": \"<string>\",\n              \"target\": {\n                \"value\": \"<Circular reference to #/components/schemas/commit detected>\"\n              },\n              \"merge_strategies\": [\n                \"merge_commit\",\n                \"rebase_merge\"\n              ],\n              \"default_merge_strategy\": \"<string>\"\n            }\n          },\n          \"participants\": [\n            {\n              \"type\": \"<string>\",\n              \"user\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"dolore7\": false,\n                  \"Ut_6a\": \"elit incididunt\"\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"role\": \"PARTICIPANT\",\n              \"approved\": \"<boolean>\",\n              \"state\": \"approved\",\n              \"participated_on\": \"<dateTime>\"\n            },\n            {\n              \"type\": \"<string>\",\n              \"user\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"culpa_a\": true\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"role\": \"REVIEWER\",\n              \"approved\": \"<boolean>\",\n              \"state\": \"approved\",\n              \"participated_on\": \"<dateTime>\"\n            }\n          ]\n        },\n        \"attributes\": \"subrepository\",\n        \"escaped_path\": \"<string>\"\n      }\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T01:14:43.000Z",
                          "updatedAt": "2026-07-28T01:14:43.000Z",
                          "uid": "35240-949a4f66-4790-4cea-a44e-e7f93e6621d9"
                        },
                        {
                          "id": "d565dc89-b1c0-4786-a310-7beaafa4dfa1",
                          "name": "If the search request was invalid due to one of the\nfollowing reasons:\n\n* the specified type of target account doesn''t match the actual\naccount type;\n\n* malformed pagination properties;\n\n* missing or malformed search query, in the latter case an error\nke",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/teams/:username/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "teams",
                                ":username",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"type\": \"<string>\",\n  \"error\": {\n    \"message\": \"<string>\",\n    \"detail\": \"<string>\",\n    \"data\": {\n      \"eiusmod3\": \"ad aliquip\",\n      \"in34e\": -29145240\n    }\n  }\n}",
                          "createdAt": "2026-07-28T01:14:43.000Z",
                          "updatedAt": "2026-07-28T01:14:43.000Z",
                          "uid": "35240-d565dc89-b1c0-4786-a310-7beaafa4dfa1"
                        },
                        {
                          "id": "5ba2c8cf-8b64-411b-b1ad-d116cc5f9a37",
                          "name": "Search is not enabled for the requested team, navigate to [https://bitbucket.org/search](https://bitbucket.org/search) to turn it on",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/teams/:username/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "teams",
                                ":username",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"type\": \"<string>\",\n  \"error\": {\n    \"message\": \"<string>\",\n    \"detail\": \"<string>\",\n    \"data\": {\n      \"eiusmod3\": \"ad aliquip\",\n      \"in34e\": -29145240\n    }\n  }\n}",
                          "createdAt": "2026-07-28T01:14:43.000Z",
                          "updatedAt": "2026-07-28T01:14:43.000Z",
                          "uid": "35240-5ba2c8cf-8b64-411b-b1ad-d116cc5f9a37"
                        },
                        {
                          "id": "73eacddd-5c68-4992-bc6d-b5bf8830ff56",
                          "name": "Too many requests, try again later",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/teams/:username/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "teams",
                                ":username",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "username"
                                }
                              ]
                            }
                          },
                          "status": "Too Many Requests",
                          "code": 429,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"type\": \"<string>\",\n  \"error\": {\n    \"message\": \"<string>\",\n    \"detail\": \"<string>\",\n    \"data\": {\n      \"eiusmod3\": \"ad aliquip\",\n      \"in34e\": -29145240\n    }\n  }\n}",
                          "createdAt": "2026-07-28T01:14:43.000Z",
                          "updatedAt": "2026-07-28T01:14:43.000Z",
                          "uid": "35240-73eacddd-5c68-4992-bc6d-b5bf8830ff56"
                        }
                      ],
                      "createdAt": "2026-07-28T01:14:43.000Z",
                      "updatedAt": "2026-07-28T01:14:43.000Z",
                      "uid": "35240-666af1c5-0c13-41d3-97ba-cb3d7a1d0fdb"
                    }
                  ],
                  "id": "128f9322-cc5d-46e5-891d-5fa71fa1f551",
                  "createdAt": "2026-07-28T01:14:43.000Z",
                  "updatedAt": "2026-07-28T01:14:43.000Z",
                  "uid": "35240-128f9322-cc5d-46e5-891d-5fa71fa1f551"
                }
              ],
              "id": "ed14e766-1cf1-4777-bee5-bf50cba06c21",
              "createdAt": "2026-07-28T01:14:43.000Z",
              "updatedAt": "2026-07-28T01:14:43.000Z",
              "uid": "35240-ed14e766-1cf1-4777-bee5-bf50cba06c21"
            }
          ],
          "id": "e75e62d8-bfca-450a-bcae-1c33a83e0244",
          "createdAt": "2026-07-28T01:14:43.000Z",
          "updatedAt": "2026-07-28T01:14:43.000Z",
          "uid": "35240-e75e62d8-bfca-450a-bcae-1c33a83e0244"
        }
      ],
      "id": "bd4b8e30-a5ef-4526-ab13-c975376c1c80",
      "createdAt": "2026-07-28T01:14:43.000Z",
      "updatedAt": "2026-07-28T01:14:43.000Z",
      "uid": "35240-bd4b8e30-a5ef-4526-ab13-c975376c1c80"
    },
    {
      "name": "users",
      "item": [
        {
          "name": "{selected_user}",
          "item": [
            {
              "name": "search",
              "item": [
                {
                  "name": "code",
                  "item": [
                    {
                      "name": "Search for code in a user's repositories",
                      "id": "393221c7-d722-4422-b5e4-c32155c9a75d",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "repository repository:write repository:admin repository:delete project project:admin email account account:write team team:write pipeline pipeline:write pipeline:variable runner runner:write test test:write pullrequest pullrequest:write webhook issue issue:write snippet snippet:write wiki",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://bitbucket.org/site/oauth2/access_token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://bitbucket.org/site/oauth2/authorize",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/users/:selected_user/search/code?search_query=<string>&page=1&pagelen=10",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "users",
                            ":selected_user",
                            "search",
                            "code"
                          ],
                          "query": [
                            {
                              "description": "(Required) The search query",
                              "key": "search_query",
                              "value": "<string>"
                            },
                            {
                              "description": "Which page of the search results to retrieve",
                              "key": "page",
                              "value": "1"
                            },
                            {
                              "description": "How many search results to retrieve per page",
                              "key": "pagelen",
                              "value": "10"
                            }
                          ],
                          "variable": [
                            {
                              "id": "1292443a-ca6b-41ab-9444-8f8eacab6cf2",
                              "key": "selected_user",
                              "value": "<string>",
                              "description": "(Required) Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
                            }
                          ]
                        },
                        "description": "Search for code in the repositories of the specified user.\n\nNote that searches can match in the file's text (`content_matches`),\nthe path (`path_matches`), or both.\n\nYou can use the same syntax for the search query as in the UI.\nE.g. to search for \"foo\" only within the repository \"demo\",\nuse the query parameter `search_query=foo+repo:demo`.\n\nSimilar to other APIs, you can request more fields using a\n`fields` query parameter. E.g. to get some more information about\nthe repository of matched files, use the query parameter\n`search_query=foo&fields=%2Bvalues.file.commit.repository`\n(the `%2B` is a URL-encoded `+`).\n"
                      },
                      "response": [
                        {
                          "id": "c5a44e1e-4fd8-463f-9b73-4b3880176e11",
                          "name": "Successful search",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/users/:selected_user/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "users",
                                ":selected_user",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "selected_user"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"size\": \"<long>\",\n  \"page\": \"<integer>\",\n  \"pagelen\": \"<integer>\",\n  \"query_substituted\": \"<boolean>\",\n  \"next\": \"<uri>\",\n  \"previous\": \"<uri>\",\n  \"values\": [\n    {\n      \"type\": \"<string>\",\n      \"content_match_count\": \"<long>\",\n      \"content_matches\": [\n        {\n          \"lines\": [\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            },\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            }\n          ]\n        },\n        {\n          \"lines\": [\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            },\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            }\n          ]\n        }\n      ],\n      \"path_matches\": [\n        {\n          \"text\": \"<string>\",\n          \"match\": \"<boolean>\"\n        },\n        {\n          \"text\": \"<string>\",\n          \"match\": \"<boolean>\"\n        }\n      ],\n      \"file\": {\n        \"type\": \"<string>\",\n        \"path\": \"<string>\",\n        \"commit\": {\n          \"type\": \"<string>\",\n          \"hash\": \"\",\n          \"date\": \"<dateTime>\",\n          \"author\": {\n            \"type\": \"<string>\",\n            \"raw\": \"<string>\",\n            \"user\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"consectetur83\": 74069383,\n                \"occaecat_d42\": 61547061.4536449,\n                \"mollit_d7b\": -41287669.364308454\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            }\n          },\n          \"committer\": {\n            \"type\": \"<string>\",\n            \"raw\": \"<string>\",\n            \"user\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"nullaef_\": 73057317.86176848\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            }\n          },\n          \"message\": \"<string>\",\n          \"summary\": {\n            \"raw\": \"<string>\",\n            \"markup\": \"creole\",\n            \"html\": \"<string>\"\n          },\n          \"parents\": [\n            {\n              \"value\": \"<Circular reference to #/components/schemas/base_commit detected>\"\n            },\n            {\n              \"value\": \"<Circular reference to #/components/schemas/base_commit detected>\"\n            }\n          ],\n          \"repository\": {\n            \"type\": \"<string>\",\n            \"links\": {\n              \"self\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"html\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"avatar\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"pullrequests\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"commits\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"forks\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"watchers\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"downloads\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"clone\": [\n                {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              ],\n              \"hooks\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              }\n            },\n            \"uuid\": \"<string>\",\n            \"full_name\": \"<string>\",\n            \"is_private\": \"<boolean>\",\n            \"parent\": {\n              \"value\": \"<Circular reference to #/components/schemas/repository detected>\"\n            },\n            \"scm\": \"git\",\n            \"owner\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"amet44\": true,\n                \"uta\": -30417881\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            },\n            \"name\": \"<string>\",\n            \"description\": \"<string>\",\n            \"created_on\": \"<dateTime>\",\n            \"updated_on\": \"<dateTime>\",\n            \"size\": \"<integer>\",\n            \"language\": \"<string>\",\n            \"has_issues\": \"<boolean>\",\n            \"has_wiki\": \"<boolean>\",\n            \"fork_policy\": \"no_public_forks\",\n            \"project\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"html\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              },\n              \"uuid\": \"<string>\",\n              \"key\": \"<string>\",\n              \"owner\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"self\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"html\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"members\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"projects\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"repositories\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  }\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"name\": \"<string>\",\n              \"description\": \"<string>\",\n              \"is_private\": \"<boolean>\",\n              \"created_on\": \"<dateTime>\",\n              \"updated_on\": \"<dateTime>\",\n              \"has_publicly_visible_repos\": \"<boolean>\"\n            },\n            \"mainbranch\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"self\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"commits\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"html\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              },\n              \"name\": \"<string>\",\n              \"target\": {\n                \"value\": \"<Circular reference to #/components/schemas/commit detected>\"\n              },\n              \"merge_strategies\": [\n                \"rebase_fast_forward\",\n                \"rebase_merge\"\n              ],\n              \"default_merge_strategy\": \"<string>\"\n            }\n          },\n          \"participants\": [\n            {\n              \"type\": \"<string>\",\n              \"user\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"sint317\": \"irure enim Ut dolore ut\",\n                  \"Lorem2\": 68784661.42924443\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"role\": \"REVIEWER\",\n              \"approved\": \"<boolean>\",\n              \"state\": \"undefined\",\n              \"participated_on\": \"<dateTime>\"\n            },\n            {\n              \"type\": \"<string>\",\n              \"user\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"veniam86\": \"labore consequat aliqua eiusmod pariatur\",\n                  \"ex_153\": -44999133.466216534\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"role\": \"REVIEWER\",\n              \"approved\": \"<boolean>\",\n              \"state\": \"changes_requested\",\n              \"participated_on\": \"<dateTime>\"\n            }\n          ]\n        },\n        \"attributes\": \"lfs\",\n        \"escaped_path\": \"<string>\"\n      }\n    },\n    {\n      \"type\": \"<string>\",\n      \"content_match_count\": \"<long>\",\n      \"content_matches\": [\n        {\n          \"lines\": [\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            },\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            }\n          ]\n        },\n        {\n          \"lines\": [\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            },\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            }\n          ]\n        }\n      ],\n      \"path_matches\": [\n        {\n          \"text\": \"<string>\",\n          \"match\": \"<boolean>\"\n        },\n        {\n          \"text\": \"<string>\",\n          \"match\": \"<boolean>\"\n        }\n      ],\n      \"file\": {\n        \"type\": \"<string>\",\n        \"path\": \"<string>\",\n        \"commit\": {\n          \"type\": \"<string>\",\n          \"hash\": \"\",\n          \"date\": \"<dateTime>\",\n          \"author\": {\n            \"type\": \"<string>\",\n            \"raw\": \"<string>\",\n            \"user\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"Ut982\": \"consectetur ea incididunt et est\",\n                \"proident6\": 32600461\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            }\n          },\n          \"committer\": {\n            \"type\": \"<string>\",\n            \"raw\": \"<string>\",\n            \"user\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"velit_f1\": false\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            }\n          },\n          \"message\": \"<string>\",\n          \"summary\": {\n            \"raw\": \"<string>\",\n            \"markup\": \"plaintext\",\n            \"html\": \"<string>\"\n          },\n          \"parents\": [\n            {\n              \"value\": \"<Circular reference to #/components/schemas/base_commit detected>\"\n            },\n            {\n              \"value\": \"<Circular reference to #/components/schemas/base_commit detected>\"\n            }\n          ],\n          \"repository\": {\n            \"type\": \"<string>\",\n            \"links\": {\n              \"self\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"html\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"avatar\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"pullrequests\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"commits\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"forks\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"watchers\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"downloads\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"clone\": [\n                {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              ],\n              \"hooks\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              }\n            },\n            \"uuid\": \"<string>\",\n            \"full_name\": \"<string>\",\n            \"is_private\": \"<boolean>\",\n            \"parent\": {\n              \"value\": \"<Circular reference to #/components/schemas/repository detected>\"\n            },\n            \"scm\": \"git\",\n            \"owner\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"incididunt0c\": -85176016\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            },\n            \"name\": \"<string>\",\n            \"description\": \"<string>\",\n            \"created_on\": \"<dateTime>\",\n            \"updated_on\": \"<dateTime>\",\n            \"size\": \"<integer>\",\n            \"language\": \"<string>\",\n            \"has_issues\": \"<boolean>\",\n            \"has_wiki\": \"<boolean>\",\n            \"fork_policy\": \"no_forks\",\n            \"project\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"html\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              },\n              \"uuid\": \"<string>\",\n              \"key\": \"<string>\",\n              \"owner\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"self\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"html\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"members\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"projects\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"repositories\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  }\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"name\": \"<string>\",\n              \"description\": \"<string>\",\n              \"is_private\": \"<boolean>\",\n              \"created_on\": \"<dateTime>\",\n              \"updated_on\": \"<dateTime>\",\n              \"has_publicly_visible_repos\": \"<boolean>\"\n            },\n            \"mainbranch\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"self\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"commits\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"html\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              },\n              \"name\": \"<string>\",\n              \"target\": {\n                \"value\": \"<Circular reference to #/components/schemas/commit detected>\"\n              },\n              \"merge_strategies\": [\n                \"merge_commit\",\n                \"rebase_merge\"\n              ],\n              \"default_merge_strategy\": \"<string>\"\n            }\n          },\n          \"participants\": [\n            {\n              \"type\": \"<string>\",\n              \"user\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"dolore7\": false,\n                  \"Ut_6a\": \"elit incididunt\"\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"role\": \"PARTICIPANT\",\n              \"approved\": \"<boolean>\",\n              \"state\": \"approved\",\n              \"participated_on\": \"<dateTime>\"\n            },\n            {\n              \"type\": \"<string>\",\n              \"user\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"culpa_a\": true\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"role\": \"REVIEWER\",\n              \"approved\": \"<boolean>\",\n              \"state\": \"approved\",\n              \"participated_on\": \"<dateTime>\"\n            }\n          ]\n        },\n        \"attributes\": \"subrepository\",\n        \"escaped_path\": \"<string>\"\n      }\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T01:14:43.000Z",
                          "updatedAt": "2026-07-28T01:14:43.000Z",
                          "uid": "35240-c5a44e1e-4fd8-463f-9b73-4b3880176e11"
                        },
                        {
                          "id": "1ff2fc32-b736-4c6f-a73b-c5b23b70d315",
                          "name": "If the search request was invalid due to one of the\nfollowing reasons:\n\n* the specified type of target account doesn''t match the actual\naccount type;\n\n* malformed pagination properties;\n\n* missing or malformed search query, in the latter case an error\nke",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/users/:selected_user/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "users",
                                ":selected_user",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "selected_user"
                                }
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"type\": \"<string>\",\n  \"error\": {\n    \"message\": \"<string>\",\n    \"detail\": \"<string>\",\n    \"data\": {\n      \"eiusmod3\": \"ad aliquip\",\n      \"in34e\": -29145240\n    }\n  }\n}",
                          "createdAt": "2026-07-28T01:14:43.000Z",
                          "updatedAt": "2026-07-28T01:14:43.000Z",
                          "uid": "35240-1ff2fc32-b736-4c6f-a73b-c5b23b70d315"
                        },
                        {
                          "id": "2f1c9293-876c-49b5-95c1-b814561abf1e",
                          "name": "Search is not enabled for the requested user, navigate to [https://bitbucket.org/search](https://bitbucket.org/search) to turn it on",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/users/:selected_user/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "users",
                                ":selected_user",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "selected_user"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"type\": \"<string>\",\n  \"error\": {\n    \"message\": \"<string>\",\n    \"detail\": \"<string>\",\n    \"data\": {\n      \"eiusmod3\": \"ad aliquip\",\n      \"in34e\": -29145240\n    }\n  }\n}",
                          "createdAt": "2026-07-28T01:14:43.000Z",
                          "updatedAt": "2026-07-28T01:14:43.000Z",
                          "uid": "35240-2f1c9293-876c-49b5-95c1-b814561abf1e"
                        },
                        {
                          "id": "11d9d015-cfc4-4741-9cd8-a63a2e8b6312",
                          "name": "Too many requests, try again later",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/users/:selected_user/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "users",
                                ":selected_user",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "selected_user"
                                }
                              ]
                            }
                          },
                          "status": "Too Many Requests",
                          "code": 429,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"type\": \"<string>\",\n  \"error\": {\n    \"message\": \"<string>\",\n    \"detail\": \"<string>\",\n    \"data\": {\n      \"eiusmod3\": \"ad aliquip\",\n      \"in34e\": -29145240\n    }\n  }\n}",
                          "createdAt": "2026-07-28T01:14:43.000Z",
                          "updatedAt": "2026-07-28T01:14:43.000Z",
                          "uid": "35240-11d9d015-cfc4-4741-9cd8-a63a2e8b6312"
                        }
                      ],
                      "createdAt": "2026-07-28T01:14:43.000Z",
                      "updatedAt": "2026-07-28T01:14:43.000Z",
                      "uid": "35240-393221c7-d722-4422-b5e4-c32155c9a75d"
                    }
                  ],
                  "id": "6a5228e7-a39b-4b43-9cca-e6414878b2ed",
                  "createdAt": "2026-07-28T01:14:43.000Z",
                  "updatedAt": "2026-07-28T01:14:43.000Z",
                  "uid": "35240-6a5228e7-a39b-4b43-9cca-e6414878b2ed"
                }
              ],
              "id": "8a76eec1-69f9-4c25-bdff-6f1976cb48b2",
              "createdAt": "2026-07-28T01:14:43.000Z",
              "updatedAt": "2026-07-28T01:14:43.000Z",
              "uid": "35240-8a76eec1-69f9-4c25-bdff-6f1976cb48b2"
            }
          ],
          "id": "22086774-7cfd-409f-ab64-d7d6eef1a1f9",
          "createdAt": "2026-07-28T01:14:43.000Z",
          "updatedAt": "2026-07-28T01:14:43.000Z",
          "uid": "35240-22086774-7cfd-409f-ab64-d7d6eef1a1f9"
        }
      ],
      "id": "d7baaa38-72dc-4c21-9172-bc8b9176e309",
      "createdAt": "2026-07-28T01:14:43.000Z",
      "updatedAt": "2026-07-28T01:14:43.000Z",
      "uid": "35240-d7baaa38-72dc-4c21-9172-bc8b9176e309"
    },
    {
      "name": "workspaces",
      "item": [
        {
          "name": "{workspace}",
          "item": [
            {
              "name": "search",
              "item": [
                {
                  "name": "code",
                  "item": [
                    {
                      "name": "Search for code in a workspace",
                      "id": "f91c6ba5-b1c0-4dbe-8aa6-fe334b2b7465",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "repository repository:write repository:admin repository:delete project project:admin email account account:write team team:write pipeline pipeline:write pipeline:variable runner runner:write test test:write pullrequest pullrequest:write webhook issue issue:write snippet snippet:write wiki",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://bitbucket.org/site/oauth2/access_token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://bitbucket.org/site/oauth2/authorize",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/workspaces/:workspace/search/code?search_query=<string>&page=1&pagelen=10",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "workspaces",
                            ":workspace",
                            "search",
                            "code"
                          ],
                          "query": [
                            {
                              "description": "(Required) The search query",
                              "key": "search_query",
                              "value": "<string>"
                            },
                            {
                              "description": "Which page of the search results to retrieve",
                              "key": "page",
                              "value": "1"
                            },
                            {
                              "description": "How many search results to retrieve per page",
                              "key": "pagelen",
                              "value": "10"
                            }
                          ],
                          "variable": [
                            {
                              "id": "c74e0adc-c8ba-4f58-9a03-cbcb0382744e",
                              "key": "workspace",
                              "value": "<string>",
                              "description": "(Required) The workspace to search in; either the slug or the UUID in curly braces"
                            }
                          ]
                        },
                        "description": "Search for code in the repositories of the specified workspace.\n\nNote that searches can match in the file's text (`content_matches`),\nthe path (`path_matches`), or both.\n\nYou can use the same syntax for the search query as in the UI.\nE.g. to search for \"foo\" only within the repository \"demo\",\nuse the query parameter `search_query=foo+repo:demo`.\n\nSimilar to other APIs, you can request more fields using a\n`fields` query parameter. E.g. to get some more information about\nthe repository of matched files, use the query parameter\n`search_query=foo&fields=%2Bvalues.file.commit.repository`\n(the `%2B` is a URL-encoded `+`).\n\nTry `fields=%2Bvalues.*.*.*.*` to get an idea what's possible.\n"
                      },
                      "response": [
                        {
                          "id": "1376d2c1-5253-429f-ae79-7d04f3870fe7",
                          "name": "Successful search",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/workspaces/:workspace/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "workspaces",
                                ":workspace",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "workspace"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"size\": \"<long>\",\n  \"page\": \"<integer>\",\n  \"pagelen\": \"<integer>\",\n  \"query_substituted\": \"<boolean>\",\n  \"next\": \"<uri>\",\n  \"previous\": \"<uri>\",\n  \"values\": [\n    {\n      \"type\": \"<string>\",\n      \"content_match_count\": \"<long>\",\n      \"content_matches\": [\n        {\n          \"lines\": [\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            },\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            }\n          ]\n        },\n        {\n          \"lines\": [\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            },\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            }\n          ]\n        }\n      ],\n      \"path_matches\": [\n        {\n          \"text\": \"<string>\",\n          \"match\": \"<boolean>\"\n        },\n        {\n          \"text\": \"<string>\",\n          \"match\": \"<boolean>\"\n        }\n      ],\n      \"file\": {\n        \"type\": \"<string>\",\n        \"path\": \"<string>\",\n        \"commit\": {\n          \"type\": \"<string>\",\n          \"hash\": \"\",\n          \"date\": \"<dateTime>\",\n          \"author\": {\n            \"type\": \"<string>\",\n            \"raw\": \"<string>\",\n            \"user\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"consectetur83\": 74069383,\n                \"occaecat_d42\": 61547061.4536449,\n                \"mollit_d7b\": -41287669.364308454\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            }\n          },\n          \"committer\": {\n            \"type\": \"<string>\",\n            \"raw\": \"<string>\",\n            \"user\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"nullaef_\": 73057317.86176848\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            }\n          },\n          \"message\": \"<string>\",\n          \"summary\": {\n            \"raw\": \"<string>\",\n            \"markup\": \"creole\",\n            \"html\": \"<string>\"\n          },\n          \"parents\": [\n            {\n              \"value\": \"<Circular reference to #/components/schemas/base_commit detected>\"\n            },\n            {\n              \"value\": \"<Circular reference to #/components/schemas/base_commit detected>\"\n            }\n          ],\n          \"repository\": {\n            \"type\": \"<string>\",\n            \"links\": {\n              \"self\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"html\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"avatar\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"pullrequests\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"commits\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"forks\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"watchers\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"downloads\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"clone\": [\n                {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              ],\n              \"hooks\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              }\n            },\n            \"uuid\": \"<string>\",\n            \"full_name\": \"<string>\",\n            \"is_private\": \"<boolean>\",\n            \"parent\": {\n              \"value\": \"<Circular reference to #/components/schemas/repository detected>\"\n            },\n            \"scm\": \"git\",\n            \"owner\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"amet44\": true,\n                \"uta\": -30417881\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            },\n            \"name\": \"<string>\",\n            \"description\": \"<string>\",\n            \"created_on\": \"<dateTime>\",\n            \"updated_on\": \"<dateTime>\",\n            \"size\": \"<integer>\",\n            \"language\": \"<string>\",\n            \"has_issues\": \"<boolean>\",\n            \"has_wiki\": \"<boolean>\",\n            \"fork_policy\": \"no_public_forks\",\n            \"project\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"html\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              },\n              \"uuid\": \"<string>\",\n              \"key\": \"<string>\",\n              \"owner\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"self\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"html\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"members\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"projects\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"repositories\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  }\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"name\": \"<string>\",\n              \"description\": \"<string>\",\n              \"is_private\": \"<boolean>\",\n              \"created_on\": \"<dateTime>\",\n              \"updated_on\": \"<dateTime>\",\n              \"has_publicly_visible_repos\": \"<boolean>\"\n            },\n            \"mainbranch\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"self\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"commits\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"html\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              },\n              \"name\": \"<string>\",\n              \"target\": {\n                \"value\": \"<Circular reference to #/components/schemas/commit detected>\"\n              },\n              \"merge_strategies\": [\n                \"rebase_fast_forward\",\n                \"rebase_merge\"\n              ],\n              \"default_merge_strategy\": \"<string>\"\n            }\n          },\n          \"participants\": [\n            {\n              \"type\": \"<string>\",\n              \"user\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"sint317\": \"irure enim Ut dolore ut\",\n                  \"Lorem2\": 68784661.42924443\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"role\": \"REVIEWER\",\n              \"approved\": \"<boolean>\",\n              \"state\": \"undefined\",\n              \"participated_on\": \"<dateTime>\"\n            },\n            {\n              \"type\": \"<string>\",\n              \"user\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"veniam86\": \"labore consequat aliqua eiusmod pariatur\",\n                  \"ex_153\": -44999133.466216534\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"role\": \"REVIEWER\",\n              \"approved\": \"<boolean>\",\n              \"state\": \"changes_requested\",\n              \"participated_on\": \"<dateTime>\"\n            }\n          ]\n        },\n        \"attributes\": \"lfs\",\n        \"escaped_path\": \"<string>\"\n      }\n    },\n    {\n      \"type\": \"<string>\",\n      \"content_match_count\": \"<long>\",\n      \"content_matches\": [\n        {\n          \"lines\": [\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            },\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            }\n          ]\n        },\n        {\n          \"lines\": [\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            },\n            {\n              \"line\": \"<integer>\",\n              \"segments\": [\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                },\n                {\n                  \"text\": \"<string>\",\n                  \"match\": \"<boolean>\"\n                }\n              ]\n            }\n          ]\n        }\n      ],\n      \"path_matches\": [\n        {\n          \"text\": \"<string>\",\n          \"match\": \"<boolean>\"\n        },\n        {\n          \"text\": \"<string>\",\n          \"match\": \"<boolean>\"\n        }\n      ],\n      \"file\": {\n        \"type\": \"<string>\",\n        \"path\": \"<string>\",\n        \"commit\": {\n          \"type\": \"<string>\",\n          \"hash\": \"\",\n          \"date\": \"<dateTime>\",\n          \"author\": {\n            \"type\": \"<string>\",\n            \"raw\": \"<string>\",\n            \"user\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"Ut982\": \"consectetur ea incididunt et est\",\n                \"proident6\": 32600461\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            }\n          },\n          \"committer\": {\n            \"type\": \"<string>\",\n            \"raw\": \"<string>\",\n            \"user\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"velit_f1\": false\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            }\n          },\n          \"message\": \"<string>\",\n          \"summary\": {\n            \"raw\": \"<string>\",\n            \"markup\": \"plaintext\",\n            \"html\": \"<string>\"\n          },\n          \"parents\": [\n            {\n              \"value\": \"<Circular reference to #/components/schemas/base_commit detected>\"\n            },\n            {\n              \"value\": \"<Circular reference to #/components/schemas/base_commit detected>\"\n            }\n          ],\n          \"repository\": {\n            \"type\": \"<string>\",\n            \"links\": {\n              \"self\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"html\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"avatar\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"pullrequests\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"commits\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"forks\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"watchers\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"downloads\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              },\n              \"clone\": [\n                {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              ],\n              \"hooks\": {\n                \"href\": \"<uri>\",\n                \"name\": \"<string>\"\n              }\n            },\n            \"uuid\": \"<string>\",\n            \"full_name\": \"<string>\",\n            \"is_private\": \"<boolean>\",\n            \"parent\": {\n              \"value\": \"<Circular reference to #/components/schemas/repository detected>\"\n            },\n            \"scm\": \"git\",\n            \"owner\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"incididunt0c\": -85176016\n              },\n              \"created_on\": \"<dateTime>\",\n              \"display_name\": \"<string>\",\n              \"uuid\": \"<string>\"\n            },\n            \"name\": \"<string>\",\n            \"description\": \"<string>\",\n            \"created_on\": \"<dateTime>\",\n            \"updated_on\": \"<dateTime>\",\n            \"size\": \"<integer>\",\n            \"language\": \"<string>\",\n            \"has_issues\": \"<boolean>\",\n            \"has_wiki\": \"<boolean>\",\n            \"fork_policy\": \"no_forks\",\n            \"project\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"html\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"avatar\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              },\n              \"uuid\": \"<string>\",\n              \"key\": \"<string>\",\n              \"owner\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"self\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"html\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"members\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"projects\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"repositories\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  }\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"name\": \"<string>\",\n              \"description\": \"<string>\",\n              \"is_private\": \"<boolean>\",\n              \"created_on\": \"<dateTime>\",\n              \"updated_on\": \"<dateTime>\",\n              \"has_publicly_visible_repos\": \"<boolean>\"\n            },\n            \"mainbranch\": {\n              \"type\": \"<string>\",\n              \"links\": {\n                \"self\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"commits\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                },\n                \"html\": {\n                  \"href\": \"<uri>\",\n                  \"name\": \"<string>\"\n                }\n              },\n              \"name\": \"<string>\",\n              \"target\": {\n                \"value\": \"<Circular reference to #/components/schemas/commit detected>\"\n              },\n              \"merge_strategies\": [\n                \"merge_commit\",\n                \"rebase_merge\"\n              ],\n              \"default_merge_strategy\": \"<string>\"\n            }\n          },\n          \"participants\": [\n            {\n              \"type\": \"<string>\",\n              \"user\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"dolore7\": false,\n                  \"Ut_6a\": \"elit incididunt\"\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"role\": \"PARTICIPANT\",\n              \"approved\": \"<boolean>\",\n              \"state\": \"approved\",\n              \"participated_on\": \"<dateTime>\"\n            },\n            {\n              \"type\": \"<string>\",\n              \"user\": {\n                \"type\": \"<string>\",\n                \"links\": {\n                  \"avatar\": {\n                    \"href\": \"<uri>\",\n                    \"name\": \"<string>\"\n                  },\n                  \"culpa_a\": true\n                },\n                \"created_on\": \"<dateTime>\",\n                \"display_name\": \"<string>\",\n                \"uuid\": \"<string>\"\n              },\n              \"role\": \"REVIEWER\",\n              \"approved\": \"<boolean>\",\n              \"state\": \"approved\",\n              \"participated_on\": \"<dateTime>\"\n            }\n          ]\n        },\n        \"attributes\": \"subrepository\",\n        \"escaped_path\": \"<string>\"\n      }\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T01:14:43.000Z",
                          "updatedAt": "2026-07-28T01:14:43.000Z",
                          "uid": "35240-1376d2c1-5253-429f-ae79-7d04f3870fe7"
                        },
                        {
                          "id": "0f663768-6167-42e1-bb30-41834cb9c6b0",
                          "name": "If the search request was invalid due to one of the\nfollowing reasons:\n\n* the specified type of target account doesn''t match the actual\naccount type;\n\n* malformed pagination properties;\n\n* missing or malformed search query, in the latter case an error\nke",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/workspaces/:workspace/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "workspaces",
                                ":workspace",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "workspace"
                                }
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"type\": \"<string>\",\n  \"error\": {\n    \"message\": \"<string>\",\n    \"detail\": \"<string>\",\n    \"data\": {\n      \"eiusmod3\": \"ad aliquip\",\n      \"in34e\": -29145240\n    }\n  }\n}",
                          "createdAt": "2026-07-28T01:14:43.000Z",
                          "updatedAt": "2026-07-28T01:14:43.000Z",
                          "uid": "35240-0f663768-6167-42e1-bb30-41834cb9c6b0"
                        },
                        {
                          "id": "2e7beb1d-b43a-4ab5-b11f-5b1eaacbdc7a",
                          "name": "Search is not enabled for the requested workspace, navigate to [https://bitbucket.org/search](https://bitbucket.org/search) to turn it on",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/workspaces/:workspace/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "workspaces",
                                ":workspace",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "workspace"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"type\": \"<string>\",\n  \"error\": {\n    \"message\": \"<string>\",\n    \"detail\": \"<string>\",\n    \"data\": {\n      \"eiusmod3\": \"ad aliquip\",\n      \"in34e\": -29145240\n    }\n  }\n}",
                          "createdAt": "2026-07-28T01:14:43.000Z",
                          "updatedAt": "2026-07-28T01:14:43.000Z",
                          "uid": "35240-2e7beb1d-b43a-4ab5-b11f-5b1eaacbdc7a"
                        },
                        {
                          "id": "2a2ecfa4-bbfd-422d-a7aa-d42c1e57dc07",
                          "name": "Too many requests, try again later",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/workspaces/:workspace/search/code?search_query=<string>&page=1&pagelen=10",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "workspaces",
                                ":workspace",
                                "search",
                                "code"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The search query",
                                  "key": "search_query",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Which page of the search results to retrieve",
                                  "key": "page",
                                  "value": "1"
                                },
                                {
                                  "description": "How many search results to retrieve per page",
                                  "key": "pagelen",
                                  "value": "10"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "workspace"
                                }
                              ]
                            }
                          },
                          "status": "Too Many Requests",
                          "code": 429,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"type\": \"<string>\",\n  \"error\": {\n    \"message\": \"<string>\",\n    \"detail\": \"<string>\",\n    \"data\": {\n      \"eiusmod3\": \"ad aliquip\",\n      \"in34e\": -29145240\n    }\n  }\n}",
                          "createdAt": "2026-07-28T01:14:43.000Z",
                          "updatedAt": "2026-07-28T01:14:43.000Z",
                          "uid": "35240-2a2ecfa4-bbfd-422d-a7aa-d42c1e57dc07"
                        }
                      ],
                      "createdAt": "2026-07-28T01:14:43.000Z",
                      "updatedAt": "2026-07-28T01:14:43.000Z",
                      "uid": "35240-f91c6ba5-b1c0-4dbe-8aa6-fe334b2b7465"
                    }
                  ],
                  "id": "70c55c3a-9699-4afd-aa1c-e8af616fa354",
                  "createdAt": "2026-07-28T01:14:43.000Z",
                  "updatedAt": "2026-07-28T01:14:43.000Z",
                  "uid": "35240-70c55c3a-9699-4afd-aa1c-e8af616fa354"
                }
              ],
              "id": "19d15cfc-1858-469b-b3e4-da71a4301d95",
              "createdAt": "2026-07-28T01:14:43.000Z",
              "updatedAt": "2026-07-28T01:14:43.000Z",
              "uid": "35240-19d15cfc-1858-469b-b3e4-da71a4301d95"
            }
          ],
          "id": "1e435965-6b1a-4544-8478-dfe95fc27899",
          "createdAt": "2026-07-28T01:14:43.000Z",
          "updatedAt": "2026-07-28T01:14:43.000Z",
          "uid": "35240-1e435965-6b1a-4544-8478-dfe95fc27899"
        }
      ],
      "id": "f4ddd342-9395-4c13-96fe-29526064fc3c",
      "createdAt": "2026-07-28T01:14:43.000Z",
      "updatedAt": "2026-07-28T01:14:43.000Z",
      "uid": "35240-f4ddd342-9395-4c13-96fe-29526064fc3c"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.bitbucket.org/2.0"
    }
  ]
}