GET
/
content
/
{content_id}
Get content details by ID
curl --request GET \
  --url https://sdk.senso.ai/api/v1/content/{content_id} \
  --header 'X-API-Key: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "raw",
  "title": "<string>",
  "summary": "<string>",
  "version_num": 123,
  "processing_status": "queued",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "text": "<string>",
  "file_url": "<string>",
  "file_name": "<string>",
  "mime_type": "<string>"
}

Authorizations

X-API-Key
string
header
required

API key authorization

Path Parameters

content_id
string<uuid>
required

The unique identifier (UUID) of the content

Response

Content details successfully retrieved

id
string<uuid>

Unique identifier for the content

org_id
string<uuid>

Organization ID that owns this content

type
enum<string>

Type of content (raw text, document file, or web content)

Available options:
raw,
document,
web
title
string

Title of the content

summary
string

Summary of the content (if available)

version_num
integer

Version number of the content

processing_status
enum<string>

Current processing status of the content

Available options:
queued,
processing,
completed,
failed
created_at
string<date-time>

Timestamp when the content was created

updated_at
string<date-time>

Timestamp when the content was last updated

text
string

The raw text content (only available for raw content type when processing is complete)

file_url
string

Presigned URL to access the document (only available for document content type when processing is complete)

file_name
string

Original filename of the document (only present for document content type)

mime_type
string

The MIME type of the document (only present for document content type)