Skip to main content
GET
/
ns_get
Get the settings for a `namespace`.
curl --request GET \
  --url https://api.ragkit.com/v1/ns_get \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "namespace": "<string>"
}
'
{
  "success": true,
  "data": {
    "key": "<string>",
    "description": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
namespace
string
required

The key of the namespace to get.

Response

Success

success
enum<boolean>
required

Always true.

Available options:
true,
false
data
object
required

The namespace.