Content

Get a content item

Returns one content item and its current version's full body and provenance. This endpoint serves non-knowledge-base content only — knowledge-base content must be read through the KB node endpoints (GET /org/kb/nodes/{id}/content) and returns 400 here. Requires the GEO product.

get/org/content/{id}

Request

  • Base URL
    https://apiv2.senso.ai/api/v1
  • Auth
    API key in header X-API-Key

Path parameters

idstring uuid required

The content item's id.

Response

The content item.

idstring uuid required
org_idstring uuid required
type'raw' | 'web' | 'file' required

The content's source kind.

titlestring
summarystring
version_numinteger
editorial_statusstring

The editorial workflow state (e.g. draft, published).

processing_status'pending' | 'processing' | 'complete' | 'failed'

The ingestion status of the content.

error_codestring

Stable classification of an ingestion failure; present only when processing_status is failed.

textstring

The document body — raw text for raw documents, extracted markdown (or HTML) for web documents.

content_typestring required

The MIME type of the content (e.g. text/markdown, application/pdf).

created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.