---
title: Core Concepts
description: What documents, versions, snapshots, applications, access and credits are, and how they relate.
type: concept
status: stable
updated: 2026-12-03
url: /en/docs/concepts
markdown: /en/docs/concepts.md
---

Read as needed; not a required onboarding step. Path：[Data Access Path](/en/docs)

# Core Concepts

Read this before the other pages. The rest of the docs use these words exactly as defined here.

## Documents, versions and snapshots [#document]


```mermaid
flowchart LR
  D["Document<br/>a post, comment, video or article"] --> V1["Version 1<br/>title, body"]
  D --> V2["Version 2<br/>after the body was edited"]
  D --> S["Snapshot<br/>likes, views and other metrics at one moment"]
```


- **Document**: one item on a platform, such as a tweet, a YouTube video or a product review. Each document has a `document_id` starting with `doc_`.
- **Version**: when a document's title, body or subtitles change, a new version is created with its own `version_id`. You read the latest version by default; older ones remain readable.
- **Snapshot**: the metrics recorded at each collection, such as likes, views and author followers. Metric changes create new snapshots, not new versions.

So:

- For text, read [content and versions](/en/docs/documents).
- For engagement and how it changes, read [metric snapshots](/en/docs/metrics).

Besides the body, a document may also have:

- **Parts**: subtitles, text recognized in images, product specs.
- **Facts**: structured fields such as price, company or location.
- **Analysis results**: sentiment, mentioned brands and products, author intent.

## Publish time and ingest time [#times]

| Time | Field | Meaning |
| --- | --- | --- |
| Publish time | `published_at` | When the author published it on the platform |
| Ingest time | `created_at`, `ingested_at` and similar | When MarsYoo first stored it |
| Collection time | `snapshot_at` | When a snapshot was recorded |

A post from three years ago may be ingested today. Decide which time you mean before filtering by time.

## Applications and API keys [#application]

- **Organization**: your company's or team's account at MarsYoo. Members sign in to the [console](/en/portal) here.
- **Application**: a calling identity created for one purpose, such as "brand monitoring" or "test environment".
- **API key**: the credential an application uses to call the API. An application can have several keys.

## Access [#access]

Each application has **access** that decides:

- which platforms it can read
- which fields, such as body, metrics, author or analysis results
- whether it can use live queries, monitoring subscriptions and exports

Platform, field and other filters in a request can only narrow access. Neither a new key nor a top-up changes it. See [Console](/en/docs/portal#access).

## Credits [#credits]

API calls use credits. Credits belong to the whole organization and are shared by all applications. Different platforms and operations cost different amounts, and failed requests are refunded. See [Credits & billing](/en/docs/billing).

## Three ways to get data [#ways]

| Way | Where the data comes from | Page |
| --- | --- | --- |
| Query stored data | What MarsYoo already has | [Keyword search](/en/docs/search), [browse](/en/docs/browse) |
| Live query | Collected from the platform now | [Live queries](/en/docs/live-query) |
| Monitoring subscription | Collected automatically on a schedule | [Monitoring subscriptions](/en/docs/collection-subscriptions) |

Data from live queries and subscriptions can also be queried the first two ways once it's stored.

## Continue Your Task

[Return to the integration path](/en/docs); return to your task after consulting this reference.
