Overview
POST/ecosystem/moveecosystem

Move an ecosystem-scoped row (and its aggregate children) to another ecosystem (admin)

Create a record in move.

Auth: bearerAuth — calls run as the authenticated user.

Request body

application/json · optional

  • schemastring

    Postgres schema of the row’s table

  • tablestring

    table name within the schema

  • idstring

    row id (uuid, or an rdid for rdid-addressed tables)

  • targetstring

    destination ecosystem (uuid or rdid)

  • dryRunoptionalboolean

    report what would move without writing

Example
{
  "schema": "string",
  "table": "string",
  "id": "string",
  "target": "string",
  "dryRun": true
}
Responses
200

Source/destination ecosystem + per-table moved counts

  • schemaoptionalstring
  • tableoptionalstring
  • idoptionalstring
  • fromoptionalstring
  • tooptionalstring
  • dryRunoptionalboolean
  • movedoptionalobject
Example
{
  "schema": "string",
  "table": "string",
  "id": "string",
  "from": "string",
  "to": "string",
  "dryRun": true,
  "moved": {}
}
400

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
401

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
403

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
404

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
Code examples
cURL
curl -X POST "https://api.agenticdeveloperhub.com/ecosystem/move" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "schema": "string",
  "table": "string",
  "id": "string",
  "target": "string",
  "dryRun": true
}'
JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/ecosystem/move", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_TOKEN",
    "Content-Type": "application/json"
  },
  body: "{\n  \"schema\": \"string\",\n  \"table\": \"string\",\n  \"id\": \"string\",\n  \"target\": \"string\",\n  \"dryRun\": true\n}",
});
const data = await res.json();