openapi: 3.0.3 info: title: Bright Data Platform Browser API API description: OpenAPI description of Bright Data's REST platform APIs served from https://api.brightdata.com - the Web Scraper API (dataset trigger, progress, snapshot), the synchronous scrape endpoint, the SERP API and Web Unlocker (both POST /request with a zone), account/zone management, and a Browser API session-metadata endpoint. Paths and methods are grounded in Bright Data's published API reference; request/response schemas are representative and modeled, not exhaustively reconciled. The Scraping Browser's Chrome DevTools Protocol WebSocket surface is described separately in asyncapi/brightdata-asyncapi.yml. termsOfService: https://brightdata.com/legal/tos contact: name: Bright Data Support url: https://brightdata.com/contact version: '3.0' servers: - url: https://api.brightdata.com description: Bright Data platform API base host. security: - bearerAuth: [] tags: - name: Browser API description: Scraping Browser session metadata (CDP itself is over WebSocket). paths: /browser_sessions/{session_id}: get: operationId: getBrowserSession tags: - Browser API summary: Get Scraping Browser session metadata. description: Retrieves metadata for a Scraping Browser session. The interactive browser control itself runs over the CDP WebSocket endpoint documented in asyncapi/brightdata-asyncapi.yml, not this REST call. parameters: - name: session_id in: path required: true schema: type: string responses: '200': description: Session metadata. content: application/json: schema: type: object additionalProperties: true '401': $ref: '#/components/responses/Unauthorized' components: responses: Unauthorized: description: Missing or invalid API token. content: application/json: schema: type: object properties: error: type: string securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: API key description: 'Bright Data API token from the control panel, sent as `Authorization: Bearer `.'