GET
/
datastores
/
{datastore_id}
/
metadata
curl --request GET \
  --url https://api.contextual.ai/v1/datastores/{datastore_id}/metadata \
  --header 'Authorization: Bearer <token>'
{
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "agent_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "datastore_usages_and_limits": {
    "size_gb": [
      "<any>"
    ]
  }
}

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
name
string
required

Name of the datastore

created_at
string
required

Timestamp of when the datastore was created

agent_ids
string[]
required

List of agents using this datastore

datastore_usages_and_limits
object | null
required

Datastore usages in the current billing period with limits