GET
/
datastores
/
{datastore_id}
/
metadata
curl --request GET \
  --url https://api.contextual.ai/v1/datastores/{datastore_id}/metadata \
  --header 'Authorization: Bearer <token>'
{
  "name": "<string>",
  "configuration": {
    "parsing": {
      "figure_captioning_prompt": "<string>",
      "figure_caption_mode": "detailed",
      "enable_split_tables": true,
      "max_split_table_cells": 100
    },
    "chunking": {
      "chunking_mode": "heading_depth",
      "max_chunk_length_tokens": 768,
      "min_chunk_length_tokens": 384,
      "enable_section_based_contextualization": true
    }
  },
  "datastore_type": "UNSTRUCTURED",
  "created_at": "2023-11-07T05:31:56Z",
  "agent_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "datastore_usages": {
    "size_gb": 123
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

datastore_id
string
required

ID of the datastore for which to get details

Response

200
application/json

Successful Response

The response is of type object.