# Get default authoring instance

Returns the best instance for LLM change authoring. Selects the oldest instance with a metadata snapshot; falls back to the oldest instance overall if none have a snapshot.

Endpoint: GET /v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/default-authoring-instance
Version: 1.0
Security: x-api-key

## Path parameters:

  - `org` (string, required)
    Organization identifier

  - `project` (string, required)
    Project identifier

  - `dbschema` (string, required)
    Identifier of the database schema

## Header parameters:

  - `Harness-Account` (string)
    Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

## Response 200 fields (application/json):

  - `hasSnapshot` (boolean, required)
    Whether this instance has a metadata snapshot available for LLM authoring

  - `identifier` (string, required)
    Identifier of the selected database instance

  - `name` (string, required)
    Display name of the selected database instance

## Response 400 fields (application/json):

  - `message` (string, required)
    error message detail


