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

# Get Record By Id

> Fetch detailed information for one record in the specified content model by its unique ID. Supports field selection, localization, and optional metadata for each field.

Before calling this endpoint, make sure you’ve generated an API token and picked the correct domain. See [Authentication & Base URLs](/api-reference/authbaseurl).


## OpenAPI

````yaml GET /content/v2/content-models/{modelInternalName}/records/{recordId}
openapi: 3.1.0
info:
  title: OpenAPI Plant Store
  description: >-
    A sample API that uses a plant store as an example to demonstrate features
    in the OpenAPI specification
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://apis.experro.app
    description: Admin Server
  - url: https://{base-address}
    description: Custom Server
    variables:
      base-address:
        default: ''
        description: Enter your custom domain or server address.
security:
  - bearerAuth: []
paths:
  /content/v2/content-models/{modelInternalName}/records/{recordId}:
    get:
      summary: Retrieve a Single Content Record
      description: >-
        Fetch detailed information for one record in the specified content model
        by its unique ID. Supports field selection, localization, and optional
        metadata for each field.
      parameters:
        - $ref: '#/components/parameters/TenantIdHeader'
        - $ref: '#/components/parameters/WorkspaceIdHeader'
        - $ref: '#/components/parameters/EnvironmentIdHeader'
        - name: modelInternalName
          in: path
          required: true
          schema:
            type: string
          description: Internal name of the content model (e.g. `blogPost`).
        - name: recordId
          in: path
          required: true
          schema:
            type: string
          description: Unique identifier of the record to retrieve.
        - $ref: '#/components/parameters/FieldsQryPrm'
        - $ref: '#/components/parameters/LocaleQryPrm'
        - name: include_fields_meta
          in: query
          schema:
            type: boolean
          description: >-
            Flag to include meta details of the specified fields. When `true`,
            includes metadata for each requested field.
      responses:
        '200':
          description: Successful response with the requested record and metadata.
          content:
            application/json:
              schema:
                type: object
                properties:
                  Status:
                    type: string
                    example: success
                    description: Indicates whether the request succeeded.
                  Data:
                    type: object
                    properties:
                      record:
                        $ref: '#/components/schemas/Record'
                        description: >-
                          The full record object, containing all requested
                          fields.
                      _meta_:
                        $ref: '#/components/schemas/MetaResponse'
                        description: Metadata about the request.
        '400':
          description: >-
            Bad Request — invalid `recordId` format or missing required
            parameters.
          content:
            application/json:
              schema:
                type: object
                properties:
                  Status:
                    type: string
                    example: failure
                  Data:
                    $ref: '#/components/schemas/Error404'
        '401':
          description: Unauthorized – Missing or invalid API key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  Status:
                    type: string
                    example: failure
                  Data:
                    $ref: '#/components/schemas/Error401'
        '500':
          description: Internal Server Error – an unexpected error on the server.
          content:
            application/json:
              schema:
                type: object
                properties:
                  Status:
                    type: string
                    example: failure
                  Data:
                    $ref: '#/components/schemas/Error500'
      servers:
        - url: https://apis.experro.app
          description: Admin Server
components:
  parameters:
    TenantIdHeader:
      name: x-tenant-id
      in: header
      required: true
      schema:
        type: string
      description: Identifier for the tenant. Ensures data isolation per tenant.
    WorkspaceIdHeader:
      name: x-workspace-id
      in: header
      required: true
      schema:
        type: string
      description: >-
        Workspace identifier within the tenant. Scopes resources to a specific
        workspace.
    EnvironmentIdHeader:
      name: x-environment-id
      in: header
      required: true
      schema:
        type: string
        example: PRODUCTION-15a0f8c2-a5e8-4e40-ae74-cb1389d22f45-w49jkngj
      description: >-
        Unique identifier of the target environment. Used to scope the API call
        to a specific deployment environment.
    FieldsQryPrm:
      name: fields
      in: query
      description: Comma-separated list of fields to include in the response
      schema:
        type: string
      required: true
    LocaleQryPrm:
      name: locale
      in: query
      description: Specifies the language or region for the response data
      required: true
      schema:
        type: string
  schemas:
    Record:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of this record.
        version_no:
          type: integer
          description: Sequential version number of the record.
        page_slug:
          type: string
          description: URL-friendly slug for this record (if it’s rendered as a page).
        page_title:
          type: string
          description: Human-readable title used when rendering as a web page.
        version_name:
          type: string
          description: Internal name or label for this version.
        seo:
          type: array
          description: SEO metadata entries (e.g. meta tags).
          items:
            type: object
            properties:
              id:
                type: string
                description: Identifier for an SEO metadata entry.
        thumbnail_image:
          type: array
          items:
            type: string
            description: Serialized image JSON object
        content_model_name:
          type: string
          description: Internal name of the content model this record belongs to.
        current_version_id:
          type: string
          description: UUID of the currently published version.
        title:
          type: string
          description: Primary title field of the record.
        version_id:
          type: string
          description: UUID representing this specific version.
        record_data_language:
          type: string
          description: Locale code for this record’s data.
        categories:
          type: array
          description: List of category internal names or IDs associated with this record.
          items:
            type: string
      required:
        - id
        - version_no
        - page_slug
        - page_title
    MetaResponse:
      type: object
      properties:
        tenant_id:
          type: string
        workspace_id:
          type: string
        env_type:
          type: string
        store_hash:
          type: string
        content_model_id:
          type: string
        _fields_:
          type: object
          additionalProperties:
            type: object
            properties:
              type:
                type: string
              sub_type:
                type: string
              is_array:
                type: boolean
              is_searchable:
                type: boolean
            required:
              - type
              - sub_type
              - is_array
              - is_searchable
    Error404:
      type: object
      properties:
        Status:
          type: string
          example: failure
        Error:
          type: object
          properties:
            message:
              type: string
            name:
              type: string
            code:
              type: string
          required:
            - message
            - name
      required:
        - Status
        - Error
    Error401:
      type: object
      properties:
        Status:
          type: string
          example: failure
        Error:
          type: object
          properties:
            message:
              type: string
            name:
              type: string
            code:
              type: string
          required:
            - message
            - name
      required:
        - Status
        - Error
    Error500:
      type: object
      properties:
        Status:
          type: string
          example: failure
        Error:
          type: object
          properties:
            message:
              type: string
            name:
              type: string
            code:
              type: string
          required:
            - message
            - name
      required:
        - Status
        - Error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````