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

# Get a template by object_id UUID

> Retrieve a single data object template by its `object_id` UUID — the canonical template identifier referenced by configurations and data objects.



## OpenAPI

````yaml /api-reference/openapi.json get /data-object-template/object-template/{id}
openapi: 3.0.2
info:
  title: Cloneable Platform API
  version: 1.0.0
  description: >-
    REST API for the Cloneable utility field platform — manage jobs,
    configurations, poles/spans/midspans (data objects), templates, custom
    types, field photos, and exports.


    ### Authentication

    Pass your organization API key (`sk-cai-v1-...`) in the `x-api-key` HTTP
    header. Create keys in Cloneable Office under **Settings → API Keys**.


    ### Conventions

    - **Units:** All stored distances, heights, and clearances are in
    **meters**.

    - **Query encoding:** Object and array query parameters (such as `filters`
    or `sorting`) must be sent as **Unicode-safe base64 JSON** via
    `URLSearchParams`: `params.set("filters",
    btoa(JSON.stringify(value).replace(/[\u007f-\uffff]/g, (c) => "\\u" +
    c.charCodeAt(0).toString(16).padStart(4, "0"))))`.

    - **Rate limits:** 500 requests per 60 seconds per authenticated user and
    endpoint path (`429 Too Many Requests`).
  contact:
    name: Cloneable Support
    url: https://docs.cloneable.ai
    email: support@cloneable.ai
servers:
  - url: https://api.cloneable.ai
    description: Production
security:
  - apiKeyAuth: []
tags:
  - name: Authentication
    description: Verify your API key and inspect the bound organization and user context.
  - name: Jobs
    description: Create, list, update, archive, restore, and inspect utility field jobs.
  - name: Job Groups
    description: Organize jobs into named groups and folders.
  - name: Configurations
    description: >-
      Manage shared job configurations, template assignments, model snapshots,
      and revision history.
  - name: Data Objects
    description: >-
      Create, query, update, archive, and inspect poles, spans, midspans, and
      custom field records.
  - name: Templates
    description: >-
      Manage data object templates, field schemas, calculated fields, and
      auto-fill recomputation.
  - name: Custom Types
    description: >-
      Manage reusable picklists and structured option tables referenced by
      template fields.
  - name: Files & Photos
    description: >-
      Register file uploads, generate signed R2 upload/download URLs, and manage
      photo metadata.
  - name: Exports
    description: >-
      Trigger job exports, monitor export status and unsynced field photos, and
      inspect export issues.
  - name: Organization, Teams & Users
    description: >-
      Read organization metadata, effective configuration flags, teams, and
      member rosters.
paths:
  /data-object-template/object-template/{id}:
    get:
      tags:
        - Templates
      summary: Get a template by object_id UUID
      description: >-
        Retrieve a single data object template by its `object_id` UUID — the
        canonical template identifier referenced by configurations and data
        objects.
      operationId: getOneDataObjectTemplateByObjectTemplateId
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name_id:
                    type: string
                  object_id:
                    type: string
                    format: uuid
                  object_description:
                    type: string
                  object_display_name:
                    type: string
                  object_name:
                    type: string
                  fields:
                    type: array
                    items:
                      type: object
                      properties:
                        array_sub_type:
                          type: string
                        json_schema:
                          type: string
                        json_schema_id:
                          type: string
                        display_name:
                          type: string
                        object_description:
                          type: string
                        field_id:
                          type: string
                          minLength: 1
                        linked_object_display_name:
                          type: string
                        linked_object_name:
                          type: string
                        linked_object_revision:
                          type: number
                        linked_object_template_id:
                          type: string
                        linked_object_id:
                          type: string
                        itemFields:
                          type: array
                          items:
                            type: object
                            properties:
                              field_id:
                                type: string
                              name:
                                type: string
                              display_name:
                                type: string
                              type:
                                type: string
                              status_options:
                                type: array
                                items:
                                  type: string
                              requiredFor:
                                default:
                                  completion: false
                                  creation: false
                                type: object
                                properties:
                                  completion:
                                    default: false
                                    type: boolean
                                  creation:
                                    default: false
                                    type: boolean
                              readonly:
                                type: boolean
                              rules:
                                type: object
                                properties:
                                  combinator:
                                    default: all
                                    type: string
                                    enum:
                                      - all
                                      - any
                                  conditions:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        field_id:
                                          type: string
                                        operator:
                                          type: string
                                          enum:
                                            - eq
                                            - ne
                                            - in
                                            - not_in
                                            - present
                                            - absent
                                            - gt
                                            - lt
                                        value:
                                          nullable: true
                                        link:
                                          type: object
                                          properties:
                                            field_id:
                                              type: string
                                              minLength: 1
                                            from:
                                              type: string
                                              minLength: 1
                                            match:
                                              type: string
                                              enum:
                                                - any
                                                - all
                                                - none
                                                - count
                                            template:
                                              type: string
                                              minLength: 1
                                      required:
                                        - field_id
                                        - operator
                                    minItems: 1
                                  expression:
                                    type: string
                                  label:
                                    type: string
                                  effect:
                                    default: hide
                                    type: string
                                    enum:
                                      - hide
                              requiredWhen:
                                type: object
                                properties:
                                  combinator:
                                    default: all
                                    type: string
                                    enum:
                                      - all
                                      - any
                                  conditions:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        field_id:
                                          type: string
                                        operator:
                                          type: string
                                          enum:
                                            - eq
                                            - ne
                                            - in
                                            - not_in
                                            - present
                                            - absent
                                            - gt
                                            - lt
                                        value:
                                          nullable: true
                                        link:
                                          type: object
                                          properties:
                                            field_id:
                                              type: string
                                              minLength: 1
                                            from:
                                              type: string
                                              minLength: 1
                                            match:
                                              type: string
                                              enum:
                                                - any
                                                - all
                                                - none
                                                - count
                                            template:
                                              type: string
                                              minLength: 1
                                      required:
                                        - field_id
                                        - operator
                                    minItems: 1
                                  expression:
                                    type: string
                                  label:
                                    type: string
                              constraint:
                                type: object
                                properties:
                                  expression:
                                    type: string
                                    minLength: 1
                                  message:
                                    type: string
                                    minLength: 1
                                required:
                                  - expression
                                  - message
                              domain:
                                type: object
                                properties:
                                  source:
                                    type: string
                                    enum:
                                      - customType
                                  customTypeId:
                                    type: string
                                    minLength: 1
                                  levels:
                                    type: array
                                    items:
                                      type: string
                                      minLength: 1
                                    minItems: 1
                                  expression:
                                    type: string
                                  label:
                                    type: string
                                  facets:
                                    type: array
                                    items:
                                      type: string
                                      minLength: 1
                                  valueKey:
                                    default: key
                                    type: string
                                    minLength: 1
                                  labelKey:
                                    type: string
                                    minLength: 1
                                required:
                                  - source
                                  - customTypeId
                            required:
                              - field_id
                              - name
                              - display_name
                              - type
                        modified_at:
                          type: string
                          format: date-time
                        modified_by:
                          type: string
                        name:
                          type: string
                          minLength: 1
                        type:
                          type: string
                        requiredFor:
                          default:
                            completion: false
                            creation: false
                          type: object
                          properties:
                            completion:
                              default: false
                              type: boolean
                            creation:
                              default: false
                              type: boolean
                        file_information:
                          type: object
                          properties:
                            file_type:
                              type: string
                            one_way_sync:
                              type: boolean
                            storage_auth_provider_name:
                              type: string
                            storage_auth_provider_ref_id:
                              type: string
                            storage_provider:
                              type: string
                          required:
                            - file_type
                            - one_way_sync
                        status_options:
                          type: array
                          items:
                            type: string
                        custom_type_id:
                          type: string
                        custom_type_property:
                          type: string
                        visible:
                          type: boolean
                        readonly:
                          type: boolean
                        multiline:
                          type: boolean
                        capture:
                          discriminator:
                            propertyName: method
                          oneOf:
                            - type: object
                              properties:
                                method:
                                  type: string
                                  enum:
                                    - ar_measure
                                source:
                                  type: string
                                  enum:
                                    - length
                                    - angle
                                format:
                                  type: string
                                  enum:
                                    - metric
                                    - feet_decimal
                                    - feet_inches
                              required:
                                - method
                                - source
                            - type: object
                              properties:
                                method:
                                  type: string
                                  enum:
                                    - photo_unavailable
                                reasons:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      id:
                                        type: string
                                        pattern: ^[A-Za-z0-9_-]+$
                                        maxLength: 64
                                      reason:
                                        type: string
                                        enum:
                                          - absent
                                          - not_accessible
                                          - cannot_capture
                                      label:
                                        type: string
                                        minLength: 1
                                        maxLength: 40
                                      imageText:
                                        type: string
                                        minLength: 1
                                        maxLength: 60
                                      chipValues:
                                        type: object
                                        additionalProperties:
                                          oneOf:
                                            - type: string
                                            - type: boolean
                                      extraChips:
                                        type: array
                                        items:
                                          type: object
                                          properties:
                                            elementType:
                                              type: string
                                              minLength: 1
                                              maxLength: 64
                                            attributes:
                                              type: object
                                              additionalProperties:
                                                oneOf:
                                                  - type: string
                                                  - type: boolean
                                          required:
                                            - elementType
                                        maxItems: 3
                                    required:
                                      - id
                                      - reason
                                      - label
                                      - imageText
                                  minItems: 1
                                  maxItems: 6
                              required:
                                - method
                                - reasons
                        rules:
                          type: object
                          properties:
                            combinator:
                              default: all
                              type: string
                              enum:
                                - all
                                - any
                            conditions:
                              type: array
                              items:
                                type: object
                                properties:
                                  field_id:
                                    type: string
                                  operator:
                                    type: string
                                    enum:
                                      - eq
                                      - ne
                                      - in
                                      - not_in
                                      - present
                                      - absent
                                      - gt
                                      - lt
                                  value:
                                    nullable: true
                                  link:
                                    type: object
                                    properties:
                                      field_id:
                                        type: string
                                        minLength: 1
                                      from:
                                        type: string
                                        minLength: 1
                                      match:
                                        type: string
                                        enum:
                                          - any
                                          - all
                                          - none
                                          - count
                                      template:
                                        type: string
                                        minLength: 1
                                required:
                                  - field_id
                                  - operator
                              minItems: 1
                            expression:
                              type: string
                            label:
                              type: string
                            effect:
                              default: hide
                              type: string
                              enum:
                                - hide
                        requiredWhen:
                          type: object
                          properties:
                            combinator:
                              default: all
                              type: string
                              enum:
                                - all
                                - any
                            conditions:
                              type: array
                              items:
                                type: object
                                properties:
                                  field_id:
                                    type: string
                                  operator:
                                    type: string
                                    enum:
                                      - eq
                                      - ne
                                      - in
                                      - not_in
                                      - present
                                      - absent
                                      - gt
                                      - lt
                                  value:
                                    nullable: true
                                  link:
                                    type: object
                                    properties:
                                      field_id:
                                        type: string
                                        minLength: 1
                                      from:
                                        type: string
                                        minLength: 1
                                      match:
                                        type: string
                                        enum:
                                          - any
                                          - all
                                          - none
                                          - count
                                      template:
                                        type: string
                                        minLength: 1
                                required:
                                  - field_id
                                  - operator
                              minItems: 1
                            expression:
                              type: string
                            label:
                              type: string
                        readonlyWhen:
                          type: object
                          properties:
                            combinator:
                              default: all
                              type: string
                              enum:
                                - all
                                - any
                            conditions:
                              type: array
                              items:
                                type: object
                                properties:
                                  field_id:
                                    type: string
                                  operator:
                                    type: string
                                    enum:
                                      - eq
                                      - ne
                                      - in
                                      - not_in
                                      - present
                                      - absent
                                      - gt
                                      - lt
                                  value:
                                    nullable: true
                                  link:
                                    type: object
                                    properties:
                                      field_id:
                                        type: string
                                        minLength: 1
                                      from:
                                        type: string
                                        minLength: 1
                                      match:
                                        type: string
                                        enum:
                                          - any
                                          - all
                                          - none
                                          - count
                                      template:
                                        type: string
                                        minLength: 1
                                required:
                                  - field_id
                                  - operator
                              minItems: 1
                            expression:
                              type: string
                            label:
                              type: string
                        binding:
                          type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - path
                                - lookup
                                - expression
                                - aggregate
                                - link
                            path:
                              type: string
                            from:
                              type: string
                            column:
                              type: string
                            expression:
                              type: string
                            aggregate:
                              type: object
                              properties:
                                where:
                                  type: object
                                  properties:
                                    owners:
                                      type: array
                                      items:
                                        type: string
                                    classifications:
                                      type: array
                                      items:
                                        type: string
                                prefer:
                                  type: object
                                  properties:
                                    owners:
                                      type: array
                                      items:
                                        type: string
                                    classifications:
                                      type: array
                                      items:
                                        type: string
                                pick:
                                  type: string
                                  enum:
                                    - lowest
                                    - highest
                                    - all
                                    - rest
                                    - nth
                                'n':
                                  type: integer
                                  minimum: 1
                                output:
                                  discriminator:
                                    propertyName: as
                                  oneOf:
                                    - type: object
                                      properties:
                                        as:
                                          type: string
                                          enum:
                                            - number
                                        unit:
                                          type: string
                                          enum:
                                            - m
                                            - ft
                                            - in
                                        decimals:
                                          type: integer
                                          minimum: 0
                                          maximum: 6
                                      required:
                                        - as
                                        - unit
                                    - type: object
                                      properties:
                                        as:
                                          type: string
                                          enum:
                                            - text
                                        format:
                                          type: string
                                          enum:
                                            - ft
                                            - ft_in
                                        separator:
                                          type: string
                                      required:
                                        - as
                                        - format
                              required:
                                - pick
                                - output
                            convert:
                              type: object
                              properties:
                                from:
                                  type: string
                                  enum:
                                    - m
                                    - ft
                                    - in
                                to:
                                  type: string
                                  enum:
                                    - m
                                    - ft
                                    - in
                                decimals:
                                  type: integer
                                  minimum: 0
                                  maximum: 6
                              required:
                                - from
                                - to
                            mode:
                              default: auto
                              type: string
                              enum:
                                - auto
                                - suggest
                          required:
                            - kind
                        domain:
                          type: object
                          properties:
                            source:
                              type: string
                              enum:
                                - customType
                            customTypeId:
                              type: string
                              minLength: 1
                            levels:
                              type: array
                              items:
                                type: string
                                minLength: 1
                              minItems: 1
                            expression:
                              type: string
                            label:
                              type: string
                            facets:
                              type: array
                              items:
                                type: string
                                minLength: 1
                            valueKey:
                              default: key
                              type: string
                              minLength: 1
                            labelKey:
                              type: string
                              minLength: 1
                          required:
                            - source
                            - customTypeId
                        constraint:
                          type: object
                          properties:
                            expression:
                              type: string
                              minLength: 1
                            message:
                              type: string
                              minLength: 1
                          required:
                            - expression
                            - message
                      required:
                        - display_name
                        - field_id
                        - name
                        - type
                  revision:
                    type: integer
                    minimum: -2147483648
                    maximum: 2147483647
                  type_ref_id:
                    type: string
                    nullable: true
                  modified_by:
                    type: string
                    nullable: true
                  created_by:
                    type: string
                    nullable: true
                  created_at:
                    type: string
                    format: date-time
                  modified_at:
                    type: string
                    format: date-time
                  is_template:
                    type: boolean
                  icons:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        stoke_color:
                          type: string
                        fill_color:
                          type: string
                        encoded:
                          type: string
                        conditional:
                          type: string
                        icon_key:
                          type: string
                        map_type:
                          default: point
                          type: string
                          enum:
                            - point
                            - line
                            - polyline
                        line_style:
                          default: solid
                          type: string
                          enum:
                            - solid
                            - dash
                            - dot
                            - dash-dot
                            - short-dot
                            - short-dash
                            - short-dash-dot
                            - short-dash-dot-dot
                            - long-dash
                            - long-dash-dot
                            - long-dash-dot-dot
                      required:
                        - id
                        - name
                        - stoke_color
                        - encoded
                        - icon_key
                  archived_at:
                    type: string
                    format: date-time
                    nullable: true
                  mirror_owner_company_id:
                    type: string
                    nullable: true
                  mirror_relationship_id:
                    type: string
                    nullable: true
                  mirror_source_id:
                    type: string
                    nullable: true
                  mirror_revision:
                    type: integer
                    minimum: -2147483648
                    maximum: 2147483647
                    nullable: true
                  mirrored_at:
                    type: string
                    format: date-time
                    nullable: true
                  mirror_frozen_at:
                    type: string
                    format: date-time
                    nullable: true
                  company_id:
                    type: string
                required:
                  - id
                  - name_id
                  - object_id
                  - object_description
                  - object_display_name
                  - object_name
                  - fields
                  - revision
                  - type_ref_id
                  - modified_by
                  - created_by
                  - created_at
                  - modified_at
                  - is_template
                  - icons
                  - archived_at
                  - mirror_owner_company_id
                  - mirror_relationship_id
                  - mirror_source_id
                  - mirror_revision
                  - mirrored_at
                  - mirror_frozen_at
        '400':
          description: Bad Request — invalid path, query, or body parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  fieldErrors:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                required:
                  - message
        '401':
          description: Unauthorized — missing or invalid `x-api-key` header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden — API key lacks permission for this action or is read-only
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Not Found — requested resource does not exist in this organization
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
        '429':
          description: >-
            Too Many Requests — rate limit exceeded (500 requests per 60 seconds
            per authenticated user and endpoint path)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
components:
  schemas:
    ApiError:
      type: object
      properties:
        message:
          type: string
          description: Human-readable error description
        code:
          type: string
          description: Optional machine-readable error or support code
      required:
        - message
      example:
        message: Invalid API Key
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Organization-scoped API key (`sk-cai-v1-...`). Create one in Cloneable
        Office under Settings → API Keys.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.