Skip to main content
GET
Leer una version de una seccion
One snapshot. Use it to diff against the current text before deciding whether to restore it.

Endpoint

Required scope

agents:read

Path parameters

Example request

curl

Response

200 OK

404 Not Found

No agent with that id in the token’s company and project, or no version with that id in that section.

Operational notes

  • The version is immutable. Nothing rewrites it, which is what makes it usable as an audit record.
  • A version of a section the agent no longer has is still readable. Deleting a section does not delete its history.

Authorizations

Authorization
string
header
required

Personal Access Token con prefijo kbai_pk_. Generar desde el portal con permiso developer.manage_tokens.

Path Parameters

id
string
required
section
string
required
versionId
string
required

Response

200 - application/json
_id
string
required
agent_id
string
required
section
string
required
Example:

"business_context"

version_number
number
required

Correlativo dentro de la seccion; el mayor es el vigente.

markdown
string
required
label
object | null
required
created_by
object | null
required

Quien la guardo.

restored_from
object | null
required

Version de la que se copio, cuando esta nacio de una restauracion. Restaurar no muta: crea una version nueva.

created_at
string
required