List posts
Lists your posts, newest first, each with its status and every look at it.
GET /v1/reward/me/posts
| Address | https://api.hanzo.ai/v1/reward/me/posts |
| Method | GET |
| Operation | get_reward_me_posts |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Lists your posts, newest first, each with its status and every look at it. Pending posts are not points; the count of them is beside the list.
Request
GET /v1/reward/me/posts takes no parameters and no body — the credential is the whole request.
Response
| Status | Body | Meaning |
|---|---|---|
200 | reward.postList | ok |
default | problem-details | refused |
200 body — 17 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
pending | body | integer (int64) | — | Pending is how many posts are held and count for nothing yet. |
posts | body | reward.postView[] | — | |
posts[].checks | body | reward.Check[] | — | Checks is every look at the post, oldest first. |
posts[].checks[].author_match | body | string | — | AuthorMatch is whether the author is the member's linked identity: yes, no or unknown. |
posts[].checks[].fetched_at | body | string (date-time) | — | FetchedAt is when the source was fetched. |
posts[].checks[].public | body | boolean | — | Public is whether the source is readable by anyone. |
posts[].checks[].ref_found | body | boolean | — | RefFound is whether the member's own ref code was found. |
posts[].checks[].status | body | integer (int64) | — | Status is the HTTP status the fetch answered. |
posts[].countsAt | body | string (date-time) | — | |
posts[].daysLeft | body | integer (int64) | — | |
posts[].id | body | string | — | |
posts[].network | body | string | — | |
posts[].note | body | string | — | Note says why a post was removed. |
posts[].since | body | string (date-time) | — | Since is when the post's week began; CountsAt when it counts, and DaysLeft the days until then. |
posts[].status | body | string | — | Status is pending (held for its week, counts for nothing), verified (it stayed up and was put to staff), removed (it earns nothing) or review (staff decide it by hand). |
posts[].url | body | string | — | |
posts[].week | body | string | — | Week is the ISO week the post was published in; a post in a later week can earn again. |
Failure carries the platform error shape — see Errors.
Examples
hanzo reward me posts listimport { Configuration, RewardApi } from 'hanzoai';
const api = new RewardApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getRewardMePosts();from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import RewardApi
client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = RewardApi(client).get_reward_me_posts()cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)
resp, _, err := client.RewardAPI.GetRewardMePosts(context.Background()).Execute()
if err != nil {
return err
}use hanzo_client::apis::{configuration::Configuration, reward_api};
let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();
let result = reward_api::get_reward_me_posts(&cfg, Default::default()).await?;import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.RewardApi;
ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));
var result = new RewardApi(client).getRewardMePosts();The method above is the one at the current release of the document. [email protected] (npm) and [email protected] (PyPI) were generated from an earlier release, where this operation carried a different id, so it spells the method differently — regenerating the clients is what makes the two agree. SDKs →
curl https://api.hanzo.ai/v1/reward/me/posts \
-H "Authorization: Bearer $HANZO_API_KEY"MCP reaches reward through the reward tool, which names its 7 operations with its own verbs — this one among them, under a name only MCP declares. describe explains any of them:
curl -X POST https://api.hanzo.ai/v1/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "describe",
"arguments": {
"op": "list_reward_me_posts"
}
}
}'