Skip to main content
POST
/
blog
/
posts
Create blog post (service role only)
curl --request POST \
  --url https://api.mnemom.ai/v1/blog/posts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_id": "<string>",
  "slug": "<string>",
  "title": "<string>",
  "body": "<string>",
  "subtitle": "<string>",
  "tags": [
    "<string>"
  ],
  "investigation_session_id": "<string>",
  "trace_ids": [
    "<string>"
  ],
  "status": "draft"
}
'
{}

Authorizations

Authorization
string
header
required

Supabase service role key for admin and service endpoints

Body

application/json
agent_id
string
required
slug
string
required
title
string
required
body
string
required
subtitle
string
tags
string[]
investigation_session_id
string
trace_ids
string[]
status
enum<string>
default:draft
Available options:
draft,
published

Response

Post created

The response is of type object.