> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.ragieai.core.GetDocument

- Component: `appmixer.ragieai.core.GetDocument`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.ragieai 1.1.4](https://connectors.appmixer.com/connector/appmixer.ragieai/1.1.4.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.ragieai/1.1.4/component/appmixer.ragieai.core.GetDocument>

Retrieves a document from RagieAI by ID.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Document ID (`documentId`) | text | The ID of the document to retrieve |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Document ID (`id`) | string | - |
| Name (`name`) | string | - |
| Status (`status`) | string | - |
| Created At (`created_at`) | string | - |
| Metadata (`metadata`) | object | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.ragieai.core.GetDocument",
  "author": "Appmixer <info@appmixer.com>",
  "description": "Retrieves a document from RagieAI by ID.",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:ragieai"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "required": [
          "documentId"
        ],
        "properties": {
          "documentId": {
            "type": "string",
            "description": "The ID of the document to retrieve"
          }
        }
      },
      "inspector": {
        "inputs": {
          "documentId": {
            "type": "text",
            "index": 0,
            "label": "Document ID",
            "tooltip": "The ID of the document to retrieve"
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Document ID",
          "value": "id",
          "schema": {
            "type": "string",
            "example": "3fa2b8c1-6d4e-4f7a-9b21-8c5e0d7a4f12"
          }
        },
        {
          "label": "Name",
          "value": "name",
          "schema": {
            "type": "string",
            "example": "Q3 Sales Report.pdf"
          }
        },
        {
          "label": "Status",
          "value": "status",
          "schema": {
            "type": "string",
            "example": "ready"
          }
        },
        {
          "label": "Created At",
          "value": "created_at",
          "schema": {
            "type": "string",
            "example": "2026-09-10T08:30:00.123456Z"
          }
        },
        {
          "label": "Metadata",
          "value": "metadata",
          "schema": {
            "type": "object",
            "example": {
              "department": "sales",
              "year": 2026
            }
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
