Skip to main content
GET
JavaScript

Overview

Fetch detailed metadata for a single corpus by its unique identifier. This endpoint returns the same comprehensive information as the list endpoint but scoped to one record. Only the corpus owner can retrieve this data.
Use this for: Checking indexing status after creation, refreshing UI state after updates, validating corpus existence before operations.

Authentication

Requires valid JWT token or session authentication. You must own the target corpus.

Path Parameters

UUID
required
The corpus identifier returned during creation or from the list endpoint.Example: 8d0f0a5d-4b5e-4c09-9db6-0e9d2aa8a9fd

Example request

Example response

Response Structure

UUID
Unique corpus identifier.
timestamp
ISO 8601 timestamp when the corpus was created.
timestamp
Last modification timestamp. Updates when metadata changes or resources are added.
string
Normalized corpus name (lowercase with underscores).
string
User-provided description of the corpus purpose.
float
Storage size in bytes consumed by this corpus and its resources.
string
Vector database collection identifier where embeddings are stored.
boolean
Public visibility flag. true makes the corpus discoverable by other users.
string
Indexing strategy: VSI (Vector Store Index), SMI (Summary Index), or DSI (Document Summary Index).
string
Current processing state:
  • PND - Pending (waiting for resources)
  • PRS - Processing (indexing in progress)
  • IND - Indexed (ready for queries)
  • ERR - Error (indexing failed)
UUID
User ID of the corpus owner.

Common Use Cases

After creating a corpus and uploading resources, poll this endpoint to check when indexing completes:
After modifying corpus settings, fetch the latest state to confirm changes:
Monitor storage consumption before adding more resources:
Ensure corpus exists and is ready before performing operations:
Security Note: Requests return 404 Not Found if the corpus belongs to another user. This prevents leaking corpus existence to unauthorized users.

Client examples

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

A UUID string identifying this Corpora.

Response

200 - application/json
id
string<uuid>
required
read-only
created_at
string<date-time>
required
read-only

The date and time the organization was created

updated_at
string<date-time>
required
read-only

Last updated time

corpora_name
string
required

Name of the corpora

Maximum string length: 100
size_on_disk
number<double>
required
read-only

Size of the corpora on disk (in bytes)

index_location
string | null
required
read-only

Location of the index on Remote Storage

creator
string<uuid>
required
read-only
description
string | null

Description of the corpora

is_published
boolean

Is the corpora Visible to all users?

index_type
enum<string>

Type of index to be used for the corpora

  • VSI - VectorStoreIndex
  • SMI - SummaryIndex
  • DSI - DocumentSummaryIndex
Available options:
VSI,
SMI,
DSI
indexing_status
enum<string>

Status of the corpora processing

  • PND - Pending
  • IQE - In Queue
  • PRS - Processing
  • DEX - Data Extracted Successfully
  • DER - Data Extraction Error
  • IND - Indexed
  • CMP - Completed
  • ERR - Error
Available options:
PND,
IQE,
PRS,
DEX,
DER,
IND,
CMP,
ERR