# Counter Post {namespace}

> Atomically increment a counter in the specified namespace and return the new value

- Skill: `gabrielmoreira/counter-post-namespace` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gabrielmoreira/counter-post-namespace`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gabrielmoreira/counter-post-namespace/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: gabrielmoreira (https://skillmd.com/u/gabrielmoreira)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/gabrielmoreira/counter-post-namespace

---


## Endpoint

**POST https://requiems.xyz/v1/technology/counter/{namespace}**

## Increment Counter

Atomically increment a counter in the specified namespace and return the new value

## Parameters

| Name | Type | Required | Location | Description |
| ---- | ---- | -------- | -------- | ----------- |
| `namespace` | string | yes | path | Counter namespace (1-64 chars: alphanumeric, hyphen, underscore) |

## Response Example

```json
{
  "data": {
    "namespace": "page-views",
    "value": 42
  },
  "metadata": {
    "timestamp": "2026-01-01T00:00:00Z"
  }
}
```

## Response Fields

| Field | Type | Description |
| ----- | ---- | ----------- |
| `namespace` | string | The counter namespace |
| `value` | integer | The new counter value after increment |

## Errors

- `undefined` **400** — Invalid namespace: must be 1–64 chars, alphanumeric, hyphen or underscore only
- `undefined` **500** — Internal server error

