Skip to main content
POST
/
api
/
content
/
migrate-legacy
One-time legacy migration
curl --request POST \
  --url https://api.tedro.io/api/content/migrate-legacy \
  --header 'x-workspace-id: <api-key>' \
  --cookie better-auth.session_token=
{
  "migrated": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.tedro.io/llms.txt

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

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by Better Auth on sign-in.

x-workspace-id
string
header
required

Workspace UUID. Required on all /api/* endpoints.

Response

Migration result

Result of one-time legacy agent-document → content-hub migration.

migrated
integer
{key}
any