Skip to main content
POST
/
edges
/
bulk
Bulk upsert edges
curl --request POST \
  --url https://api.example.com/edges/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "edges": [
    {
      "source_id": "<string>",
      "target_id": "<string>",
      "edge_type": "<string>",
      "id": "<string>",
      "properties": {}
    }
  ],
  "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
edges
object[]
required
mode
enum<string>
Available options:
upsert,
create_only
atomic
boolean
emit_events
boolean

Response

Bulk edge result

counts
object
required
results
object[]
required