komrad

list_document_type_versions

List every write of a document type, newest first.

read-onlyidempotentMCP toolAgent

Calling it#

curl -X POST http://127.0.0.1:8787/komrad.agent.v1.AgentService/ListDocumentTypeVersions \
  -H 'Content-Type: application/json' \
  -d '{
  "id": "<id>"
}'

Request#

ListDocumentTypeVersionsRequest#

FieldTypeDescription
iduuid*

The document type whose versions to list, by id.

Response#

ListDocumentTypeVersionsResponse#

FieldTypeDescription
versionsDocumentTypeVersion[]

Every version of the document type, newest first.

Types#

DocumentTypeVersion#

DocumentTypeVersion is one write of a document type, without its context.

FieldTypeDescription
versionint32

The version's number, to pass to get_document_type.

namestring

The document type's name at this version.

created_attimestamp

When this version was written.