---
title: The Discussions Object
description: This is an object representing a discussion.
url: https://storyblok.com/docs/api/management/discussions/the-discussions-object
---

# The Discussions Object

This is an object representing a discussion.

## Properties

-   `id` (number)
    
    The numeric ID of the discussion
    
-   `title` (string)
    
    Title of the discussion field
    
-   `block_uid` (string)
    
    The ID of discussion block
    
-   `fieldname` (string)
    
    Technical name of the discussion field
    
-   `solved_at` (string)
    
    The time a discussion is resolved. **(Format:** `YYYY-mm-dd HH:MM`**)**
    
-   `component` (string)
    
    The component/block name to which the discussion belongs to
    
-   `lang` (string)
    
    Language code in which the discussion is present.
    
-   `uuid` (string)
    
    Generated UUID string
    
-   `last_comment` (object)
    
    The `last_comment` is an object that contains the details about the last comment of that discussion.
    
    Show child properties
    
    -   `id` (number)
        
        The numeric ID
        
    -   `created_at` (string)
        
        Creation date (Format: `yyyy-MM-dd'T'HH:mm:ssZ`)
        
    -   `updated_at` (string)
        
        Latest update date (Format: `yyyy-MM-dd'T'HH:mm:ssZ`)
        
    -   `message` (null | string)
        
        The message of a comment, with the datatype of `null` or a string.
        
    -   `message_json` (object)
        
        An array with properties of the message such as `type` , `text` and `attrs`.
        
        Show child properties
        
        -   `text` (string)
            
            The text part
            
        -   `type` (string)
            
            The type
            
        -   `attrs` (object)
            
            Attributes
            
        
    -   `user_id` (number)
        
        User/numeric id of collaborator
        
    -   `uuid` (string)
        
        Generated UUID string
        
    

Example Object

```json
{
   "discussion":         {
        "id": 62850,
        "title": "Body",
        "block_uid": "b5936adb-cc40-48f7-a8d3-285361030249",
        "fieldname": "body",
        "solved_at": null,
        "component": "page",
        "lang": "default",
        "uuid": "46e6030b-80fc-4574-b72d-448796900c98",
        "last_comment": {
            "id": 164253,
            "created_at": "2024-06-03T05:02:37.716Z",
            "updated_at": "2024-06-03T05:02:37.716Z",
            "message": null,
            "message_json": [
                {
                    "text": "test",
                    "type": "text"
                }
            ],
            "user_id": 110930,
            "uuid": "e00c312a-7f6d-4f53-bb03-e55cb476a401"
        }
    }
}
```

## Pagination

-   [Previous: The Comments Object](/docs/api/management/discussions/the-comments-object)
-   [Next: Update a Comment](/docs/api/management/discussions/update-a-comment)
