Skip to main content
GET
/
agents
/
{id}
/
versions
/
{versionId}
/
diff
Error
A valid request URL is required to generate request examples
{
  "success": true,
  "data": {
    "changes": [
      {
        "field": "<string>",
        "before": "<unknown>",
        "after": "<unknown>"
      }
    ]
  },
  "message": "<string>",
  "errors": [
    {
      "field": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Clerk JWT (browser). Requires Authorization: Bearer <clerk_jwt> and the X-Organization-Id header. Validated by the ported Clerk middleware, which sets the app.current_organization_id RLS context.

Path Parameters

id
string
required
versionId
string
required

Response

Diff against the current draft.

success
boolean
required
data
object
required
message
string
errors
object[]