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

# Get account activity

> MCP tool to retrieve a specific account activity by ID from the Thena platform.

import Admonition from '@theme/Admonition';

### MCP tool: `get_account_activity`

Retrieves detailed information about a specific account activity by its unique identifier. This tool provides comprehensive activity details including type, status, participants, timing, and attachments.

<Admonition type="note">
  You must provide the activity ID to retrieve the specific account activity details.
</Admonition>

### Example prompt

```prompt theme={null}
Get account activity with ID ACTIVITY001
```

<Admonition type="info">
  When you use this prompt in a chat with the model (with the MCP tool registered), the model will automatically call the <code>get\_account\_activity</code> tool with the correct arguments.
</Admonition>

### Input parameters

| Name       | Type   | Required | Description                                               |
| ---------- | ------ | -------- | --------------------------------------------------------- |
| activityId | string | Yes      | The unique identifier of the account activity to retrieve |

### Response fields

Below are the fields you may see in the response:

<table>
  <thead>
    <tr>
      <th>Field</th>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>

  <tbody>
    <tr><td>id</td><td>string</td><td>Unique identifier of the activity</td></tr>
    <tr><td>accountId</td><td>string</td><td>ID of the account the activity belongs to</td></tr>
    <tr><td>account</td><td>string</td><td>Name of the account</td></tr>
    <tr><td>activityTimestamp</td><td>string (ISO8601)</td><td>Timestamp when the activity occurred</td></tr>
    <tr><td>duration</td><td>number</td><td>Duration of the activity in minutes</td></tr>
    <tr><td>location</td><td>string</td><td>Location where the activity took place</td></tr>
    <tr><td>title</td><td>string</td><td>Title of the activity</td></tr>
    <tr><td>description</td><td>string</td><td>Description of the activity</td></tr>
    <tr><td>type</td><td>string</td><td>The type of the activity (e.g., "Meeting", "Call", "Email")</td></tr>
    <tr><td>typeId</td><td>string</td><td>ID of the activity type attribute</td></tr>
    <tr><td>typeConfiguration</td><td>object</td><td>Configuration of the activity type</td></tr>
    <tr><td>status</td><td>string</td><td>The status of the activity (e.g., "Completed", "Scheduled")</td></tr>
    <tr><td>statusId</td><td>string</td><td>ID of the activity status attribute</td></tr>
    <tr><td>statusConfiguration</td><td>object</td><td>Configuration of the activity status</td></tr>
    <tr><td>participants</td><td>array</td><td>Array of participant names</td></tr>
    <tr><td>creator</td><td>string</td><td>Name of the activity creator</td></tr>
    <tr><td>creatorId</td><td>string</td><td>ID of the activity creator</td></tr>
    <tr><td>creatorEmail</td><td>string</td><td>Email of the activity creator</td></tr>
    <tr><td>attachments</td><td>array</td><td>Array of file attachments for the activity</td></tr>
    <tr><td>metadata</td><td>object</td><td>Additional metadata for the activity</td></tr>
    <tr><td>createdAt</td><td>string (ISO8601)</td><td>Creation timestamp</td></tr>
    <tr><td>updatedAt</td><td>string (ISO8601)</td><td>Last update timestamp</td></tr>
  </tbody>
</table>

### Sample response

```json theme={null}
{
  "data": {
    "id": "ACTIVITY001",
    "accountId": "ACC001",
    "account": "Acme Corporation",
    "activityTimestamp": "2025-07-24T10:00:00Z",
    "duration": 60,
    "location": "Conference Room A",
    "title": "Quarterly Business Review",
    "description": "Q2 2025 business review meeting to discuss performance metrics and strategic initiatives. The meeting covered revenue growth, customer satisfaction scores, and upcoming product roadmap. Key decisions were made regarding resource allocation for Q3 initiatives.",
    "type": "Meeting",
    "typeId": "TYPE001",
    "typeConfiguration": {
      "id": "TYPE001",
      "name": "Meeting",
      "color": "#3B82F6"
    },
    "status": "Completed",
    "statusId": "STATUS001",
    "statusConfiguration": {
      "id": "STATUS001",
      "name": "Completed",
      "color": "#10B981"
    },
    "participants": ["John Smith", "Jane Doe", "Bob Johnson", "Alice Wilson"],
    "creator": "John Doe",
    "creatorId": "USER001",
    "creatorEmail": "john.doe@company.com",
    "attachments": [
      {
        "id": "ATTACH001",
        "fileName": "qbr_presentation.pdf",
        "fileSize": 2048000,
        "fileType": "application/pdf",
        "url": "https://example.com/files/qbr_presentation.pdf"
      },
      {
        "id": "ATTACH002",
        "fileName": "meeting_notes.docx",
        "fileSize": 512000,
        "fileType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
        "url": "https://example.com/files/meeting_notes.docx"
      }
    ],
    "metadata": {
      "priority": "high",
      "tags": ["business-review", "quarterly", "strategic"],
      "followUpRequired": true,
      "nextSteps": "Schedule follow-up meeting for Q3 planning",
      "keyDecisions": ["Approved Q3 budget", "Greenlit new feature development"]
    },
    "createdAt": "2025-07-24T07:19:10.258Z",
    "updatedAt": "2025-07-24T07:19:10.258Z"
  },
  "status": true,
  "message": "Account activity retrieved successfully!",
  "timestamp": "2025-07-25T12:50:38.937Z"
}
```

<Admonition type="tip">
  Always pass an object as input, even if empty, to avoid errors when calling the tool directly.
</Admonition>

***
