# Artefaktum Artifact Extend

> Artefaktum Artifact Extend is a paid API for AI agents from api.artefaktum.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-01).

Extends the expiry of an artifact by 30 days from its current expiry or now, whichever is later, charging the upload price based on artifact size.

## Facts

- Endpoint: POST https://api.artefaktum.dev/v1/artifacts/:artifact_id/extend?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/artefaktum-artifact-extend-13dc7606
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ONPJ-tDRT1zPd4O2q8KAS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability artefaktum-artifact-extend-13dc7606 -d '<json body>'
```

Example prompt: Extend artifact a1b2c3d4e5f6 on Artefaktum so it doesn't expire — keep it alive for another 30 days.

## When to prefer this

Use this endpoint when you need to extend the lifetime of an existing artifact before or after it expires, without uploading new content. Prefer this over re-uploading when the artifact's content hasn't changed and you simply want to push the expiry date forward. It is cheaper than re-uploading since it reuses existing stored bytes and charges only the upload-equivalent price tier based on artifact size.

## Known failure modes

- Artifact not found — 404 if the artifact_id does not exist or does not belong to the paying wallet
- Insufficient USDC balance — payment fails if the wallet cannot cover the size-based extension fee ($0.01 up to 10 MiB, $0.05 up to 100 MiB, $0.50 up to 1 GiB)
- Already expired artifact — may fail if artifact has already been purged beyond recovery
- Invalid artifact_id format — 400 if the path parameter is malformed
- Payment gateway error — x402 payment protocol failure

## How this service works

Keep an artifact the wallet owns for another 30 days, counted from its current expiry or from now, whichever is later. No body. Costs the upload price of everything the artifact holds ($0.01 up to 10 MiB, $0.05 up to 100 MiB, $0.50 up to 1 GiB). Returns the artifact with its new expires_at. No signup: a wallet's first payment creates its account and a default project; the same wallet later reaches the same files.

## Output

Returns the full artifact object with its updated expires_at timestamp reflecting the new 30-day extension from the later of the current expiry or now, along with title, description, tags, metadata, and status.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body",
    "pathParams"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "artifact_id"
     ],
     "properties": {
      "artifact_id": {
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/artefaktum-artifact-extend-13dc7606/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.artefaktum.dev](https://www.zero.xyz/host/api.artefaktum.dev/llms.txt)
