> ## Documentation Index
> Fetch the complete documentation index at: https://s2.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> Get the default S2 location for new basins.

# Get the default location.

<Card title="Basin location concepts" icon="map-location-dot" href="/concepts/basins#location">
  Review how locations affect basin placement, latency, and account defaults.
</Card>


## OpenAPI

````yaml get /locations/default
openapi: 3.1.0
info:
  title: S2, the durable streams API
  description: Streams as a cloud storage primitive.
  termsOfService: https://s2.dev/terms
  contact:
    email: support@s2.dev
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://aws.s2.dev/v1
security:
  - access_token: []
tags:
  - name: metrics
    description: Usage metrics and data.
  - name: basins
    description: Manage basins
  - name: access-tokens
    description: Manage access tokens
  - name: locations
    description: Manage locations
  - name: streams
    description: Manage streams
  - name: records
    description: Manage records
paths:
  /locations/default:
    get:
      tags:
        - locations
      summary: Get the default location.
      operationId: get_default_location
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocationInfo'
        '403':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorInfo'
        '408':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorInfo'
components:
  schemas:
    LocationInfo:
      type: object
      required:
        - name
        - is_private
      properties:
        is_private:
          type: boolean
          description: Location represents a private placement, limited by account.
        name:
          $ref: '#/components/schemas/LocationName'
          description: Location name.
    ErrorInfo:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
        message:
          type: string
    LocationName:
      type: string
      maxLength: 64
      minLength: 1
  securitySchemes:
    access_token:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your access token.

````