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

# Read one graph object by id.

> Read a single graph object by its global id.

Models the graph exposes only through a relationship have no collection
endpoint, but are still readable here and expandable from their parent.

Parameters
----
`resource` : `str`.
    Resource path segment, as reported by ``GET /v1/graph/models``.

`object_id` : `str`.
    The object's global id.

`network_id` : `list[UUID]`.
    Networks to read within. Repeat the parameter to widen the scope.

`expand` : `str`, optional.
    Comma-separated relationship names to include inline, every field.

`fields` : `list[str]`.
    Fields to read, comma-separated or one per repeated parameter;
    dotted paths reach through relationships. Every scalar of the
    resource when omitted.

Returns
----
`object` : `GraphObjectResponse`.
    The requested object.

Examples
-----
```
GET /v1/graph/address_identities/QWRkcmVzc09iamVjdDox?expand=addressVerificationEvents
GET /v1/graph/consumer_identities/Q29uc3VtZXJPYmplY3Q6MQ==?fields=firstName,address_identities.city
```



## OpenAPI

````yaml GET /v1/graph/{resource}/{object_id}
openapi: 3.1.0
info:
  title: SOLO Network API
  version: v1
servers:
  - url: https://api.solo.one
    description: Production
  - url: https://api.sandbox.solo.one
    description: Sandbox
security: []
paths:
  /v1/graph/{resource}/{object_id}:
    get:
      tags:
        - Graph
      summary: Read one graph object by id.
      description: >-
        Read a single graph object by its global id.


        Models the graph exposes only through a relationship have no collection

        endpoint, but are still readable here and expandable from their parent.


        Parameters

        ----

        `resource` : `str`.
            Resource path segment, as reported by ``GET /v1/graph/models``.

        `object_id` : `str`.
            The object's global id.

        `network_id` : `list[UUID]`.
            Networks to read within. Repeat the parameter to widen the scope.

        `expand` : `str`, optional.
            Comma-separated relationship names to include inline, every field.

        `fields` : `list[str]`.
            Fields to read, comma-separated or one per repeated parameter;
            dotted paths reach through relationships. Every scalar of the
            resource when omitted.

        Returns

        ----

        `object` : `GraphObjectResponse`.
            The requested object.

        Examples

        -----

        ```

        GET
        /v1/graph/address_identities/QWRkcmVzc09iamVjdDox?expand=addressVerificationEvents

        GET
        /v1/graph/consumer_identities/Q29uc3VtZXJPYmplY3Q6MQ==?fields=firstName,address_identities.city

        ```
      operationId: get_graph_object_v1_graph__resource___object_id__get
      parameters:
        - name: resource
          in: path
          required: true
          schema:
            type: string
            description: Resource path from /graph/models, e.g. ``address-identities``
            title: Resource
          description: Resource path from /graph/models, e.g. ``address-identities``
        - name: object_id
          in: path
          required: true
          schema:
            type: string
            description: Global id of the object
            title: Object Id
          description: Global id of the object
        - name: network_id
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
              format: uuid
            description: Network scope; repeat to widen
            default: []
            title: Network Id
          description: Network scope; repeat to widen
        - name: expand
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Comma-separated relationships to expand
            title: Expand
          description: Comma-separated relationships to expand
        - name: fields
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
            description: >-
              Fields to read, comma-separated or one per repeated parameter. A
              dotted path reaches through relationships, e.g.
              ``firstName,addressIdentities.city``. Omit to read every scalar of
              the resource.
            default: []
            title: Fields
          description: >-
            Fields to read, comma-separated or one per repeated parameter. A
            dotted path reaches through relationships, e.g.
            ``firstName,addressIdentities.city``. Omit to read every scalar of
            the resource.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphObjectResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    GraphObjectResponse:
      properties:
        data:
          $ref: '#/components/schemas/GraphObject'
      type: object
      required:
        - data
      title: GraphObjectResponse
      description: A single graph object.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    GraphObject:
      properties:
        model:
          type: string
          title: Model
          description: Model name this object belongs to
        id:
          type: string
          title: Id
          description: Global id, stable across the graph
        identifier:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Identifier
          description: Row id
        attributes:
          additionalProperties: true
          type: object
          title: Attributes
          description: Scalar fields, keyed by field name
        relationships:
          additionalProperties: true
          type: object
          title: Relationships
          description: >-
            Relationships read inline, keyed by field name: those named in
            ``expand``, and those a dotted path in ``fields`` reaches through.
      type: object
      required:
        - model
        - id
      title: GraphObject
      description: One row of the graph.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

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