Leer una version de una seccion
GET /v1/agents/{id}/prompts/{section}/versions/{versionId}
Read one version of a section, with the text it held.
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
Personal Access Token con prefijo kbai_pk_. Generar desde el portal con permiso developer.manage_tokens.
Response
200 - application/json
Example:
"business_context"
Correlativo dentro de la seccion; el mayor es el vigente.
Quien la guardo.
Version de la que se copio, cuando esta nacio de una restauracion. Restaurar no muta: crea una version nueva.