Skip to main content
GET
/
orgs
/
{org_id}
/
assistants
/
{assistant_id}
/
knowledge
/
contents
[
  {
    "id": "<string>",
    "title": "<string>",
    "type": "TEXT",
    "content": {
      "type": "TEXT",
      "text": "<string>"
    },
    "size": 123,
    "chunks_processed": 123,
    "chunks_count": 123,
    "error": "<string>",
    "status": "PENDING",
    "created_at": "2023-12-25",
    "updated_at": "2023-12-25"
  }
]

Path Parameters

org_id
string
required

The ID of the org

assistant_id
string
required

The ID of the assistant

Query Parameters

Maximum length: 256
type
enum<string>
Available options:
ALL,
TEXT,
FILE,
URL
status
enum<string>
Available options:
ALL,
PENDING,
PROCESSING,
PROCESSED,
FAILED
page
number

Page number

take
number

Number of items to take

next
string

Next page token (Only used on special endpoints)

Response

200 - application/json

An array of contents.

id
string
required
title
string
required

Title of the vector

type
enum<string>
required

Type of the vector content

Available options:
TEXT,
FILE,
URL
content
object
required

Content configuration schema for different vector input types

  • Option 1
  • Option 2
  • Option 3
size
number
required

Size of the vector in bytes

chunks_processed
number
required

Number of chunks processed for the vector

chunks_count
number
required

Number of chunks in the vector

error
string | null
required

Error message if vector processing failed

status
enum<string>
required

Status of vector processing

Available options:
PENDING,
PROCESSING,
PROCESSED,
FAILED
created_at
string<date> | null
required
updated_at
string<date> | null
required