API Documentation · /blog/api/v1

Programmatic Blog Publishing API

Publish Markdown essays, standalone HTML pages, or multi-file interactive web bundles directly to https://open-evaluation.org/blog/<slug>/ using an admin-issued API key.

Authentication

Every publishing request requires a valid API key distributed by the site administrator via /admin/. Pass your key in either header:

Authorization: Bearer oe_live_your_issued_key_here
# or
X-API-Key: oe_live_your_issued_key_here
GET /blog/api/v1/me

Verify your API key, active scopes (publish, update, delete, admin), and optional slug prefix restriction.

curl -sS "https://open-evaluation.org/blog/api/v1/me" \
  -H "Authorization: Bearer $OPENEVAL_API_KEY"
POST /blog/api/v1/posts

Publish or update a Markdown article or a HTML page (set "standalone": true with "content_type": "html" to serve your raw full HTML page verbatim).

curl -sS -X POST "https://open-evaluation.org/blog/api/v1/posts" \
  -H "Authorization: Bearer $OPENEVAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "slug": "my-first-eval",
    "title": "Evaluating Reasoning Models on Spatial Puzzles",
    "subtitle": "Key takeaways from 500 controlled runs.",
    "author": "Alice",
    "tags": ["benchmark", "reasoning"],
    "content_type": "markdown",
    "content_markdown": "# Introduction\n\nHere are our results with math: $E = mc^2$.",
    "status": "published"
  }'
POST /blog/api/v1/posts/bundle

Upload a complete multi-file static website (.zip, .tar.gz, or .tgz containing index.html + CSS/JS/data/media) to host an interactive essay just like Mirror Maze.

curl -sS -X POST "https://open-evaluation.org/blog/api/v1/posts/bundle" \
  -H "Authorization: Bearer $OPENEVAL_API_KEY" \
  -F "slug=my-interactive-study" \
  -F "title=Interactive Benchmark Explorer" \
  -F "subtitle=Explore full trajectories in the browser." \
  -F "author=Alice" \
  -F "tags=benchmark,interactive" \
  -F "status=published" \
  -F "archive=@./site-bundle.zip"
PATCH /blog/api/v1/posts/{slug}

Partially update post metadata, status (published / draft), or content. Requires update scope on the owning key (or admin scope).

DELETE /blog/api/v1/posts/{slug}

Delete a post and its associated bundle files. Requires delete scope on the owning key (or admin scope).