Skip to main content
POST
/
items
/
bulk
Bulk upsert items
curl --request POST \
  --url https://api.example.com/items/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "type": "<string>",
      "id": "<string>",
      "properties": {},
      "timestamp": "<string>",
      "source": "<string>",
      "source_id": "<string>",
      "device": "<string>",
      "tags": [
        "<string>"
      ],
      "edges": {}
    }
  ],
  "atomic": true,
  "emit_events": true
}
'
{
  "counts": {
    "created": 123,
    "updated": 123,
    "skipped": 123,
    "errored": 123
  },
  "results": [
    {
      "index": 123,
      "id": "<string>",
      "reason": "<string>",
      "error": {
        "code": "<string>",
        "message": "<string>"
      }
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.myme.so/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Pass an API key (marfa_k1_...) or OAuth access token (marfa_at_...)

Body

application/json
items
object[]
required
mode
enum<string>
Available options:
upsert,
create_only
atomic
boolean
emit_events
boolean

Response

Bulk upsert result

counts
object
required
results
object[]
required